unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8094: 23.2.94; Bug in delete-exited-processes
@ 2011-02-22  6:36 Leo
  2012-02-06 14:41 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2011-02-22  6:36 UTC (permalink / raw)
  To: 8094

While looking at processs.c, I found that due to this change:

Author: Kim F. Storm <storm@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#8094: 23.2.94; Bug in delete-exited-processes
  2011-02-22  6:36 bug#8094: 23.2.94; Bug in delete-exited-processes Leo
@ 2012-02-06 14:41 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2012-02-06 14:41 UTC (permalink / raw)
  To: Leo; +Cc: 8094

Leo <sdl.web@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-06 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22  6:36 bug#8094: 23.2.94; Bug in delete-exited-processes Leo
2012-02-06 14:41 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).