summaryrefslogtreecommitdiff
path: root/doc/emacs/mini.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-02-23 17:39:23 +0200
committerEli Zaretskii <eliz@gnu.org>2018-02-23 17:39:23 +0200
commit361a8b908b4cf3657699781d1f1c46f1a7d42d0a (patch)
treef68a8cedaa6be86c249b6bbacd1c33c0040f4066 /doc/emacs/mini.texi
parent2dc24d5536abce1eb252dc2695a22371227166c5 (diff)
downloademacs-361a8b908b4cf3657699781d1f1c46f1a7d42d0a.tar.gz
* doc/emacs/mini.texi (Completion Styles): Improve indexing.
Diffstat (limited to 'doc/emacs/mini.texi')
-rw-r--r--doc/emacs/mini.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi
index dc346b0a4c3..579697f47bd 100644
--- a/doc/emacs/mini.texi
+++ b/doc/emacs/mini.texi
@@ -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}.