bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Sat, 11 Aug 2001 10:13:14 +0300

"Christopher S. Kush" wrote:
> 
> Earlier this same thread, EZ wrote:
> > 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.
> 
> Eli Zaretskii now writes:
> > [The executing-macro variable] holds the text of the macro that
> > is being executed, and is meant to be used by commands that
> > want to behave differently when invoked from a macro.
> 
> No way.  You have to pick one

No, I don't.  Some commands might wish to use that feature, but in general
IMHO the behavior should be identical.

> what specifically is
> unreasonable about asking that
> 
>  o 0 ( C-x b *scratch*<RET>M-x c-mode<RET>C-h b }C-x b<RET> )
> 
> c-electric-brace do this very thing, i.e. shut up when invoked
> from a macro?

Because it might surprise users in other cases.



reply via email to

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