GNU bug report logs - #38006
27.0.50; C-h w doesn't appear to work with autoloaded commands

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Thu, 31 Oct 2019 15:57:01 UTC

Severity: minor

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> suse.de>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 38006 <at> debbugs.gnu.org
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
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 <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 4 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.