[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] Brief v5.90: neighboring window merge on deletion
From: |
Juri Linkov |
Subject: |
Re: [ELPA] Brief v5.90: neighboring window merge on deletion |
Date: |
Sat, 23 Mar 2024 20:33:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> In case you are interested. I've just released the Brief editor mode
> v5.90 targeting the feature `merge neighboring window on deletion'.
> This functionality merges two aligned adjacent windows regardless of how
> Emacs currently splits the frame. It meaning that even if two aligned
> neighboring windows in the same frame belong to different parent
> (internal) windows, they can almost always be merged by reconstructing
> the window tree properly.
Please explain how this differs from the value 'pos'
of 'delete-window-choose-selected'.
> This is probably not a big deal but for me this task had been postponed
> for over 20 years due to not finding time to implement them until
> recently. It took me sometime early this year to figure out an
> efficient algorithm. It reconstructs window subtree reorganizing
> vertical/horizontal spliter lines to achieve the desired window layout.
> However, due to the restriction on how Emacs split windows there are
> still layouts that can't be displayed by Emacs. A typical such window
> layout is:
> ______
> |____| |
> | |__|_|
> |_|____|
>
> Any such structure within any sub-window of a frame cannot be displayed,
> as far as I know (let me know if any of you know a simple way to do so).
> But for regular daily use we don't really need this kind of window
> layout so it won't be supported unless a simple approach is found.
>
> Notice that the atomic window is not yet properly handled and is
> on-going, if you find any other window attribute not taken care of
> properly, please be sure to let me know.
- [ELPA] Brief v5.90: neighboring window merge on deletion, 路客, 2024/03/22
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, Emanuel Berg, 2024/03/22
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion,
Juri Linkov <=
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, 路客, 2024/03/24
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, martin rudalics, 2024/03/24
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, 路客, 2024/03/24
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, martin rudalics, 2024/03/25
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, 路客, 2024/03/25
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, martin rudalics, 2024/03/26
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, Eli Zaretskii, 2024/03/26
- Re: [ELPA] Brief v5.90: neighboring window merge on deletion, martin rudalics, 2024/03/27