Mercurial > emacs
changeset 36166:7ce22edfb862
Clean up max-mini-window-height and Partial Completion mode.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 17 Feb 2001 17:46:34 +0000 |
parents | 7ae44c5a0404 |
children | aae9fb198e83 |
files | man/mini.texi |
diffstat | 1 files changed, 27 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/man/mini.texi Sat Feb 17 17:43:17 2001 +0000 +++ b/man/mini.texi Sat Feb 17 17:46:34 2001 +0000 @@ -155,11 +155,11 @@ shrinks to its normal size again. @vindex max-mini-window-height - Customize the variable @code{max-mini-window-height} to control the -maximum height for resizing the minibuffer window: if a floating-point -number, it specifies a fraction of the frame's height; if an integer, -it specifies the maximum number of lines; if nil, the minibuffer -window is not resized. The default value is 0.25. + The variable @code{max-mini-window-height} controls the maximum +height for resizing the minibuffer window: a floating-point number +specifies a fraction of the frame's height; an integer specifies the +maximum number of lines; @code{nil} means do not resize the minibuffer +window automatically. The default value is 0.25. @vindex minibuffer-scroll-overlap Scrolling works specially in the minibuffer window. When the @@ -377,28 +377,33 @@ @code{completion-auto-help} is set to @code{nil}, this does not happen, and you must type @kbd{?} to display the possible completions. -@pindex complete @cindex Partial Completion mode @vindex partial-completion-mode @findex partial-completion-mode + Partial Completion mode implements a more powerful kind of +completion that can complete multiple words in parallel. For example, +it can complete the command name abbreviation @code{p-b} into +@code{print-buffer}, because no other command starts with two words +whose initials are @samp{p} and @samp{b}. + + Partial completion of directories in file names uses @samp{*} to +indicate the places for completion; thus, @file{/u*/b*/f*} might +complete to @file{/usr/bin/foo}. + + To enable this mode, use the command @kbd{M-x +partial-completion-mode}, or customize the option +@code{partial-completion-mode}. This binds the partial completion +commands to @key{TAB}, @key{SPC}, @key{RET}, and @kbd{?}. The usual +completion commands are available on @kbd{M-@key{TAB}}, +@kbd{M-@key{SPC}}, @kbd{M-@key{RET}} and @kbd{M-?}. + @vindex PC-include-file-path @vindex PC-disable-includes - The @code{complete} library implements a more powerful kind of -completion that can complete multiple words at a time. For example, it -can complete the command name abbreviation @code{p-b} into -@code{print-buffer}, because no other command starts with two words -whose initials are @samp{p} and @samp{b}. To enable this, use the -command @kbd{M-x partial-completion-mode} or customize the option -@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} and -partial completion of file names is possible. Partial completion of -directories in file names requires @samp{*}s to indicate the -completions: @file{/u*/b*/f*} might expand to @file{/usr/bin/foo}. When -Partial Completion 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. + Another feature of Partial Completion mode is to extend +@code{find-file} so that the @samp{<@var{include}>} stands for the +file named @var{include} in some directory in the path +@code{PC-include-file-path}. If you set @code{PC-disable-includes} to +@code{nil}, this feature is disabled. @cindex Icomplete mode @findex icomplete-mode