[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 |
> | | | | | |
> +--------------+--------------+ +--------------+--------------+
- Re: Functions transpose/rotate/flip windows, (continued)
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/17
- Re: Functions transpose/rotate/flip windows, Pranshu, 2025/01/18
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/18
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/20
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/25
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/25
- Re: Functions transpose/rotate/flip windows, Juri Linkov, 2025/01/25
- Re: Functions transpose/rotate/flip windows, Juri Linkov, 2025/01/18
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/11
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/13
- Re: Functions transpose/rotate/flip windows,
Juri Linkov <=
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/14
- Re: Functions transpose/rotate/flip windows, Juri Linkov, 2025/01/14