comparison man/mini.texi @ 28129:25e19c5c91f8

More on partial completion.
author Dave Love <fx@gnu.org>
date Sun, 12 Mar 2000 18:36:20 +0000
parents 99ca9ac9c31a
children 6f6d3c803dde
comparison
equal deleted inserted replaced
28128:5e64da0b2764 28129:25e19c5c91f8
1 @c This is part of the Emacs manual. 1 @c This is part of the Emacs manual.
2 @c Copyright (C) 1985, 86, 87, 93, 94, 95, 1997 Free Software Foundation, Inc. 2 @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000
3 @c Free Software Foundation, Inc.
3 @c See file emacs.texi for copying conditions. 4 @c See file emacs.texi for copying conditions.
4 @node Minibuffer, M-x, Basic, Top 5 @node Minibuffer, M-x, Basic, Top
5 @chapter The Minibuffer 6 @chapter The Minibuffer
6 @cindex minibuffer 7 @cindex minibuffer
7 8
363 automatically displays a list of all possible completions. If the variable 364 automatically displays a list of all possible completions. If the variable
364 @code{completion-auto-help} is set to @code{nil}, this does not happen, 365 @code{completion-auto-help} is set to @code{nil}, this does not happen,
365 and you must type @kbd{?} to display the possible completions. 366 and you must type @kbd{?} to display the possible completions.
366 367
367 @pindex complete 368 @pindex complete
369 @cindex Partial Completion mode
370 @vindex partial-completion-mode
371 @findex partial-completion-mode
372 @vindex PC-include-file-path
373 @vindex PC-disable-includes
368 The @code{complete} library implements a more powerful kind of 374 The @code{complete} library implements a more powerful kind of
369 completion that can complete multiple words at a time. For example, it 375 completion that can complete multiple words at a time. For example, it
370 can complete the command name abbreviation @code{p-b} into 376 can complete the command name abbreviation @code{p-b} into
371 @code{print-buffer}, because no other command starts with two words 377 @code{print-buffer}, because no other command starts with two words
372 whose initials are @samp{p} and @samp{b}. To use this library, put 378 whose initials are @samp{p} and @samp{b}. To enable this, use the
373 @code{(load "complete")} in your @file{~/.emacs} file (@pxref{Init 379 command @kbd{M-x partial-completion-mode} or customize the option
374 File}). 380 @code{partial-completion-mode}. Unless the option
381 @code{PC-disable-includes} is @code{t}, Partial Completion mode also
382 extends @kbd{M-x find-file} so that the @samp{<@dots{}>} sequence is
383 interpreted as a file on the path @code{PC-include-file-path}. When
384 this mode is active, the Meta versions of the @kbd{TAB}, @kbd{SPC},
385 @kbd{RET} and @kbd{?} keys act as those keys do by default for
386 completion.
375 387
376 @cindex Icomplete mode 388 @cindex Icomplete mode
389 @findex icomplete-mode
377 Icomplete mode presents a constantly-updated display that tells you 390 Icomplete mode presents a constantly-updated display that tells you
378 what completions are available for the text you've entered so far. The 391 what completions are available for the text you've entered so far. The
379 command to enable or disable this minor mode is @kbd{M-x 392 command to enable or disable this minor mode is @kbd{M-x
380 icomplete-mode}. 393 icomplete-mode}.
381 394