From: martin rudalics <rudalics@gmx.at>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 15382@debbugs.gnu.org
Subject: bug#15382: desktop restores buffers in wrong order
Date: Tue, 17 Dec 2013 18:31:42 +0100 [thread overview]
Message-ID: <52B08A7E.9070508@gmx.at> (raw)
In-Reply-To: <CAAeL0SSN_WabMYg5ek1yv277q-e3BjfguzSxA45X6im1zELaNw@mail.gmail.com>
> Correctly restoring the frames requires restoring the window-buffer
> correspondence, so if you run the (mapc #'bury-buffer ...) code
> afterwards, you destroy that correspondence. A way would be required
> to reset buffer-list's without affecting how buffers are displayed...
We would have to show and bury buffers to get the appropriate order for
frames. However, with multiple frames this might clobber the order of
the global buffer list. `set-window-prev-buffers' and
`set-window-next-buffers' should suffice to fix the window buffer lists
afterwards. In any case, this doesn't sound like a trivial task.
martin
next prev parent reply other threads:[~2013-12-17 17:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52B08A7E.9070508@gmx.at \
--to=rudalics@gmx.at \
--cc=15382@debbugs.gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.