From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Network security manager Date: Tue, 18 Nov 2014 20:19:58 +0100 Message-ID: References: <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> <837fys9wt7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416338445 18838 80.91.229.3 (18 Nov 2014 19:20:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2014 19:20:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 18 20:20:38 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 1XqoKL-0006lj-R1 for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2014 20:20:37 +0100 Original-Received: from localhost ([::1]:54883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqoKL-0004tf-AQ for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2014 14:20:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqoK9-0004tW-PN for emacs-devel@gnu.org; Tue, 18 Nov 2014 14:20:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqoK3-0005Xp-IV for emacs-devel@gnu.org; Tue, 18 Nov 2014 14:20:25 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqoK3-0005XV-Bz; Tue, 18 Nov 2014 14:20:19 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XqoJi-00047s-PY; Tue, 18 Nov 2014 20:19:58 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVUCQZ2hNYiSrgsWsiB j+AiUMEyOochRa5Ua78+JkYlV8ext+p/frshAAACVklEQVQ4jV2RsYvbMBTG35pR1EOObg7qteNV BK7ZTDUUvCUIiqf2CopNtwzVdfSlNbotUFDOcwgUb4XQRf9c35PsnNMP4iTvp+97T8/g7PTKMsYS 6aWU3k+ZRSUZuJpNWVDCsvzkMza1dZJ7eKLjGZNB3ntJR04IyppAInNPUTIjr/QnCSEko/opgox5 TGVAhhBzkoGwXHo6DDQPKUQNrggkIU998zFIzvOQApAByBCd+wsiMwnjqh9hGDqPixl2Ab4UvOgW XXcQQmxt1FYIMK+tbeyD6g639J/KggT3dm63W9X99h+s6LrjQURB+0XxlSq6IKxuz2C9+TFXqjgq Ajf5KZJbePr6U6G6TvWWqBv4+10EcFTHWMcZFmq2hId3s5QjKQaD9++vjeHwyqRpylfBv8BPPTXG bFIFbj9D0iffJtg8+A5QOrxSms6Q1biQTJzHLW1TVncz/P0Sga37i4DWtnV6wz/2i2QvBC4AgSv1 o3YbfkMgz9hWHBY0H5S6bNz67Wpe0FBhMYtFBLZp97PVUaluLOphW3hQc7xiMQaNtmsNv8Ja/gON Nm27obVQ2gChbhCYNy4NoIhLwy/s4bQ2lbuLhHSkxwCqfcq5GglBVWnd7jWuNOUXoHxsNWqN606f GQHbYtyuB4HwAHSJjgr2lIWKhmVwWKSVi28ujrD8hgC37voeJt5zya81tFXrqrbRff+QZh41AhJM 6BlNqApz4IoQkCK4t8bswBn4BJNdqMOEOn32vtEO28KzMA6H838qpy9BaBcPDOlnD+z6A5NLMDgJ /wMkj6k13s4WlAAAAABJRU5ErkJggg== X-Now-Playing: Talking Heads's _Once In A Lifetime (3)_: "The Democratic Circus" X-Hashcash: 1:23:141118:emacs-devel@gnu.org::q7e8exKBwcmJ+NDl:0000000000000000000000000000000000000000006s51 X-Hashcash: 1:23:141118:eliz@gnu.org::bVnc1h3Mr4IATmS2:00000KSNy In-Reply-To: <837fys9wt7.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Nov 2014 20:40:36 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.51 (gnu/linux) X-MailScanner-ID: 1XqoJi-00047s-PY MailScanner-NULL-Check: 1416943198.90578@p/6qjBglpw+8rhgIuUifYQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:177637 Archived-At: Eli Zaretskii writes: >> From: Lars Magne Ingebrigtsen >> Date: Tue, 18 Nov 2014 19:29:02 +0100 >> Cc: emacs-devel@gnu.org >> >> 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? > > Why do you need that exposed? If you want to know when some Lisp is > run by a process filter, then make the filter function pass an > argument to that Lisp saying it's run by a filter. Will that do? Passing an argument to this function, which is way way way down in the call stack, isn't practical. And it would be irrelevant to most of the url.el code, anyway. Being able to discern whether you're running code asynchronously seems like a generally useful thing. Our goal is to make Emacs more asynchronous, so we need a way for functions to know what context they are being run in, so they know what they're allowed to do. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no