From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Benson Chu Newsgroups: gmane.emacs.bugs Subject: bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows Date: Fri, 31 Mar 2023 11:20:23 -0500 Message-ID: <87cz4oq485.fsf@fastmail.com> References: <875yapvoxh.fsf@fastmail.com> <86jzz4mynj.fsf@mail.linkov.net> <83cz4wb0vz.fsf@gnu.org> <865yamhdx7.fsf@mail.linkov.net> <83cz4u9uz1.fsf@gnu.org> <86jzz2f8si.fsf@mail.linkov.net> <83sfdq86pi.fsf@gnu.org> <835yal82ta.fsf@gnu.org> <86a5zuw5oo.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31757"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.14; emacs 30.0.50 Cc: Eli Zaretskii , 62427@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 31 18:25:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1piHYy-0007vj-GM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Mar 2023 18:25:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1piHYm-0006Ij-4j; Fri, 31 Mar 2023 12:25:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1piHYk-0006IP-Ez for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1piHYk-0004bC-6i for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1piHYj-0000Vh-Ia for bug-gnu-emacs@gnu.org; Fri, 31 Mar 2023 12:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Benson Chu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Mar 2023 16:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62427 X-GNU-PR-Package: emacs Original-Received: via spool by 62427-submit@debbugs.gnu.org id=B62427.16802798431882 (code B ref 62427); Fri, 31 Mar 2023 16:25:01 +0000 Original-Received: (at 62427) by debbugs.gnu.org; 31 Mar 2023 16:24:03 +0000 Original-Received: from localhost ([127.0.0.1]:34337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piHXm-0000UI-Jt for submit@debbugs.gnu.org; Fri, 31 Mar 2023 12:24:02 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1piHXl-0000To-45 for 62427@debbugs.gnu.org; Fri, 31 Mar 2023 12:24:01 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id ED8495C0178; Fri, 31 Mar 2023 12:23:55 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 31 Mar 2023 12:23:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1680279835; x=1680366235; bh=Ym dd4dseVMTA7Oev/nXUDE2y5Z+BG45jtHo+vAbL8Gk=; b=npuEJtoH2FpJibMDZ4 Ur1qIfiDqt5tQ6XZAW+1s6S1+Ip+HyWIXZZO07gLKjemE11+B8EKNe/hJdY6MFXW wmWhuFZ71QslRnWLzMMtQeyES+lUO1E8caPC/vfSxrfrUXGNvfJIX9mZkLWYZk7F 0KzXuxTfRKubYjvK/6vmpsz5JAR/m5P1RjyjnZ0K1k1KSaf7MNG1UJkmDtSM44Dg f+SKullGn3c9WwfSKrNT5G3oRlAqQWhsTaxWGfYZC7Z33Wh32nfokhg3X/X21S1b 65sVyov53gZ6abX3lnDCkp9Vux7/pmotopJ3fIxRb9EdB3Em8Se9ADs/qQVQbYnm XwCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680279835; x=1680366235; bh=Ymdd4dseVMTA7 Oev/nXUDE2y5Z+BG45jtHo+vAbL8Gk=; b=lUQODykk0LrRee//m+hIy5kb1fISE 7ngQXhHZJOF4YeQvbF6b7+gtg1bHGcpsSE+QNeR8EMJolbzASiZZHZ83T3CEQ7tY DqbadVEggh3JBIeMhCecFAr7aGKqrpo719w6km/lrBX4fFV1mM5aFyqpmDyzypM4 MoHqUy6kFJrEPJPMO2+fZpLJEMhjt7e5RRNgnD3urQG1VXUPfe21piAnPCpYAzRB dmut/wbCrZ0NTXNATha2h/y7+SVR4WYc0VPMxk1NgCkqiQSwx3tBQWIguNHn7VnJ fWkIZQSJVt/EwQeGngW06eKoPSt2yDcJyQa/EOikxLNkGayWwwZO3+M8A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeiuddgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvvefuffgjkfggtgesthdtredttdertdenucfhrhhomhepuegvnhhs ohhnucevhhhuuceosggvnhhsohhntghhuhegheejsehfrghsthhmrghilhdrtghomheqne cuggftrfgrthhtvghrnhepffetfeefueeifffgffetveeiudfhhfegudduheduueelteel tddvgeelleejheelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepsggvnhhsohhntghhuhegheejsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: id5c9466e:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 Mar 2023 12:23:55 -0400 (EDT) In-reply-to: <86a5zuw5oo.fsf@mail.linkov.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259007 Archived-At: > Then creating a new tab fails with > such error: > > Debugger entered--Lisp error: (error "Specified root is not an ancestor of specified window") Sure, I would be happy to investigate the problem! Is there a way to reproduce this bug? I've personally never seen it before. Juri Linkov writes: >> After thinking about this, I'm very uncomfortable with removing window >> parameters like that. These windows don't belong to us, right? They >> are windows that just happen to be there when the user creates a new >> tab. So arbitrary removal of their parameters behind the back of the >> user and possibly some Lisp program which set these parameters is not >> TRT. >> >> Can't we create a completely new window and show the buffer in it? >> That new window then can have any parameters we want, since it's new. >> >> Or am I missing something? > > Sometimes the window configuration gets into such inconsistent state > that the minibuffer window remains on the window list while the > minibuffer is not active. Then creating a new tab fails with > such error: > > Debugger entered--Lisp error: (error "Specified root is not an ancestor of specified window") > delete-other-windows-internal(# #) > delete-other-windows() > tab-bar-new-tab-to() > tab-bar-new-tab() > > Please fix this bug as well.