From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#8094: 23.2.94; Bug in delete-exited-processes Date: Tue, 22 Feb 2011 14:36:00 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1298358416 28516 80.91.229.12 (22 Feb 2011 07:06:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2011 07:06:56 +0000 (UTC) To: 8094@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 22 08:06:51 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1PrmKh-0002L8-Bm for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Feb 2011 08:06:51 +0100 Original-Received: from localhost ([127.0.0.1]:38890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrmKg-0008R7-1G for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Feb 2011 02:06:50 -0500 Original-Received: from [140.186.70.92] (port=46366 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrmKY-0008OW-TV for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 02:06:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrmKX-0005pE-TD for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 02:06:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrmKX-0005pA-P0 for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 02:06:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Prlrp-0001b4-L1; Tue, 22 Feb 2011 01:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2011 06:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8094 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12983565946093 (code B ref -1); Tue, 22 Feb 2011 06:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Feb 2011 06:36:34 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PrlrO-0001aE-5K for submit@debbugs.gnu.org; Tue, 22 Feb 2011 01:36:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PrlrM-0001a3-Sd for submit@debbugs.gnu.org; Tue, 22 Feb 2011 01:36:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrlrG-0006T3-To for submit@debbugs.gnu.org; Tue, 22 Feb 2011 01:36:27 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:44295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrlrG-0006Sm-Gq for submit@debbugs.gnu.org; Tue, 22 Feb 2011 01:36:26 -0500 Original-Received: from [140.186.70.92] (port=53629 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrlrB-0008IU-B5 for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 01:36:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Prlr9-0006Op-8s for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 01:36:20 -0500 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:33262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Prlr9-0006Ol-5b for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2011 01:36:19 -0500 Original-Received: by iwl42 with SMTP id 42so3603947iwl.0 for ; Mon, 21 Feb 2011 22:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:mime-version :content-type; bh=4NNXr21+739Ct0Z2Feg6V+Hy1ZUszzko4+bURUPs72M=; b=I1pajZerwy6rIBzwq2NOOnO/OYSU8M0jINBortZ9ST6R3RY0e1itOn6blilzPK8TSX QP2NLP7b4YzEyZ/VVz3cwJjBYGfBJqd02ja/LIRr+xY2sGSIeHgDnrIucxvwHeb+IaSk Vxf98So6ZkBlQnGFC9MfbfF0zcTWximXHsFtY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type; b=nVvyGclnK33HSUjGgvxtjlcPcosm+sFuy8WYn3g/fGWclqb2a5hKGSbF2aUgqXXEII aouzsr0VmR/iS+Ia3+X3onBKVBvWHE35davZGr0/q+WM2luwxsJDa85sFCU1Voc2Da2D lnuUEYmdzvaZADO9U9LNE2mVfTVlHqFe+ng+g= Original-Received: by 10.42.178.135 with SMTP id bm7mr3117786icb.101.1298356577124; Mon, 21 Feb 2011 22:36:17 -0800 (PST) Original-Received: from Victoria.local ([117.28.20.51]) by mx.google.com with ESMTPS id 8sm5892367iba.10.2011.02.21.22.36.08 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Feb 2011 22:36:15 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 22 Feb 2011 01:37:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44294 Archived-At: While looking at processs.c, I found that due to this change: Author: Kim F. Storm Date: Tue Oct 3 09:14:40 2006 +0000 (list_processes_1): Run sentinels before removing dead processes. Also remove `closed' network connections. list_processes_1 no longer calls remove_process directly and thus the meaning of nil for delete-exited-processes no longer means what it says it does. ,----[ (info "(elisp)Deleting Processes") ] | If it is | `nil', then they continue to exist until the user runs | `list-processes'. Otherwise, they are deleted immediately after | they exit. `---- For example, I set delete-exited-processes to nil and I can see in the list processes buffer: emms-player-simple-process<2> run (none) /dev/ttys002 mpg123 /Users/Shared/iTunes Music/cyl/abc.mp3 emms-player-simple-process<1> exit (none) /dev/ttys002 mpg123 /Users/Shared/iTunes Music/zjl/01.mp3 emms-player-simple-process exit (none) /dev/ttys002 mpg123 /Users/Shared/Music Videos/18.mp3 ............ In addition, if I set delete-exited-processes back to t, list-processes still don't remove processes with exit status.