GNU bug report logs - #9903
24.0.90; Empty input string signals error in batch mode.

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Sat, 29 Oct 2011 08:35:02 UTC

Severity: normal

Found in version 24.0.90

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Chong Yidong <cyd <at> gnu.org>
Subject: bug#9903: closed (Re: bug#9903: 24.0.90; Empty input string
 signals error in batch mode.)
Date: Sat, 29 Oct 2011 08:59:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#9903: 24.0.90; Empty input string signals error in batch mode.

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 9903 <at> debbugs.gnu.org.

-- 
9903: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9903
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: 9903-done <at> debbugs.gnu.org
Subject: Re: bug#9903: 24.0.90; Empty input string signals error in batch mode.
Date: Sat, 29 Oct 2011 10:56:34 +0200
Fixed.

Andreas.

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

[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
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 <eggert <at> 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.



This bug report was last modified 13 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.