From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: Elisp implementation of list-processes Date: Wed, 01 Dec 2010 10:55:47 +0000 Message-ID: References: <19697.21373.201776.909872@rgr.rgrjr.com> <19700.37958.1149.668766@rgr.rgrjr.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291216843 8799 80.91.229.12 (1 Dec 2010 15:20:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 15:20:43 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Bob Rogers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 01 16:20:39 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PNoTy-000812-VE for ged-emacs-devel@m.gmane.org; Wed, 01 Dec 2010 16:20:35 +0100 Original-Received: from localhost ([127.0.0.1]:49591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNoTy-0001xv-D5 for ged-emacs-devel@m.gmane.org; Wed, 01 Dec 2010 10:20:34 -0500 Original-Received: from [140.186.70.92] (port=39574 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNkLp-0003LK-6Z for emacs-devel@gnu.org; Wed, 01 Dec 2010 05:55:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNkLo-0007YE-BE for emacs-devel@gnu.org; Wed, 01 Dec 2010 05:55:53 -0500 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:37344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNkLo-0007Xr-7C for emacs-devel@gnu.org; Wed, 01 Dec 2010 05:55:52 -0500 Original-Received: by wyb42 with SMTP id 42so14931780wyb.0 for ; Wed, 01 Dec 2010 02:55:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=0T5goc5zX+7K0hJhvesu8uV0KJGZWkRlw+Xmzlld+cw=; b=isTIfD4XdAa4tqbwHZbGqgtibxzOTn5TG2qrok+hm9427sZ5uQ8OmgNYzYn0S0ftnm dJUb/Nqa+0zEPwwIYvarWEyjgtELBmGkbDJFXSFMJQcZx4mCCDU/CfX7kFh4EacsjFAR QP3LIEY36psJfBNre5Tr7eRE7IIJMKGVqKC64= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=p1LlThuPkYoffAuPX9CoWq40pIIyA0gcsPdmBxNrUsA/Rh5RSpLvAar1XLlALzQQpK uoo5rcBavorxgvK/uK65AOWtmbxxIOKDdhCa7EFyjgC3612QL6iXGTeIdzBVOuYipg81 uhylY6XfN0j7H/gnP4kOGaGJzhAqa/OXJ3ZTk= Original-Received: by 10.227.155.11 with SMTP id q11mr9096377wbw.130.1291200951247; Wed, 01 Dec 2010 02:55:51 -0800 (PST) Original-Received: from Victoria.local (cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com [86.9.122.85]) by mx.google.com with ESMTPS id 11sm5069207wbi.6.2010.12.01.02.55.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Dec 2010 02:55:50 -0800 (PST) In-Reply-To: <19700.37958.1149.668766@rgr.rgrjr.com> (Bob Rogers's message of "Tue, 30 Nov 2010 01:05:58 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (Mac OS X 10.6.5) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133275 Archived-At: On 2010-11-30 06:05 +0000, Bob Rogers wrote: > status_notify is a static function in process.c, used to clean up when > we find exited processes. It is unclear to me whether > redisplay_preserve_echo_area is really necessary. In any case, a small > DEFUN would seem to be in order. Not sure what to call it, though; > "status_notify" is not very informative. Perhaps "process-clean-up"? > > The only other question is: Where should it go? It is called from > save-buffers-kill-emacs in files.el (the only other use is in > lisp/eshell/esh-proc.el), but files.el is already pretty crowded. On > the other hand, autoloading it for something so basic might be > problematic. Suggestions? I think it could be moved to process-list. In a similar scenario: list-buffers and buffer-list, the latter only returns live buffers. Cheers, Leo