emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch: prefer-window-split-horizontally


From: Stefan Monnier
Subject: Re: Patch: prefer-window-split-horizontally
Date: Wed, 15 Aug 2007 15:35:18 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> What do you think about adding another variable `split-window-function'
> with the default value `split-window-vertically' or nil with the same
> meaning, and the possible other value `split-window-horizontally'?
> This would be like setting `ediff-split-window-function' to
> `split-window-horizontally'.

Just for the record: we're talking about something used only in
display-buffer so a name like `split-window-function' doesn't seem right.

And we already have display-buffer-function, which makes it possible to
customize the way the windows are split.  Now customizing
display-buffer-function is not always easy, so maybe
prefer-window-split-horizontally makes sense, or maybe we should simply
change the default behavior of display-buffer to do the suggested "if
current window is very wide, split it horizontally rather than vertically"
and not introduce any new customization (or maybe just a "ideal columns" or
"ideal aspect-ratio" based on which we decide whether to split vertically
rather than horizontally).


        Stefan




reply via email to

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