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 #482 received at 56393 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 56393 <at> debbugs.gnu.org
Subject: Re: bug#56393: Resetting long_line_optimization_p to 0
Date: Tue, 19 Jul 2022 09:51:02 +0000
>
> What I meant was resetting the flag without resetting the buffer.  For 
> example in redisplay_window when it finds that the condition for setting 
> it true is no longer met.
>

It is indeed never reset.  It goes only in one direction: as soon as a 
buffer contains one "long enough" line, the specific optimizations are 
used, and the buffer continues to use them.  Such buffers are not common, 
I don't think it is necessary/useful to check after each iteration whether 
the buffer still contains long lines, especially given that these 
optimizations have a near-nil effect in buffers without long lines.




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.