From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kj Newsgroups: gmane.emacs.help Subject: Emacs desktop problems Date: Mon, 5 Jan 2009 12:38:49 +0000 (UTC) Organization: none Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1231169346 1367 80.91.229.12 (5 Jan 2009 15:29:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2009 15:29:06 +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 Jan 05 16:30:17 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 1LJrP6-0004LF-D6 for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jan 2009 16:30:08 +0100 Original-Received: from localhost ([127.0.0.1]:59425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJrNo-0000Vh-LP for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jan 2009 10:28:48 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-NNTP-Posting-Host: panix3.panix.com Original-X-Trace: reader1.panix.com 1231159129 919 166.84.1.3 (5 Jan 2009 12:38:49 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 5 Jan 2009 12:38:49 +0000 (UTC) X-No-Confirm: yes User-Agent: nn/6.7.3 Original-Xref: news.stanford.edu gnu.emacs.help:165744 X-Mailman-Approved-At: Mon, 05 Jan 2009 10:26:07 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:61085 Archived-At: I recently upgraded Emacs on my Mac to GNU Emacs 22.3.1 (i386-apple-darwin9.6.0, X toolkit) Now, 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 /Users/kynn/.emacs.desktop.lock Desktop: 36 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: 36 buffers restored. For information about GNU Emacs and the GNU system, type C-h C-a. I find the repeated "Desktop: 36 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. A possibly related problem is that Emacs ignores my request to make some buffer-local libraries permanently safe. One of the buffers being restored specifies some local variables. Now, at startup, I'm always shown this dialog: The local variables list in 071229S_081230T.tsv contains values that may not be safe (*). Do you want to apply it? You can type y -- to apply the local variables list. n -- to ignore the local variables list. ! -- to apply the local variables list, and permanently mark these values (*) as safe (in the future, they will be set automatically.) I always reply with the "!" option, but still every time Emacs starts I'm shown the same dialog. Very annoying. Any suggestions for dealing with these problems would be much appreciated. TIA! Kynn -- NOTE: In my address everything before the first period is backwards; and the last period, and everything after it, should be discarded.