From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22025: Emacs 25 corrupts Emacs 24 .emacs.desktop. Date: Tue, 01 Dec 2015 17:43:13 +0200 Message-ID: <83a8pukwdq.fsf@gnu.org> References: <20151127083837.GB1782@acm.fritz.box> <83r3jbstgq.fsf@gnu.org> <20151201121940.GA2611@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448984667 29377 80.91.229.3 (1 Dec 2015 15:44:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2015 15:44:27 +0000 (UTC) Cc: 22025@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 01 16:44: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 1a3n6A-00080a-9u for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Dec 2015 16:44:10 +0100 Original-Received: from localhost ([::1]:53337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3n69-0001Oz-KK for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Dec 2015 10:44:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3n65-0001NM-Ud for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 10:44:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3n62-0003a1-OS for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 10:44:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3n62-0003Zo-Km for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 10:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a3n62-0001ov-6H for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 10:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2015 15:44: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.14489846196960 (code B ref 22025); Tue, 01 Dec 2015 15:44:02 +0000 Original-Received: (at 22025) by debbugs.gnu.org; 1 Dec 2015 15:43:39 +0000 Original-Received: from localhost ([127.0.0.1]:35219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3n5f-0001oB-0R for submit@debbugs.gnu.org; Tue, 01 Dec 2015 10:43:39 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:52669) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3n5J-0001nV-KJ for 22025@debbugs.gnu.org; Tue, 01 Dec 2015 10:43:37 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NYO00700RDMP200@mtaout27.012.net.il> for 22025@debbugs.gnu.org; Tue, 01 Dec 2015 17:38:18 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYO007FSRFUJ200@mtaout27.012.net.il>; Tue, 01 Dec 2015 17:38:18 +0200 (IST) In-reply-to: <20151201121940.GA2611@acm.fritz.box> X-012-Sender: halo1@inter.net.il 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:109503 Archived-At: > Date: Tue, 1 Dec 2015 12:19:41 +0000 > Cc: 22025@debbugs.gnu.org > From: Alan Mackenzie > > 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? 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. WDYT?