GNU bug report logs - #58216
Display user's custom keybindings in `help-for-help' (`C-h C-h')

Previous Next

Package: emacs;

Reported by: Allen Li <darkfeline <at> felesatra.moe>

Date: Sat, 1 Oct 2022 09:09:01 UTC

Severity: wishlist

Found in version 28.2

Full log


View this message in rfc822 format

From: Allen Li <darkfeline <at> felesatra.moe>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 58216 <at> debbugs.gnu.org
Subject: bug#58216: 28.2; New help-for-help hides user key bindings
Date: Mon, 3 Oct 2022 23:36:41 -0700
[Message part 1 (text/plain, inline)]
On Mon, Oct 3, 2022 at 2:20 AM Stefan Kangas <stefankangas <at> gmail.com> wrote:

> severity 58216 wishlist
> thanks
>
> Allen Li <darkfeline <at> felesatra.moe> writes:
>
> > Before the recent binding of C-h C-h to help-for-help, C-h C-h was
> > unbound
>
> AFAICT, that key binding has been the same since at least:
>
>     commit 433ae6f6e191af1d1bc67025200ea54a08761e68
>     Author: Richard M. Stallman <rms <at> gnu.org>
>     Date:   Sun Aug 25 21:47:10 1991 +0000
>
>         Initial revision
>
> Which says:
>
>     (define-key global-map "\C-h" 'help-command)
>     (fset 'help-command help-map)
>     (define-key help-map "\C-h" 'help-for-help)
>
> > 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.
>
> That's not what I see in Emacs 27.1.  Have you tried it in "emacs -Q"?
>

Seems like I misremembered, sorry about that.  Then this is a feature
request not regression.
[Message part 2 (text/html, inline)]

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.