From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: proced: ppid of process ID 0 can be 0 Date: Sat, 20 Dec 2008 21:18:46 -0500 Message-ID: References: <18765.19040.568030.246241@tfkp04.physik.uni-erlangen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229826029 2408 80.91.229.12 (21 Dec 2008 02:20:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2008 02:20:29 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org, Roland Winkler To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 21 03:21:34 2008 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.50) id 1LEDwj-0000CX-M6 for ged-emacs-devel@m.gmane.org; Sun, 21 Dec 2008 03:21:33 +0100 Original-Received: from localhost ([127.0.0.1]:49443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEDvX-0007Tt-2f for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2008 21:20:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LEDu5-000703-Vy for emacs-devel@gnu.org; Sat, 20 Dec 2008 21:18:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LEDu4-0006xe-CH for emacs-devel@gnu.org; Sat, 20 Dec 2008 21:18:49 -0500 Original-Received: from [199.232.76.173] (port=52659 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEDu4-0006xQ-6Q for emacs-devel@gnu.org; Sat, 20 Dec 2008 21:18:48 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:41507 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LEDu3-0000kd-8K; Sat, 20 Dec 2008 21:18:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsEAOs1TUlMCqBi/2dsb2JhbACBbLpwWJAahkOBWg X-IronPort-AV: E=Sophos;i="4.36,256,1228107600"; d="scan'208";a="31326483" Original-Received: from 76-10-160-98.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.98]) by ironport2-out.teksavvy.com with ESMTP; 20 Dec 2008 21:18:46 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 782A484A4; Sat, 20 Dec 2008 21:18:46 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Sun, 21 Dec 2008 00:02:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:107147 Archived-At: >> > I'd prefer that proced.el doesn't make such an unportable assumption. >> I am not sure I get the point here. What is unportable where? > The assumption that going up the process tree will eventually find a > process that has no ppid attribute. I think it's a fine assumption. It is basically the same as saying that the processes form a tree (or a forest), which is generally true, AFAIK. Stefan