all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: keyboard macro counter
Date: Wed, 8 Sep 2004 21:14:50 -0500 (CDT)	[thread overview]
Message-ID: <200409090214.i892Eoh02794@raven.dms.auburn.edu> (raw)

`(emacs)Keyboard Macro Counter' claims:

	Each keyboard macro has an associated counter

This is apparently wrong.  Each macro _that is a member of the
keyboard macro ring_ as an associated counter.  Also, the counter used
by a keyboard macro (say invoked using a keybinding or with M-x) is
not the counter associated with that macro (even if it has one) but
the counter associated with the current head of the macro ring.  That
is the actual counter that will get inserted and incremented,
regardless of the macro currently being executed.

Is this for some reason designed behavior or is this a bug?

To illustrate what I am talking about, see what happens if you do:

emacs -q
C-x ( a C-x C-k C-i RET C-x ) C-x C-k n aa RET C-x ( b M-5 C-x C-k C-i
RET C-x ) M-x aa RET C-x e

Sincerely,

Luc.

             reply	other threads:[~2004-09-09  2:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09  2:14 Luc Teirlinck [this message]
2004-09-09  7:22 ` keyboard macro counter Kim F. Storm
2004-09-09 20:56   ` Kim F. Storm

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=200409090214.i892Eoh02794@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    /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.