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: Fabrice Bauzac
Subject: Re: Electricity in keyboard macros
Date: Wed, 15 Aug 2001 22:39:40 +0200
User-agent: Mutt/1.3.18i

On Sat, Aug 11, 2001 at 10:13:14AM +0300, Eli Zaretskii wrote:
> "Christopher S. Kush" wrote:

> > 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.

IMHO, electricity should be turned off when called from keyboard
macros.  Electricity is a visual thing and there is no need for visual
effects when invoking macros: if someone wants to see what happens,
she will use something else than macros, which exist to speed things
up.  It is very inconvenient, IMHO, when someone types a long macro
and sees sequentially, N times, the cursor on a left brace each second
(it doesn't seem useful to me), and has to put one additional C-q
before all the electric keystrokes in her macro.  Turning electricity
off doesn't change the result, which is what counts most in macros.

Maybe a special "boolean" variable could mean "hey, don't turn
electricity off even in macros": if t, then executing from a macro
will not be a sufficient reason to turn electricity off; if nil
(default), executing from a macro will always turn electricity off.
Would everyone agree in this case, at least?

> > what specifically is
> > unreasonable about asking that
> > 
> >  o 0 ( C-x b *scratch*<RET>M-x c-mode<RET>C-h k } 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.

I don't understand that, in the case of electricity at least.

-- 
fabrice bauzac
Software should be free.



reply via email to

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