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: Thu, 3 Dec 2015 14:57:02 +0000 Message-ID: <20151203145702.GF2136@acm.fritz.box> References: <83r3jbstgq.fsf@gnu.org> <20151201121940.GA2611@acm.fritz.box> <83a8pukwdq.fsf@gnu.org> <20151201170138.GB2611@acm.fritz.box> <83zixuj9b8.fsf@gnu.org> <20151202112722.GA2318@acm.fritz.box> <83egf5j6x2.fsf@gnu.org> <20151203084031.GB2136@acm.fritz.box> <83mvtrj02w.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 1449154547 5958 80.91.229.3 (3 Dec 2015 14:55:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2015 14:55:47 +0000 (UTC) Cc: 22025@debbugs.gnu.org, Juanma Barranquero To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 03 15:55:36 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 1a4VHu-0005t6-IX for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2015 15:55:14 +0100 Original-Received: from localhost ([::1]:35820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4VHp-00044q-0Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Dec 2015 09:55:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4VHk-00041D-99 for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 09:55:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4VHj-00056c-BA for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 09:55:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4VHj-00056Y-7i for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 09:55:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a4VHi-0002aA-TF for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2015 09:55:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2015 14:55:02 +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.14491544999904 (code B ref 22025); Thu, 03 Dec 2015 14:55:02 +0000 Original-Received: (at 22025) by debbugs.gnu.org; 3 Dec 2015 14:54:59 +0000 Original-Received: from localhost ([127.0.0.1]:37035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4VHe-0002Zf-U3 for submit@debbugs.gnu.org; Thu, 03 Dec 2015 09:54:59 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:57037) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4VHc-0002ZT-Qr for 22025@debbugs.gnu.org; Thu, 03 Dec 2015 09:54:57 -0500 Original-Received: (qmail 6588 invoked by uid 3782); 3 Dec 2015 14:54:54 -0000 Original-Received: from acm.muc.de (p579E903F.dip0.t-ipconnect.de [87.158.144.63]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 03 Dec 2015 15:54:53 +0100 Original-Received: (qmail 18511 invoked by uid 1000); 3 Dec 2015 14:57:02 -0000 Content-Disposition: inline In-Reply-To: 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:109556 Archived-At: Hello, Drew. On Thu, Dec 03, 2015 at 06:33:01AM -0800, Drew Adams wrote: > Again, apologies for not really reading the bug thread. :-) > Just wondering whether this format change will be mentioned > in NEWS, and what the reason for the change is. I have written a NEWS entry for it. The reason for the change seems to be twofold: (i) to store the mark ring of each buffer; (ii) to allow further information to be added later, without there being another backward incompatible change. > In NEWS, I find only this when looking for "desktop": > *** Partial state of the eww buffers (the URIs and the titles of the > pages visited) is now preserved in the desktop file. > Is that it? No, that's not it. My NEWS entry will be undergoing review, together with my patch to desktop.el, in the next few hours/days. > Does just _adding_ info to the file really change the format in an > incompatible way? Yes, it does. Once a desktop file has been upgraded to version 208, it can no longer be read by Emacs < 25.1. > If so, has it been fixed now, so that future additions (i.e., without > changes that also change the existing fields) don't result in an > incompatible change? Yes, it has. > If this NEWS entry is in fact the announcement of the format > change, then please consider changing the wording to make > clear that this is not just a benign addition of info but > is an incompatible format change for the file. There's a new NEWS entry in the pipeline. > (A priori, I have nothing against a change. But it would > be good to know what this is about.) The current plan is as follows: a desktop file will stay in format version 206 (which works with any Emacs from 22.1) until the user positively decides to upgrade it to 208, which she will do with C-u M-x save-desktop. If, for any reason, a desktop needs to be put back to 206, this can be done with C-u C-u M-x save-desktop. There are programmatic equivalents to these command options. -- Alan Mackenzie (Nuremberg, Germany).