GNU bug report logs - #57447
28.1.90; Can font-lock stop requesting fontification of invisible text?

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sat, 27 Aug 2022 05:35:02 UTC

Severity: normal

Found in version 28.1.90

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 57447 <at> debbugs.gnu.org, yantar92 <at> gmail.com
Subject: bug#57447: 28.1.90; Can font-lock stop requesting fontification of invisible text?
Date: Sat, 27 Aug 2022 18:25:05 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Ihor Radchenko <yantar92 <at> gmail.com>,  57447 <at> debbugs.gnu.org
> Date: Sat, 27 Aug 2022 11:21:11 -0400
> 
> [ Tho I don't understand how the question relates to the text before
>   it: reducing the size of a chunk wouldn't reduce the number of times
>   fontification-functions is called.  ]

I think the idea is to make it fontify fewer characters.

And yes, making the chunks smaller increases the probability that
invisible text will be skipped before it is (unnecessarily) fontified.
E.g., imagine that you set jit-lock-chunk-size to the value 1.




This bug report was last modified 2 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.