[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: keyboard macro counter
From: |
Kim F. Storm |
Subject: |
Re: keyboard macro counter |
Date: |
Thu, 09 Sep 2004 09:22:02 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
Luc Teirlinck <address@hidden> writes:
> `(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.
That's a really good catch!!
And similar for the macro counter format.
>
> Is this for some reason designed behavior or is this a bug?
It is a bug.
The question is whether it really matters (personally, I never had the
need for that aspect of the macro counter feature). So perhaps it
would be ok to just document the current behaviour (as a warning).
Fixing it is non-trivial, but let me look at it...
--
Kim F. Storm <address@hidden> http://www.cua.dk