Subject: Re: bug#57804: An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 15 Sep 2022 22:22:26 +0200

Gregory Heytings <[email-masked]> writes:

>> I see that manually evaluating `(setq-local long-line-threshold
>> nil)' in a buffer where the optimization is already in effect
>> (i.e. where `(long-line-optimizations-p)' evaluates to t) doesn't
>> disable the optimization. Do you have a solution for that?
>
> No, and that will not be supported.

Well, that's when you need it -- you've discovered that the current
buffer is all wonky because of this, so you want to switch it off in
that particular buffer.