From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Network security manager Date: Tue, 18 Nov 2014 15:40:37 -0500 Message-ID: References: <85a93pj1n5.fsf@stephe-leake.org> <87sihg7r73.fsf@alrua-karlstad.karlstad.toke.dk> <87a93oilxl.fsf@lifelogs.com> <87oas4h555.fsf@lifelogs.com> <87a93oh180.fsf@lifelogs.com> <83h9xw9zg3.fsf@gnu.org> <83d28k9yb9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416343266 9486 80.91.229.3 (18 Nov 2014 20:41:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2014 20:41:06 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 18 21:40:59 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xqpa5-0006iJ-UG for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2014 21:40:58 +0100 Original-Received: from localhost ([::1]:55255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqpa5-0005hm-GR for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2014 15:40:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqpZv-0005hc-VS for emacs-devel@gnu.org; Tue, 18 Nov 2014 15:40:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqpZo-0006pQ-H4 for emacs-devel@gnu.org; Tue, 18 Nov 2014 15:40:47 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqpZo-0006pK-12; Tue, 18 Nov 2014 15:40:40 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id sAIKeb3e001599; Tue, 18 Nov 2014 15:40:37 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 744AA987C; Tue, 18 Nov 2014 15:40:37 -0500 (EST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 18 Nov 2014 19:29:02 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5129=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5129> : inlines <1538> : streams <1344738> : uri <1835205> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177651 Archived-At: >> Now I just need to know how to determine if a function is running from >> an async callback... > There's a C variable called running_asynch_code, but it's not exposed to > Lisp. Unless there's something else in there that can be used, should > we just export that to Lisp, like the `noninteractive' variable? I guess we could export it (read-only) to Lisp, yes. Tho, maybe it would be worth it to have a separate var for it, writeable, which we could arrange to consider (some?) process filters to be synchronous when run during a sync call to accept-process-output. Stefan