unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56800: Pointless "Warning: desktop file appears to be in use by PID ###."
@ 2022-07-27 16:25 Paul Pogonyshev
  2022-07-27 16:49 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Pogonyshev @ 2022-07-27 16:25 UTC (permalink / raw)
  To: 56800

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 939 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-28  6:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 16:25 bug#56800: Pointless "Warning: desktop file appears to be in use by PID ###." Paul Pogonyshev
2022-07-27 16:49 ` Eli Zaretskii
2022-07-27 16:58   ` Paul Pogonyshev
2022-07-27 17:32     ` Eli Zaretskii
2022-07-27 17:52       ` Paul Pogonyshev
2022-07-27 18:58         ` Eli Zaretskii
2022-07-27 19:22           ` Paul Pogonyshev
2022-07-28  6:17             ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).