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, 16 Aug 2022 16:58:15 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 16.08.2022 16:09, Eli Zaretskii wrote:
From: Stefan Monnier<monnier@iro.umontreal.ca>
Cc: Eli Zaretskii<eliz@gnu.org>,56682@debbugs.gnu.org,dgutov@yandex.ru
Date: Tue, 16 Aug 2022 09:07:59 -0400

The way I see this is that Emacs is doing efforts to solve editing slowdowns
as best as possible, but that there is a "last mile" that cannot be solved
without the collaboration from major and minor modes.
The locked narrowing prevents that "last mile", sadly.
Nonsense, it doesn't prevent any such things.

Let's not exaggerate when we try to make a point, okay?

Why nonsense?

I've made the same point a bunch of times: arbitrary narrowing without regard for context stops any potential major-mode specific code from looking for a "safe position" which might be outside of that narrowing.

The new variable (which will let us increase the font-lock narrowing radius) should get us 95% there, though.





reply via email to

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