GNU bug report logs - #16793
window-state-put needs a live window

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Tue, 18 Feb 2014 16:21:02 UTC

Severity: normal

Found in version 24.3.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: martin rudalics <rudalics <at> gmx.at>, 16793 <at> debbugs.gnu.org
Subject: bug#16793: window-state-put needs a live window
Date: Tue, 18 Feb 2014 18:36:22 +0100
On Tue, Feb 18, 2014 at 6:09 PM, Stefan Monnier
<monnier <at> 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.




This bug report was last modified 11 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.