From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Add function to rotate/transpose all windows Date: Tue, 24 Dec 2024 14:58:10 +0200 Message-ID: <86frmd2q71.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36992"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pranshu@bauherren.ovh, rudalics@gmx.at, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 24 13:58:29 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 1tQ4UX-0009Wk-HR for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Dec 2024 13:58:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQ4UM-0005DR-HE; Tue, 24 Dec 2024 07:58:18 -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 1tQ4UJ-0005Cs-Sy for emacs-devel@gnu.org; Tue, 24 Dec 2024 07:58:16 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQ4UH-0001Ya-Ux; Tue, 24 Dec 2024 07:58:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=L5rdDPNS22m1RZkoZw2HHL/qqTUNVf3N+o/q6F0a97A=; b=STBpAQellqkD jSQlzvcwhy1pCR++5io2jSNyFRMGAs60c4gfsRUGNiGc9ZSdq52g1jl3QwhVSz/WDw2sO/q6nv3MZ NajHKFmiDiCGczw+x5U/bEVrr+Tw2otkch0crrIKJe6r+UictO9JlSAeZqiHriIJa6dr9DLEVtin+ cnjGdTpwVVxeXbWAzZjsu5EX6FS2//LDPF04IODOg6dcnmCMrxZRc2wrh3aEwxh5vfRBiqkegvjHT igPMlLVdp3j/twrqvrKpzwLU4+RVLT07E5d4vvgMrP1PVd1EPp7L1b/mKGjoG0Es9bSz1YalbptK0 sCMe2w1qwgbnpKQWsWmzaA==; In-Reply-To: <87msglr2zx.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 24 Dec 2024 09:07:46 +0200) 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:327002 Archived-At: > From: Juri Linkov > Cc: martin rudalics , "eliz@gnu.org" , > emacs-devel > Date: Tue, 24 Dec 2024 09:07:46 +0200 > > > 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 > > - rotate-window-layout-anticlockwise: C-x w C-r > > - flip-window-layout-horizontally: Option 1: "C-x w h" > > Option 2: "C-x w f" > > - 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) > > - rotate-windows: None, for now > > - rotate-windows-back > > 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) Why are we allocating key bindings to commands before they are enough time in use to know whether they will be used frequently enough to justify a default binding? There's nothing wrong with a command which has no bindings, there are gobs of them in Emacs. Let's not rush into reserving key bindings we are not sure will be needed, because it will be nigh impossible to change or remove them later.