GNU bug report logs -
#57207
29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)
Previous Next
Reported by: Ihor Radchenko <yantar92 <at> gmail.com>
Date: Sun, 14 Aug 2022 15:55:01 UTC
Severity: normal
Found in version 29.0.50
Done: Gregory Heytings <gregory <at> heytings.org>
Bug is archived. No further changes may be made.
Full log
Message #71 received at 57207 <at> debbugs.gnu.org (full text, mbox):
>
> Clarification: I was unable to trigger the hang again. I am not sure
> what I did the first time (I played with long-line-threshold values
> inside the same Org buffer),
>
That wouldn't work (or at least it might not do what you expect): once a
too long line has been found in the buffer the long line optimizations are
enabled, and long lines are not detected anymore.
>
> but I suspect that there were also some errors raised in the Org
> fontification code - parts of the buffer got wrong fontification just
> before the hang. Of course, these errors are probably also an indication
> that something is going wrong, but the hang may not be directly related
> to the slowdown.
>
> Throughout my today's attempts to reproduce, I did not see any obvious
> difference in the slowdown between 10000 and 100000 long-line-threshold
> values.
>
Okay, so my guess is that it's in fact something in the Org fontification
code which infloops when locked narrowing is enabled.
This bug report was last modified 2 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.