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 #1720 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: Tue, 16 Aug 2022 17:10:39 +0300
> Date: Tue, 16 Aug 2022 17:00:18 +0300
> Cc: 56682 <at> debbugs.gnu.org, gregory <at> heytings.org, monnier <at> iro.umontreal.ca
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> 
> >> It's a buffer without long lines. Simply a large file.
> > 
> > ??? Are we talking about long-line.xml, or are we talking about
> > some other file?  We did nothing to change the behavior in large files
> > without long lines.
> 
> I'm talking about a 20 MB file I created manually with some simple 
> contents. Just no long lines.

That's a different problem, one we didn't try to fix yet.

> > If you are saying that 'recenter' takes too long in some file, and
> > therefore delays M-> for too long, it is probably a separate issue, so
> > please report that as a separate bug, preferably with the file that
> > causes it.
> 
> It seems pertinent to me since ultimately the decision to narrow in 
> handle_fontified_prop is driven by the idea that font-lock in large 
> files ends up being a problem anyway. And here we have a large file 
> where this doesn't help.

Because it's a different problem, with likely a different solution.

> But I can file it separately, of course.

Yes, please.




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.