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 #1501 received at 56682 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 56682 <at> debbugs.gnu.org, gregory <at> heytings.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#56682: Fix the long lines font locking related slowdowns
Date: Mon, 15 Aug 2022 15:45:12 +0300
> Date: Mon, 15 Aug 2022 15:06:35 +0300
> Cc: 56682 <at> debbugs.gnu.org, gregory <at> heytings.org, monnier <at> iro.umontreal.ca
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> >> It would make sense for our defaults not to be tailored to this very
> >> particular development rig.
> > 
> > If you are willing to lose my ability to debug complex redisplay
> > problems in many cases, sure, go ahead.
> 
> Why? You would customize an option to a lower value, and go on to debugging.

I will forget to do it and waste time.

> >> syntax-propertize is general, and yet it invokes language-specific rules
> >> (through syntax-propertize-function).
> > 
> > Nothing prevents xdisp.c from invoking those same rules if needed.
> 
> True. We could basically rewrite any Lisp function we have in C 
> (font-lock-fontify-region, for example).

No need to go ad absurdum.  I was responding to your assertion that
this must be done from font-lock.




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

Previous Next


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