From: Alan Mackenzie <acm@muc.de>
To: Glenn Morris <rgm@gnu.org>
Cc: 1226@emacsbugs.donarmstrong.com
Subject: bug#1226: Desktop holds second Emacs session hostage; C-x C-c doesn't work properly.
Date: Thu, 23 Oct 2008 09:38:32 +0000 [thread overview]
Message-ID: <20081023093832.GD2666@muc.de> (raw)
In-Reply-To: <x5wsg06rnm.fsf@fencepost.gnu.org>
Hi, Glenn!
On Wed, Oct 22, 2008 at 09:12:29PM -0400, Glenn Morris wrote:
> Alan Mackenzie wrote:
> > At this point, C-g aborts the "end Emacs" command. One now has the
> > unpleasant choice of killing Emacs2 from the (operating system)
> > console or typing in some random directory to dump the empty
> > .emacs.desktop to.
> Another choice is of course just to turn off desktop-save-mode, then
> exit.
I suppose so. You have to have a cool head to think of this, though.
> > This is a bug.
> What should it do instead?
> i) Not turn on desktop-save-mode if you answer no to the initial
> question:
> "Warning: desktop file appears to be in use by PID 3616.
> Using it may cause conflicts. Use it anyway? (y or n)"
> ii) Or should this question offer a third alternative, eg "(q) -
> disable desktop-save-mode for this session"?
> iii) Or should the prompt
> Directory for desktop file: ~/"
> somehow offer an option to turn off desktop-save-mode?
> iv) Something else?
I think Lawrence Mitchell's suggestion of what should happen is right:
first prompt "save desktop (y/n): ", and after getting a y, prompt for a
directory to save in.
> > Even worse, accepting the prompt's default directory, ~/, might
> > overwrite the real .emacs.desktop.
> If you try it, you will find you get adequate warning about overwriting
> the existing desktop.
OK.
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2008-10-23 9:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-22 10:07 bug#1226: Desktop holds second Emacs session hostage; C-x C-c doesn't work properly Alan Mackenzie
2008-10-22 11:12 ` Lawrence Mitchell
2008-10-22 12:48 ` Alan Mackenzie
2008-10-23 1:12 ` Glenn Morris
2008-10-23 1:15 ` Glenn Morris
2008-10-23 9:38 ` Alan Mackenzie [this message]
2008-10-23 19:25 ` Glenn Morris
2011-07-06 2:08 ` Juanma Barranquero
2011-07-08 20:48 ` Alan Mackenzie
2011-07-08 23:18 ` Juanma Barranquero
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081023093832.GD2666@muc.de \
--to=acm@muc.de \
--cc=1226@emacsbugs.donarmstrong.com \
--cc=rgm@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).