bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#56682: Fix the long lines font locking related slowdowns


From: Dmitry Gutov
Subject: bug#56682: Fix the long lines font locking related slowdowns
Date: Tue, 2 Aug 2022 17:08:01 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 02.08.2022 10:55, Stefan Monnier wrote:
only top and bottom of the buffer are fontified), with the caveat that
font-lock always tries to backtrack to BOL when fontifying the current
hunk. Which makes sense, of course, but could be tweaked for long lines to
avoid re-fontifying the whole buffer again and again.
It has already been (recently) tweaked for this on `master`.

Sorry I missed that. Commit 15b2138719b34083967001c3903e7560d5e0947c, right?

Then, as long as redisplay avoids narrowing when running fontification-functions, everything should work well.

Or at least much better than before.





reply via email to

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