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: Eli Zaretskii
Subject: bug#57804: An infinite loop in a `fontify-region' function causes Emacs to hang indefinitely
Date: Wed, 14 Sep 2022 20:44:24 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Paul Pogonyshev <pogonyshev@gmail.com>,  57804@debbugs.gnu.org
> Date: Wed, 14 Sep 2022 19:38:12 +0200
> 
> 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?

While testing my code? sure.  But after testing, no, the loops are
generally gone.

> We should definitely fix this is we can.

I disagree.





reply via email to

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