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: Mon, 27 Jan 2025 21:40:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

> Personally I prefer "_" over "-" for horizontal edges because then I
> don't need the "+" for corners but I'll leave that to your taste.

I tried this recipe from the new node (info "(elisp) Changing Window Layouts"):

> With a prefix argument and window B selected, window A would have
> remained unaffected and the layout would have changed as follows:
>
>          ___________       ___________
>         |           |     |           |
>         |     A     |     |     A     |
>         |___________| --> |___________|
>         |     |     |     |     |     |
>         |  B  |  C  |     |  C  |  B  |
>         |_____|_____|     |_____|_____|

But I get a different layout:

           ___________       ___________
          |           |     |           |
          |     A     |     |     A     |
          |___________| --> |___________|
          |     |     |     |_____B____ |
          |  B  |  C  |     |__________ |
          |_____|_____|     |_____C_____|

Also:

> -- Command: rotate-windows &optional window reverse
>     This rotate windows under WINDOW in cyclic ordering.  The optional
>     argument REVERSE means to rotate windows backward, in reverse
>     cyclic order.
>
>           ___________        ___________
>         |           |      |           |
>         |     A     |      |     B     |
>         |___________| -->  |___________|
>         |     |     |      |     |     |
>         |  B  |  C  |      |  C  |  A  |
>         |_____|_____|      |_____|_____|

I agree that 'rotate-windows' should rotate clockwise
as documented here.  But the current implementation
rotates counterclockwise.



reply via email to

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