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: Tue, 24 Dec 2024 17:37:45 +1000 Message-ID: <87msglr0om.fsf@bauherren.ovh> References: <87setpdv21.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> <87ikr97u86.fsf@bauherren.ovh> <87msglr2zx.fsf@mail.linkov.net> 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="16791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: martin rudalics , "eliz@gnu.org" , emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 24 12:59:13 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 1tQ3ZA-0004Cu-PI for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Dec 2024 12:59:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQ3Yy-0002Q5-LV; Tue, 24 Dec 2024 06:59:00 -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 1tPzUR-0001DG-6y for emacs-devel@gnu.org; Tue, 24 Dec 2024 02:38:03 -0500 Original-Received: from mail.bauherren.ovh ([45.32.179.127]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPzUO-00039G-Jw; Tue, 24 Dec 2024 02:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bauherren.ovh; s=mail; t=1735025876; bh=U41LQes9S+YcsKaAmGXBDnhgsM+wGSqOT8ABI8YIjQk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OVilhmPL5bhyu91MgI/a6OTqZ/uckp3IPHDaEatWfuBKcmOd7IlRTsmw85EUg4wLM ykoHbFPkYmGTuL/x6+t2JcTKja7AMWYczZMZfxxOk8IoQsG98ScfiOn0qBnCC9OpRn bSMUpRlUgHCVl+NWs9LPqx59SBykTNpo0OYNbiTST9tsbS4NXRL8wRuJqCOGBO0qFt GIJG6uHEou7k9EjIzBk1I9c6Hyj1w5CS1MjV+UBHnGr9tzFPbtL4Y5E+Yu/URuxpw2 ay//05clOXbaD0q7CiVjezLzBr9Q1yYdjD7U6hmXeWFByuSUa2nBhlSmScv0AwpiAC +gjtsZqyH3IlA== In-Reply-To: <87msglr2zx.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 24 Dec 2024 09:07:46 +0200") Received-SPF: pass client-ip=45.32.179.127; envelope-from=pranshu@bauherren.ovh; helo=mail.bauherren.ovh X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FROM_FMBLA_NEWDOM28=0.799, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 24 Dec 2024 06:58:54 -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:326989 Archived-At: Juri Linkov writes: > None for rotate-windows? What about using the prefix > 'C-x w l' for layout commands? Then: > > - rotate-window-layout-clockwise: C-x w l r > - rotate-window-layout-anticlockwise: M-- C-x w l r (with negative > argument) > - flip-window-layout-horizontally: C-x w l h > - flip-window-layout-vertically: C-x w l v > - rotate-windows: C-x w r > - rotate-windows-back: M-- C-x w r (with negative argument) The negetive argument idea won't work because, no way to cycle the current window subtree back, as you would do with (rotate-windows 1). For this reason I think for this we should go with C-x w C-r for rotate-windows-back. The alternative would be to act diffrently with a number and a bolean, but that's too confusing, they are used interchangibly lot of the times. The rest is good. -- Pranshu Sharma