emacs-devel
[Top][All Lists]
Advanced

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

Re: Bug in new sit-for?


From: Lennart Borgman
Subject: Re: Bug in new sit-for?
Date: Mon, 17 Jul 2006 00:48:05 +0200
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Chong Yidong wrote:
 emacs.exe -batch -Q -l sit-for-bug.el

This hangs after the displaying "calling (sit-for 1)". The first
(sit-for 0) does not hang.

(First off, it isn't hung: press enter, and the sit-for will exit.
The problem is that `read-event' can't be interrupted by the timer in
batch mode).
Why can't it be interrupted in batch?

Anyway, the situation is a little more complicated than that, because
the old sit-for also doesn't work properly.

With the old sit-for, there is no way to interrupt in batch mode: no
matter what key you press, including enter, the sit-for will sit for
the entire duration.
Yes, that was inconvenient too.





reply via email to

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