From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero 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, 8 Feb 2014 11:21:51 +0100 Message-ID: References: <83eh3eyjvs.fsf@gnu.org> <87iosqsntr.fsf@mail.jurta.org> <87a9e1q5h5.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1391854950 24721 80.91.229.3 (8 Feb 2014 10:22:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 10:22:30 +0000 (UTC) Cc: Eli Zaretskii , Emacs developers To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 08 11:22:38 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 1WC53V-0002P6-EQ for ged-emacs-devel@m.gmane.org; Sat, 08 Feb 2014 11:22:37 +0100 Original-Received: from localhost ([::1]:46010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC53V-0003wP-1c for ged-emacs-devel@m.gmane.org; Sat, 08 Feb 2014 05:22:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC53R-0003wG-St for emacs-devel@gnu.org; Sat, 08 Feb 2014 05:22:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC53R-0001kD-3x for emacs-devel@gnu.org; Sat, 08 Feb 2014 05:22:33 -0500 Original-Received: from mail-yk0-x231.google.com ([2607:f8b0:4002:c07::231]:55545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC53P-0001jF-RT; Sat, 08 Feb 2014 05:22:31 -0500 Original-Received: by mail-yk0-f177.google.com with SMTP id q200so1880265ykb.8 for ; Sat, 08 Feb 2014 02:22:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=yhY44/shioHETPJJ+4ZwC9XprOgS/4dMp3dsLes5uuM=; b=sg5gJj/ZOzqr62KiKtJKeKbfZ6tFePMxVFFFHySakdWHsBfv5tFfuwRie+NNcZmpwY usmnSnIUogqDtixPa4T/ECcguVXMVtyCLUJBCjV6A4RwsGq5I4mfZsxXRpLkXeYxLHTu Y3Fb7GxYkq8zbMQQAh7elWmZw96w7ofIdfeYYJQFgKoJVdepzkTRBqIrb6/d+/l1J+B0 Z31PFaqFgvd+b/1FiXKtclV4iMHNP0iF8miywM8a5rFPya1M3vwujL+izpGxDvDddGnD JJ9pfm76Dp0EOyk9sCxH8ORP6R0UBJCxelXXE9YUpNWaW0jd0y5XD3bIs+bVuzFaCde1 DTVw== X-Received: by 10.236.199.82 with SMTP id w58mr930663yhn.57.1391854951263; Sat, 08 Feb 2014 02:22:31 -0800 (PST) Original-Received: by 10.170.84.65 with HTTP; Sat, 8 Feb 2014 02:21:51 -0800 (PST) In-Reply-To: <87a9e1q5h5.fsf@mail.jurta.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::231 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:169485 Archived-At: On Sat, Feb 8, 2014 at 11:11 AM, Juri Linkov wrote: > The problem was that when a session crashes, all subsequent sessions > can't auto-save the desktop since they didn't take the lock > from the crashed session. Surely I'm missing something, but what good is the lock if subsequent sessions can steal it even if the corresponding Emacs is still running? J