bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andreas Schwab
Subject: bug#38006: 27.0.50; C-h w doesn't appear to work with autoloaded commands
Date: Thu, 31 Oct 2019 17:30:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

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.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]