From: Drew Adams <drew.adams@oracle.com>
To: 23543@debbugs.gnu.org
Subject: bug#23543: 25.1.50; Incorrect key binding echoed by `M-x'
Date: Sun, 15 May 2016 14:32:30 -0700 (PDT) [thread overview]
Message-ID: <eaacb625-2b13-4527-8847-9246c2e21038@default> (raw)
emacs -Q
(define-key global-map [remap eval-last-sexp] 'pp-eval-last-sexp)
Put point after a Lisp sexp somewhere, and do `M-x eval-last-sexp'.
You see this echoed:
You can run the command 'eval-last-sexp' with C-x C-e
But that is incorrect. You cannot run `eval-last-sexp'
using `C-x C-e', since it has been remapped to command
`pp-eval-last-sexp'. If you use `C-x C-e' you invoke
the latter, not `eval-last-sexp'.
The code that causes this bugged behavior is the call
to `where-is-internal' in `execute-extended-command'.
It does, in effect:
(where-is-internal 'eval-last-sexp overriding-local-map t)
And that returns [24 5]. I'm no expert on `overriding-local-map',
but should it really be used here? Seems like this is the cause,
but whatever the cause, the message is incorrect.
In GNU Emacs 25.1.50.1 (i686-pc-mingw32)
of 2015-12-10
Repository revision: 6148555ee5a3d0139ae517803718b3e0357933c7
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
'configure --prefix=/c/Devel/emacs/snapshot/trunk --enable-checking=yes
--enable-check-lisp-object-type --without-compress-install 'CFLAGS=-Og
-ggdb3' LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include''
next reply other threads:[~2016-05-15 21:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 21:32 Drew Adams [this message]
2019-07-28 12:39 ` bug#23543: 25.1.50; Incorrect key binding echoed by `M-x' Lars Ingebrigtsen
2022-06-06 14:43 ` bug#23543: bug#42207: 28.0.50; (where-is-internal) reports incorrect binding 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eaacb625-2b13-4527-8847-9246c2e21038@default \
--to=drew.adams@oracle.com \
--cc=23543@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.