help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] very slow kbd-macro


From: Theodore Jump
Subject: Re: [h-e-w] very slow kbd-macro
Date: Fri, 02 Nov 2001 09:39:41 -0600

At 09:15 AM 11/2/2001 -0500, Michael John Downes wrote:
Erwin Achermann <address@hidden> writes:

> This could explain it. However i tried it: pressing the keys for the two
> incremental searches by hand was still faster with the visual feedback,
> than calling the macro.... which doesn't  give the visual feedback.....
> so less done, and still slower!

There's more going on under the hood than you seem to realize, so that
kind of test is not necessarily going to be all that relevant. If you
really want to find out more, change the isearches in the macro to
non-incremental searches and test that.

One could also probably speed up keyboard macro playback by either remembering to encode "M-x font-lock-mode<enter>" to toggle font-lock off at the beginning, with another instance at the end of the macro. This *should* have the effect of temporarily suspending font-lock during the macro execution.

Similarly, if you want to suspend font-lock while doing a bunch of repeated keyboard macro executions, then do the above manually before executing the macro and do not encode the above into the macro.

Just another way to affect the processing.

-T
reply via email to

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