--- Begin Message ---
Subject: |
24.0.90; Empty input string signals error in batch mode. |
Date: |
Sat, 29 Oct 2011 16:32:25 +0800 |
1. emacs -Q -batch --eval '(message "%s" (read-string "ASDF: "))'
2. Type RET at the prompt, without entering any text.
Emacs signals an error:
Error reading from stdin
This problem was introduced by:
revno: 105287
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2011-07-19 10:33:06 -0700
message:
Port to OpenBSD.
See http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00688.html
and the surrounding thread.
* minibuf.c (read_minibuf_noninteractive): Rewrite to use getchar
rather than fgets, and retry after EINTR. Otherwise, 'emacs
--batch -f byte-compile-file' fails on OpenBSD if an inactivity
timer goes off.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#9903: 24.0.90; Empty input string signals error in batch mode. |
Date: |
Sat, 29 Oct 2011 10:56:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
Fixed.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--- End Message ---