From: Andreas Schwab <schwab@suse.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Really noninteractive
Date: Mon, 24 Feb 2020 10:16:51 +0100 [thread overview]
Message-ID: <mvmtv3gxs3g.fsf@suse.de> (raw)
In-Reply-To: <874kvl40lk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 20 Feb 2020 18:42:15 +0100")
On Feb 20 2020, Lars Ingebrigtsen wrote:
> Andreas Schwab <schwab@suse.de> 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, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2020-02-24 9:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-20 14:39 Really noninteractive Lars Ingebrigtsen
2020-02-20 15:23 ` Andreas Schwab
2020-02-20 17:42 ` Lars Ingebrigtsen
2020-02-24 9:16 ` Andreas Schwab [this message]
2020-02-24 12:55 ` Noam Postavsky
2020-02-24 13:03 ` Lars Ingebrigtsen
2020-02-20 19:05 ` Clément Pit-Claudel
2020-02-20 15:32 ` Ihor Radchenko
2020-02-20 17:42 ` Lars Ingebrigtsen
2020-02-20 17:56 ` Noam Postavsky
2020-02-20 18:36 ` Lars Ingebrigtsen
2020-02-20 19:11 ` dick.r.chiang
2020-02-21 13:20 ` Noam Postavsky
2020-02-21 14:11 ` 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=mvmtv3gxs3g.fsf@suse.de \
--to=schwab@suse.de \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/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.