GNU bug report logs - #57804
An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Wed, 14 Sep 2022 15:07:01 UTC

Severity: normal

Tags: wontfix

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gregory Heytings <gregory <at> heytings.org>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 57804 <at> debbugs.gnu.org
Subject: bug#57804: An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely
Date: Wed, 14 Sep 2022 17:34:10 +0000
> 
> E.g. in my case this happened in Logview mode, because it expected 
> `widen' to, well, widen, but Emacs `master' introduced half-cooked 
> narrowed locking that broke that expectation
>

Yes, master contains work in progress.  If you want stable code, you 
should use the release branch.

Note that the "fully cooked" narrowing will not magically solve that 
problem, though.  Logview will have to be adapted to deal with the 
possibility of a locked narrowing.  What you should most probably do in 
your case is to increase the value of long-line-threshold (or disable 
whatever causes Logview to infloop when locked narrowing is in effect, if 
that's feasible).




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

Previous Next


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