Subject: Re: bug#38006: 27.0.50; C-h w doesn't appear to work with autoloaded commands

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 14 Jun 2021 16:36:52 +0200

Andreas Schwab <[email-masked]> writes:

> On Okt 31 2019, Philipp Stephani wrote:
>
>> emacs -Q
>> C-h w 2C-two-columns RET
>> Output is "2C-two-columns is not on any key".
>> However, <f2> <f2> runs 2C-two-columns.
>> This means that apparently C-h w doesn't work with autoloaded commands
>> that aren't yet loaded.  It would be nice if this worked.
>
> The problem is that the keymap that is bound to f2 is autoloaded.  Emacs
> does not know how that keymap looks like until it is loaded, and the
> command isn't really bound until then.

So I don't think there's anything to fix here, and I'm closing this bug
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no