From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pranshu Sharma via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Add function to rotate/transpose all windows Date: Wed, 18 Dec 2024 01:36:01 +1000 Message-ID: <87ttb2cof2.fsf@bauherren.ovh> References: <87setpdv21.fsf@gmail.com> <877c8wadke.fsf@gmail.com> <878qt8spp2.fsf@gmail.com> <0ce35c7a-8b28-4905-a6ab-caf50f2fc750@gmx.at> <87mshl2i6h.fsf@gmail.com> <9b460366-f34e-48f6-a680-e7fa5bc7f598@gmx.at> <87bjy03fql.fsf@gmail.com> <356d63bc-818c-428c-b31b-a0eb227b3a8a@gmx.at> <87o720gjst.fsf@gmail.com> <7dfe87a0-b367-47df-86df-f8fd95163fd6@gmx.at> <8734jbz8sb.fsf@gmail.com> <50ab6c0a-6afb-4727-9094-178668fc4f4e@gmx.at> <87zflfc3cd.fsf@gmail.com> <87y10ycxv6.fsf@gmail.com> <87mshbiiee.fsf@bauherren.ovh> <30c31060-6be4-4dab-8e49-c6f543821ea5@gmx.at> <87y10ecxk9.fsf@bauherren.ovh> <787e1cf0-810c-4eea-8d89-03ee83f67807@gmx.at> Reply-To: Pranshu Sharma Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9291"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Juri Linkov , "eliz@gnu.org" , emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 17 17:21:06 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 1tNaJm-0002DR-NU for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Dec 2024 17:21:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNaIp-0004dP-0p; Tue, 17 Dec 2024 11:20:07 -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 1tNZca-0004wt-CY for emacs-devel@gnu.org; Tue, 17 Dec 2024 10:36:29 -0500 Original-Received: from [2001:19f0:7400:14e3:5400:5ff:fe30:b63e] (helo=mail.bauherren.ovh) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNZcW-0006ol-UQ; Tue, 17 Dec 2024 10:36:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bauherren.ovh; s=mail; t=1734449778; bh=G1pje53FO80AirkTJ6kaKUgnNExxFB+uFn+AhNtmkyA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WtAClcVkVu7CgoigvcPfBysjx/R5Oc1csV8AMs7MUthkBWGbo/H1GIcyYUXsiEakU AbAGuT1AlIvbpidUZ/IqFmt7Lpq2oF18oMYI7WO63/yr0hgTw3sLyic3/PFSoXFcF1 0v/XCSVkgBe3HIkxD0UA9+iZ31i5suNaBcL8eImQpId4Hs3Ci5G5oPZeVdzkNGySC3 YP0BgQ2guwHRPqiU7TGdaqutRcp9BdQzrHNVlaqe50O8gOV2rqLKJ1nxf0H8J7+sTr HtoDXcNgrA7garIj85DSndAG30+gN2w2QTsoot4dqQpQ3xhWutwU0Hv21JQ6JTQ2+/ b4MekTN3xEZWA== In-Reply-To: <787e1cf0-810c-4eea-8d89-03ee83f67807@gmx.at> (martin rudalics's message of "Tue, 17 Dec 2024 16:04:00 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:19f0:7400:14e3:5400:5ff:fe30:b63e (failed) Received-SPF: pass client-ip=2001:19f0:7400:14e3:5400:5ff:fe30:b63e; envelope-from=pranshu@bauherren.ovh; helo=mail.bauherren.ovh X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FROM_FMBLA_NEWDOM28=0.798, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 17 Dec 2024 11:20:04 -0500 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:326601 Archived-At: martin rudalics writes: > We have to resolve the following issues: > > - Which of my changes should I install. I think the diff I posted on > 2024-11-14 should suffice. Right? I attach a copy so you can check. yes, thats fine > - Have you settled on final names for your functions? I need them so I > can write a(n at least) preliminary section in the Elisp manual. I have > - Have the keybindings been established? Juri, what do you think? IMO we could have C-x w t - transpose f - flip window veritcly C-f - flip window horizontally r - rotate clockwizse C-r - roate anti clocwise c - rotate layout C-c - other direction rotate layout IMO preserving keybindings for future use is premature optimisation, breaking backward compatibility in terms of keybindings is generally harmless. Also is there any reason emacs doesn't bind M-{A-Z} (eg M-H), even though they work on tty? If not, someone, if not us, should break the ice on using these bindings, we could bind rotate-window-layout to M-R. That could be super handy, it's much more ergonomic than suepr key. > - Where should your changes be installed? We discussed this previously, and decided that it should not be in window.el as it is loaded, instead we should put it in an autoloaded file. IMO we should make new file window-transpose.el, putting it in windowmove would not make much sense. wdyt?