unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: 22025@debbugs.gnu.org
Subject: bug#22025: Emacs 25 corrupts Emacs 24 .emacs.desktop.
Date: Wed, 02 Dec 2015 13:16:53 +0000	[thread overview]
Message-ID: <vz1two1c7ne.fsf@gmail.com> (raw)
In-Reply-To: <20151127083837.GB1782@acm.fritz.box>

On Wed 02 Dec 2015, Alan Mackenzie wrote:

> Hello, Eli.
>
> On Tue, Dec 01, 2015 at 08:46:51PM +0200, Eli Zaretskii wrote:
>> > Date: Tue, 1 Dec 2015 17:01:38 +0000
>> > Cc: 22025@debbugs.gnu.org
>> > From: Alan Mackenzie <acm@muc.de>
>
>> > 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.
>
>> I think NEWS is the appropriate place to alert them to this.
>
> I'm a bit wary about NEWS.  How many people actually read it thoroughly?
> At each new release, I try to read NEWS, but my eyes start glazing over
> before I even get half way through.
>
> But that aside, how about the following NEWS entry (to be followed by
> actual code)?
>
>
> ** Desktop
>
> ---
> *** The desktop format version has been upgraded from 206 to 208.
> Although Emacs 25.1 can read a version 206 desktop, earlier Emacsen
> cannot read a version 208 desktop.  To upgrade your desktop file, you
> must explicitly request the upgrade by C-u M-x desktop-save.  You are
> recommended to do this as soon as you have firmly upgraded to Emacs
> 25.1 (or later).  Should you ever need to downgrade your desktop file
> to version 206, you can do this with C-u C-u M-x desktop-save.
>
> An additional possibility would by to nag the user with a prompt in the
> echo area after loading a 206 desktop.  Something like:
>
> You have loaded an old format desktop file.  To upgrade it, see NEWS (C-h n).
>
> , together with a variable to disable it.  Maybe.

Another possibility is an ELPA package for older emacsen to allow them
to read and write version 208 format desktop files.

    AndyM






  reply	other threads:[~2015-12-02 13:16 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
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 [this message]
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

  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=vz1two1c7ne.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=22025@debbugs.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).