[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Add function to rotate/transpose all windows
From: |
pranshu sharma |
Subject: |
Add function to rotate/transpose all windows |
Date: |
Tue, 24 Sep 2024 23:45:42 +1000 |
An useful for function for C-x w map is to add a function to rotate
windows.
What I mean by this is basiclly rebuilt the window tree, but do vertical
split where a horizonal, and vice versa.
For example if we rotate the the frame with the windows A B C:
- | A | B | | A | |
- |-------| - > |---| C |
- | C | | B | |
I think this is extremly useful, as sometimes for example I open a
window with a horizontal split, and the lines are rather long, then I
have to manually toggle the window split to vertical.
An example of this:
https://www.emacswiki.org/emacs/TransposeFrame
The code in this has the following limitations:
- Does not work in emacs 29.1
- No good way to transpose only specific parts of window tree
- Add function to rotate/transpose all windows,
pranshu sharma <=
- Re: Add function to rotate/transpose all windows, Eli Zaretskii, 2024/09/24
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/09/25
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/09/25
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/09/25
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/09/25
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/09/25
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/09/25
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/09/26
- Re: Add function to rotate/transpose all windows, Eli Zaretskii, 2024/09/26
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/09/27