GNU bug report logs - #26535
25.1; `edit-last-kbd-macro': wrong info in comments

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 16 Apr 2017 16:53:01 UTC

Severity: minor

Tags: confirmed

Found in versions 29.0.50, 24.3, 25.1

To reply to this bug, email your comments to 26535 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#26535; Package emacs. (Sun, 16 Apr 2017 16:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 16 Apr 2017 16:53:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; `edit-last-kbd-macro': wrong info in comments
Date: Sun, 16 Apr 2017 09:52:38 -0700 (PDT)
emacs -Q
C-x d RET ; Dired some dir
<f3>
M-x forward-char RET
<f4>
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 cancel.
;; 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			;; execute-extended-command
f			;; dired-find-file
o			;; dired-find-file-other-window
r			;; self-insert-command
w			;; dired-copy-filename-as-kill
a			;; dired-find-alternate-file
r			;; self-insert-command
d			;; dired-flag-file-deletion
-			;; negative-argument
c			;; dired-do-compress-to
h			;; describe-mode
a			;; dired-find-alternate-file
r			;; self-insert-command
RET			;; 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=-O2
 -static -g3''




bug Marked as found in versions 24.3. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 22 Apr 2017 21:47:02 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 22 Apr 2017 21:47:02 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 22 Apr 2017 21:47:02 GMT) Full text and rfc822 format available.

bug Marked as found in versions 29.0.50. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 17 Jun 2022 19:04:02 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 361 days ago.

Previous Next


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