unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Bug in new sit-for?
Date: Mon, 17 Jul 2006 00:48:05 +0200	[thread overview]
Message-ID: <44BAC225.8050601@student.lu.se> (raw)
In-Reply-To: <87ejwljirb.fsf@stupidchicken.com>

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	other threads:[~2006-07-16 22:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-16 20:26 Bug in new sit-for? Lennart Borgman
2006-07-16 22:18 ` Chong Yidong
2006-07-16 22:48   ` Lennart Borgman [this message]
2006-07-17  4:25     ` Chong Yidong
2006-07-17  4:28       ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44BAC225.8050601@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).