emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-30 8064b2a6798: Document undocumented completion commands


From: Juri Linkov
Subject: Re: emacs-30 8064b2a6798: Document undocumented completion commands
Date: Sat, 11 Jan 2025 19:16:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>> > Maybe you are right.  But can you help me a bit more by telling which
>> > functions that enter the minibuffer install the two keymaps I
>> > mentioned in the doc string, minibuffer-local-map and
>> > minibuffer-local-completion-map?  Those are the functions in whose
>> > minibuffer these commands can be used.
>> 
>> Sure: essentially all functions that enter the minibuffer install
>> minibuffer-local-map or a map that inherits from minibuffer-local-map.
>> 
>> minibuffer-local-completion-map is specific to completing-read-default,
>> the default completing-read-function which completing-read invokes.
>
> OK, I moved the text to the doc string of completing-read, but are
> there other functions where this is relevant?

The keybindings of minibuffer-local-completion-map belong to the
doc string of completing-read indeed.  But the keybindings of
minibuffer-local-map should be mentioned in the doc string of
read-from-minibuffer, and only optionally in completing-read.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]