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

>> We need some nice ASCII drawings for each command to add them to the
>> Emacs manual.  I think that these
>>
>>   +-----+     +-----+
>>   |  A  |     |B |  |
>>   |-----| ->  |--| A|
>>   |B | C|     |C |  |
>>   +-----+     +-----+
>>
>> are more or less OK but please try to leave at least one space on each
>> side of a letter.
>
> Here:

Adding one space on each side of a letter means much smaller ASCII drawings:

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

Or you intended larger for the manual, and smaller for the docstrings?

Also let's add some keybindings too.

> transpose
>
> +--------------+--------------+     +-----------------------------+
> |              |              |     |                             |
> |              |      B       |     |             A               |
> |     A        |              | --> |                             |
> |              +--------------+ --> +--------------+--------------+
> |              |      C       |     |      B       |    C         |
> |              |              |     |              |              |
> +--------------+--------------+     +--------------+--------------+
>
> rotate clockwise
>
> +--------------+--------------+     +-----------------------------+
> |              |              |     |                             |
> |              |      B       |     |             A               |
> |     A        |              | --> |                             |
> |              +--------------+ --> +--------------+--------------+
> |              |      C       |     |      C       |    B         |
> |              |              |     |              |              |
> +--------------+--------------+     +--------------+--------------+
>
> Anti clockwise
>
> +--------------+--------------+     +-------------+---------------+
> |              |              |     |      B      |     C         |
> |              |      B       |     |             |               |
> |     A        |              | --> +-------------+---------------+
> |              +--------------+ --> |                             |
> |              |      C       |     |             A               |
> |              |              |     |                             |
> +--------------+--------------+     +-----------------------------+
>
> Flip horizontally
>
> +--------------+--------------+     +--------------+--------------+
> |              |              |     |              |              |
> |              |      B       |     |     B        |              |
> |     A        |              | --> |              |              |
> |              +--------------+ --> +--------------+      A       |
> |              |      C       |     |     C        |              |
> |              |              |     |              |              |
> +--------------+--------------+     +--------------+--------------+
>
> Flip verticlly
>
> +--------------+--------------+     +--------------+--------------+
> |              |              |     |              |      C       |
> |              |      B       |     |              |              |
> |     A        |              | --> |       A      +--------------+
> |              +--------------+ --> |              |              |
> |              |      C       |     |              |      B       |
> |              |              |     |              |              |
> +--------------+--------------+     +--------------+--------------+
>
> Rotate
>
> +--------------+--------------+     +--------------+--------------+
> |              |              |     |              |              |
> |              |      B       |     |              |      A       |
> |     A        |              | --> |     C        |              |
> |              +--------------+ --> |              +--------------+
> |              |      C       |     |              |      B       |
> |              |              |     |              |              |
> +--------------+--------------+     +--------------+--------------+
>
> Rotate back
>
> +--------------+--------------+     +--------------+--------------+
> |              |              |     |              |              |
> |              |      B       |     |              |      C       |
> |     A        |              | --> |     B        |              |
> |              +--------------+ --> |              +--------------+
> |              |      C       |     |              |      A       |
> |              |              |     |              |              |
> +--------------+--------------+     +--------------+--------------+



reply via email to

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