From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#26535: 25.1; `edit-last-kbd-macro': wrong info in comments Date: Sun, 16 Apr 2017 09:52:38 -0700 (PDT) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492361591 22696 195.159.176.226 (16 Apr 2017 16:53:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Apr 2017 16:53:11 +0000 (UTC) To: 26535@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 16 18:53:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cznQ8-0005js-U3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Apr 2017 18:53:05 +0200 Original-Received: from localhost ([::1]:32985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cznQE-0004f6-Rr for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Apr 2017 12:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cznQ9-0004er-70 for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 12:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cznQ6-0001wH-4O for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 12:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cznQ6-0001wB-0b for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 12:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cznQ5-00014m-PZ for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 12:53:01 -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, 16 Apr 2017 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26535 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.14923615774124 (code B ref -1); Sun, 16 Apr 2017 16:53:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Apr 2017 16:52:57 +0000 Original-Received: from localhost ([127.0.0.1]:50894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cznQ1-00014S-DO for submit@debbugs.gnu.org; Sun, 16 Apr 2017 12:52:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cznPz-00014D-5t for submit@debbugs.gnu.org; Sun, 16 Apr 2017 12:52:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cznPt-0001nd-4d for submit@debbugs.gnu.org; Sun, 16 Apr 2017 12:52:50 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cznPt-0001nS-2X for submit@debbugs.gnu.org; Sun, 16 Apr 2017 12:52:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cznPr-0004dP-Nd for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 12:52:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cznPo-0001k5-L8 for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 12:52:47 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:38477) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cznPo-0001jg-CJ for bug-gnu-emacs@gnu.org; Sun, 16 Apr 2017 12:52:44 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3GGqfZk010628 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 16 Apr 2017 16:52:42 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3GGqfsc017311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 16 Apr 2017 16:52:41 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3GGqeHJ010284 for ; Sun, 16 Apr 2017 16:52:40 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.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] [fuzzy] 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:131653 Archived-At: emacs -Q C-x d RET ; Dired some dir M-x forward-char RET M-x edit-last-kbd-macro RET Buffer *Edit Macro* shows the wrong bindings for the keys pressed to define the macro. It shows Dired bindings for each key, but those keys were pressed as minibuffer input for `M-x': ;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to canc= el. ;; Original keys: M-x f o r w a r d - c h a r RET Command: last-kbd-macro Key: none Macro: M-x=09=09=09;; execute-extended-command f=09=09=09;; dired-find-file o=09=09=09;; dired-find-file-other-window r=09=09=09;; self-insert-command w=09=09=09;; dired-copy-filename-as-kill a=09=09=09;; dired-find-alternate-file r=09=09=09;; self-insert-command d=09=09=09;; dired-flag-file-deletion -=09=09=09;; negative-argument c=09=09=09;; dired-do-compress-to h=09=09=09;; describe-mode a=09=09=09;; dired-find-alternate-file r=09=09=09;; self-insert-command RET=09=09=09;; dired-find-file `edit-last-kbd-macro' interprets the macro definition in the context of whatever buffer is current when it is called. If you change to another buffer in the above recipe before invoking it, the commands shown in the comments will be completely different (but equally wrong). In GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-11-15 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --without-dbus --without-compress-install 'CFLAGS=3D-O2 -static -g3''