From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#62427: tab-bar-new-tab-to now handles cases with multiple side-windows Date: Thu, 30 Mar 2023 19:43:35 +0300 Organization: LINKOV.NET Message-ID: <86a5zuw5oo.fsf@mail.linkov.net> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18656"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 62427@debbugs.gnu.org, Benson Chu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 30 18:47:19 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 1phvQk-0004YR-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Mar 2023 18:47:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phvQW-000622-6X; Thu, 30 Mar 2023 12:47: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 1phvQU-00061d-OF for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 12:47: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 1phvQU-0007H9-Dq for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 12:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phvQU-0004jt-0e for bug-gnu-emacs@gnu.org; Thu, 30 Mar 2023 12:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Mar 2023 16:47: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.168019480318192 (code B ref 62427); Thu, 30 Mar 2023 16:47:01 +0000 Original-Received: (at 62427) by debbugs.gnu.org; 30 Mar 2023 16:46:43 +0000 Original-Received: from localhost ([127.0.0.1]:59339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phvQB-0004jM-Gv for submit@debbugs.gnu.org; Thu, 30 Mar 2023 12:46:43 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:56095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phvQ7-0004iv-4U for 62427@debbugs.gnu.org; Thu, 30 Mar 2023 12:46:39 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 1EEE92000D; Thu, 30 Mar 2023 16:46:31 +0000 (UTC) In-Reply-To: <835yal82ta.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Mar 2023 15:42:41 +0300") 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:258940 Archived-At: > 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.