Subject: Re: bug#58216: 28.2; New help-for-help hides user key bindings

From: Allen Li <[email-masked]>
Date: Mon, 3 Oct 2022 23:36:41 -0700

On Mon, Oct 3, 2022 at 2:20 AM Stefan Kangas <[email-masked]> wrote:

> severity 58216 wishlist
> thanks
>
> Allen Li <[email-masked]> 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 <[email-masked]>
>     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.