all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: 15382@debbugs.gnu.org
Subject: bug#15382: desktop restores buffers in wrong order
Date: Tue, 17 Dec 2013 17:07:27 +0100	[thread overview]
Message-ID: <CAAeL0SSN_WabMYg5ek1yv277q-e3BjfguzSxA45X6im1zELaNw@mail.gmail.com> (raw)
In-Reply-To: <87vbyo4icw.fsf@mail.jurta.org>

On Mon, Dec 16, 2013 at 10:05 PM, Juri Linkov <juri@jurta.org> wrote:

> Because I see no other explanation.  This was added by your revno:113483
>
> 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
>
>         * desktop.el (desktop-saved-frame-states):
>         ...
>         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
>         buffer-lists when restoring frames.  Suggested by Martin Rudalics.

I understand why my change is related to not restoring the buffer list
order. I do not see why do you think that it is intended only for the
multi-frame case. Restoring framesets is not intended just for
multi-frame setups, I use it all the time in my single-frame setup.

> Maybe Martin knows the purpose of not fixing buffer-lists in desktop-read?

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

    J





  reply	other threads:[~2013-12-17 16:07 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 [this message]
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

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=CAAeL0SSN_WabMYg5ek1yv277q-e3BjfguzSxA45X6im1zELaNw@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=15382@debbugs.gnu.org \
    --cc=juri@jurta.org \
    /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.