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: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 57207 <at> debbugs.gnu.org, yantar92 <at> gmail.com
Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)
Date: Sat, 20 Aug 2022 12:29:51 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: 57207 <at> debbugs.gnu.org,  yantar92 <at> gmail.com
> Date: Sat, 20 Aug 2022 11:15:51 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Ah, I know what's causing this: flyspell calls redisplay (via sit-for)
> > inside its post-command-hook.
> >
> > So I think this basically means we cannot narrow the buffer while
> > calling pre- and post-command-hooks, because any of them can trigger
> > redisplay, and that will show "Narrow" on the mode line.
> 
> Would binding `inhibit-redisplay' there help?

Maybe it will, but how can we do that?  It would break any pre- and
post-command hooks that do need to trigger redisplay.




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.