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

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

Re: Performance problem with keyboard macros and C-n


From: Daniel Martín
Subject: Re: Performance problem with keyboard macros and C-n
Date: Wed, 11 Nov 2020 23:56:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

Robert Thorpe <rt@robertthorpeconsulting.com> writes:

> On Reddit someone pointed to a performance problem with a keyboard
> macro. I investigated it a bit more and found that it was caused by an
> interaction between C-n and some programming modes.
>
> Basically, the macro is extremely slow if C-n is used to move between
> lines and the macro is run in python-mode or c-mode.  However, it is
> very fast if fundamental-mode is used or if forward-line is used to move
> to the next line.  It is also very fast if apply-macro-to-region-lines
> is used.
>
> Is this a known performance bug, or should I open a bug report?
>
> BR,
> Robert Thorpe

I think it's better to open a bug report with a detailed recipe to
reproduce the performance problem.  Thanks.


reply via email to

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