From: martin rudalics <rudalics@gmx.at>
To: spamgrinder.trylater@ggmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: desktop-read issue on XP - emacs 23.2 or 3
Date: Thu, 11 Sep 2008 11:17:35 +0200 [thread overview]
Message-ID: <48C8E22F.1070507@gmx.at> (raw)
> With .emacs narrowed down to following:
> (custom-set-variables
> '(desktop-save-mode t))
> (desktop-load-default)
> (desktop-read)
>
>
> I noted a very weird question upon start up (only Windows, Linux is fine):
>
>
> "Warning: desktop file appears to be in use by PID %s.
>
>
> The PID indicates the emacs itself I am trying to bring up. Any idea what is wrong? It is really annoying.
I don't use desktop so I can only speculate. IIUC,
`desktop-load-default' is obsolete since Emacs 22.1. What happens if
you omit it? The very problem occurs when you call `desktop-read' which
does
(or (null desktop-load-locked-desktop)
(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)))))
so simply typing "y" should load it. But maybe Emacs could check
whether it is the owner of that PID. Are you sure there's no other
Emacs process around?
martin
next reply other threads:[~2008-09-11 9:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 9:17 martin rudalics [this message]
[not found] <mailman.18997.1221124833.18990.help-gnu-emacs@gnu.org>
2008-09-12 2:47 ` desktop-read issue on XP - emacs 23.2 or 3 AlFire
-- strict thread matches above, loose matches on Subject: below --
2008-09-11 1:52 AlFire
2008-09-11 6:59 ` Nick Sandow
2008-09-11 7:01 ` Nick Sandow
[not found] ` <mailman.18977.1221116390.18990.help-gnu-emacs@gnu.org>
2008-09-12 2:45 ` AlFire
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48C8E22F.1070507@gmx.at \
--to=rudalics@gmx.at \
--cc=help-gnu-emacs@gnu.org \
--cc=spamgrinder.trylater@ggmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.