GNU bug report logs - #1474
23.0.60; desktop.el don't check if pid in his lock file is always in use

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Tue, 2 Dec 2008 21:55:04 UTC

Severity: wishlist

Tags: patch

Merged with 25232

Found in version 24.4

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "Thierry Volpiatto" <thierry.volpiatto <at> gmail.com>
Cc: 1474 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org,
        emacs <at> gentoo.org
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
On Wed, Dec 3, 2008 at 11:08, Thierry Volpiatto
<thierry.volpiatto <at> gmail.com> 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




This bug report was last modified 3 years and 58 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.