all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kj <socyl@987jk.com.invalid>
To: help-gnu-emacs@gnu.org
Subject: Emacs desktop problems
Date: Mon, 5 Jan 2009 12:38:49 +0000 (UTC)	[thread overview]
Message-ID: <gjsv0p$sn$1@reader1.panix.com> (raw)


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


                 reply	other threads:[~2009-01-05 12:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gjsv0p$sn$1@reader1.panix.com' \
    --to=socyl@987jk.com.invalid \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.