From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#22025: Emacs 25 corrupts Emacs 24 .emacs.desktop. Date: Wed, 2 Dec 2015 11:27:22 +0000 Message-ID: <20151202112722.GA2318@acm.fritz.box> References: <20151127083837.GB1782@acm.fritz.box> <83r3jbstgq.fsf@gnu.org> <20151201121940.GA2611@acm.fritz.box> <83a8pukwdq.fsf@gnu.org> <20151201170138.GB2611@acm.fritz.box> <83zixuj9b8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1449055582 30150 80.91.229.3 (2 Dec 2015 11:26:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2015 11:26:22 +0000 (UTC) Cc: 22025@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 12:26:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a45Y1-0001x6-UE for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 12:26:10 +0100 Original-Received: from localhost ([::1]:57512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a45Y0-0003A5-M3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Dec 2015 06:26:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a45Xx-00038x-NK for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 06:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a45Xu-0004gp-ER for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 06:26:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a45Xu-0004gi-BA for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 06:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a45Xu-00055F-0U for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2015 06:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Dec 2015 11:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22025 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22025-submit@debbugs.gnu.org id=B22025.144905553919508 (code B ref 22025); Wed, 02 Dec 2015 11:26:01 +0000 Original-Received: (at 22025) by debbugs.gnu.org; 2 Dec 2015 11:25:39 +0000 Original-Received: from localhost ([127.0.0.1]:35701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a45XW-00054Y-2s for submit@debbugs.gnu.org; Wed, 02 Dec 2015 06:25:38 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:50807) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a45XA-000533-V2 for 22025@debbugs.gnu.org; Wed, 02 Dec 2015 06:25:36 -0500 Original-Received: (qmail 96096 invoked by uid 3782); 2 Dec 2015 11:25:15 -0000 Original-Received: from acm.muc.de (p548A535B.dip0.t-ipconnect.de [84.138.83.91]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 02 Dec 2015 12:25:14 +0100 Original-Received: (qmail 2391 invoked by uid 1000); 2 Dec 2015 11:27:23 -0000 Content-Disposition: inline In-Reply-To: <83zixuj9b8.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109524 Archived-At: 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 > > 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. -- Alan Mackenzie (Nuremberg, Germany).