unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9903: 24.0.90; Empty input string signals error in batch mode.
@ 2011-10-29  8:32 Chong Yidong
  2011-10-29  8:56 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2011-10-29  8:32 UTC (permalink / raw)
  To: 9903

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 <eggert@cs.ucla.edu>
  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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#9903: 24.0.90; Empty input string signals error in batch mode.
  2011-10-29  8:32 bug#9903: 24.0.90; Empty input string signals error in batch mode Chong Yidong
@ 2011-10-29  8:56 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2011-10-29  8:56 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 9903-done

Fixed.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-29  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-29  8:32 bug#9903: 24.0.90; Empty input string signals error in batch mode Chong Yidong
2011-10-29  8:56 ` Andreas Schwab

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).