GNU bug report logs - #56682
Fix the long lines font locking related slowdowns

Previous Next

Package: emacs;

Reported by: Gregory Heytings <gregory <at> heytings.org>

Date: Thu, 21 Jul 2022 18:01:01 UTC

Severity: normal

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


Message #1564 received at 56682 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 56682 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 monnier <at> iro.umontreal.ca
Subject: Re: bug#56682: Fix the long lines font locking related slowdowns
Date: Mon, 15 Aug 2022 20:29:01 +0000
>
> I don't think major modes would take advantage of that var. I hope not, 
> at least.
>

You're optimistic, let's say I'm less optimistic.

>
> If you wanted the development to take this route, it would have really 
> made more sense to hold off on applying the narrowing to 
> fontification-functions, keeping font-lock slow-ish in large files. That 
> would have encouraged direct work on speeding it up.
>

That's your opinion.  What I think would have most likely happened is what 
you yourself said: these are large files, it's unavoidable that font 
locking takes somes time (these are not your exact words, I hope they 
express what you said faithfully).

>
> But anyway. Suppose we have some more success with syntax-ppss. Two 
> options:
>

There are many other options besides the two options you listed.




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

Previous Next


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