GNU bug report logs -
#58216
Display user's custom keybindings in `help-for-help' (`C-h C-h')
Previous Next
Full log
Message #32 received at 58216 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>>> It's a regression that `C-h M' isn't shown any more,
>>
>> Was `C-h M' displayed before though?
>
> Ah, no, I guess it wasn't.
Before the recent binding of C-h C-h to help-for-help, C-h C-h was
unbound and thus used the default behavior of printing help for all keys
bound to the prefix map. As an example see the behavior for C-x C-h.
If the user bound a key with C-h prefix, that binding previously would
show up in C-h C-h help.
Example:
User binds C-h M
Before help-for-help was introduced:
C-h C-h would display the user-bound C-h M mapping
After help-for-help was introduced:
C-h C-h does not display any user mappings with C-h prefix
See https://www.gnu.org/software/emacs/manual/html_node/emacs/Keys.html
Typing the help character (C-h or F1) after a prefix key displays a list
of the commands starting with that prefix. The sole exception to this
rule is ESC: ESC C-h is equivalent to C-M-h, which does something else
entirely. You can, however, use F1 to display a list of commands
starting with ESC.
This bug report was last modified 2 years and 253 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.