[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prefer to split along the longest edge
From: |
Juri Linkov |
Subject: |
Re: Prefer to split along the longest edge |
Date: |
Mon, 16 Dec 2024 19:32:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) |
> I wrote a new patch that always fallback on vertical split, and I got rid
> of the weird (width > 80) condition since split-width-threshold already
> does it.
>
> The result is a simpler patch that works perfectly.
Thanks, a new patch is much better.
> It basically does that:
>
> if width > height:
> try to split horizontally, then try to split vertically
> else
> try to split vertically, then try to split horizontally
> fallback to vertical split
This makes sense, so Cc-ing Martin to confirm
if this is the right thing to do.
- Re: Prefer to split along the longest edge, (continued)
- Re: Prefer to split along the longest edge, Nicolas Desprès, 2024/12/18
- Re: Prefer to split along the longest edge, Eli Zaretskii, 2024/12/19
- Re: Prefer to split along the longest edge, martin rudalics, 2024/12/19
- Re: Prefer to split along the longest edge, Eli Zaretskii, 2024/12/19
- Re: Prefer to split along the longest edge, Nicolas Desprès, 2024/12/19
- Re: Prefer to split along the longest edge, martin rudalics, 2024/12/20
- Re: Prefer to split along the longest edge, Nicolas Desprès, 2024/12/20
- Re: Prefer to split along the longest edge, Robert Pluim, 2024/12/20
- Re: Prefer to split along the longest edge, Stephen Berman, 2024/12/20
- Re: Prefer to split along the longest edge, Nicolas Desprès, 2024/12/21
- Re: Prefer to split along the longest edge,
Juri Linkov <=
- Re: Prefer to split along the longest edge, martin rudalics, 2024/12/17
- Re: Prefer to split along the longest edge, Eli Zaretskii, 2024/12/17
- Re: Prefer to split along the longest edge, Liu Hui, 2024/12/16
- Re: Prefer to split along the longest edge, Juri Linkov, 2024/12/17
- Re: Prefer to split along the longest edge, Nicolas Desprès, 2024/12/17
- Re: Prefer to split along the longest edge, Nicolas Desprès, 2024/12/17
- RE: [External] : Re: Prefer to split along the longest edge, Drew Adams, 2024/12/16
- Re: [External] : Re: Prefer to split along the longest edge, Nicolas Desprès, 2024/12/17