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#23630: Emacs 25.0.94.1: desktop-read loads buffers in the wrong order. Date: 27 May 2016 21:38:17 -0000 Organization: muc.de e.V. Message-ID: <20160527213817.3256.qmail@mail.muc.de> References: <20160527115509.GA2689@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1464385169 18951 80.91.229.3 (27 May 2016 21:39:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 May 2016 21:39:29 +0000 (UTC) To: 23630@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 27 23:39:19 2016 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 1b6PTQ-0004jS-OF for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 23:39:16 +0200 Original-Received: from localhost ([::1]:48014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6PTP-0003Ms-Ky for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 May 2016 17:39:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6PTH-0003KH-E9 for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 17:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6PTC-00084m-7e for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 17:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6PTC-00084i-4A for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 17:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b6PTB-0008Gt-Pc for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 17:39:01 -0400 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 May 2016 21:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23630 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23630-submit@debbugs.gnu.org id=B23630.146438510131747 (code B ref 23630); Fri, 27 May 2016 21:39:01 +0000 Original-Received: (at 23630) by debbugs.gnu.org; 27 May 2016 21:38:21 +0000 Original-Received: from localhost ([127.0.0.1]:42930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6PSW-0008Fz-Sh for submit@debbugs.gnu.org; Fri, 27 May 2016 17:38:21 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:65060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6PSV-0008Fp-9z for 23630@debbugs.gnu.org; Fri, 27 May 2016 17:38:19 -0400 Original-Received: (qmail 3257 invoked by uid 3782); 27 May 2016 21:38:17 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.3-RELEASE (amd64)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:118790 Archived-At: In article I wrote: > Hello, Emacs. > Run the following, having recently saved a desktop file in either > version 206 (the version current for Emacs < 25.1) or version 208 (the > new format for Emacs 25) in a previous Emacs session. When saving the > desktop file, variable `desktop-restore-frames' should be nil. Apologies: I meant ....`desktop-restore-frames' should be non-nil. > In the Emacs pretest 25.0.94: > emacs -Q > M-x desktop-save-mode > M-x desktop-read > Now repeatedly do C-x 5 b. The buffers which are displayed in the > successive new frames are: > NEWS > *scratch* > *messages* > .emacs25.desktop > .emacs > frameset.el > desktop.el > *info* > . The entirety of the buffers recorded in .emacs.desktop is, in order: > .emacs25.desktop > .emacs > frameset.el > desktop.el > NEWS > *info* > . Note: (i) NEWS has been spuriously placed at the front of the list > of > buffers. (ii) Buffers *scratch* and *messages* have been wrongly > placed > in positions 2 and 3 of (buffer-list). It appears that, although there were several frames when the desktop file was saved, these are not being recreated by `desktop-read'. Perhaps it is relevant that this is happening on a Linux virtual terminal, both the saving of the desktop file, and the attempt to load it again. -- Alan Mackenzie (Nuremberg, Germany).