unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 56800@debbugs.gnu.org
Subject: bug#56800: Pointless "Warning: desktop file appears to be in use by PID ###."
Date: Wed, 27 Jul 2022 18:58:36 +0200	[thread overview]
Message-ID: <CAG7Bpar64hkcqamb2bPhuMjiYW25Q9GweE3o-_FCbV15NTgYsA@mail.gmail.com> (raw)
In-Reply-To: <838roebivp.fsf@gnu.org>

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

No, but I have tried now. I guess I understand the default behavior better
now (even if I don't find it generally useful enough to be the default; how
many users really have remotely mounted paths in `desktop-dirname'?).

But why does even cleanly exiting Emacs leave desktop file "apparently
used"?

Paul

On Wed, 27 Jul 2022 at 18:50, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Paul Pogonyshev <pogonyshev@gmail.com>
> > Date: Wed, 27 Jul 2022 18:25:24 +0200
> >
> > 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.
>
> AFAIU, you should be able to have that if you customize
> desktop-load-locked-desktop to give it the value 'check-pid'.  Did you
> try that?
>

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

  reply	other threads:[~2022-07-27 16:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG7Bpar64hkcqamb2bPhuMjiYW25Q9GweE3o-_FCbV15NTgYsA@mail.gmail.com \
    --to=pogonyshev@gmail.com \
    --cc=56800@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).