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 Sharma
Subject: Re: Add function to rotate/transpose all windows
Date: Tue, 24 Dec 2024 17:37:45 +1000
User-agent: Gnus/5.13 (Gnus v5.13)

Juri Linkov <juri@linkov.net> writes:

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

The negetive argument idea won't work because, no way to cycle the
current window subtree back, as you would do with (rotate-windows 1).
For this reason I think for this we should go with C-x w C-r for
rotate-windows-back.  The alternative would be to act diffrently with a
number and a bolean, but that's too confusing, they are used
interchangibly lot of the times.  The rest is good.

-- 
Pranshu Sharma <https://p.bauherren.ovh>



reply via email to

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