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.devel Subject: Re: Add function to rotate/transpose all windows Date: Tue, 15 Oct 2024 19:16:38 +0300 Organization: LINKOV.NET Message-ID: <86y12p5ok9.fsf@mail.linkov.net> References: <87setpdv21.fsf@gmail.com> <0138d382-8e63-4b53-8c2c-fece826a7d0a@gmx.at> <87plooaw1w.fsf@gmail.com> <87v7yeykr0.fsf@gmail.com> <19ca7821-e034-4ae5-9ff6-570243329d74@gmx.at> <87r09224pe.fsf@gmail.com> <87ikudk62k.fsf@gmail.com> <0d879e95-c37e-416d-b439-daa6384c4f30@gmx.at> <878qv8kws2.fsf@gmail.com> <87ed4xvf60.fsf@gmail.com> <861q0qfnhr.fsf@mail.linkov.net> <878quxdant.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> <87jze9sr2d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17386"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: martin rudalics , Eli Zaretskii , emacs-devel@gnu.org To: pranshu sharma Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 15 18:31:38 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 1t0kSQ-0004Qv-CX for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Oct 2024 18:31:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0kRi-0003Xt-Ml; Tue, 15 Oct 2024 12:30:54 -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 1t0kRh-0003XA-44 for emacs-devel@gnu.org; Tue, 15 Oct 2024 12:30:53 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0kRf-00075d-9F; Tue, 15 Oct 2024 12:30:52 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 3B1EF20008; Tue, 15 Oct 2024 16:30:45 +0000 (UTC) In-Reply-To: <87jze9sr2d.fsf@gmail.com> (pranshu sharma's message of "Tue, 15 Oct 2024 18:34:02 +1000") X-GND-Sasl: juri@linkov.net Received-SPF: pass client-ip=217.70.183.200; envelope-from=juri@linkov.net; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:324602 Archived-At: >>>> Then keybindings could be like these: >>>> >>>> C-x w r a rotate-windows-anticlockwise >>>> C-x w r c rotate-windows-clockwise >>>> C-x w r h flip-windows-horizontally >>>> C-x w r v flip-windows-vertically >>>> C-x w r t transpose-windows >>> >>> Yeah this seems good. >> >> I'm not sure whether "horizontally" and "vertically" are good terms. In >> the past, people complained that for example 'split-window-horizontally' >> could mean side-by-side or at some horizontal axis. Maybe >> 'flip-windows-left-right' and 'flip-windows-above-below' would be better >> and should be reflected in the key mnemonics somehow. > > I think in terms of flipping the window, horizontal/vertical don't > really leave that much room for interpretatin as > split-window-horizontally. flip-windows-left-right above-below seem > kind of clunky tbh, imo we should just go with horizontal/vertical, I > mean, worst case users will learn it by using it, or reading the > doctring. 99% of users should already know from > split-window-horizotnally and it's counter part what horizontal and > vertical means in the context of window. But I'm also fine with > left-right, only problem is that it will make searching through C-h f > and 'C-h m' a little bit weird Agreed, let's stick to the established terminology.