Commit 8efd3a2b authored by Dave Love's avatar Dave Love
Browse files

More on partial completion.

parent 010bb2f0
@c This is part of the Emacs manual. @c This is part of the Emacs manual.
@c Copyright (C) 1985, 86, 87, 93, 94, 95, 1997 Free Software Foundation, Inc. @c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000
@c Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions. @c See file emacs.texi for copying conditions.
@node Minibuffer, M-x, Basic, Top @node Minibuffer, M-x, Basic, Top
@chapter The Minibuffer @chapter The Minibuffer
...@@ -365,15 +366,27 @@ automatically displays a list of all possible completions. If the variable ...@@ -365,15 +366,27 @@ automatically displays a list of all possible completions. If the variable
and you must type @kbd{?} to display the possible completions. and you must type @kbd{?} to display the possible completions.
@pindex complete @pindex complete
@cindex Partial Completion mode
@vindex partial-completion-mode
@findex partial-completion-mode
@vindex PC-include-file-path
@vindex PC-disable-includes
The @code{complete} library implements a more powerful kind of The @code{complete} library implements a more powerful kind of
completion that can complete multiple words at a time. For example, it completion that can complete multiple words at a time. For example, it
can complete the command name abbreviation @code{p-b} into can complete the command name abbreviation @code{p-b} into
@code{print-buffer}, because no other command starts with two words @code{print-buffer}, because no other command starts with two words
whose initials are @samp{p} and @samp{b}. To use this library, put whose initials are @samp{p} and @samp{b}. To enable this, use the
@code{(load "complete")} in your @file{~/.emacs} file (@pxref{Init command @kbd{M-x partial-completion-mode} or customize the option
File}). @code{partial-completion-mode}. Unless the option
@code{PC-disable-includes} is @code{t}, Partial Completion mode also
extends @kbd{M-x find-file} so that the @samp{<@dots{}>} sequence is
interpreted as a file on the path @code{PC-include-file-path}. When
this mode is active, the Meta versions of the @kbd{TAB}, @kbd{SPC},
@kbd{RET} and @kbd{?} keys act as those keys do by default for
completion.
@cindex Icomplete mode @cindex Icomplete mode
@findex icomplete-mode
Icomplete mode presents a constantly-updated display that tells you Icomplete mode presents a constantly-updated display that tells you
what completions are available for the text you've entered so far. The what completions are available for the text you've entered so far. The
command to enable or disable this minor mode is @kbd{M-x command to enable or disable this minor mode is @kbd{M-x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment