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: Ihor Radchenko <yantar92 <at> gmail.com>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 57207 <at> debbugs.gnu.org
Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)
Date: Mon, 22 Aug 2022 10:31:05 +0800
Gregory Heytings <gregory <at> heytings.org> writes:

>>> Ihor, any chance that you could try the patch (which I attach again to 
>>> this post) and tell us if if solves your original problem, namely 
>>> fontification that is slowed down in large Org files?
>>
>> The patch does not appear to apply onto current master.
>>
>
> It does here (at 8d4789c072), both with "git apply" and "patch -p1".  Are 
> you sure you're really on the master branch, without local modifications 
> in src/buffer.h and src/xdisp.c?

git apply did not work on my side.
patch -p1 worked, though complained about converting newlines.

The patch appears to solve the problem. I do not see the slowness
any more. Initial fontification got a lot faster as well.

Thanks!

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92




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.