GNU bug report logs - #44564
27.1; C-n in macros causes long delays

Previous Next

Package: emacs;

Reported by: Ted Lavarias <ted.lavarias <at> gmail.com>

Date: Wed, 11 Nov 2020 01:06:02 UTC

Severity: normal

Found in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Ted Lavarias <ted.lavarias <at> gmail.com>
Cc: 44564 <at> debbugs.gnu.org
Subject: bug#44564: 27.1; C-n in macros causes long delays
Date: Wed, 11 Nov 2020 11:09:13 +0100
Ted Lavarias <ted.lavarias <at> 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




This bug report was last modified 4 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.