From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: callbacks f Date: Sat, 18 Jun 2011 10:38:47 -0700 Message-ID: <87aadfyr88.fsf@ericabrahamsen.net> References: <87ei2rytuk.fsf@ericabrahamsen.net> <83ips3w0pc.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1308418832 5592 80.91.229.12 (18 Jun 2011 17:40:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2011 17:40:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 18 19:40:28 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QXzVT-0004Xb-Ku for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jun 2011 19:40:27 +0200 Original-Received: from localhost ([::1]:50852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXzVS-0004lQ-Qp for geh-help-gnu-emacs@m.gmane.org; Sat, 18 Jun 2011 13:40:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXzU7-0004l1-8W for help-gnu-emacs@gnu.org; Sat, 18 Jun 2011 13:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXzU5-0008OV-Kn for help-gnu-emacs@gnu.org; Sat, 18 Jun 2011 13:39:03 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXzU5-0008OQ-9i for help-gnu-emacs@gnu.org; Sat, 18 Jun 2011 13:39:01 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QXzU4-0003wj-4X for help-gnu-emacs@gnu.org; Sat, 18 Jun 2011 19:39:00 +0200 Original-Received: from c-71-227-187-115.hsd1.wa.comcast.net ([71.227.187.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2011 19:39:00 +0200 Original-Received: from eric by c-71-227-187-115.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Jun 2011 19:39:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-227-187-115.hsd1.wa.comcast.net User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:CPqVVLBzkTVT/xde5fP4NLZzkK0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81358 Archived-At: On Sat, Jun 18 2011, Eli Zaretskii wrote: >> From: Eric Abrahamsen >> Date: Sat, 18 Jun 2011 09:42:11 -0700 >> >> Is there anyway to attach a callback to start-process or other external >> process functions? I'd like to have a function that is called with the >> output buffer as an argument once the external process returns… > > The process sentinel function is already called when the process > changes its status, including when it exits. That's perfect! Thanks very much. Eric