GNU bug report logs - #23630
Emacs 25.0.94.1: desktop-read loads buffers in the wrong order.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Fri, 27 May 2016 12:03:01 UTC

Severity: minor

Merged with 15382

Full log


Message #8 received at 23630 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: 23630 <at> debbugs.gnu.org
Subject: Re: bug#23630: Emacs 25.0.94.1: desktop-read loads buffers in the
 wrong	order.
Date: 27 May 2016 21:38:17 -0000
In article <mailman.383.1464350590.1216.bug-gnu-emacs <at> gnu.org> 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).





This bug report was last modified 8 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.