emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r116304: * lisp/desktop.el (desktop-read): Claim


From: Juri Linkov
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:11:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

>> The one that comes last wins.
>
> Why is that better? I often start a second Emacs instance, and in
> almost all cases I want the first one to keep the desktop.
>
> What problem is that trying to fix, and why isn't
> desktop-load-locked-desktop enough?

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]