unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15382: desktop restores buffers in wrong order
@ 2013-09-15  8:51 Juri Linkov
  2013-09-15 16:10 ` martin rudalics
  2013-12-15 21:44 ` Juri Linkov
  0 siblings, 2 replies; 13+ messages in thread
From: Juri Linkov @ 2013-09-15  8:51 UTC (permalink / raw)
  To: 15382

The wrong order of restored desktop buffers is caused
by addition of these two conditions in `desktop-read':

            (unless (desktop-restoring-frameset-p)

Removing this condition in two places in `desktop-read'
restores the right order.

Were these conditions intended to fix some problems?

Another bug is that point of the top restored buffer
is placed to a wrong position because `desktop-saved-frameset'
saves point of one buffer (possibly non-persistent), but
after restoring the desktop, `window-state-put' restores that point
to another buffer (persistent and restored from the desktop file),
thus applying the value of point of one buffer to another buffer.





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

end of thread, other threads:[~2014-02-05  8:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-15  8:51 bug#15382: desktop restores buffers in wrong order Juri Linkov
2013-09-15 16:10 ` martin rudalics
2013-09-16 21:17   ` Juri Linkov
2013-09-17  6:45     ` martin rudalics
2013-12-15 21:44 ` Juri Linkov
2013-12-15 21:58   ` Juanma Barranquero
2013-12-16 21:05     ` Juri Linkov
2013-12-17 16:07       ` Juanma Barranquero
2013-12-17 17:31         ` martin rudalics
2013-12-17 19:58         ` Juri Linkov
2013-12-17 21:01           ` Juanma Barranquero
2014-02-05  8:07             ` Juri Linkov
2013-12-17 17:31       ` martin rudalics

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