From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#23543: 25.1.50; Incorrect key binding echoed by `M-x' Date: Sun, 15 May 2016 14:32:30 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463348018 30839 80.91.229.3 (15 May 2016 21:33:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 May 2016 21:33:38 +0000 (UTC) To: 23543@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 15 23:33:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b23ex-0005Qs-U0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 May 2016 23:33:12 +0200 Original-Received: from localhost ([::1]:41493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b23ex-0007ZJ-6z for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 May 2016 17:33:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b23et-0007VI-9k for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 17:33:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b23ep-0004wI-1h for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 17:33:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b23eo-0004w4-V1 for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 17:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b23eo-0001V2-F4 for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 17:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 May 2016 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14633479715743 (code B ref -1); Sun, 15 May 2016 21:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 May 2016 21:32:51 +0000 Original-Received: from localhost ([127.0.0.1]:53037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b23ed-0001UZ-9P for submit@debbugs.gnu.org; Sun, 15 May 2016 17:32:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b23ea-0001UJ-M0 for submit@debbugs.gnu.org; Sun, 15 May 2016 17:32:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b23eU-0004sp-Dg for submit@debbugs.gnu.org; Sun, 15 May 2016 17:32:43 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b23eU-0004sl-Ac for submit@debbugs.gnu.org; Sun, 15 May 2016 17:32:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b23eS-00072i-3p for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 17:32:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b23eN-0004rX-QR for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 17:32:38 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:31216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b23eN-0004rH-Ih for bug-gnu-emacs@gnu.org; Sun, 15 May 2016 17:32:35 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u4FLWW2S018298 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 15 May 2016 21:32:32 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u4FLWWmO018536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 15 May 2016 21:32:32 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u4FLWVVA012169 for ; Sun, 15 May 2016 21:32:32 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118268 Archived-At: 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=3D/c/Devel/emacs/snapshot/trunk --enable-checking=3Dye= s --enable-check-lisp-object-type --without-compress-install 'CFLAGS=3D-Og -ggdb3' LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1 -Ic:/Devel/emacs/include''