all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Christopher Monsanto <chris@monsan.to>
Cc: emacs-devel@gnu.org
Subject: Re: replacing process sentinels and filters with hooks
Date: Mon, 01 Oct 2012 07:42:15 -0700	[thread overview]
Message-ID: <5069ABC7.1040607@cs.ucla.edu> (raw)
In-Reply-To: <CAC5n7TEBD=MSjGhTByr+Xk9g-MCLmyzU2edwWa7REehJQEbPmw@mail.gmail.com>

On 10/01/2012 06:14 AM, Christopher Monsanto wrote:
> Each hook takes one argument,
> which has one of the following forms:
> 
> '(input <string>)
> '(signal <signalcode> <core dump flag>)
> '(exit <exitcode>)

Overall this sounds like a nice cleanup.

One relatively-minor comment about those forms.
I take it that the (signal ...) pattern is when
waitpid reports WIFSIGNALED and the (exit ...)
pattern for WIFEXITED.  But what happens for
WIFSTOPPED and WIFCONTINUED?



  reply	other threads:[~2012-10-01 14:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01 13:14 replacing process sentinels and filters with hooks Christopher Monsanto
2012-10-01 14:42 ` Paul Eggert [this message]
2012-10-01 15:20   ` Christopher Monsanto
2012-10-01 15:34 ` Stefan Monnier
     [not found]   ` <CAC5n7TGfMktPFOwpSqeqC6pF9rtpx14_fQaouEVnWmma2SfzdA@mail.gmail.com>
2012-10-01 16:53     ` Christopher Monsanto
     [not found]     ` <jwvboglmxm8.fsf-monnier+emacs@gnu.org>
2012-10-03 10:59       ` Christopher Monsanto
2012-10-03 13:37         ` Stefan Monnier
2012-11-13 17:58           ` Stefan Monnier
2012-10-03 14:39         ` Stephen J. Turnbull

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=5069ABC7.1040607@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=chris@monsan.to \
    --cc=emacs-devel@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.