emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prefer to split along the longest edge


From: Nicolas Desprès
Subject: Re: Prefer to split along the longest edge
Date: Tue, 17 Dec 2024 09:26:57 +0100



On Tue, Dec 17, 2024 at 2:51 AM Liu Hui <liuhui1610@gmail.com> wrote:


在 2024/12/16 19:56, Nicolas Desprès 写道:


[...]

So it seems unnecessary to compare the width and height. How about
adding an option, e.g. split-window-preferred-direction, and change
the condition as follows?

if user prefers horizontal split
     try to split horizontally, then try to split vertically
else
     try to split vertically, then try to split horizontally


I think the longest choice is still needed for setup with one frame on a portrait screen and another one on a landscape screen.

-Nico

reply via email to

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