[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: desktop-read issue on XP - emacs 23.2 or 3
From: |
martin rudalics |
Subject: |
Re: desktop-read issue on XP - emacs 23.2 or 3 |
Date: |
Thu, 11 Sep 2008 11:17:35 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
> 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