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: Fri, 27 Nov 2015 09:47:18 +0000 Message-ID: <20151127094718.GC1782@acm.fritz.box> References: <20151127083837.GB1782@acm.fritz.box> <83r3jbstgq.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 1448617580 19509 80.91.229.3 (27 Nov 2015 09:46:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 09:46:20 +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 Fri Nov 27 10:46:07 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 1a2FbS-0007za-1Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2015 10:46:06 +0100 Original-Received: from localhost ([::1]:55556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2FbU-0008Hg-4x for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2015 04:46:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2FbR-0008Hb-8J for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2015 04:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2FbO-0006vq-2d for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2015 04:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2FbN-0006vd-V4 for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2015 04:46:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a2FbN-0001FL-Ok for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2015 04:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Nov 2015 09:46: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.14486175344756 (code B ref 22025); Fri, 27 Nov 2015 09:46:01 +0000 Original-Received: (at 22025) by debbugs.gnu.org; 27 Nov 2015 09:45:34 +0000 Original-Received: from localhost ([127.0.0.1]:55125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2Fav-0001Ee-I3 for submit@debbugs.gnu.org; Fri, 27 Nov 2015 04:45:33 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:34242) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2Fab-0001ED-An for 22025@debbugs.gnu.org; Fri, 27 Nov 2015 04:45:32 -0500 Original-Received: (qmail 42143 invoked by uid 3782); 27 Nov 2015 09:45:12 -0000 Original-Received: from acm.muc.de (p5B146A65.dip0.t-ipconnect.de [91.20.106.101]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 27 Nov 2015 10:45:11 +0100 Original-Received: (qmail 2718 invoked by uid 1000); 27 Nov 2015 09:47:18 -0000 Content-Disposition: inline In-Reply-To: <83r3jbstgq.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:109330 Archived-At: Hello, Eli. On Fri, Nov 27, 2015 at 11:05:25AM +0200, Eli Zaretskii wrote: > > Date: Fri, 27 Nov 2015 08:38:37 +0000 > > From: Alan Mackenzie > > Emacs 25 has read a version 206 .desktop file, but written a version 208 > > file on termination. Emacs 24 cannot execute this version. > > There was no yes-or-no-p asking "are you sure you want to convert your > > desktop to a format incompatible with previous Emacs versions?". > > Manually restoring a .desktop to version 206 is fraught with > > difficulties, even for somebody (myself) who understands the issues > > reasonably well, and has an old version of .desktop saved "just in > > case". > > Recommendation > > -------------- > > Emacs 25, having loaded a version 206 .desktop, should save it in the > > same format until the user has positively consented to it being > > converted to version 208. > This would be a nice enhancement, but it certainly isn't a bug in my > book. I couldn't disagree more. Users should be free to update to Emacs 25, but it shouldn't be for us to force them. I've just lost half a morning restoring my .desktop to the earlier format. Most users wouldn't be able to do this. I think we are enormously cavalier with the .desktop file - no backup of any type (such as .emacs.desktop~) is kept, and should there be trouble reading .desktop, it is difficult to exit Emacs without having this .desktop overwritten. > Of course, if making that happen is relatively easy, it would be good > to have such a compatibility mode. Patches welcome. I will work on this. > I marked it wishlist. I really wish you hadn't. -- Alan Mackenzie (Nuremberg, Germany).