bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57804: An infinite loop in a `fontify-region' function causes Emacs


From: Paul Pogonyshev
Subject: bug#57804: An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely
Date: Thu, 15 Sep 2022 16:47:29 +0200

> Logview will have to be adapted to deal with the
> possibility of a locked narrowing.

Is it technically impossible to lift narrowing restrictions
in Emacs 29 (as in, something would break), or is it "you
have to rewrite, because we have decided so"?

Paul

On Wed, 14 Sept 2022 at 19:34, Gregory Heytings <gregory@heytings.org> wrote:

>
> 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).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]