help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sf


From: David Kastrup
Subject: Re: sf
Date: Mon, 14 Sep 2009 10:53:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

kj <no.email@please.post> writes:

> I posted this query some months ago, but got no replies.

Try a better fitting subject line.

> The problem persists after I updated from version 22.3.1 to 23.1.1, so
> I thought I'd try again.
>
> Whenever I start up Emacs, I get a warning of the form
>
>   Warning: desktop file appears to be in use by PID <XYZ>.
>
> where <XYZ> stands for the PID of the Emacs process just being
> started.  I.e. the process is tripping over itself.
>
> If I look at the entire *Messages* buffer at that moment, I see
> see something like this:
>
>   Wrote /home/kynn/.emacs.desktop.lock
>   Desktop: 6 buffers restored.
>   Loading server...done
>   setting customized faces
>   Warning: desktop file appears to be in use by PID 893.
>   Using it may cause conflicts.  Use it anyway? (y or n)
>   Desktop: 6 buffers restored.
>   For information about GNU Emacs and the GNU system, type C-h C-a.
>
> I find the repeated "Desktop: 6 buffers restored." suspicious.  It
> makes me wonder if Emacs is running through the Desktop sequence
> twice, and that's why it complains about the lock file.

Yes, quite likely the reason.  What is the output of

grep desktop ~/.emacs

on your system?  It is likely that you are using two separate methods of
loading the desktop.

-- 
David Kastrup


reply via email to

[Prev in Thread] Current Thread [Next in Thread]