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: Thu, 30 Jan 2025 19:09:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>> But the fix is simple: just reverse the logic of argument 'reverse'
>> in 'rotate-windows'.
>
> Say we have window layout:
>
> +-------+--------+            
> |       |    B   |            
> |    A  +--------+  
> |       |    C   |            
> +-------+--------+
>
> If we call 'rotate-windows', this is what we get
>
> +--------+---------+
> |        |     A   |
> |     C  +---------+
> |        |     B   |
> +--------+---------+
>
> So here 'rotate-windows' makes it clockwise, it's also a bit more
> intituve imo, it just works like a other-window but instead of you
> moving, you get the windows to move insteed.

Indeed, in this layout 'rotate-windows' works clockwise.
But in this layout 'rotate-windows' is counterclockwise:

+-------+-------+            
|       A       |            
+---------------+  
|   B   |   C   |            
+-------+-------+

->

+-------+-------+            
|       C       |            
+---------------+  
|   A   |   B   |            
+-------+-------+



reply via email to

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