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


View this message in rfc822 format

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: bug#56393: Actually fix the long lines display bug
Date: Tue, 19 Jul 2022 12:57:01 +0000
>
> The problem is that the loop under that condition is called whenever 
> redisplay_window is called.  For a file like xdisp.c or dictionary.json, 
> that loop takes about 1 ms (on my laptop).  For a file with 150K lines, 
> it takes about 13 ms.  As I said earlier, I would prefer to avoid 
> calling that loop for normal typing, namely when only one character has 
> been added or removed from the buffer since the last redisplay.  IOW, I 
> want to make the heuristic more precise.
>

Sorry, that was not precise enough: the loop under that condition is 
called whenever redisplay_window is called AND the buffer has been 
modified.




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.