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: Mon, 14 Oct 2024 20:32:34 +0300 Organization: LINKOV.NET Message-ID: <8634kybnf1.fsf@mail.linkov.net> References: <87setpdv21.fsf@gmail.com> <3d4546ac-70d9-4865-b42d-0dc50cb0f3a7@gmx.at> <878qvcgqpu.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6268"; 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 Mon Oct 14 19:50:44 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 1t0PDO-0001WD-I2 for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Oct 2024 19:50:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0PCM-0005NZ-3i; Mon, 14 Oct 2024 13:49:38 -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 1t0PCF-0005N3-3B for emacs-devel@gnu.org; Mon, 14 Oct 2024 13:49:32 -0400 Original-Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0PCD-0001Y7-3v; Mon, 14 Oct 2024 13:49:30 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 1A12BC0004; Mon, 14 Oct 2024 17:49:19 +0000 (UTC) In-Reply-To: <87y12smubh.fsf@gmail.com> (pranshu sharma's message of "Sun, 13 Oct 2024 15:43:30 +1000") X-GND-Sasl: juri@linkov.net Received-SPF: pass client-ip=2001:4b98:dc4:8::226; envelope-from=juri@linkov.net; helo=relay6-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, 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:324574 Archived-At: >> Also there is 'C-x w d' bound to toggle-window-dedicated, >> so the key [D] can't be used to [D]elete a window >> neither to [D]isplay a window in the specified direction. > > toggle window dedicated seems like an extremely useless command tbh, > have you should about binding it to C-x w D or C-x w C-d. I prefer the > former, but capital keys are not really used in C-x maps, but lots of > major modes(gnus,org) use them. 'C-x w D' is fine since "D" is displayed on the mode-line for strongly dedicated windows. > Also for the delete-window, you could maybe bind it to C-x w k, for kill > window, or C-x w , not perfect but better than nothing. 'C-x w k' would be more suitable for 'quit-window' with its KILL argument set to t. > Also is windmove not responiseble for these bindings? windmove commands are exactly what should be bound to these keys because there are no default short keybindings for windmove-display-default-keybindings, windmove-delete-default-keybindings, etc. >>>> Or maybe better to move the toggle commands to the prefix 'C-x w t': >>>> >>>> 'C-x w t d' for 'toggle-window-dedicated' and >>>> 'C-x w t s' for 'window-toggle-side-windows'. >>> >>> maybe, but my rsi says no >> >> Depends on how often these key sequences are used. > > If we are also coutning that in, do you think C-x w ^ map should be > moved to C-x w t (for tear-off) instead? I mean those keys are > frequently used if you have multitab/frame workflow, and pressing > 'C-x w ^' a lot is perfect RSI fuel. '^' is not easy to type indeed, so any suggestions are welcome. Then with the prefix 'C-x w t' we could replace C-x w ^ f tear-off-window with C-x w t f tear-off-window with mnemonic 'w t f'.