From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim the lock when the owner is not the current process. Date: Sat, 08 Feb 2014 12:16:15 +0100 Message-ID: <8761opsvls.fsf@igel.home> References: <83eh3eyjvs.fsf@gnu.org> <87iosqsntr.fsf@mail.jurta.org> <838utmxcre.fsf@gnu.org> <871tzdq5er.fsf@mail.jurta.org> <83ob2hx4eq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391858195 23457 80.91.229.3 (8 Feb 2014 11:16:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 11:16:35 +0000 (UTC) Cc: Juri Linkov , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 08 12:16:42 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WC5tp-0002Ca-HN for ged-emacs-devel@m.gmane.org; Sat, 08 Feb 2014 12:16:41 +0100 Original-Received: from localhost ([::1]:46157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC5tp-0002KB-3c for ged-emacs-devel@m.gmane.org; Sat, 08 Feb 2014 06:16:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC5th-0002Jy-6s for emacs-devel@gnu.org; Sat, 08 Feb 2014 06:16:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC5tb-0007x4-UU for emacs-devel@gnu.org; Sat, 08 Feb 2014 06:16:33 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:55568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC5tU-0007wR-Sb; Sat, 08 Feb 2014 06:16:21 -0500 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3fLrRP0dS7z4KK2f; Sat, 8 Feb 2014 12:16:16 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3fLrRN6s7RzbbhF; Sat, 8 Feb 2014 12:16:16 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id VP6tjmDvTYt6; Sat, 8 Feb 2014 12:16:16 +0100 (CET) X-Auth-Info: A2v2GLS0SPHlftVBkToizK/mhU6qxw1FmkbegwJSdVE= Original-Received: from igel.home (ppp-88-217-61-181.dynamic.mnet-online.de [88.217.61.181]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 8 Feb 2014 12:16:16 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 1000) id EEDBE2C15C9; Sat, 8 Feb 2014 12:16:15 +0100 (CET) X-Yow: I think my CAREER is RUINED!! In-Reply-To: <83ob2hx4eq.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Feb 2014 12:52:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169490 Archived-At: Eli Zaretskii writes: > Isn't it safer to see of the PID that locked the desktop file still > runs, and if so, ask for permission? What if the other instance runs on a different host? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."