emacs-devel
[Top][All Lists]
Advanced

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

Re: Network security manager


From: Eli Zaretskii
Subject: Re: Network security manager
Date: Tue, 18 Nov 2014 22:49:49 +0200

> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, address@hidden
> Date: Tue, 18 Nov 2014 15:40:37 -0500
> 
> >> 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.

That variable is an internal implementation detail designed for a
specific purpose that has nothing to do with running asynchronously.
Exposing it to Lisp is IMO extremely unclean.  Especially since this
is not really needed anyway, because Lars's use case has a much
simpler solution that doesn't require any such kludges.

So I'm violently opposed to this.  But since Lars blatantly ignored
even your requests, who am I to complain?



reply via email to

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