[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Drew Adams
Subject: bug#26535: 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
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 cancel.
;; Original keys: M-x f o r w a r d - c h a r RET

Command: last-kbd-macro
Key: none


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''

reply via email to

[Prev in Thread] Current Thread [Next in Thread]