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: Pranshu Sharma
Subject: Re: Functions transpose/rotate/flip windows
Date: Tue, 28 Jan 2025 21:07:00 +1000
User-agent: Gnus/5.13 (Gnus v5.13)

martin rudalics <rudalics@gmx.at> writes:

>>> I now added the documentation to the Elisp manual.  Please have a look.
>>
>> Seems good to me, but I thought we would add this to emacs manual?
>
> I initially wanted to do that.  But the drawings are too large and likely
> not appropriate for the Emacs manual.

I see, btw I think having ascii in docstrings should be fine, some other
code in core does it, eg see docstring of
c-ts-mode--macro-heuristic-rules (it's not ascii drawing but it's still
diagram)

>> Yes, because their is an odd number of elements.  This command would
>> basiclly reverse the (window-list) (or the cyclic odering of windows),
>> and in reversing, the middle pivot does not get changed if there is one.
>>
>>   ___________      ___________
>> |           |    |           |
>> |     A     |    |     D     |
>> |___________| -> |___________|
>> |   |   |   |    |   |   |   |
>> | B | C | D |    | C | B | A |
>> |___|___|___|    |___|___|___|
>>
>> Here the since there is even number of windows, no window is where it
>> was before.
>
> And what would the new command produce instead?
>

Wdym? I put the inital layout on left and layout after command is called
on right, I'll actually just implement it sometime to show


-- 
Pranshu Sharma <https://p.bauherren.ovh>



reply via email to

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