From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: sf Date: Mon, 14 Sep 2009 10:53:41 +0200 Organization: Organization?!? Message-ID: <87pr9t52lm.fsf@lola.goethe.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252921272 23863 80.91.229.12 (14 Sep 2009 09:41:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2009 09:41:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 14 11:41:05 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mn83R-0006G3-BX for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Sep 2009 11:41:01 +0200 Original-Received: from localhost ([127.0.0.1]:54863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mn83Q-0004vu-Mm for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Sep 2009 05:41:00 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:Qc/JRZ1x0P9xhru47CBnoUDXdHE= Original-Lines: 41 Original-NNTP-Posting-Date: 14 Sep 2009 10:53:41 CEST Original-NNTP-Posting-Host: 04d90fd1.newsspool2.arcor-online.net Original-X-Trace: DXC=JOZLkW`Va0M^B]`=U:WelBA9EHlD; 3YcB4Fo<]lROoRA^YC2XCjHcbI@Y7`HSTKM\NCV`H8_`hhQD^9QSCVg3dOFgcO2@_RHd:DLhS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68126 Archived-At: kj 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 . > > where 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