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

To reply to this bug, email your comments to 23630 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23630; Package emacs. (Fri, 27 May 2016 12:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Mackenzie <acm <at> muc.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 27 May 2016 12:03:01 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 25.0.94.1: desktop-read loads buffers in the wrong order.
Date: Fri, 27 May 2016 11:55:09 +0000
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.

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).

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23630; Package emacs. (Fri, 27 May 2016 21:39:01 GMT) Full text and rfc822 format available.

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).





Information forwarded to acm <at> muc.de, bug-gnu-emacs <at> gnu.org:
bug#23630; Package emacs. (Fri, 19 Aug 2016 09:08:02 GMT) Full text and rfc822 format available.

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

From: Foudil <23630debbugs <at> mailinator.com>
To: 23630 <at> debbugs.gnu.org
Subject: Re: bug#23630: Emacs 25.0.94.1: desktop-read loads buffers in the
 wrong order.
Date: Fri, 19 Aug 2016 10:43:09 +0200
Same problem here after upgrading from 24.5-4 to 25.1.1. Even when upgrading the desktop format to version 208.
I use `emacs -nw`.

Trying plain `emacs` GUI, I got error "Font ‘tty’ is not defined".
Removing the `desktop-saved-frameset` variable in my .emacs.desktop, and setting `desktop-restore-frames` to nil solved the issue.

Thanks to Alan for pointing in the right direction.




Forcibly Merged 15382 23630. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 24 Aug 2016 19:34:02 GMT) Full text and rfc822 format available.

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

Previous Next


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