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: Mon, 08 Mar 2021 20:24:36 +0200 Organization: LINKOV.NET Message-ID: <87lfaxv6zf.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10761"; 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 Mon Mar 08 20:02:31 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 1lJL9C-0002g3-2C for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Mar 2021 20:02:30 +0100 Original-Received: from localhost ([::1]:35536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJL9B-0000Wn-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Mar 2021 14:02:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJKZu-0001O7-CS for bug-gnu-emacs@gnu.org; Mon, 08 Mar 2021 13:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJKZu-0004gP-4R for bug-gnu-emacs@gnu.org; Mon, 08 Mar 2021 13:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lJKZu-0005U2-0s for bug-gnu-emacs@gnu.org; Mon, 08 Mar 2021 13:26: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: Mon, 08 Mar 2021 18:26:01 +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.161522794021050 (code B ref 46904); Mon, 08 Mar 2021 18:26:01 +0000 Original-Received: (at 46904) by debbugs.gnu.org; 8 Mar 2021 18:25:40 +0000 Original-Received: from localhost ([127.0.0.1]:44832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJKZY-0005TR-LA for submit@debbugs.gnu.org; Mon, 08 Mar 2021 13:25:40 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:59811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJKZX-0005TE-6x for 46904@debbugs.gnu.org; Mon, 08 Mar 2021 13:25:40 -0500 Original-Received: from mail.gandi.net (m91-129-108-46.cust.tele2.ee [91.129.108.46]) (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 8DA3A100003; Mon, 8 Mar 2021 18:25:30 +0000 (UTC) In-Reply-To: (martin rudalics's message of "Mon, 8 Mar 2021 19:06:53 +0100") 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:201871 Archived-At: >> 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.