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#46904: Non-unique windows produced by window-state-put Date: Tue, 09 Mar 2021 19:28:09 +0200 Organization: LINKOV.NET Message-ID: <87sg54xmmu.fsf@mail.linkov.net> References: <877dmo0zdn.fsf@mail.linkov.net> <87a6rj8dhe.fsf@mail.linkov.net> <87lfb2izev.fsf@mail.linkov.net> <8735xar85l.fsf@mail.linkov.net> <9bd9f7dd-a4d5-6d64-f784-f63f532efa10@gmx.at> <87pn0bj617.fsf@mail.linkov.net> <893dde49-dc54-e182-b907-802d4e9ce886@gmx.at> <87mtvdd7m7.fsf@mail.linkov.net> <87lfaxv6zf.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="30869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 46904@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 09 20:47:26 2021 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 1lJiKE-0007wT-3X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 20:47:26 +0100 Original-Received: from localhost ([::1]:60488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJiKD-0007Og-2C for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 14:47:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJgAJ-00017h-GV for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 12:29:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJgAI-00051h-NL for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 12:29:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJgAI-0004ac-IK for bug-gnu-emacs@gnu.org; Tue, 09 Mar 2021 12:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Mar 2021 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46904 X-GNU-PR-Package: emacs Original-Received: via spool by 46904-submit@debbugs.gnu.org id=B46904.161531093917625 (code B ref 46904); Tue, 09 Mar 2021 17:29:02 +0000 Original-Received: (at 46904) by debbugs.gnu.org; 9 Mar 2021 17:28:59 +0000 Original-Received: from localhost ([127.0.0.1]:47863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJgAE-0004aC-KW for submit@debbugs.gnu.org; Tue, 09 Mar 2021 12:28:58 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:45579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJgAC-0004Zu-7E; Tue, 09 Mar 2021 12:28:56 -0500 X-Originating-IP: 91.129.108.46 Original-Received: from mail.gandi.net (m91-129-108-46.cust.tele2.ee [91.129.108.46]) (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id BF35DE0009; Tue, 9 Mar 2021 17:28:48 +0000 (UTC) In-Reply-To: <87lfaxv6zf.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 08 Mar 2021 20:24:36 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:201931 Archived-At: tags 46904 fixed close 46904 28.0.50 thanks >>> When 'frame-root-window' returns an internal window, >>> then we don't put the state into the root window anyway, >>> we create a new window. The patch does the same for the >>> case when there is only one window too, so both cases >>> will provide the same consistent result. >> >> Yes. But how would you handle `window-swap-states' now? > > No changes are planned in window.el, only in tab-bar.el. Now pushed to master in commit 29458ec7d2.