From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1474: 23.0.60; desktop.el don't check if pid in his lock file is always in use Date: Tue, 2 Dec 2008 23:39:52 +0100 Message-ID: References: <87bpvufe28.fsf@tux.homenetwork> Reply-To: Juanma Barranquero , 1474@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1228258238 9238 80.91.229.12 (2 Dec 2008 22:50:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 22:50:38 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs@gentoo.org To: "Thierry Volpiatto" , 1474@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 23:51:40 2008 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.50) id 1L7e5e-0008GD-7a for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 23:51:34 +0100 Original-Received: from localhost ([127.0.0.1]:45970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7e4U-0006ND-08 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 17:50:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7e4R-0006N5-6q for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 17:50:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7e4P-0006Ma-Pg for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 17:50:18 -0500 Original-Received: from [199.232.76.173] (port=55837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7e4P-0006MW-HJ for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 17:50:17 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46077) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7e4P-00046J-1p for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 17:50:17 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB2MoCMk025521; Tue, 2 Dec 2008 14:50:13 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB2Mj3Yh023538; Tue, 2 Dec 2008 14:45:03 -0800 X-Loop: don@donarmstrong.com Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 02 Dec 2008 22:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1474 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122825759822295 (code B ref -1); Tue, 02 Dec 2008 22:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Dec 2008 22:39:58 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB2Mdti5022285 for ; Tue, 2 Dec 2008 14:39:56 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:42454) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L7dtw-00066p-Hm for emacs-pretest-bug@gnu.org; Tue, 02 Dec 2008 17:39:28 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L7duL-0003Hs-UW for emacs-pretest-bug@gnu.org; Tue, 02 Dec 2008 17:39:54 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.245]:24213) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7duL-0003Hm-NA for emacs-pretest-bug@gnu.org; Tue, 02 Dec 2008 17:39:53 -0500 Original-Received: by an-out-0708.google.com with SMTP id c38so3430290ana.21 for ; Tue, 02 Dec 2008 14:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1mnNQmZ7JmOjmJM2TmCHL6+0dP+zSsPmvq9qzcKpN0k=; b=V92QTkVPK3jBrqaqU2f8JZtgGbhN/B+aBiKGX6va7aH5ju8nJWzzrAEbfgoi7tMlZF uvRegPviK67I88AwS94Km6mrXK4012VfRN0sd9/LCcSF0x6A3s/z+jSVjKtwar3/t/rv fJ1iyhmKiaMeLIz6THMlk45PhTSIptpsqbD0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=MUsYhwh2whYwyA7CGrP6zAF9DJCdy34zPB2VBy0TYjKjC1GhmXSG+F7HYUiHqt6JwX BvYZ80sJ9bBTq+E6bcS3u6e0XpIR4TN20GotrJ8nyFO/pH0qJ3YfRMVDQBDJP68OThVD 9CmQozdSdqZweL7ok3Cd7vW1g0CRpIUuQui00= Original-Received: by 10.101.68.19 with SMTP id v19mr7216992ank.62.1228257592527; Tue, 02 Dec 2008 14:39:52 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Tue, 2 Dec 2008 14:39:52 -0800 (PST) In-Reply-To: <87bpvufe28.fsf@tux.homenetwork> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-CrossAssassin-Score: 2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 02 Dec 2008 17:50:18 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:22856 gmane.emacs.pretest.bugs:23431 Archived-At: On Tue, Dec 2, 2008 at 22:43, Thierry Volpiatto wrote: > | (eq 0 (call-process-shell-command (format "ps -u %s | grep emacs | grep %d" (getenv "USER") owner))) In Emacs 23.X I think you could use `system-process-attributes' instead of running an external ps process. But one way or the other, what if the desktop lock file resides in a non-local drive? Juanma