GNU bug report logs - #56393
Actually fix the long lines display bug

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Tue, 5 Jul 2022 08:50:02 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


Message #419 received at 56393 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, larsi <at> gnus.org, 56393 <at> debbugs.gnu.org
Subject: Re: bug#56393: Actually fix the long lines display bug
Date: Mon, 18 Jul 2022 16:06:51 +0000
And I just pushed an improved heuristic to detect long lines.  The code to 
detect whether the buffer contains long lines will only be executed when 
two or more characters have been added in the buffer since last redisplay, 
which means that normal typing (that is, one character at a time) is now 
entirely unaffected by that detection code.  On my laptop that code takes 
only 1 ms in a 20 MiB large buffer, but that's still too much for my 
taste.

Of course in theory one could add a very long line, one character at a 
time, in a buffer, but doing so without sometimes adding two characters 
between two redisplays is near to impossible.




This bug report was last modified 3 years and 33 days ago.

Previous Next


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