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: Thu, 15 Sep 2022 20:26:54 +0000
> 
> How do I decide what is sufficiently large? With this optimization 
> Logview can fall into that infloop in fontification code, at which point 
> Emacs becomes completely frozen, with the only way out to restart it.
>

You just described what would happen without this optimization with a 
sufficiently long line.

>
> With long lines I can suffer slow and not-quite-responsive (but still 
> not hung to death) Emacs, which is much more bearable.
>

Obviously you did not have to deal with long enough lines.

> 
> For you this long-line optimization is probably very important, maybe 
> you often work with files that trigger this and make using Emacs a pain 
> without it.
>

It isn't for me personally, no.  It is important for Emacs users.




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.