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: Wed, 3 Dec 2008 11:20:17 +0100 Message-ID: References: <87bpvufe28.fsf@tux.homenetwork> <87zljdkbne.fsf@tux.homenetwork> <87ej0pve4l.fsf@tux.homenetwork> <8763m1d10c.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 1228300244 19013 80.91.229.12 (3 Dec 2008 10:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Dec 2008 10:30:44 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 1474@emacsbugs.donarmstrong.com, emacs@gentoo.org To: "Thierry Volpiatto" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 03 11:31:48 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 1L7p1E-0001MU-3o for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2008 11:31:44 +0100 Original-Received: from localhost ([127.0.0.1]:36547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7p03-0006jB-LF for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Dec 2008 05:30:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7ozv-0006h8-Um for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2008 05:30:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7ozu-0006gB-Cr for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2008 05:30:22 -0500 Original-Received: from [199.232.76.173] (port=36936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7ozu-0006g6-5p for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2008 05:30:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40527) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7ozt-0003rE-Nc for bug-gnu-emacs@gnu.org; Wed, 03 Dec 2008 05:30:22 -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 mB3AUCVe011953; Wed, 3 Dec 2008 02:30:14 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB3AP5rc010299; Wed, 3 Dec 2008 02:25:05 -0800 X-Loop: don@donarmstrong.com Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 03 Dec 2008 10:25:05 +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.122829962210045 (code B ref -1); Wed, 03 Dec 2008 10:25:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 3 Dec 2008 10:20:22 +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 mB3AKJe8009939 for ; Wed, 3 Dec 2008 02:20:20 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:60521 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L7opk-0001iR-Fe for emacs-pretest-bug@gnu.org; Wed, 03 Dec 2008 05:19:52 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L7oqA-0002TG-Iy for emacs-pretest-bug@gnu.org; Wed, 03 Dec 2008 05:20:19 -0500 Original-Received: from yw-out-1718.google.com ([74.125.46.155]:42807) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7oqA-0002T8-Af for emacs-pretest-bug@gnu.org; Wed, 03 Dec 2008 05:20:18 -0500 Original-Received: by yw-out-1718.google.com with SMTP id 9so3167618ywk.66 for ; Wed, 03 Dec 2008 02:20:17 -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=bmMooYJtxSHmrG62GFjJZLioQNXTGHSp9ccvL4gbEXU=; b=mmJ2xCybFuU22AX7OWlbrBQ0zLpf3QuqJCjFttg4hX+gGpmAUn0k9SVYJdEjf/yz+S flmagvtYh6NITEzPB4lL4TswWcOXLODz4TE7QPiQNfFI5mhAC79I0RY6DvbeZIZefpRY kFqszke9Mwldqg+d2MY0SGVAZTmKTzD2vlBRo= 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=G1h/xyDnSh12cnAAW1cQwphMl+zYNYNyvmiB0+2C0LtDyW+doYv9zc/74CsbaE4nhs HIGQxWjbZYrw+O82g2MtA6nvop/m8W0aik80uaWv+BkXVzQ22GPfVgIobmk3wzSjxYOF JF52fz9ChE043V/bEF33YoyWkkNkgC3W9Ci2M= Original-Received: by 10.100.138.10 with SMTP id l10mr7523234and.25.1228299617386; Wed, 03 Dec 2008 02:20:17 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Wed, 3 Dec 2008 02:20:17 -0800 (PST) In-Reply-To: <8763m1d10c.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: Wed, 03 Dec 2008 05:30:22 -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:22894 gmane.emacs.pretest.bugs:23447 Archived-At: On Wed, Dec 3, 2008 at 11:08, Thierry Volpiatto wrote: > Ok i understand now. > In this case, may be a variable can be set: > > * Use a remote desktop ==> use the .emacs.desktop.lock like the actual > code > > * Use a local desktop ==> in this case check if pid exist. If you have a shared dir in your local disk, it could be used by a remote Emacs; but you know nothing about that Emacs (well, *you* perhaps do know, but the local Emacs does not). > (i think local desktop is the most common case) I agree, but it should work sensibly (and safely) in the uncommon cases too :-) Juanma