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: Juri Linkov
Subject: Re: Prefer to split along the longest edge
Date: Wed, 18 Dec 2024 19:25:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>   There is another aspect that still can't be customized.
>   The choice of the window to split is hard-coded
>   in 'display-buffer-pop-up-window'.  It's either
>   the largest window or lru:
>
> and the primary client of such an option would be probably the program
> calling 'display-buffer' and not the user.

Adding a special alist entry makes sense.  For example:

  (nil (window-to-split . lru))
  (nil (window-to-split . largest))

and also

  (nil (split-direction . horizontal))
  (nil (split-direction . vertical))



reply via email to

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