unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* sf
@ 2009-09-13 22:45 kj
  2009-09-14  8:53 ` sf David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: kj @ 2009-09-13 22:45 UTC (permalink / raw)
  To: help-gnu-emacs



I posted this query some months ago, but got no replies.  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.

BTW, I'm running this on Ubuntu.

kynn


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sf
  2009-09-13 22:45 sf kj
@ 2009-09-14  8:53 ` David Kastrup
  2009-09-15 23:00   ` sf kj
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2009-09-14  8:53 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sf
  2009-09-14  8:53 ` sf David Kastrup
@ 2009-09-15 23:00   ` kj
  0 siblings, 0 replies; 3+ messages in thread
From: kj @ 2009-09-15 23:00 UTC (permalink / raw)
  To: help-gnu-emacs

In <87pr9t52lm.fsf@lola.goethe.zz> David Kastrup <dak@gnu.org> writes:

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

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

>Try a better fitting subject line.

The bad subject line was a mistake, and it only happened when I
reposted.

Ironically, despite the inscrutable subject line, this time I got
one response, which is better than I can say for my previous attempt
that did have a clear 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.

Thanks, this hint helped a lot.

kj


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-15 23:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-13 22:45 sf kj
2009-09-14  8:53 ` sf David Kastrup
2009-09-15 23:00   ` sf kj

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