[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split-window-preferred-function
From: |
Stefan Monnier |
Subject: |
Re: split-window-preferred-function |
Date: |
Thu, 20 Mar 2008 21:47:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> Maybe a function in `split-window-preferred-function' should take care
> of all these conditions to decide how to split within a given
> window configuration?
Also to decide *if* to split a window.
> This means we could remove `split-window' from the default value of
> `split-window-preferred-function', and then check in `display-buffer'
> if `split-window-preferred-function' is non-nil, then call it without
> checking any condition. Otherwise, call `split-window', i.e. exactly
> as it was implemented before introducing `split-window-preferred-function'.
I think we need to allow the function to return nil and in this case
continue with the rest of the code. I.e. it should be possible to
reproduce in Elisp what happens when split-window-preferred-function
is nil. A good way to make sure that's true is to write the code in
Elisp in the first place.
Stefan
- split-window-preferred-function, martin rudalics, 2008/03/19
- Re: split-window-preferred-function, Juri Linkov, 2008/03/20
- Re: split-window-preferred-function,
Stefan Monnier <=
- Re: split-window-preferred-function, Juri Linkov, 2008/03/21
- Re: split-window-preferred-function, Stefan Monnier, 2008/03/22
- Re: split-window-preferred-function, Juri Linkov, 2008/03/22
- Re: split-window-preferred-function, Juri Linkov, 2008/03/27
- Re: split-window-preferred-function, martin rudalics, 2008/03/28
- Re: split-window-preferred-function, Juri Linkov, 2008/03/28
- Re: split-window-preferred-function, martin rudalics, 2008/03/29
- Re: split-window-preferred-function, Juri Linkov, 2008/03/29
- Re: split-window-preferred-function, martin rudalics, 2008/03/29
- Re: split-window-preferred-function, Stefan Monnier, 2008/03/29