From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#64405: `toggle-side-windows' with 3 or more side windows leads to error; reproducer included Date: Fri, 7 Jul 2023 15:56:22 +0200 Message-ID: References: <4C5644CF-B41B-4AB7-AEF4-151133ADEE04@gmail.com> <83mt09iju2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------Nv9060TGrR7IYzjh4MFWNXj4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25557"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64405@debbugs.gnu.org To: Eli Zaretskii , JD Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 07 15:57:27 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 1qHlxf-0006RJ-B1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jul 2023 15:57:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHlxH-0005kg-IB; Fri, 07 Jul 2023 09:57:03 -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 1qHlxG-0005kX-95 for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 09:57: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 1qHlxG-0000el-10 for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 09:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHlxF-0005U7-U5 for bug-gnu-emacs@gnu.org; Fri, 07 Jul 2023 09:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jul 2023 13:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64405 X-GNU-PR-Package: emacs Original-Received: via spool by 64405-submit@debbugs.gnu.org id=B64405.168873819521050 (code B ref 64405); Fri, 07 Jul 2023 13:57:01 +0000 Original-Received: (at 64405) by debbugs.gnu.org; 7 Jul 2023 13:56:35 +0000 Original-Received: from localhost ([127.0.0.1]:43517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHlwo-0005TR-HE for submit@debbugs.gnu.org; Fri, 07 Jul 2023 09:56:34 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:42109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHlwk-0005TA-8i for 64405@debbugs.gnu.org; Fri, 07 Jul 2023 09:56:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1688738183; x=1689342983; i=rudalics@gmx.at; bh=r7NaLh9037R8RcKGa7MmgqpJkad+JReZ47fSw3ahYmY=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=dhJS+lGek1TzblhhiqRV5Q4vCIxnxKyeAsIwjxSnNGbHJmX5JSC42jcK7xz3s2CJrHa5X+e +t6t9OkTSK97/w3mKr9drHk7ivkoePb3p2tEqErp3KebO8C1Yc+wg+xAnEEaR/Go28MucQxZz WpHs8zjGc/heOZZxEBQ0xz4BERGznNJkBfyzUKUc6MxhoQ0LrOgrOCtOVe+FnVRK4Csi3xs37 pXa+mwLH3b0n+CXIWYStVbZO+UxY7SDK4ih/pvo59jvUyugWkw32FajaUtFYsj45l0grHobZt hgGRgdWBYzu3z/0LQELQRwgxc1roJ+hxFrdtEuOShIsjjkgpAnKA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.1.100] ([213.142.97.103]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N8XPt-1pwGrW1vCj-014Vgg; Fri, 07 Jul 2023 15:56:23 +0200 Content-Language: en-US In-Reply-To: <83mt09iju2.fsf@gnu.org> X-Provags-ID: V03:K1:iEQDwvIO9NB4cvoTFmuVJpdoSWC30ora03R1mvp5fLjWK/l2RQg RQAipAqZu8kaajalfI96qg1QX9N6VBnrdOPHkHsVWJgd+7OMZ/bs8wgz9tww2Tt2EbsgZ7G nceFWPuqjI/zF6YU5ROazA2ObD96gW80Di3I3mvqDciNAJ8k1IxtT+vuJEs9I/bYUXKkbTg yP2hFhE92l/sXAxg0AD8Q== UI-OutboundReport: notjunk:1;M01:P0:Nucu7aY41M4=;1gsm3yPRgYYiGKRs482rtlg+jQb D5i+SJNSoY0jMDu0vtAZCDP3EvYQiGqqjkImZx73BVEm+k/pVYn1wLKVxuC2VzQZyAbbdUAy4 qkv+W+JvyuwO6FcEz8P/uHZwszVrqR9Jq0C9VVPHqKbnAPZB1vflSeowf5F2WM9Wmt/LtKElL D5ZYwNCtbf2WSW3JQGQAK5F6I00CEB3a2MQ90UN6xz57hP+X5RVk3KHMfqmWFzly16NGwyNll DmOFAvIXVbQkzlDnsyOm22ES+CnJZK1b5eiG66RG7nQ75/o6iywGTXgn33NeIPvOZ2drYeCoq NuiBsIYPJjcCktDR0xA277J8pBNryTi/xXUvYg2hiq82+NzZ1WI2caUQuTDR0qEPVI7d7TpJn edh8hbnEnxbx8/jp9HyAfWWQ+s2jf7HXJ/JVjPrewaw91SzTPZErRNI9BGMrQUB9mxHL8ukVf cBL4Fo4AjYh7cww+VLLS2hZ/ji+A+kHCDkI26QI+8/9rU6BkYZuQwyyDbKFVP7sWXLPXjCalw ntY1l7cRT40h3Wx0JLq+ViPYE4x3cQ7g5Chd+AIutHcbqZc4UIPgy486GrdIQquIMcs+2A5no 4PRzrdVj7LaIEylWnqNuHAaogpZdNyCsZHra4JiBDBFQwKLdu3fUgB76O2TbCikux4tMSk2pM qfS5mI1LIO6i4//ooYcSWkAW85idEyEEcFOAOM2vopSP7K4Y9v/mDLy0b0nmJFKNNeCzw8myV pT/FZCrbPGaehqxWTka6NIux0LXuyL/CmrgJsk1ho748+HFNxIJhTBHxClQDxNPBLrEPj2Y8 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:264726 Archived-At: This is a multi-part message in MIME format. --------------Nv9060TGrR7IYzjh4MFWNXj4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 ID4+ICBGcm9tIGEgZnJlc2ggRW1hY3MgMjggZW1hY3MgLVE6DQogPj4NCiA+PiAocHJvZ24N CiA+PiAgICAoZGlzcGxheS1idWZmZXItaW4tc2lkZS13aW5kb3cgKGdldC1idWZmZXItY3Jl YXRlICJBQSIpICcoKHNpZGUgLiByaWdodCkgKHNsb3QgLiAtMSkpKQ0KID4+ICAgIChkaXNw bGF5LWJ1ZmZlci1pbi1zaWRlLXdpbmRvdyAoZ2V0LWJ1ZmZlci1jcmVhdGUgIkJCIikgJygo c2lkZSAuIHJpZ2h0KSAoc2xvdCAuIDApKSkNCiA+PiAgICAoZ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zjh4MFWNXj4 Content-Type: text/x-patch; charset=UTF-8; name="window-state-put.diff" Content-Disposition: attachment; filename="window-state-put.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3Avd2luZG93LmVsIGIvbGlzcC93aW5kb3cuZWwKaW5kZXggMTZm MTZhNzU0MTguLjE0NTU1OGJiNzczIDEwMDY0NAotLS0gYS9saXNwL3dpbmRvdy5lbAorKysg Yi9saXNwL3dpbmRvdy5lbApAQCAtNjE2OSw3ICs2MTY5LDE0IEBAIHdpbmRvdy0tc3RhdGUt cHV0LTEKICAgICAgIChsZXQqICgoaG9yaXpvbnRhbCAoZXEgdHlwZSAnaGMpKQogCSAgICAg KHRvdGFsICh3aW5kb3ctc2l6ZSB3aW5kb3cgaG9yaXpvbnRhbCBwaXhlbHdpc2UpKQogICAg ICAgICAgICAgIChmaXJzdCB0KQotICAgICAgICAgICAgICh3aW5kb3ctY29tYmluYXRpb24t bGltaXQgKGNkciAoYXNzcSAnY29tYmluYXRpb24tbGltaXQgc3RhdGUpKSkKKwkgICAgIDs7 IE1ha2Ugc3VyZSB0byBtYWtlIGEgbmV3IHBhcmVudCB3aW5kb3cgZm9yIGEgaG9yaXpvbnRh bAorCSAgICAgOzsgb3IgdmVydGljYWwgY29tYmluYXRpb24gZW1iZWRkZWQgaW4gb25lIG9m IHRoZSBzYW1lIHR5cGUKKwkgICAgIDs7IChzZWUgQnVnIzUwODY3IGFuZCBCdWcjNjQ0MDUp LgorCSAgICAgKHdpbmRvdy1jb21iaW5hdGlvbi1saW1pdAorCSAgICAgIChhbmQgKG9yIChl cSAoY2RyIChhc3NxICdjb21iaW5hdGlvbi1saW1pdCBzdGF0ZSkpIHQpCisJCSAgICAgICAo YW5kIGhvcml6b250YWwgKHdpbmRvdy1jb21iaW5lZC1wIHdpbmRvdyB0KSkKKwkJICAgICAg IChhbmQgKG5vdCBob3Jpem9udGFsKSAod2luZG93LWNvbWJpbmVkLXAgd2luZG93KSkpCisJ CSAgIH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