GNU bug report logs - #16157
24.3.50; desktop-read doesn't claim the unused lock

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Sun, 15 Dec 2013 21:53:01 UTC

Severity: normal

Found in version 24.3.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: 16157 <at> debbugs.gnu.org
Subject: bug#16157: 24.3.50; desktop-read doesn't claim the unused lock
Date: Sun, 15 Dec 2013 23:49:53 +0200
When the previous session crashes or freezes, and .emacs.desktop.lock
contains the PID of the previous process, then `desktop-read' asks

  Warning: desktop file appears to be in use by PID...
  Using it may cause conflicts.  Use it anyway? (y or n)  y

But answering `y' doesn't claim the ownership of the lock,
desktop-owner is still an old nonexistent process, and thus
auto-saving doesn't save the desktop.

Maybe `desktop-read' should call `desktop-claim-lock' in this case?




This bug report was last modified 11 years and 110 days ago.

Previous Next


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