diff options
| author | Richard M. Stallman | 2005-02-25 13:54:21 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-25 13:54:21 +0000 |
| commit | c0a5ac4a241326c0e8f7b53ce49c008b6cacb044 (patch) | |
| tree | 50e410cedd258f909c4c459c3371142d3c58f8c5 | |
| parent | 87c190c7492832ca156a6da628bc07bd2bdc7f64 (diff) | |
| download | emacs-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.texi | 54 |
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 |
| 18 | terminal's cursor moves there. The beginning of the minibuffer line | 18 | terminal's cursor moves there. The beginning of the minibuffer line |
| 19 | displays a @dfn{prompt} which says what kind of input you should supply and | 19 | displays a @dfn{prompt} in a special color, to say what kind of input |
| 20 | how it will be used. Often this prompt is derived from the name of the | 20 | you should supply and how it will be used. Often this prompt is |
| 21 | command that the argument is for. The prompt normally ends with a colon. | 21 | derived from the name of the command that the argument is for. The |
| 22 | prompt 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, |
| 125 | you can't use it to insert a newline in the minibuffer. To do that, | 126 | you can't use it to insert a newline in the minibuffer. To do that, |
| 126 | type @kbd{C-o} or @kbd{C-q C-j}. (Recall that a newline is really the | 127 | type @kbd{C-o} or @kbd{C-q C-j}. (On text terminals, newline is |
| 127 | character control-J.) | 128 | really 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 |
| 130 | but acts as if it were not there when the minibuffer is not in use. When | 131 | but 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 |
| 150 | text that you put in the minibuffer, if @code{resize-mini-windows} is | 151 | text that you put in the minibuffer. If @code{resize-mini-windows} is |
| 151 | non-@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 |
| 152 | is always resized to fit the size of the text it displays. If | 153 | of 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 | 154 | the window grows when the size of displayed text increases, but |
| 154 | grows when the size of displayed text increases, but shrinks (back to | 155 | shrinks (back to the normal size) only when the minibuffer becomes |
| 155 | the normal size) only when the minibuffer becomes inactive. | 156 | inactive. If its value is @code{nil}, you have to adjust the height |
| 157 | yourself. | ||
| 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 | |||
| 161 | maximum number of lines; @code{nil} means do not resize the minibuffer | 163 | maximum number of lines; @code{nil} means do not resize the minibuffer |
| 162 | window automatically. The default value is 0.25. | 164 | window 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 |
| 165 | of any sort in another window, you can use the @kbd{C-M-v} command while | 167 | text of any sort in another window, you can use the @kbd{C-M-v} |
| 166 | in the minibuffer to scroll the help text. This lasts until you exit | 168 | command while in the minibuffer to scroll the help text. |
| 167 | the minibuffer. This feature is especially useful when you display | 169 | (@kbd{M-@key{PAGEUP}} and @kbd{M-@key{PAGEDOWN}} also operate on that |
| 168 | a buffer listing possible completions. @xref{Other Window}. | 170 | help text.) This lasts until you exit the minibuffer. This feature |
| 171 | is especially useful when you display a buffer listing possible | ||
| 172 | completions. @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 |
| 277 | Clicking mouse button 2 on a completion in the list of possible | 281 | @itemx Mouse-2 |
| 282 | Clicking mouse button 1 or 2 on a completion in the list of possible | ||
| 278 | completions chooses that completion (@code{mouse-choose-completion}). | 283 | completions chooses that completion (@code{mouse-choose-completion}). |
| 279 | You normally use this command while point is in the minibuffer, but you | 284 | You normally use this command while point is in the minibuffer, but you |
| 280 | must click in the list of completions, not in the minibuffer itself. | 285 | must 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 |
| 449 | to move through the history list one element at a time. While in the | 454 | to move through the history list one element at a time. While in the |
| 450 | minibuffer, use @kbd{M-p} or up-arrow (@code{previous-history-element}) | 455 | minibuffer, use @kbd{M-p} or up-arrow |
| 451 | to ``move to'' the next earlier minibuffer input, and use @kbd{M-n} or | 456 | (@code{previous-history-element}) to ``move to'' the next earlier |
| 452 | down-arrow (@code{next-history-element}) to ``move to'' the next later | 457 | minibuffer input, and use @kbd{M-n} or down-arrow |
| 453 | input. | 458 | (@code{next-history-element}) to ``move to'' the next later input. |
| 459 | These commands don't move the cursor, they bring different saved | ||
| 460 | strings into the minibuffer. But you can think of them as ``moving'' | ||
| 461 | through 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 |
| 456 | the contents of the minibuffer. To use it as the argument, exit the | 464 | the 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, | |||
| 570 | it normally does not appear in the history list for @kbd{C-x | 578 | it 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 |
| 572 | setting @code{isearch-resume-in-command-history} to a non-@code{nil} | 580 | setting @code{isearch-resume-in-command-history} to a non-@code{nil} |
| 573 | value. | 581 | value. @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 |