[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speed of keyboard macro execution?
From: |
Eli Zaretskii |
Subject: |
Re: Speed of keyboard macro execution? |
Date: |
Thu, 10 Dec 2015 22:48:24 +0200 |
> From: David Kastrup <address@hidden>
> Date: Thu, 10 Dec 2015 21:36:14 +0100
> Cc: Eli Zaretskii <address@hidden>, address@hidden
>
> John Wiegley <address@hidden> writes:
>
> >>>>>> Perry E Metzger <address@hidden> writes:
> >
> >> On Thu, 10 Dec 2015 22:00:05 +0200 Eli Zaretskii <address@hidden> wrote:
> >>> > From: David Kastrup <address@hidden>
> >>> > So I think it would make excellent sense to disable visual
> >>> > positioning modes while recording and replaying keyboard macros.
> >>>
> >>> No, I think you are wrong. Think C-n and C-p again.
> >
> > Recording a macro has the value that it does what the user would have
> > done, just automated. If you disable visual positioning, then in many
> > cases it no longer does what I would have done manually.
>
> Visual positioning makes no sense without visual feedback. Can you show
> a single example of a task to be done by a keyboard macro where visual
> positioning would _help_ achieve that task rather than sabotage it?
Even if I agree with you, it doesn't help to fix the _interactive_ use
case of pressing C-p. With very long lines, that can take an
eternity. _That_ is what we should strive to fix.
>
> Just one? For your argument's sake? I certainly get the ugliness of
> changing a setting during macro record/replay. No question about that.
> But the alternative is keyboard macros being essentially useless because
> their effects on the text become unpredictable.
>
> Yes, they are then perfectly equivalent to pressing the same keys
> outside of macro recording/replay, but since the pressing of the keys is
> done based on visual feedback, there is just no point in recording key
> presses during visual movement mode and replay them at some other buffer
> position, or even the same buffer position but with different visuals.
>
> In this case, I prefer "wrong" to "useless".
>
> --
> David Kastrup
>
>
- Re: Speed of keyboard macro execution?, (continued)
- Re: Speed of keyboard macro execution?, David Kastrup, 2015/12/12
- Re: Speed of keyboard macro execution?, John Wiegley, 2015/12/12
- Re: Speed of keyboard macro execution?, David Kastrup, 2015/12/12
- Re: Speed of keyboard macro execution?, Per Starbäck, 2015/12/12
- Re: Speed of keyboard macro execution?, Perry E. Metzger, 2015/12/12
- Re: Speed of keyboard macro execution?, David Kastrup, 2015/12/12
- Disabling visual lines for macros (was: Speed of keyboard macro execution?), John Wiegley, 2015/12/12
- Re: Disabling visual lines for macros, David Kastrup, 2015/12/12
- Re: Speed of keyboard macro execution?, Perry E. Metzger, 2015/12/10
- Re: Speed of keyboard macro execution?, John Wiegley, 2015/12/10
- Re: Speed of keyboard macro execution?,
Eli Zaretskii <=
- Re: Speed of keyboard macro execution?, John Wiegley, 2015/12/10
- Re: Speed of keyboard macro execution?, David Kastrup, 2015/12/10
- Re: Speed of keyboard macro execution?, Eli Zaretskii, 2015/12/10
- Re: Speed of keyboard macro execution?, John Wiegley, 2015/12/10
- Re: Speed of keyboard macro execution?, Eli Zaretskii, 2015/12/10
- Re: Speed of keyboard macro execution?, Achim Gratz, 2015/12/10
- Re: Speed of keyboard macro execution?, Eli Zaretskii, 2015/12/10
- Re: Speed of keyboard macro execution?, Joseph Mingrone, 2015/12/11
- Re: Speed of keyboard macro execution?, Eli Zaretskii, 2015/12/12
- Re: Speed of keyboard macro execution?, Joseph Mingrone, 2015/12/12