all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Nic Ferrier <nferrier@ferrier.me.uk>
Cc: ueno@gnu.org, emacs-devel@gnu.org
Subject: Re: make-subprocess
Date: Fri, 26 Sep 2014 08:42:20 -0400	[thread overview]
Message-ID: <jwvtx3ublos.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87a95md8mw.fsf@ferrier.me.uk> (Nic Ferrier's message of "Fri, 26 Sep 2014 10:38:15 +0100")

>> 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	other threads:[~2014-09-26 12:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26  9:23 make-subprocess Daiki Ueno
2014-09-26  9:38 ` make-subprocess Nic Ferrier
2014-09-26 12:42   ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvtx3ublos.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=nferrier@ferrier.me.uk \
    --cc=ueno@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.