comparison man/mini.texi @ 38786:4d3fd773cd30

Minor cleanups.
author Richard M. Stallman <rms@gnu.org>
date Sun, 12 Aug 2001 21:15:14 +0000
parents 1518ad710658
children d44abb4e68b2
comparison
equal deleted inserted replaced
38785:4545461cb478 38786:4d3fd773cd30
145 minibuffer window. But you can make it taller in the normal fashion 145 minibuffer window. But you can make it taller in the normal fashion
146 with @kbd{C-x ^}. 146 with @kbd{C-x ^}.
147 147
148 @vindex resize-mini-windows 148 @vindex resize-mini-windows
149 The minibuffer window expands vertically as necessary to hold the 149 The minibuffer window expands vertically as necessary to hold the
150 text that you put in the minibuffer if @code{resize-mini-windows} is 150 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 151 non-@code{nil}. If @code{resize-mini-windows} is @code{t}, the window
152 is always resized to fit the size of the text it displays. If 152 is always resized to fit the size of the text it displays. If
153 @code{resize-mini-windows} is the symbol @code{grow-only}, the window 153 @code{resize-mini-windows} is the symbol @code{grow-only}, the window
154 is enlarged when the size of displayed text grows, but never reduced 154 grows when the size of displayed text increases, but shrinks (back to
155 in size until it becomes empty, at which point it shrinks back to its 155 the normal size) only when the minibuffer becomes inactive.
156 normal size.
157 156
158 @vindex max-mini-window-height 157 @vindex max-mini-window-height
159 The variable @code{max-mini-window-height} controls the maximum 158 The variable @code{max-mini-window-height} controls the maximum
160 height for resizing the minibuffer window: a floating-point number 159 height for resizing the minibuffer window: a floating-point number
161 specifies a fraction of the frame's height; an integer specifies the 160 specifies a fraction of the frame's height; an integer specifies the
163 window automatically. The default value is 0.25. 162 window automatically. The default value is 0.25.
164 163
165 If while in the minibuffer you issue a command that displays help text 164 If while in the minibuffer you issue a command that displays help text
166 of any sort in another window, you can use the @kbd{C-M-v} command while 165 of any sort in another window, you can use the @kbd{C-M-v} command while
167 in the minibuffer to scroll the help text. This lasts until you exit 166 in the minibuffer to scroll the help text. This lasts until you exit
168 the minibuffer. This feature is especially useful if the 167 the minibuffer. This feature is especially useful when you display
169 minibuffer gives you a list of possible completions. @xref{Other Window}. 168 a buffer listing possible completions. @xref{Other Window}.
170 169
171 @vindex enable-recursive-minibuffers 170 @vindex enable-recursive-minibuffers
172 Emacs normally disallows most commands that use the minibuffer while 171 Emacs normally disallows most commands that use the minibuffer while
173 the minibuffer is active. This rule is to prevent recursive minibuffers 172 the minibuffer is active. This rule is to prevent recursive minibuffers
174 from confusing novice users. If you want to be able to use such 173 from confusing novice users. If you want to be able to use such
264 @key{SPC} completes much like @key{TAB}, but never goes beyond the 263 @key{SPC} completes much like @key{TAB}, but never goes beyond the
265 next hyphen or space. If you have @samp{auto-f} in the minibuffer and 264 next hyphen or space. If you have @samp{auto-f} in the minibuffer and
266 type @key{SPC}, it finds that the completion is @samp{auto-fill-mode}, 265 type @key{SPC}, it finds that the completion is @samp{auto-fill-mode},
267 but it stops completing after @samp{fill-}. This gives 266 but it stops completing after @samp{fill-}. This gives
268 @samp{auto-fill-}. Another @key{SPC} at this point completes all the 267 @samp{auto-fill-}. Another @key{SPC} at this point completes all the
269 way to @samp{auto-fill-mode}. Typing @key{SPC} in the minibuffer when 268 way to @samp{auto-fill-mode}. The command that implements this
270 completion is available runs the command 269 behavior is called @code{minibuffer-complete-word}.
271 @code{minibuffer-complete-word}.
272 270
273 Here are some commands you can use to choose a completion from a 271 Here are some commands you can use to choose a completion from a
274 window that displays a list of completions: 272 window that displays a list of completions:
275 273
276 @table @kbd 274 @table @kbd
364 However, if @emph{all} the possible completions end in ``ignored'' 362 However, if @emph{all} the possible completions end in ``ignored''
365 strings, then they are not ignored. Ignored extensions do not apply to 363 strings, then they are not ignored. Ignored extensions do not apply to
366 lists of completions---those always mention all possible completions. 364 lists of completions---those always mention all possible completions.
367 365
368 @vindex completion-auto-help 366 @vindex completion-auto-help
369 Normally, a completion command that finds that the next character is 367 Normally, a completion command that cannot determine even one
370 undetermined automatically displays a list of all possible 368 additional character automatically displays a list of all possible
371 completions. If the variable @code{completion-auto-help} is set to 369 completions. If the variable @code{completion-auto-help} is set to
372 @code{nil}, this does not happen, and you must type @kbd{?} to display 370 @code{nil}, this automatic display is disabled, so you must type
373 the possible completions. 371 @kbd{?} to display the list of completions.
374 372
375 @cindex Partial Completion mode 373 @cindex Partial Completion mode
376 @vindex partial-completion-mode 374 @vindex partial-completion-mode
377 @findex partial-completion-mode 375 @findex partial-completion-mode
378 Partial Completion mode implements a more powerful kind of 376 Partial Completion mode implements a more powerful kind of