all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 15382@debbugs.gnu.org
Subject: bug#15382: desktop restores buffers in wrong order
Date: Tue, 17 Sep 2013 00:17:42 +0300	[thread overview]
Message-ID: <87ob7ssbyh.fsf@mail.jurta.org> (raw)
In-Reply-To: <5235DBEA.9020503@gmx.at> (martin rudalics's message of "Sun, 15 Sep 2013 18:10:18 +0200")

>> 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.
>
> IIUC this can happen only if a buffer doesn't exist when restoring.  I
> tried to address this issue in revision#114294.  Please have a look.

Thanks, I verified that now it doesn't restore point in wrong buffer
from a non-existent buffer.

A question whether such non-existent buffers should be also
saved/restored is a separate question.  Maybe they should,
with some empty placeholder buffers if buffer content
can't be restored?





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

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=87ob7ssbyh.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=15382@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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.