aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-02-25 13:54:21 +0000
committerRichard M. Stallman2005-02-25 13:54:21 +0000
commitc0a5ac4a241326c0e8f7b53ce49c008b6cacb044 (patch)
tree50e410cedd258f909c4c459c3371142d3c58f8c5
parent87c190c7492832ca156a6da628bc07bd2bdc7f64 (diff)
downloademacs-c0a5ac4a241326c0e8f7b53ce49c008b6cacb044.tar.gz
emacs-c0a5ac4a241326c0e8f7b53ce49c008b6cacb044.zip
(Minibuffer): Prompts are highlighted.
(Minibuffer Edit): Newline = C-j only on text terminals. Clarify resize-mini-windows values. Mention M-PAGEUP and M-PAGEDOWN. (Completion Commands): Mouse-1 like Mouse-2. (Minibuffer History): Explain history commands better. (Repetition): Add xref to Incremental Search.
-rw-r--r--man/mini.texi54
1 files changed, 31 insertions, 23 deletions
diff --git a/man/mini.texi b/man/mini.texi
index 69e31032b12..4345a947a75 100644
--- a/man/mini.texi
+++ b/man/mini.texi
@@ -16,9 +16,10 @@ the minibuffer to edit the argument text.
16@cindex prompt 16@cindex prompt
17 When the minibuffer is in use, it appears in the echo area, and the 17 When the minibuffer is in use, it appears in the echo area, and the
18terminal's cursor moves there. The beginning of the minibuffer line 18terminal's cursor moves there. The beginning of the minibuffer line
19displays a @dfn{prompt} which says what kind of input you should supply and 19displays a @dfn{prompt} in a special color, to say what kind of input
20how it will be used. Often this prompt is derived from the name of the 20you should supply and how it will be used. Often this prompt is
21command that the argument is for. The prompt normally ends with a colon. 21derived from the name of the command that the argument is for. The
22prompt normally ends with a colon.
22 23
23@cindex default argument 24@cindex default argument
24 Sometimes a @dfn{default argument} appears in parentheses after the 25 Sometimes a @dfn{default argument} appears in parentheses after the
@@ -123,8 +124,8 @@ entering.
123 124
124 Since @key{RET} in the minibuffer is defined to exit the minibuffer, 125 Since @key{RET} in the minibuffer is defined to exit the minibuffer,
125you can't use it to insert a newline in the minibuffer. To do that, 126you can't use it to insert a newline in the minibuffer. To do that,
126type @kbd{C-o} or @kbd{C-q C-j}. (Recall that a newline is really the 127type @kbd{C-o} or @kbd{C-q C-j}. (On text terminals, newline is
127character control-J.) 128really the @acronym{ASCII} character control-J.)
128 129
129 The minibuffer has its own window which always has space on the screen 130 The minibuffer has its own window which always has space on the screen
130but acts as if it were not there when the minibuffer is not in use. When 131but acts as if it were not there when the minibuffer is not in use. When
@@ -147,12 +148,13 @@ with @kbd{C-x ^}.
147 148
148@vindex resize-mini-windows 149@vindex resize-mini-windows
149 The minibuffer window expands vertically as necessary to hold the 150 The minibuffer window expands vertically as necessary to hold the
150text that you put in the minibuffer, if @code{resize-mini-windows} is 151text that you put in the minibuffer. If @code{resize-mini-windows} is
151non-@code{nil}. If @code{resize-mini-windows} is @code{t}, the window 152@code{t} (the default), the window is always resized to fit the size
152is always resized to fit the size of the text it displays. If 153of the text it displays. If its value is the symbol @code{grow-only},
153@code{resize-mini-windows} is the symbol @code{grow-only}, the window 154the window grows when the size of displayed text increases, but
154grows when the size of displayed text increases, but shrinks (back to 155shrinks (back to the normal size) only when the minibuffer becomes
155the normal size) only when the minibuffer becomes inactive. 156inactive. If its value is @code{nil}, you have to adjust the height
157yourself.
156 158
157@vindex max-mini-window-height 159@vindex max-mini-window-height
158 The variable @code{max-mini-window-height} controls the maximum 160 The variable @code{max-mini-window-height} controls the maximum
@@ -161,11 +163,13 @@ specifies a fraction of the frame's height; an integer specifies the
161maximum number of lines; @code{nil} means do not resize the minibuffer 163maximum number of lines; @code{nil} means do not resize the minibuffer
162window automatically. The default value is 0.25. 164window automatically. The default value is 0.25.
163 165
164 If while in the minibuffer you issue a command that displays help text 166 If, while in the minibuffer, you issue a command that displays help
165of any sort in another window, you can use the @kbd{C-M-v} command while 167text of any sort in another window, you can use the @kbd{C-M-v}
166in the minibuffer to scroll the help text. This lasts until you exit 168command while in the minibuffer to scroll the help text.
167the minibuffer. This feature is especially useful when you display 169(@kbd{M-@key{PAGEUP}} and @kbd{M-@key{PAGEDOWN}} also operate on that
168a buffer listing possible completions. @xref{Other Window}. 170help text.) This lasts until you exit the minibuffer. This feature
171is especially useful when you display a buffer listing possible
172completions. @xref{Other Window}.
169 173
170@vindex enable-recursive-minibuffers 174@vindex enable-recursive-minibuffers
171 Emacs normally disallows most commands that use the minibuffer while 175 Emacs normally disallows most commands that use the minibuffer while
@@ -273,8 +277,9 @@ window that displays a list of completions:
273 277
274@table @kbd 278@table @kbd
275@findex mouse-choose-completion 279@findex mouse-choose-completion
276@item Mouse-2 280@item Mouse-1
277Clicking mouse button 2 on a completion in the list of possible 281@itemx Mouse-2
282Clicking mouse button 1 or 2 on a completion in the list of possible
278completions chooses that completion (@code{mouse-choose-completion}). 283completions chooses that completion (@code{mouse-choose-completion}).
279You normally use this command while point is in the minibuffer, but you 284You normally use this command while point is in the minibuffer, but you
280must click in the list of completions, not in the minibuffer itself. 285must click in the list of completions, not in the minibuffer itself.
@@ -447,10 +452,13 @@ match for @var{regexp} (@code{next-matching-history-element}).
447@findex previous-history-element 452@findex previous-history-element
448 The simplest way to reuse the saved arguments in the history list is 453 The simplest way to reuse the saved arguments in the history list is
449to move through the history list one element at a time. While in the 454to move through the history list one element at a time. While in the
450minibuffer, use @kbd{M-p} or up-arrow (@code{previous-history-element}) 455minibuffer, use @kbd{M-p} or up-arrow
451to ``move to'' the next earlier minibuffer input, and use @kbd{M-n} or 456(@code{previous-history-element}) to ``move to'' the next earlier
452down-arrow (@code{next-history-element}) to ``move to'' the next later 457minibuffer input, and use @kbd{M-n} or down-arrow
453input. 458(@code{next-history-element}) to ``move to'' the next later input.
459These commands don't move the cursor, they bring different saved
460strings into the minibuffer. But you can think of them as ``moving''
461through the history list.
454 462
455 The previous input that you fetch from the history entirely replaces 463 The previous input that you fetch from the history entirely replaces
456the contents of the minibuffer. To use it as the argument, exit the 464the contents of the minibuffer. To use it as the argument, exit the
@@ -570,7 +578,7 @@ but it does something similar. Although it behaves like a complex command,
570it normally does not appear in the history list for @kbd{C-x 578it normally does not appear in the history list for @kbd{C-x
571@key{ESC} @key{ESC}}. You can make it appear in the history by 579@key{ESC} @key{ESC}}. You can make it appear in the history by
572setting @code{isearch-resume-in-command-history} to a non-@code{nil} 580setting @code{isearch-resume-in-command-history} to a non-@code{nil}
573value. 581value. @xref{Incremental Search}.
574 582
575@vindex command-history 583@vindex command-history
576 The list of previous minibuffer-using commands is stored as a Lisp 584 The list of previous minibuffer-using commands is stored as a Lisp