help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-string from standard-input?


From: Stefan Monnier
Subject: Re: read-string from standard-input?
Date: Tue, 15 Mar 2016 08:35:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Running regression tests with interactive input is not what I want. Is
> there a technique, that read-string takes its input from a stream, like
> standard-input?

I'm not sure I understand.

    % emacs --batch -Q --eval '(message (read-string "hello:"))'

shows that `read-string' does read from stdin already if we're not in an
interactive session.  What am I missing?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]