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.devel Subject: Re: Add function to rotate/transpose all windows Date: Fri, 8 Nov 2024 16:52:52 +0100 Message-ID: <2654e075-f0c3-49da-8ed5-6b41fa15f2be@gmx.at> References: <87setpdv21.fsf@gmail.com> <86zfndi6wh.fsf@mail.linkov.net> <87zfncuqhu.fsf@gmail.com> <86v7y00w68.fsf@mail.linkov.net> <87y12smubh.fsf@gmail.com> <96ea5140-9043-4c1b-97f3-4c534296355e@gmx.at> <87frotqx90.fsf@gmail.com> <87y12iyidd.fsf@gmail.com> <87iktld1bd.fsf@gmail.com> <87r085r2gl.fsf@gmail.com> <87zfms6z1a.fsf@gmail.com> <71571413-02ba-4e3c-ad43-35c110811fab@gmx.at> <875xpfns32.fsf@gmail.com> <0a2f09a0-4115-4421-a391-30d27e7d0821@gmx.at> <87ses9k9wo.fsf@gmail.com> <877c9ersei.fsf@gmail.com> <8734k2rqdc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Juri Linkov , Eli Zaretskii , emacs-devel@gnu.org To: Pranshu Sharma Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 08 16:53:31 2024 Return-path: Envelope-to: ged-emacs-devel@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 1t9RIg-000AHS-Lb for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Nov 2024 16:53:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9RIT-00059v-8j; Fri, 08 Nov 2024 10:53:17 -0500 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 1t9RIB-0004zX-IP for emacs-devel@gnu.org; Fri, 08 Nov 2024 10:53:03 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9RI7-0007TQ-On; Fri, 08 Nov 2024 10:52:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1731081173; x=1731685973; i=rudalics@gmx.at; bh=lco+ejC1LYxRrqY2JUdBgoKpouHGVLzkbaa8JcvFyLU=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=StFzYCvsWLX2yQ7hLP3kTVZYw4qk4LbZ+tnR2JJaAwxYv6/q808NQ75IDLme5TpE o7wM7FSht8dy6CTAdI5VzYcNp+f/kc6lAUq6Z3xz4ICFiWBYH/gSYi4jLQWdkYRUz uFDCkqXk78/Ofvqh4x5zV7SdNGzgxMzdCxB32mt67ObsfGgl6Php+6Sn/WEGeGiw+ RLmD4GBUxczHxS80csY088Z3P/uMijN37CO5r3R1zNX30wj9o5iZd7zoi74lASSH/ tFt5rXC2lJZ4bGg/2Kgb4lhL1X84cyW6IQgDjfnUIrtHjSHeSZxMbm7for3t6EWgR Nsnoh968DxnLyimvCA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.97.81]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7QxL-1tsydd3Zld-00ztpR; Fri, 08 Nov 2024 16:52:52 +0100 Content-Language: en-US In-Reply-To: <8734k2rqdc.fsf@gmail.com> X-Provags-ID: V03:K1:WOBEsqbQcPrSf3oVKdGfdLspRyOqywYCPc/qk5oOt+H+S4pINGm ocUWho1Ti/nF+WwrVPxbjJKsVea8UfnDUi5l4swrvbzdg3RVnvaMR6xT6mldCpL7ttIlgF8 NNSYncRZXpmnzOGBjvC3//BrI64RQTmh0J0wAEXCIQ3CL7ZqWZXYpb7qk3N7KCms6b6hFwd /XJtwFEe/xGia7EWxvMKw== UI-OutboundReport: notjunk:1;M01:P0:fUuBdakLWvA=;5Qz+kMI6ZLj+2vj56Ceb3t/lnt8 vRYNh8+62zLFUKUkXH2aiTeMgIsKMwDEEs7kqYG0EJkRiigP5x6RPOMs/UU6PXI4W+ktVJY19 yOLuNILvq3vMEgvg5ICCDR7vjHqOj7sj+ODLfitHJQ1z0AyFdnt35UM1rygGi0alqR3o7rkrU lD7VazvtVpv39Q8CXq7VMo+Evm/EhB7WI1ZULSZH5aV3WJ5hq+0EQzvq4KlnuX0bEi1/HEexP bgg8p63uTdDMlKmZ1g/S248t7L+CWnRciS8m8GRwGpEznJSaWoBbaeUJff8GWOtCtmNncqO5M SYglxhSrbPjKg7pjnzefFbQL7RecD8Tw9IhOnSlxh201poPnfMXPMPx7vlddvlJ0LEcbV9Yxp AKCtyR+h3LUgXBhSQqU/0DnPxpqCruEmQI3fz9aNIBQKTCrxGXEWsdLiy987xu0NrYQ7niMRF brdrZwH23NQXt1UNop/YyFp5G2ccapnGe8teEFhbrlXwR3Apk1L0sfxsdbDsL+ra6H1HoAlq6 0XKXIc+pU7ScYLJXkKZsWlGYPBoIbQe7RlQYqOFhXCLog+GDGVvwPpQ6oxzuXo0tUeflkfpJp RhpaNAmRcIZY8s+gmX3egTN+qPbm+MKmXKKb04eyPZa/VS95unrVh/MlAxuf/nB8HQN0AZbL6 8I1V5hNYMaZnmHsmVuDcZbmMySIdLvh842z8O+YFVpFoc2LsPzLWaVFDD5KzujReBl5RMlqRF o7K93GW4+gy7SlMz1d9Czs1eatZp14fN4saqqPV9g7LDXDwfmzGhyJOd3BMhmJV6mCwHwuIR Received-SPF: pass client-ip=212.227.15.18; envelope-from=rudalics@gmx.at; helo=mout.gmx.net X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325295 Archived-At: > Now that I think about it, using the split top level sibling approach > first, but it will requite the (flatten-list) approach, if doing that > why not just go with the first thing I made. Your last version I tried does use 'flatten-list'. So what do you mean here? I never used 'flatten-list' and I see only one use of it in the Emacs sources. The one time I tried to debug your code I gave up because scanning that flattened list went on for ages. I think that keeping the original window structure around until rotating completes is essential for debugging. Any modifications like pruning or flattening are only distracting in this regard. martin