all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26535: 25.1; `edit-last-kbd-macro': wrong info in comments
@ 2017-04-16 16:52 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2017-04-16 16:52 UTC (permalink / raw)
  To: 26535

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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-16 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-16 16:52 bug#26535: 25.1; `edit-last-kbd-macro': wrong info in comments Drew Adams

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.