[Top][All Lists]

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

Re: Network security manager

From: Lars Magne Ingebrigtsen
Subject: Re: Network security manager
Date: Tue, 18 Nov 2014 20:19:58 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.51 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Lars Magne Ingebrigtsen <address@hidden>
>> Date: Tue, 18 Nov 2014 19:29:02 +0100
>> Cc: address@hidden
>> 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

reply via email to

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