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: Po Lu
Subject: bug#57804: An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely
Date: Thu, 15 Sep 2022 13:20:51 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>> This case is exactly one of those which I think we shouldn't try to
>> fix, because it's the case of "buggy Lisp program", a.k.a. "don't do
>> that".  There's no reason for any useful Lisp program to have an
>> infloop like this:
>>
>>>   (while t
>>>     "whoopsie")
>
> You've never accidentally put an infloop into a font locking function?
> Then you've been very lucky.
>
> We should definitely fix this is we can.

Why isn't jit-lock-debug-mode an option?




reply via email to

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