all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 26535@debbugs.gnu.org
Subject: bug#26535: 25.1; `edit-last-kbd-macro': wrong info in comments
Date: Sun, 16 Apr 2017 09:52:38 -0700 (PDT)	[thread overview]
Message-ID: <f3dd447a-299e-49ac-813d-28793b31a415@default> (raw)

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





                 reply	other threads:[~2017-04-16 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3dd447a-299e-49ac-813d-28793b31a415@default \
    --to=drew.adams@oracle.com \
    --cc=26535@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.