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: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: 56393 <at> debbugs.gnu.org
Subject: bug#56393: Resetting long_line_optimization_p to 0
Date: Tue, 19 Jul 2022 11:31:19 +0200
Gregory Heytings <gregory <at> heytings.org> writes:

>>> - I did not see that l_l_o_p is set to false anywhere.  Should it
>>> be? What if a buffer is modified in such a way that there are no
>>> long lines anymore?
>>
>> Gosh!  That was an error, thanks!
>
> In fact it wasn't, there is a "b->long_line_optimizations_p = 0;" in
> reset_buffer.

Yes, I've seen that one, sorry for not being clear.

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.




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.