GNU bug report logs - #57207
29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> gmail.com>

Date: Sun, 14 Aug 2022 15:55:01 UTC

Severity: normal

Found in version 29.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> gmail.com>
Cc: gregory <at> heytings.org, 57207 <at> debbugs.gnu.org
Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)
Date: Tue, 16 Aug 2022 15:33:20 +0300
> From: Ihor Radchenko <yantar92 <at> gmail.com>
> Cc: gregory <at> heytings.org,  57207 <at> debbugs.gnu.org
> Date: Tue, 16 Aug 2022 17:39:22 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Does the patch below fix the issue?
> 
> Nope, unfortunately.

OK, thanks.  The change is correct nonetheless, so I installed it.

Gregory, perhaps we should restrict the search even further, as this
loop could take some tangible time with very large files.  How about
if we search from window-start point instead of BEGV, and limit the
search by, say, 10,000,000 newlines and 200,000,000 characters,
whichever happens first?  Is it really likely to have files with so
many short lines, followed by long lines?




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

Previous Next


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