From: npostavs@users.sourceforge.net
To: "Андрей Парамонов" <cmr.pent@gmail.com>
Cc: 28166@debbugs.gnu.org
Subject: bug#28166: 25.2; Batch mode not perfectly noninteractive
Date: Sun, 20 Aug 2017 16:13:07 -0400 [thread overview]
Message-ID: <87ziau9ewc.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAC4Co6Mp_FeRmEoHM5rWJ80gGy+M71EVzkOi5oo8OVe0zjd6ww@mail.gmail.com> ("Андрей Парамонов"'s message of "Sun, 20 Aug 2017 22:52:32 +0300")
tags 28166 notabug
quit
Андрей Парамонов <cmr.pent@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.
next prev parent reply other threads:[~2017-08-20 20:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-20 19:52 bug#28166: 25.2; Batch mode not perfectly noninteractive Андрей Парамонов
2017-08-20 20:13 ` npostavs [this message]
2017-08-21 1:15 ` Андрей Парамонов
2017-08-21 2:30 ` Eli Zaretskii
2017-08-21 2:42 ` Андрей Парамонов
2017-08-21 3:28 ` npostavs
2017-08-21 7:49 ` Andreas Schwab
2017-08-21 7:52 ` Андрей Парамонов
2017-08-21 14:16 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ziau9ewc.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=28166@debbugs.gnu.org \
--cc=cmr.pent@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.