unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* desktop-read issue on XP  - emacs 23.2 or 3
@ 2008-09-11  1:52 AlFire
  2008-09-11  6:59 ` Nick Sandow
       [not found] ` <mailman.18977.1221116390.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: AlFire @ 2008-09-11  1:52 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

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.


Thx, Andy


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: desktop-read issue on XP  - emacs 23.2 or 3
@ 2008-09-11  9:17 martin rudalics
  0 siblings, 0 replies; 6+ messages in thread
From: martin rudalics @ 2008-09-11  9:17 UTC (permalink / raw)
  To: spamgrinder.trylater; +Cc: help-gnu-emacs

 > 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





^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.18997.1221124833.18990.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2008-09-12  2:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11  1:52 desktop-read issue on XP - emacs 23.2 or 3 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
  -- strict thread matches above, loose matches on Subject: below --
2008-09-11  9:17 martin rudalics
     [not found] <mailman.18997.1221124833.18990.help-gnu-emacs@gnu.org>
2008-09-12  2:47 ` AlFire

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).