[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add function to rotate/transpose all windows
From: |
Pranshu Sharma |
Subject: |
Re: Add function to rotate/transpose all windows |
Date: |
Sat, 09 Nov 2024 12:14:49 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
martin rudalics <rudalics@gmx.at> writes:
>> Now that I think about it, using the split top level sibling approach
>> first, but it will requite the (flatten-list) approach, if doing that
>> why not just go with the first thing I made.
>
> Your last version I tried does use 'flatten-list'. So what do you mean
> here?
>
> I never used 'flatten-list' and I see only one use of it in the Emacs
> sources.
Just out of curiosity, where?
> The one time I tried to debug your code I gave up because scanning
> that flattened list went on for ages. I think that keeping the
> original window structure around until rotating completes is essential
> for debugging. Any modifications like pruning or flattening are only
> distracting in this regard.
I don't have anything aginast flattening list, but the problem is that
when you are using it, it means that you are finding a window's first
live descendent. Like you said about 2 weeks ago, this is not ideal, as
you are splitting window A with C, when they are not siblings.
___________
| | C |
| A |----|
| | B |
|_____|____|
This approach will have to be used in the split top level siblings approach.
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/11/02
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/11/08
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/11/09
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/11/09
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/11/09
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/11/09
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/11/10
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/11/10
- Re: Add function to rotate/transpose all windows, Pranshu Sharma, 2024/11/11
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/11/11