emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7%


From: Stefan Monnier
Subject: Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7%
Date: Sat, 04 Sep 2021 13:47:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> PS: For the record, I was made aware of this case back in the days of
>> lazy-lock because lazy-lock didn't know how to skip invisible text (it
>> just fontified everything between window-start and window-end), so in
>> some cases it would end up fontifying the whole buffer.
>
> You are saying that jit-lock skips invisible text?

Indeed, tho `jit-lock.el` itself makes no effort to skip invisible text.

> I don't think I see this in the code.

IIRC it's a result of the redisplay skipping invisible text and hence not
calling `fontification-functions` on it.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]