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 11:19:53 +1000 Message-ID: <87ikr97u86.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="31869"; 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 24 04:21:11 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 1tPvTr-00089e-1N for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Dec 2024 04:21:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPvTT-0003tE-6M; Mon, 23 Dec 2024 22:20:47 -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 1tPtam-0001HM-TK for emacs-devel@gnu.org; Mon, 23 Dec 2024 20:20:13 -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 1tPtak-0000wN-J0; Mon, 23 Dec 2024 20:20:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bauherren.ovh; s=mail; t=1735003204; bh=fdCYty59fTBFIRITmIuLUOfZ24zYWEjGuA53ufDu3hc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ITiKKOVaoUwWTuJDUP9iW6Zee7XIh4VUypPFDMz+/RNS7qPo0Q9USy8o/ocd8feTJ abC7aTqghw/ye3GOST3TnIdfmIrwhpMI/8WwrEEieqOC7iedtIHDBF5U1kMBuX/Iiq /MsBzHjdHssKGGUOcz6FmiINTQJbh9GFDVjJVvncle/zUqGCgPz0BwU5H+vHikO6B2 Qe60D+jnBAEhILHUIG6Ydw9pdigg8hAVu8s84QLd5GXOXKEz1PlITLfoSOwioNP67o 1xrPhPwkq6dk2zJU54DAwbOTp86PA34lmjKNTxB78nwHWMhUQgWzx9SmUSw4j6jLVF 3zptV7Q+4eAFg== In-Reply-To: <787e1cf0-810c-4eea-8d89-03ee83f67807@gmx.at> (martin rudalics's message of "Tue, 17 Dec 2024 16:04:00 +0100") 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: Mon, 23 Dec 2024 22:20:43 -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:326946 Archived-At: So the function names and file is now decided(Eli, do yo agree so far?), we just need to finalise the bindings. Are you all fine with: - rotate-window-layout-clockwise: C-x w r +-----+ +-----+ | A | |B | | |-----| -> |--| A| |B | C| |C | | +-----+ +-----+ - rotate-window-layout-anticlockwise: C-x w C-r +-----+ +-----+ | A | | | C| |-----| -> |A |--| |B | C| | | B| +-----+ +-----+ - flip-window-layout-horizontally: Option 1: "C-x w h" Option 2: "C-x w f" +-----+ +-----+ | A | | A | |-----| -> |-----| |B | C| |C | B| +-----+ +-----+ - flip-window-layout-vertically: Option 1: "C-x w v" Option 2: "C-x w C-f" (Maybe we could use C-f for horizontal flip, depending on which one will be used more) +-----+ +-----+ | A | |B | C| |-----| -> |-----| |B | C| | A | +-----+ +-----+ - rotate-windows: None, for now +-----+ +-----+ | A | | B | |-----| -> |-----| |B | C| |C | A| +-----+ +-----+ - rotate-windows-back +-----+ +-----+ | A | | C | |-----| -> |-----| |B | C| |A | B| +-----+ +-----+ -- Pranshu Sharma