[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: |
Sun, 12 Jan 2025 09:29:51 +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.
>
> Thanks, but I think we are fine as things are now. completing-read is
> closer to the user interaction than read-from-minibuffer, so I think
> it is best to describe these commands there together.
Indeed, otherwise it would require mentioning the keybindings of
minibuffer-local-map in all functions that use read-from-minibuffer
such as read-string, read-number, etc.
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eshel Yaron, 2025/01/05
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eli Zaretskii, 2025/01/05
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eshel Yaron, 2025/01/05
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eli Zaretskii, 2025/01/05
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eshel Yaron, 2025/01/06
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eli Zaretskii, 2025/01/09
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eshel Yaron, 2025/01/09
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eli Zaretskii, 2025/01/11
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Juri Linkov, 2025/01/11
- Re: emacs-30 8064b2a6798: Document undocumented completion commands, Eli Zaretskii, 2025/01/11
- Re: emacs-30 8064b2a6798: Document undocumented completion commands,
Juri Linkov <=