[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Electricity in keyboard macros
From: |
Christopher S. Kush |
Subject: |
Re: Electricity in keyboard macros |
Date: |
10 Aug 2001 13:33:14 -0600 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.103 |
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 -- you're not President Bush, you
know. Since commands are allowed (nay, encouraged!) to behave
differently as part of a keyboard macro, 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?
Okay, let me answer my own question -- in the case the OP
described, it would be nice -- no ten-minute delays while C-u 100
C-x e works its magic. OTOH, suppose you have to update 17
similar expressions in a C program. You record a kbd-macro, then
one by one find each target and C-x e. The electric-flash gives
you a warm fuzzy feeling that the macro really worked.
Sorry. Long day.
--
Christopher S. Kush
- Electricity in keyboard macros, Fabrice Bauzac, 2001/08/09
- Re: Electricity in keyboard macros, Eli Zaretskii, 2001/08/10
- Re: Electricity in keyboard macros, Fabrice Bauzac, 2001/08/10
- Re: Electricity in keyboard macros, Eli Zaretskii, 2001/08/10
- Re: Electricity in keyboard macros,
Christopher S. Kush <=
- Re: Electricity in keyboard macros, Eli Zaretskii, 2001/08/11
- Re: Electricity in keyboard macros, Fabrice Bauzac, 2001/08/15
- Re: Electricity in keyboard macros, Eli Zaretskii, 2001/08/16
- Re: Electricity in keyboard macros, Fabrice Bauzac, 2001/08/16
- Re: Electricity in keyboard macros, Eli Zaretskii, 2001/08/16
- Re: Electricity in keyboard macros, Fabrice Bauzac, 2001/08/17
- Re: Electricity in keyboard macros, Eli Zaretskii, 2001/08/17
- Re: Electricity in keyboard macros, Kai Großjohann, 2001/08/17
- Re: Electricity in keyboard macros, Richard Stallman, 2001/08/16
- Re: Electricity in keyboard macros, Richard Stallman, 2001/08/12