emacs/doc
Juri Linkov 3b740591b0 Add 'completions-detailed' to add prefix/suffix with 'affixation-function'
* doc/lispref/minibuf.texi (Completion Variables)
(Programmed Completion): Add affixation-function.

* lisp/help-fns.el (help--symbol-completion-table-affixation): New function.
(help--symbol-completion-table): Set affixation-function when
completions-detailed is non-nil.

* lisp/minibuffer.el (completion-metadata): Add affixation-function
to docstring.
(completions-annotations): Inherit from shadow with italic.
(completions-detailed): New defcustom.
(completion--insert-strings): Count string-width on all strings in
completion list.  Insert prefix and suffix.
(completion-extra-properties): Add affixation-function to docstring.
(minibuffer-completion-help): Call affixation-function.
(minibuffer-default-prompt-format): Move down closer to its use.

https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg00613.html
2020-11-25 10:46:59 +02:00
..
emacs Yank items selected from kill-ring using completion and minibuffer history 2020-11-24 21:23:41 +02:00
lispintro Clarify wording 2020-10-14 19:17:48 -04:00
lispref Add 'completions-detailed' to add prefix/suffix with 'affixation-function' 2020-11-25 10:46:59 +02:00
man Minor improvements to emacsclient man page 2020-10-18 02:49:55 +02:00
misc Allow controlling whether SPC in Gnus goes to the next article 2020-11-24 09:27:14 +01:00