bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#30421: 25.3; desktop.el: Steal lock when no living "emacs" process o


From: Noam Postavsky
Subject: bug#30421: 25.3; desktop.el: Steal lock when no living "emacs" process owns it
Date: Sun, 11 Feb 2018 11:15:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Pierre Neidhardt <ambrevar@gmail.com> writes:

> I always run Emacs daemon.  And I think the following excerpt explains
> it all:
>
>       (defun desktop-read (&optional dirname)
>       ...
>       (or (null desktop-load-locked-desktop)
>           (daemonp)
>           (not (y-or-n-p (format "Warning: desktop file appears to be in use 
> by PID %s.\n\
>       Using it may cause conflicts.  Use it anyway? " owner))))
>
> Not sure why (daemonp) is here.  Removing this line would solve the issue.

'git blame' brings me to Bug#11674 "desktop doesn't handle unclean
restart under daemon mode".

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=11674





reply via email to

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