From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#16793: window-state-put needs a live window Date: Tue, 18 Feb 2014 18:36:22 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1392746073 14948 80.91.229.3 (18 Feb 2014 17:54:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 17:54:33 +0000 (UTC) Cc: 16793@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 18 18:54:40 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WFosP-00041r-C7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 18:54:37 +0100 Original-Received: from localhost ([::1]:52438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFosP-0005Fk-25 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 12:54:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WForx-0004ba-3O for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:54:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WForp-0004Ol-U6 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:54:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WForp-0004Ny-R0 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFocP-0006ZK-8k for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 12:38:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2014 17:38:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16793 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16793-submit@debbugs.gnu.org id=B16793.139274503225179 (code B ref 16793); Tue, 18 Feb 2014 17:38:04 +0000 Original-Received: (at 16793) by debbugs.gnu.org; 18 Feb 2014 17:37:12 +0000 Original-Received: from localhost ([127.0.0.1]:58738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFobY-0006Y2-0b for submit@debbugs.gnu.org; Tue, 18 Feb 2014 12:37:12 -0500 Original-Received: from mail-yh0-f52.google.com ([209.85.213.52]:55780) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFobV-0006Wk-FL for 16793@debbugs.gnu.org; Tue, 18 Feb 2014 12:37:10 -0500 Original-Received: by mail-yh0-f52.google.com with SMTP id a41so15642757yho.39 for <16793@debbugs.gnu.org>; Tue, 18 Feb 2014 09:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vsDsrZ2hP5s+iSTZiiY0rjEniUXNqCI6zlFvWUjNKMw=; b=O4blKrdqvLk47R0nBWqE7BhwpEWGHqHUqtzPFBDmq/fZrLY+okseUymVj17ofeO5cm vGuYkE6bhMbRsoFtT8OIjssHhWNRpu4vnbu2CctDAudW+2dzElbqJsYFFosPo2SrQV60 5fNGcEAvM0YBtme8qDwHu1U6b6lIRc0b5Ii9PBBoyPxGXngRkIQdq/xzenu54uoevf7+ 9f2SRTIj7DJrJOCDfSyYR8gNwrPQI/D8lJX6jIkFR8AdVlydtY7l4v7hATDrMe98UxrA 6qz53ad54Mt3W7EI6ZgYFdt1BYqdUc2B9Riu+0NPdR9GqF0NgVKH8o9AubkV6BEgZUGx 34fw== X-Received: by 10.236.149.2 with SMTP id w2mr5236193yhj.114.1392745023567; Tue, 18 Feb 2014 09:37:03 -0800 (PST) Original-Received: by 10.170.197.1 with HTTP; Tue, 18 Feb 2014 09:36:22 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85841 Archived-At: On Tue, Feb 18, 2014 at 6:09 PM, Stefan Monnier 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.