unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: 8094@debbugs.gnu.org
Subject: bug#8094: 23.2.94; Bug in delete-exited-processes
Date: Tue, 22 Feb 2011 14:36:00 +0800	[thread overview]
Message-ID: <m1k4gsmv8v.fsf@gmail.com> (raw)

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.





             reply	other threads:[~2011-02-22  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22  6:36 Leo [this message]
2012-02-06 14:41 ` bug#8094: 23.2.94; Bug in delete-exited-processes Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1k4gsmv8v.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=8094@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).