[Top][All Lists]

[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:35:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

>> 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?

Maybe we need a separate question in addition to the existing question

1. "Warning: desktop file appears to be in use by PID %s.
    Using it may cause conflicts.  Use it anyway? "

something like

2. "Claim the lock from PID %s to take the ownership of the desktop file? "

reply via email to

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