GNU bug report logs - #8094
23.2.94; Bug in delete-exited-processes

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 22 Feb 2011 06:37:01 UTC

Severity: normal

Found in version 23.2.94

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8094 in the body.
You can then email your comments to 8094 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8094; Package emacs. (Tue, 22 Feb 2011 06:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 22 Feb 2011 06:37:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2.94; Bug in delete-exited-processes
Date: Tue, 22 Feb 2011 14:36:00 +0800
While looking at processs.c, I found that due to this change:

Author: Kim F. Storm <storm <at> cua.dk>
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#8094; Package emacs. (Mon, 06 Feb 2012 14:43:02 GMT) Full text and rfc822 format available.

Message #8 received at 8094 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 8094 <at> debbugs.gnu.org
Subject: Re: bug#8094: 23.2.94; Bug in delete-exited-processes
Date: Mon, 06 Feb 2012 22:41:03 +0800
Leo <sdl.web <at> gmail.com> writes:

> 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.

Fixed, thanks for the heads-up.




bug closed, send any further explanations to 8094 <at> debbugs.gnu.org and Leo <sdl.web <at> gmail.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 06 Feb 2012 14:43:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 06 Mar 2012 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.