unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 38006@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	[thread overview]
Message-ID: <mvmtv7oev36.fsf@suse.de> (raw)
In-Reply-To: <wvr41rus6h9q.fsf@gmail.com> (Philipp Stephani's message of "Thu,  31 Oct 2019 16:56:01 +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@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





  reply	other threads:[~2019-10-31 16:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-31 15:56 bug#38006: 27.0.50; C-h w doesn't appear to work with autoloaded commands Philipp Stephani
2019-10-31 16:30 ` Andreas Schwab [this message]
2021-06-14 14:36   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvmtv7oev36.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=38006@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).