[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add function to rotate/transpose all windows
From: |
martin rudalics |
Subject: |
Re: Add function to rotate/transpose all windows |
Date: |
Fri, 4 Oct 2024 10:08:19 +0200 |
User-agent: |
Mozilla Thunderbird |
>> I thought when the two windows are neighbors (which they often enough
>> are) we could flip them.
>
> Flip windows would work to swap when they are sibling windows, and
> neigbor windows can sometimes not be siblings.
Right. I meant siblings (it was the typical two windows frame I had in
mind).
> I can't comment much cuz I'm not really familiar with these functions,
> but one thing that pops out is would maintaining a dead windows table
> take up lot of resources?
No. It's already here via the variable 'window-dead-windows-table'.
> Also do you think a function like 'window-rebuild-tree' would be useful,
> and it accepts the a tree like the output of window-tree-pixel-sizes.
> rn this is possible by using the following arguments for
> window--transpose-1:
> (window--transpose-1 tree-you-want (below . left) t)
> However this is not really obvious.
>
> I think it could be useful to add a wrapper with more obvious name
You would have to tell me in more detail what 'window-rebuild-tree'
would do. One thing 'window-tree-pixel-sizes' should then possibly do
is to include the identity of internal windows so 'window-rebuild-tree'
could resurrect them as well.
martin
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/01
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/10/02
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/03
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/10/03
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/03
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/10/03
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/04
- Re: Add function to rotate/transpose all windows,
martin rudalics <=
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/04
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/10/05
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/06
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/10/06
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/06
- Re: Add function to rotate/transpose all windows, martin rudalics, 2024/10/07
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/07
- Re: Add function to rotate/transpose all windows, Eli Zaretskii, 2024/10/03
- Re: Add function to rotate/transpose all windows, Juri Linkov, 2024/10/08
- Re: Add function to rotate/transpose all windows, pranshu sharma, 2024/10/09