[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Electricity in keyboard macros

From: Eli Zaretskii
Subject: Re: Electricity in keyboard macros
Date: Fri, 10 Aug 2001 12:49:03 +0300

Fabrice Bauzac wrote:
> (setq last-kbd-macro
>    "\C-a\C-f\C-f{ \C-e\C-? },\C-a\C-n")
> It works, but the problem is that each time the macro inserts an
> (electric) '}', the point temporarily shows the matching '{' during
> one second.  Imagine a case when you have to repeat the macro 60
> times: it will last one minute.
> I think the electric code should test for the `executing-macro'
> variable before waiting one second...
> Am I wrong?

I think a keyboard macro is supposed to behave exactly as if you typed those
keys from the keyboard.  Think of it as a playback facility.

If you want to remove the special effect of electric keys such as `}',
precede them with a C-q.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]