[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Functions transpose/rotate/flip windows
From: |
Pranshu Sharma |
Subject: |
Re: Functions transpose/rotate/flip windows |
Date: |
Mon, 13 Jan 2025 18:24:06 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
martin rudalics <rudalics@gmx.at> writes:
>> Ok, I fixed them now. A new diff is attached.
>
> I pushed window-x.el to master now without any further testing or
> looking into it. I plan to fix a few things in it but maybe Eli wants
> to make some major corrections first.
>
> 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:
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 |
| | | | | |
+--------------+--------------+ +--------------+--------------+
I also exported these to fancy images usign ditaa:
https://p.bauherren.ovh/2025/wtp/main.html
--
Pranshu Sharma <https://p.bauherren.ovh>
- Re: Functions transpose/rotate/flip windows, (continued)
- Re: Functions transpose/rotate/flip windows, Eshel Yaron, 2025/01/11
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/11
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/12
- Re: Functions transpose/rotate/flip windows, Eshel Yaron, 2025/01/12
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/14
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/12
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/14
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/14
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/14
- Re: Functions transpose/rotate/flip windows, Pranshu Sharma, 2025/01/11
- Re: Functions transpose/rotate/flip windows,
Pranshu Sharma <=
- Re: Functions transpose/rotate/flip windows, Juri Linkov, 2025/01/14
- Re: Functions transpose/rotate/flip windows, martin rudalics, 2025/01/14
- Re: Functions transpose/rotate/flip windows, Juri Linkov, 2025/01/14