[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add function to rotate/transpose all windows
From: |
martin rudalics |
Subject: |
Re: Add function to rotate/transpose all windows |
Date: |
Wed, 4 Dec 2024 18:56:19 +0100 |
User-agent: |
Mozilla Thunderbird |
The naming still isn't OK. Richard proposed to rename the old
'rotate-windows-anticlockwise' to 'rotate-window-layout-anticlockwise'.
Also, there
> Transform the layout of windows such that a window on top becomes a
> window on the right, a window on the right moves to the bottom, a window
> on the bottom moves to the left and a window on the left becomes one on
> the top.
is the explanation of 'rotate-windows-clockwise'.
The line
> If FRAME-OR-WINDOW window or frame, operate on it. If FRAME-OR-WINDOW is nil.
doesn't make sense. I'd still go with my earlier proposal
If FRAME-OR-WINDOW is nil, rotate the main window of the selected frame.
If FRAME-OR-WINDOW specifies a live frame, rotate the main window of
that frame. If FRAME-OR-WINDOW specifies a parent window, rotate that
window. In any other case and interactively with a prefix argument
rotate the parent window of the selected window.
If you think it's bad, please tell me why.
'flip-windows-horizontally' should then become
'flip-window-layout-horizontally'.
> Flip the windows horizontally as so the layout becomes it's horizontal
> reflection.
should be elaborated as well. Something like the windows on top move to
the bottom and vice-versa.
'transpose-windows' should become 'transpose-window-layout' and
'rotate-window-layout' should then probably become something like
'rotate-window-contents'. As soon as people use it for the first time,
they might come up with better name, hopefully.
> "Make every window it's previous window in the cyclic ordering of windows.
Better "Move windows into locations of their predecessors in cyclic ordering."
maybe.
> "Make every window it's next window in the cyclic ordering of windows.
Better "Move windows into locations of their successors in cyclic ordering."
maybe.
> If NO-RESIZE non-nil, the size argument of
> the window-split is converted from vertical to horizontal or vice versa,
> with the same proportion of the total split."
Then I misunderstood and you should probably call it RESIZE. But "the
size argument is converted" should probably become "the SIDE argument is
converted".
Our next task will then be to write the documentation of all commands
for the Elisp manual and we can do a more thorough explanation there.
There I'd like to show parent windows as in
______________________________________
| ______ ____________________________ |
|| || __________________________ ||
|| ||| |||
|| ||| |||
|| ||| |||
|| |||____________W4____________|||
|| || __________________________ ||
|| ||| |||
|| ||| |||
|| |||____________W5____________|||
||__W2__||_____________W3_____________ |
|__________________W1__________________|
(where W1 and W3 are parent windows) and show what rotating, transposing
and flipping the layouts does.
martin
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/01
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/01
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/12/01
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/02
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/12/03
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/04
- Re: Add function to rotate/transpose all windows,
martin rudalics <=
- Re: Add function to rotate/transpose all windows, Juri Linkov, 2024/12/04
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/05
- Re: Add function to rotate/transpose all windows, Juri Linkov, 2024/12/05
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/06
- Re: Add function to rotate/transpose all windows, Juri Linkov, 2024/12/06
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/05
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/05
- Message not available
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/12/17
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/12/17
- Re: Add function to rotate/transpose all windows, Juri Linkov, 2024/12/17