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

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

bug#34123: A patch to fix reading EOF characters in non-interactive mode


From: Shawn Presser
Subject: bug#34123: A patch to fix reading EOF characters in non-interactive mode
Date: Fri, 18 Jan 2019 10:20:54 -0600

It's non-interactive:

arc> |noninteractive|
t

(The _expression_ |noninteractive| in arcmacs is equivalent to evaluating 'noninteractive in emacs lisp.)

The runtimes start by invoking emacs using `emacs -Q --script ...`, so it's always noninteractive. And in general for writing shell scripts rather than repls, it's important to be in noninteractive mode. But it's equally important to have the ability to prompt the user from a shell script, and for the user to be able to cancel by using ^D without causing stdin errors on all subsequent prompts.



On Fri, Jan 18, 2019 at 10:04 AM Eli Zaretskii <address@hidden> wrote:
> From: Shawn Presser <address@hidden>
> Date: Fri, 18 Jan 2019 08:22:31 -0600
> Cc: address@hidden
>
> I use Emacs Lisp as a runtime for Arc (https://github.com/shawwn/arcmacs) and for Lumen
> (https://github.com/shawwn/y). The goal is to be able to run a Lisp REPL from the terminal.

So the usage you describe, and are interested in, is not
non-interactive, as far as Emacs is concerned, right?  Or am I missing
something?

reply via email to

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