emacs-devel
[Top][All Lists]
Advanced

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

Re: Really noninteractive


From: Andreas Schwab
Subject: Re: Really noninteractive
Date: Mon, 24 Feb 2020 10:16:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

On Feb 20 2020, Lars Ingebrigtsen wrote:

> Andreas Schwab <address@hidden> writes:
>
>>> I'm trying to use Emacs from a server context, and would prefer that
>>> Emacs signal an error whenever you tell it to do something interactive
>>> rather than hang forever.
>>
>> Run emacs in batch mode.
>
> I don't want to do that -- I just want to ensure that certain code paths
> aren't interactive.

Set standard-input to a function that throws.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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