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

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

bug#44564: 27.1; C-n in macros causes long delays


From: Lars Ingebrigtsen
Subject: bug#44564: 27.1; C-n in macros causes long delays
Date: Wed, 11 Nov 2020 11:09:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Ted Lavarias <ted.lavarias@gmail.com> writes:

> When executing a similar macro, but instead of C-n, I was using "M-x
> forward-line" to go to the next line, it only took 8.66 and 8.86
> seconds.

`next-line' is a more complex function -- it tries to land you
approximately at the same place horizontally after moving, while
`forward-line' doesn't.

So I'm wondering whether the macro part of this bug report is relevant
or not.  Try evaling the following two forms in one of these buffers and
report back the difference:

(benchmark-run 100 (next-line))

(benchmark-run 100 (forward-line))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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