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

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

bug#46906: 28.0.50; byte compiler infloops trying to compile infloop


From: Lars Ingebrigtsen
Subject: bug#46906: 28.0.50; byte compiler infloops trying to compile infloop
Date: Thu, 04 Mar 2021 12:16:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pip Cet <pipcet@gmail.com> writes:

> I don't think so, because it doesn't work for Lisp infloops.
> (with-timeout (1 (error "foo")) (while t)) doesn't work here, at
> least.

Yes, you need to put something that yields in there for `with-timeout'
to work.  For instance:

(with-timeout (1 (error "foo")) (while t (sleep-for 0.1)))

However, I haven't checked whether this form triggers the bug that we're
trying to reproduce.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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