GNU bug report logs - #28166
25.2; Batch mode not perfectly noninteractive

Previous Next

Package: emacs;

Reported by: Андрей Парамонов <cmr.pent <at> gmail.com>

Date: Sun, 20 Aug 2017 19:54:02 UTC

Severity: normal

Tags: notabug

Found in version 25.2

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: npostavs <at> users.sourceforge.net
To: Андрей Парамонов
 <cmr.pent <at> gmail.com>
Cc: 28166 <at> debbugs.gnu.org
Subject: Re: bug#28166: 25.2; Batch mode not perfectly noninteractive
Date: Sun, 20 Aug 2017 16:13:07 -0400
tags 28166 notabug
quit

Андрей Парамонов <cmr.pent <at> gmail.com> writes:

> According to
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Batch-Mode.html
> in noninteractive mode, Emacs does not read commands from the terminal.

That page says:

    [...] input that would normally come from the minibuffer is read
    from the standard input descriptor.

> $cat test.el
> (princ noninteractive)
> (princ (read-string ""))
>
> $C:\emacs\bin\emacs.exe --script test.el
> t
> [waiting for user input]
>
> Calling
> $C:\emacs\bin\emacs.exe --script test.el < test.el
> - or -
> $C:\emacs\bin\emacs.exe --script test.el < NUL
> works as expected (script finishes without user-input ^D).

So it looks to me that everything is working as expected.





This bug report was last modified 7 years and 312 days ago.

Previous Next


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