From: Chong Yidong <cyd@stupidchicken.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 5645@debbugs.gnu.org
Subject: bug#5645: 23.1.92; read-event blocks in batch mode
Date: Fri, 26 Feb 2010 19:09:02 -0500 [thread overview]
Message-ID: <87k4tzee01.fsf@stupidchicken.com> (raw)
In-Reply-To: <87y6ihncp7.fsf@gmx.de> (Michael Albinus's message of "Thu, 25 Feb 2010 05:47:48 +0100")
Michael Albinus <michael.albinus@gmx.de> writes:
> Call
>
> # emacs -Q --batch --eval '(read-event nil nil 0.1)'
>
> It does not return.
This is a technical limitation of batch mode. Input is acquired via
getchar(): see kbd_buffer_get_event in keyboard.c. Unfortunately,
getchar() blocks until input in submitted on standard input.
next prev parent reply other threads:[~2010-02-27 0:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-25 4:47 bug#5645: 23.1.92; read-event blocks in batch mode Michael Albinus
2010-02-27 0:09 ` Chong Yidong [this message]
2010-02-28 9:40 ` Michael Albinus
2012-07-17 13:16 ` Michael Albinus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k4tzee01.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=5645@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.