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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
>
> With the latest master, the fontification gets completely broken.
>
> IDK if it is related to this specific patch, but I got the following
> redisplay backtrace.
>
> Note that org-element--parse-objects has the following:
>
> (save-excursion
> (save-restriction
> (narrow-to-region beg end)
> (goto-char (point-min))
> (let (next-object contents)
> (while (and (not (eobp))
> (setq next-object (org-element--object-lex restriction)))
>
> The infinite recursion did not happen on the same Org file in the past.
> So, it is not an issue with logic. Most likely, there is something about
> narrowing/point movement that is very wrong on Emacs master.
>
I'm puzzled, you tried the patch and said it improved fontification? Can
you try to revert 1c837c42c2 and see if it works again? Or can you
provide (privately if necessary) an example file with which that error is
triggered?
This bug report was last modified 2 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.