From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 22025@debbugs.gnu.org
Subject: bug#22025: Emacs 25 corrupts Emacs 24 .emacs.desktop.
Date: Tue, 1 Dec 2015 17:01:38 +0000 [thread overview]
Message-ID: <20151201170138.GB2611@acm.fritz.box> (raw)
In-Reply-To: <83a8pukwdq.fsf@gnu.org>
Hello, Eli.
On Tue, Dec 01, 2015 at 05:43:13PM +0200, Eli Zaretskii wrote:
> > Date: Tue, 1 Dec 2015 12:19:41 +0000
> > Cc: 22025@debbugs.gnu.org
> > From: Alan Mackenzie <acm@muc.de>
> > OK, here is a patch. It introduces a customizable variable,
> > `desktop-version-strategy' which specifies in which version (206 or 208),
> > the desktop file should be saved. Until that variable is set to non-nil,
> > the user is prompted each time the desktop is loaded. She is given the
> > opportunity at that time to customize it immediately via a `yes-or-no-p'.
> Thanks. I'd ask Juanma to review the patch, but I have a comment on
> this design: is it really a good idea to nag the user with these
> questions? This will happen to every single Emacs user once they
> upgrade to Emacs 25.1. Do we really want that?
I think we do, yes. "Nag" might be a bit of an overstatement,
considering that the user need only be subjected to the questions once,
and is provided with an easy means of avoiding them in the future. We
are, after all, talking about a backwards incompatible change here.
> How about the following strategy instead: by default always save in
> backward compatible way, and give the user a command (or a prefix
> argument to desktop-save, perhaps) to switch to the new format? I
> think this will be nicer to our users, and will also save us
> yet-another defcustom.
Yes, I'm not too keen of the defcustom either. But we could save the
desktop file in the same format it was read in, and offer facilities to
convert to the new format (or back to the old one, even).
> WDYT?
I think (but I don't know for sure) that explicitly invoking
`desktop-save' is quite rare - most desktop files will be saved at Emacs
shutdown, so a prefix argument to `desktop-save' might not be optimal.
But thinking about it again, that would be a conscious deliberate action
which couldn't be done accidentally.
I think we need some way of alerting all users to the change. Otherwise
we could end up with lots of users never upgrading their desktops at
all, which would be a shame. The trouble is, we also need some way of
not alerting the users too often, and then we're coming back to some
sort of variable, if not a defcustom.
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2015-12-01 17:01 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 8:38 bug#22025: Emacs 25 corrupts Emacs 24 .emacs.desktop Alan Mackenzie
2015-11-27 9:05 ` Eli Zaretskii
2015-11-27 9:47 ` Alan Mackenzie
2015-11-27 10:23 ` Eli Zaretskii
2015-11-27 11:39 ` Alan Mackenzie
2015-11-27 12:27 ` Andy Moreton
2015-12-01 12:19 ` Alan Mackenzie
2015-12-01 15:43 ` Eli Zaretskii
2015-12-01 17:01 ` Alan Mackenzie [this message]
2015-12-01 17:46 ` Drew Adams
2015-12-02 12:35 ` Alan Mackenzie
2015-12-02 14:47 ` Drew Adams
2015-12-01 18:46 ` Eli Zaretskii
2015-12-02 11:27 ` Alan Mackenzie
2015-12-02 13:16 ` Andy Moreton
2015-12-02 13:50 ` Eli Zaretskii
2015-12-03 8:40 ` Alan Mackenzie
2015-12-03 10:30 ` Eli Zaretskii
2016-01-15 16:18 ` Alan Mackenzie
2016-01-15 18:31 ` Eli Zaretskii
2016-01-18 13:37 ` Alan Mackenzie
[not found] ` <<83mvtrj02w.fsf@gnu.org>
2015-12-03 14:33 ` Drew Adams
2015-12-03 14:57 ` Alan Mackenzie
2015-12-03 15:35 ` Drew Adams
2015-12-03 15:44 ` Alan Mackenzie
2019-09-29 21:17 ` Stefan Kangas
[not found] <<20151127083837.GB1782@acm.fritz.box>
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=20151201170138.GB2611@acm.fritz.box \
--to=acm@muc.de \
--cc=22025@debbugs.gnu.org \
--cc=eliz@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.