comparison man/xemacs/mini.texi @ 408:501cfd01ee6d r21-2-34

Import from CVS: tag r21-2-34
author cvs
date Mon, 13 Aug 2007 11:18:11 +0200
parents 74fd4e045ea6
children 697ef44129c6 f561c3904bb3
comparison
equal deleted inserted replaced
407:ed6218a7d4d3 408:501cfd01ee6d
133 133
134 There are some restrictions on the use of the minibuffer window, 134 There are some restrictions on the use of the minibuffer window,
135 however. You cannot switch buffers in it---the minibuffer and its 135 however. You cannot switch buffers in it---the minibuffer and its
136 window are permanently attached. Also, you cannot split or kill the 136 window are permanently attached. Also, you cannot split or kill the
137 minibuffer window. But you can make it taller in the normal fashion with 137 minibuffer window. But you can make it taller in the normal fashion with
138 @kbd{C-x ^}. 138 @kbd{C-x ^}. If you enable Resize-Minibuffer mode, then the
139 minibuffer window expands vertically as necessary to hold the text that
140 you put in the minibuffer. Use @kbd{M-x resize-minibuffer-mode} to
141 enable or disable this minor mode (@pxref{Minor Modes}).
139 142
140 @kindex C-M-v 143 @kindex C-M-v
141 If while in the minibuffer you issue a command that displays help text 144 If while in the minibuffer you issue a command that displays help text
142 of any sort in another window, you can use the @kbd{C-M-v} command while 145 of any sort in another window, you can use the @kbd{C-M-v} command while
143 in the minibuffer to scroll the help text. This lasts until you exit 146 in the minibuffer to scroll the help text. This lasts until you exit
225 If you type @key{TAB} again immediately, there are multiple 228 If you type @key{TAB} again immediately, there are multiple
226 possibilities for the very next character---it could be any of 229 possibilities for the very next character---it could be any of
227 @samp{c-}---so no more characters are added; instead, @key{TAB} 230 @samp{c-}---so no more characters are added; instead, @key{TAB}
228 displays a list of all possible completions in another window. 231 displays a list of all possible completions in another window.
229 232
230 If you go on to type @kbd{f @key{TAB}}, this @key{TAB} sees 233 If you go on to type @kbd{-f @key{TAB}}, this @key{TAB} sees
231 @samp{auto-f}. The only command name starting this way is 234 @samp{auto-f}. The only command name starting this way is
232 @code{auto-fill-mode}, so completion fills in the rest of that. You now 235 @code{auto-fill-mode}, so completion fills in the rest of that. You now
233 have @samp{auto-fill-mode} in the minibuffer after typing just @kbd{au 236 have @samp{auto-fill-mode} in the minibuffer after typing just @kbd{au
234 @key{TAB} f @key{TAB}}. Note that @key{TAB} has this effect because in 237 @key{TAB} f @key{TAB}}. Note that @key{TAB} has this effect because in
235 the minibuffer it is bound to the command @code{minibuffer-complete} 238 the minibuffer it is bound to the command @code{minibuffer-complete}
283 Clicking mouse button 2 on a completion in the list of possible 286 Clicking mouse button 2 on a completion in the list of possible
284 completions chooses that completion (@code{mouse-choose-completion}). 287 completions chooses that completion (@code{mouse-choose-completion}).
285 You normally use this command while point is in the minibuffer; but you 288 You normally use this command while point is in the minibuffer; but you
286 must click in the list of completions, not in the minibuffer itself. 289 must click in the list of completions, not in the minibuffer itself.
287 290
291 @findex switch-to-completions
292 @item @key{PRIOR}
293 @itemx M-v
294 Typing @key{PRIOR} or @kbd{M-v}, while in the minibuffer, selects the
295 window showing the completion list buffer
296 (@code{switch-to-completions}). This paves the way for using the
297 commands below. (Selecting that window in the usual ways has the same
298 effect, but this way is more convenient.)
299
288 @findex choose-completion 300 @findex choose-completion
289 @item @key{RET} 301 @item @key{RET}
290 Typing @key{RET} @emph{in the completion list buffer} chooses the 302 Typing @key{RET} @emph{in the completion list buffer} chooses the
291 completion that point is in or next to (@code{choose-completion}). To 303 completion that point is in or next to (@code{choose-completion}). To
292 use this command, you must first switch windows to the window that shows 304 use this command, you must first switch windows to the window that shows
372 @vindex minibuffer-confirm-incomplete 384 @vindex minibuffer-confirm-incomplete
373 If the variable @code{minibuffer-confirm-incomplete} is set to @code{t}, 385 If the variable @code{minibuffer-confirm-incomplete} is set to @code{t},
374 then in contexts where @code{completing-read} allows answers that are 386 then in contexts where @code{completing-read} allows answers that are
375 not valid completions, an extra @key{RET} must be typed to confirm the 387 not valid completions, an extra @key{RET} must be typed to confirm the
376 response. This is helpful for catching typos. 388 response. This is helpful for catching typos.
389
390 @cindex Icomplete mode
391 Icomplete mode presents a constantly-updated display that tells you
392 what completions are available for the text you've entered so far. The
393 command to enable or disable this minor mode is @kbd{M-x
394 icomplete-mode}.
377 395
378 @node Minibuffer History, Repetition, Completion, Minibuffer 396 @node Minibuffer History, Repetition, Completion, Minibuffer
379 @section Minibuffer History 397 @section Minibuffer History
380 @cindex minibuffer history 398 @cindex minibuffer history
381 @cindex history of minibuffer input 399 @cindex history of minibuffer input
477 @c widecommands 495 @c widecommands
478 @table @kbd 496 @table @kbd
479 @item C-x @key{ESC} @key{ESC} 497 @item C-x @key{ESC} @key{ESC}
480 Re-execute a recent minibuffer command (@code{repeat-complex-command}). 498 Re-execute a recent minibuffer command (@code{repeat-complex-command}).
481 @item M-p 499 @item M-p
482 Within @kbd{C-x @key{ESC}}, move to previous recorded command 500 Within @kbd{C-x @key{ESC} @key{ESC}}, move to previous recorded command
483 (@code{previous-history-element}). 501 (@code{previous-history-element}).
484 @item M-n 502 @item M-n
485 Within @kbd{C-x @key{ESC}}, move to the next (more recent) recorded 503 Within @kbd{C-x @key{ESC} @key{ESC}}, move to the next (more recent)
486 command (@code{next-history-element}). 504 recorded command (@code{next-history-element}).
487 @item M-x list-command-history 505 @item M-x list-command-history
488 Display the entire command history, showing all the commands 506 Display the entire command history, showing all the commands
489 @kbd{C-x @key{ESC} @key{ESC}} can repeat, most recent first. 507 @kbd{C-x @key{ESC} @key{ESC}} can repeat, most recent first.
490 @end table 508 @end table
491 509