emacs-devel
[Top][All Lists]
Advanced

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

Re: Functions transpose/rotate/flip windows


From: Juri Linkov
Subject: Re: Functions transpose/rotate/flip windows
Date: Sat, 25 Jan 2025 19:51:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>>> BTW what kind of transofmration would occur, if you had window tree like
>>>
>>> (nil W1 (t W2 W3 W4))
>>> and you transform it to (flip the tree):
>>> (nil W4 (t W3 W2 W1))
>>>
>>> Hard to imagine, could potetnially be another useful thing.
>>
>> Can you tell me the sequence of splits needed to get there?
>
> C-x {3 o 2 2}
>
> Here is how the transformation would be
>
>  ___________      ___________ 
> |           |    |           |
> |     A     |    |     C     |
> |___________| -> |___________|
> |     |     |    |     |     |
> |  B  |  C  |    |  B  |  A  |
> |_____|_____|    |_____|_____|
>
> IMO this could be useful in the case you have many windows, but are only
> really working on 2.  Maybe a good name would be flip-windows-cyclicial?

Or reverse-window-layout.



reply via email to

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