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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9903 in the body.
You can then email your comments to 9903 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#9903; Package emacs. (Sat, 29 Oct 2011 08:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 29 Oct 2011 08:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Reply sent to Andreas Schwab <schwab <at> linux-m68k.org>:
You have taken responsibility. (Sat, 29 Oct 2011 08:59:01 GMT) Full text and rfc822 format available.

Notification sent to Chong Yidong <cyd <at> gnu.org>:
bug acknowledged by developer. (Sat, 29 Oct 2011 08:59:02 GMT) Full text and rfc822 format available.

Message #10 received at 9903-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 26 Nov 2011 12:24:03 GMT) Full text and rfc822 format available.

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.