GNU bug report logs - #56800
Pointless "Warning: desktop file appears to be in use by PID ###."

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Wed, 27 Jul 2022 16:26:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#56800: closed (Pointless "Warning: desktop file appears to be
 in use by PID ###.")
Date: Thu, 28 Jul 2022 06:18:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 28 Jul 2022 09:17:17 +0300
with message-id <83mtctahhu.fsf <at> gnu.org>
and subject line Re: bug#56800: Pointless "Warning: desktop file appears to be in use by PID ###."
has caused the debbugs.gnu.org bug report #56800,
regarding Pointless "Warning: desktop file appears to be in use by PID ###."
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
56800: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56800
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Pointless "Warning: desktop file appears to be in use by PID ###."
Date: Wed, 27 Jul 2022 18:25:24 +0200
[Message part 3 (text/plain, inline)]
GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.33,
cairo version 1.16.0) of 2022-07-26

Practically every time I start up Emacs, I get this pointless warning and a
question if I really want to use the desktop file anyway. If there were
actually another Emacs running, this warning would be fine, even useful.
However, in 95% of cases here it happens because computer was shut down,
Emacs crashed etc. In fact, I have just now verified that even if I cleanly
`M-x kill-emacs RET' my Emacs and then start a new one, the new still
thinks that the old, killed Emacs might still be using the desktop file
somehow (i.e. PID is that of the previous Emacs process).

The code in `desktop.el' should really check if the process with that PID
still exists before claiming that it might be using the desktop file
somehow.

Paul
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 56800-done <at> debbugs.gnu.org
Subject: Re: bug#56800: Pointless "Warning: desktop file appears to be in use
 by PID ###."
Date: Thu, 28 Jul 2022 09:17:17 +0300
> From: Paul Pogonyshev <pogonyshev <at> gmail.com>
> Date: Wed, 27 Jul 2022 21:22:46 +0200
> Cc: 56800 <at> debbugs.gnu.org
> 
> I meant something like what is in the attached patch. The problem is that _everything_ got moved to
> `...-query-functions', including that part that has nothing to do with querying.

Thanks, installed on the emacs-28 release branch.


This bug report was last modified 2 years and 358 days ago.

Previous Next


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