[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25860: 25.1; Double macro execution
From: |
npostavs |
Subject: |
bug#25860: 25.1; Double macro execution |
Date: |
Sun, 26 Feb 2017 11:02:32 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> I admit that I don't see myself as an expert on all the complexity
> that goes on in keyboard.c and friends. With this change,
> kmacro-tests.el still passes, but I'm not sure that's good enough
> (e.g., can a macro define another macro when it runs? if so, this
> change will get in the way).
AFAICT, you can't define a macro from a macro:
DEFUN ("start-kbd-macro", Fstart_kbd_macro, Sstart_kbd_macro, 1, 2, "P",
...
{
if (!NILP (KVAR (current_kboard, defining_kbd_macro)))
error ("Already defining kbd macro");
Not sure if there might be some other complications though.
- bug#25860: 25.1; Double macro execution, Marek Twardochlib, 2017/02/24
- bug#25860: 25.1; Double macro execution, Marek Twardochlib, 2017/02/25
- bug#25860: 25.1; Double macro execution, Tino Calancha, 2017/02/26
- bug#25860: 25.1; Double macro execution, npostavs, 2017/02/26
- bug#25860: 25.1; Double macro execution, Eli Zaretskii, 2017/02/26
- bug#25860: 25.1; Double macro execution,
npostavs <=
- bug#25860: 25.1; Double macro execution, Eli Zaretskii, 2017/02/27
- bug#25860: 25.1; Double macro execution, Noam Postavsky, 2017/02/27