all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 16793@debbugs.gnu.org
Subject: bug#16793: window-state-put needs a live window
Date: Tue, 18 Feb 2014 18:36:22 +0100	[thread overview]
Message-ID: <CAAeL0SSUzP2HJ891pO1UOQGV_gQqGh68cb9xyu_pCG-FqKH1qA@mail.gmail.com> (raw)
In-Reply-To: <jwvob24jqp0.fsf-monnier+emacsbugs@gnu.org>

On Tue, Feb 18, 2014 at 6:09 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:

> [ The X-Debbugs-Cc should be in the email header, not in the here
>   pseudo-header.  Welcome to Debbugs ;-)  ]

[ It works here too. At least it worked all other times I've used it ;-) ]

> I don't understand what this means.  Why would the frame's root window
> not be alive?  Is it because it's an "internal" window (because of
> a split)?

Yes.

>  deleting a frame and creating a new one is definitely not
> a good idea, since it can have all kinds of unintended side-effects,
> depending on the window manager.

I just committed a workaround for this issue: deleting all windows
except the first one in the relevant frame if its root window isn't
alive.

But I still think that getting a window-state for a window and putting
it again into the same window should always be allowed, unless Martin
has a good reason why that symmetry is a bad idea.





  parent reply	other threads:[~2014-02-18 17:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 16:20 bug#16793: window-state-put needs a live window Juanma Barranquero
2014-02-18 17:09 ` Stefan Monnier
2014-02-18 17:20   ` Glenn Morris
2014-02-18 17:24     ` Glenn Morris
2014-02-18 18:28       ` Stefan Monnier
2014-02-18 18:37         ` Glenn Morris
2014-02-18 20:45           ` Stefan Monnier
2014-02-18 17:36   ` Juanma Barranquero [this message]
2014-02-18 18:29     ` Stefan Monnier
2014-02-18 19:04     ` martin rudalics
2014-02-18 21:18       ` Juanma Barranquero
2014-02-18 21:26         ` martin rudalics
2014-02-18 21:51           ` Juanma Barranquero
2014-02-19 10:02             ` martin rudalics
2014-02-19 11:09               ` Juanma Barranquero
2014-02-18 19:04 ` martin rudalics
2014-02-18 19:08   ` Juanma Barranquero

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=CAAeL0SSUzP2HJ891pO1UOQGV_gQqGh68cb9xyu_pCG-FqKH1qA@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=16793@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.