all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Hofert <marius.hofert@math.ethz.ch>
To: Xah Lee <xahlee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to disable warnings/questions when using desktop-save-mode?
Date: Thu, 24 May 2012 10:05:43 +0200	[thread overview]
Message-ID: <87ipfmuhpk.fsf@math.ethz.ch> (raw)
In-Reply-To: <3758703c-576a-4155-a1d4-0e4f13c1d97e@jx17g2000pbb.googlegroups.com> (Xah Lee's message of "Wed, 23 May 2012 17:31:38 -0700")

Precisely what I was looking for, many thanks, Xah. 

Xah Lee <xahlee@gmail.com> writes:

> On May 23, 3:21 am, Marius Hofert <marius.hof...@math.ethz.ch> wrote:
>> Hi,
>>
>> 1) I have enabled desktop-save mode (with (desktop-save-mode 1)) since I find this
>> quite useful. I recently started to use different instances of Emacs (Emacs 24
>> GTK Snapshot version on Xubuntu 12.04). Every time I open another instance of
>> Emacs, I receive "...Warning: desktop file appears to be in
>> use by PID ... Use it anyway? (y or n)". How can I tell Emacs to not ask me but
>> always choose y (= yes) here automatically? [I tried (setq desktop-save t) but
>> I still obtained the warning.]
>>
>> 2) A similar problem appears when a new instance is closed and thus writes to the
>> desktop file. When closing an older instance afterwards one then obtains
>> "... Desktop file is more recent than the one loaded. Save anyway?". How can I
>> tell Emacs to not ask me but choose y (= yes) automatically?
>>
>> Maybe 2) is solved by choosing "no" in 1) [which I guess is also fine in most cases].
>>
>> Cheers,
>>
>> Marius
>
> see the desktop section at
>
> http://code.google.com/p/ergoemacs/source/browse/trunk/ergoemacs/init_settings.el
>
>  Xat





  reply	other threads:[~2012-05-24  8:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1567.1337768477.855.help-gnu-emacs@gnu.org>
2012-05-24  0:31 ` How to disable warnings/questions when using desktop-save-mode? Xah Lee
2012-05-24  8:05   ` Marius Hofert [this message]
2012-05-23 10:21 Marius Hofert
2012-05-25  4:20 ` Kevin Rodgers
2012-05-27 17:32   ` Marius Hofert

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=87ipfmuhpk.fsf@math.ethz.ch \
    --to=marius.hofert@math.ethz.ch \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xahlee@gmail.com \
    /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.