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 20:09:43 +1000 Message-ID: <87frmlnvyw.fsf@bauherren.ovh> References: <87setpdv21.fsf@gmail.com> <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> <87ttb2cof2.fsf@bauherren.ovh> <87seqmf9uj.fsf@mail.linkov.net> <877c7x4v4k.fsf@bauherren.ovh> <87msgtsc0t.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="29136"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Pranshu Sharma via "Emacs development discussions." , martin rudalics , "eliz@gnu.org" To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 18 14:12:47 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 1tNtr5-0007Q2-3c for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Dec 2024 14:12:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNtpt-0006ne-FE; Wed, 18 Dec 2024 08:11:35 -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 1tNr0H-0000mr-1C for emacs-devel@gnu.org; Wed, 18 Dec 2024 05:10:05 -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 1tNr0E-0003Yv-8M; Wed, 18 Dec 2024 05:10:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bauherren.ovh; s=mail; t=1734516593; bh=xOJvPkhqsbgoIZi/2aao7PrH5sQnQHw4hRn7Q8z5qsg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JBy6c5Bs9Gv0kiWgcp0TBiaQlPdownRFPCBcCVcoHYFzXjlAQ09e+f0ZzlmeW+lv3 /mvKphwzH9Nkt1eEg7j0Z0+aW93god7Yz6cqzl9KQNL10wpxoCcxX9x0K3nNhdUjvi PNRmh3VycoLtcX2SSQTEuBVNn/eIuhr4m2mmFw2Jyw3UA59zox2pnmKiWQST8CNAR7 6d5Xd8thO89n7CJKIn6i3ieqS5zLlo6YRY6lE8N6RTa8TSXB1OL9DIWVjcfdKT7VAa fLqo1xcTGi3/Q+wGGgZtzAjJd7InRZ6O2tZKReX3gl75H3Xg4rt7BnMADuRJUxH3Wa JvZpTj1Qz8ePQ== In-Reply-To: <87msgtsc0t.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 18 Dec 2024 09:29:22 +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.798, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_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: Wed, 18 Dec 2024 08:11:25 -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:326648 Archived-At: Juri Linkov writes: > This implies also forward-rotate-windows. But better to keep the same > name prefix while adding the suffix -back as in e.g. > Info-history-back, help-go-back, xref-go-back. You are right, roate-windows-back would be better >> Flip-diagnally pretty much means transpose in most cases, transpose >> is the established terminology already, eg when you transpose tables, >> and matracies. flip-window-layout-diagonally is a bit too verbose >> for me. > > Then transpose-windows is fine, and the docstring could refer > to similarity with matrix transposition, and also describe > flipping it over its diagonal. Ok, once we settle on the keybidnings and names, I will send final diff with updated docstring. >>> What is mnemonic of 'c'. I see no letter 'c' in "rotate layout". >> >> In my head I was thinking cycle-windows. Now I am stuck as to where >> we >> can put them, rotate-window-layout's and rotate-windows's logical >> keybindings are the same. Perhaps we might have to go with an >> unmemonic >> keybinding. > > Or we could try to find a better key. ideas? >>>> Imo preserving keybindings for future use is premature >>>> optimisation, >>>> breaking backward compatibility in terms of keybindings is >>>> generally >>>> harmless. >>> >>> Experience shows that replacing established keys is not quite >>> harmless. >> >> As in, what happens? > > People complain furiously that their favorite keys do not work anymore > as they used to. Oh, if seniors complaining about this is an issue, we can definetly look over it. I don't see window-toggle-side-windows being anyone's faviourate command. The only keybindng a senior might use is "C-x w {2,3}". The last keybinding drama I can remember was with the register thing, and that was a pretty signficant change. Are there any other examples where people complained? > 'C-x w' is two versions old since Emacs 29.1. 29.1 feature are lightspeed ahead for the kind of crowd we are talking about