From 361a8b908b4cf3657699781d1f1c46f1a7d42d0a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 23 Feb 2018 17:39:23 +0200 Subject: [PATCH] * doc/emacs/mini.texi (Completion Styles): Improve indexing. --- doc/emacs/mini.texi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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}. -- 2.39.2