emacs-devel
[Top][All Lists]
Advanced

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

Re: make-subprocess


From: Stefan Monnier
Subject: Re: make-subprocess
Date: Fri, 26 Sep 2014 08:42:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>> What do people think?  I'm attaching a patch as POC.

I like the idea.  It turns implicit arguments passed via dynamic scoping
into keyword arguments, which I think is good since it does not have
a global effect any more.

> I think your function should be called:
>   make-sub-process
> to fit in with make-network-process.

No opinion on this.

> I'd also like to have a:
>   set-default-sentinel
> function which would make a particular sentinel the default if one was
> not specified.

This would affect processes started by other packages, so it's probably
not a good idea.

If you really need that, you can advise
internal-default-process-sentinel.


        Stefan



reply via email to

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