[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split-window-preferred-function
From: |
Juri Linkov |
Subject: |
Re: split-window-preferred-function |
Date: |
Fri, 04 Apr 2008 01:52:28 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> Currently `display-buffer' would not split the left window vertically
> because it is not full-width. With `split-width-threshold'
>
> && (WINDOW_FULL_WIDTH_P (XWINDOW (window)))
>
> we could write something like
>
> (>= (window-width window) (/ split-width-threshold 2))
>
> hence `split-width-threshold' would serve the dual role to allow
> splitting a window horizontally when it's at least that wide and
> vertically when it's at least half that wide (due to a preceding
> horizontal split maybe).
Yes, `split-width-threshold' might help in these situations.
But I think its default value should not be such large value as
`split-height-threshold' has. However, for the default behavior of
vertical splitting this large default value seems right.
This means there is a difference in semantics of `split-height-threshold'
and `split-width-threshold'. IOW, they are NOT complete equivalents
rotated 90 degrees.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: split-window-preferred-function, (continued)
- Re: split-window-preferred-function, Tassilo Horn, 2008/04/02
- Re: split-window-preferred-function, Stefan Monnier, 2008/04/02
- Re: split-window-preferred-function, Juri Linkov, 2008/04/02
- Re: split-window-preferred-function, martin rudalics, 2008/04/03
- Re: split-window-preferred-function, Tassilo Horn, 2008/04/03
- Re: split-window-preferred-function, Juri Linkov, 2008/04/03
- Re: split-window-preferred-function, Tassilo Horn, 2008/04/04
- Re: split-window-preferred-function, martin rudalics, 2008/04/04
- Re: split-window-preferred-function, Tassilo Horn, 2008/04/04
- Re: split-window-preferred-function, Stefan Monnier, 2008/04/04
- Re: split-window-preferred-function, Tassilo Horn, 2008/04/04
- Re: split-window-preferred-function, Stefan Monnier, 2008/04/04
- Re: split-window-preferred-function, Tassilo Horn, 2008/04/04