Subject: bug#57447: 28.1.90; Can font-lock stop requesting fontification of invisible text?

From: Eli Zaretskii <[email-masked]>
Date: Sat, 27 Aug 2022 18:25:05 +0300

> From: Stefan Monnier <[email-masked]>
> Cc: Ihor Radchenko <[email-masked]>,  [email-masked]
> 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.