emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add function to rotate/transpose all windows


From: Pranshu
Subject: Re: Add function to rotate/transpose all windows
Date: Wed, 25 Dec 2024 07:05:19 +0800
User-agent: K-9 Mail for Android

On 24 December 2024 8:58:10 pm GMT+08:00, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Juri Linkov <juri@linkov.net>
>> Cc: martin rudalics <rudalics@gmx.at>,  "eliz@gnu.org" <eliz@gnu.org>,
>>  emacs-devel <emacs-devel@gnu.org>
>> 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.

how will we know if or not a binding is used frequently?  IMO binding commands 
makes it more discoverable, and a specific window prefix map exists solely for 
this purpose. 

>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.

I didn't know situation was that bad, maybe someday I will read M-g change 
mailing list just for entertainment.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]