* doc/emacs/mini.texi (Completion Styles): Improve indexing.

This commit is contained in:
Eli Zaretskii 2018-02-23 17:39:23 +02:00
parent 2dc24d5536
commit 361a8b908b

View file

@ -464,12 +464,14 @@ Lisp symbol). The default completion styles are (in order):
@table @code
@item basic
@cindex @code{basic}, completion style
A matching completion alternative must have the same beginning as the
text in the minibuffer before point. Furthermore, if there is any
text in the minibuffer after point, the rest of the completion
alternative must contain that text as a substring.
@findex partial-completion
@cindex partial completion
@cindex @code{partial-completion}, completion style
@item partial-completion
This aggressive completion style divides the minibuffer text into
words separated by hyphens or spaces, and completes each word
@ -481,6 +483,7 @@ Furthermore, a @samp{*} in the minibuffer text is treated as a
corresponding position in the completion alternative.
@item emacs22
@cindex @code{emacs22}, completion style
This completion style is similar to @code{basic}, except that it
ignores the text in the minibuffer after point. It is so-named
because it corresponds to the completion behavior in Emacs 22.
@ -493,6 +496,7 @@ can add them to @code{completion-styles} if you wish
@table @code
@item substring
@cindex @code{substring}, completion style
A matching completion alternative must contain the text in the
minibuffer before point, and the text in the minibuffer after point,
as substrings (in that same order).
@ -503,6 +507,7 @@ between @samp{foo} and @samp{bar}, that matches
@var{c} can be any string including the empty string.
@item initials
@cindex @code{initials}, completion style
This very aggressive completion style attempts to complete acronyms
and initialisms. For example, when completing command names, it
matches @samp{lch} to @samp{list-command-history}.