From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Really noninteractive Date: Thu, 20 Feb 2020 18:42:15 +0100 Message-ID: <874kvl40lk.fsf@gnus.org> References: <878skx492v.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="80668"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 20 18:43:00 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4pqm-000KqB-C4 for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Feb 2020 18:43:00 +0100 Original-Received: from localhost ([::1]:47082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4pql-0001WO-EX for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Feb 2020 12:42:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42820) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4pq9-00014W-IV for emacs-devel@gnu.org; Thu, 20 Feb 2020 12:42:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4pq8-0004ET-Gt for emacs-devel@gnu.org; Thu, 20 Feb 2020 12:42:21 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:38170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4pq8-0004Dl-Ac for emacs-devel@gnu.org; Thu, 20 Feb 2020 12:42:20 -0500 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4pq3-0005qz-M1; Thu, 20 Feb 2020 18:42:18 +0100 In-Reply-To: (Andreas Schwab's message of "Thu, 20 Feb 2020 16:23:57 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f9:2b:f0f::2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244995 Archived-At: Andreas Schwab 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no