unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23630: Emacs 25.0.94.1: desktop-read loads buffers in the wrong order.
@ 2016-05-27 11:55 Alan Mackenzie
       [not found] ` <mailman.383.1464350590.1216.bug-gnu-emacs@gnu.org>
  2016-08-19  8:43 ` Foudil
  0 siblings, 2 replies; 3+ messages in thread
From: Alan Mackenzie @ 2016-05-27 11:55 UTC (permalink / raw)
  To: 23630

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#23630: Emacs 25.0.94.1: desktop-read loads buffers in the wrong order.
       [not found] ` <mailman.383.1464350590.1216.bug-gnu-emacs@gnu.org>
@ 2016-05-27 21:38   ` Alan Mackenzie
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2016-05-27 21:38 UTC (permalink / raw)
  To: 23630

In article <mailman.383.1464350590.1216.bug-gnu-emacs@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).






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#23630: Emacs 25.0.94.1: desktop-read loads buffers in the wrong order.
  2016-05-27 11:55 bug#23630: Emacs 25.0.94.1: desktop-read loads buffers in the wrong order Alan Mackenzie
       [not found] ` <mailman.383.1464350590.1216.bug-gnu-emacs@gnu.org>
@ 2016-08-19  8:43 ` Foudil
  1 sibling, 0 replies; 3+ messages in thread
From: Foudil @ 2016-08-19  8:43 UTC (permalink / raw)
  To: 23630; +Cc: Alan Mackenzie

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-19  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27 11:55 bug#23630: Emacs 25.0.94.1: desktop-read loads buffers in the wrong order Alan Mackenzie
     [not found] ` <mailman.383.1464350590.1216.bug-gnu-emacs@gnu.org>
2016-05-27 21:38   ` Alan Mackenzie
2016-08-19  8:43 ` Foudil

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).