[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3142: 23.0.92; split-window-prefered-function should be able to uses
From: |
Drew Adams |
Subject: |
bug#3142: 23.0.92; split-window-prefered-function should be able to usesplit-window-horizontally/split-window-vertically |
Date: |
Wed, 29 Apr 2009 06:50:41 -0700 |
> Remains the question whether `split-window-preferred-function' should
> always operate on the selected window or have a window
> argument. AFAICT
> nothing speaks for the window argument but the fact that
> people may have
> customized this already. Omitting the window argument would
> allow users
> to put `split-window-vertically' directly as value of
> `split-window-preferred-function' without having to delve any deeper.
I haven't followed this thread, and I'm not familiar with the commands in
question.
But if you have a choice between defining foo to be unary or nullary, consider
defining it with &optional: (defun foo (&optional window)...)
That allows use of foo as an object method for windows. That is, given a window,
`foo' is one of the functions that can be applied to it. If defined as nullary,
this is not possible.
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Jared Finder, 2009/04/27
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, martin rudalics, 2009/04/28
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Jared Finder, 2009/04/28
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Juri Linkov, 2009/04/28
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Stefan Monnier, 2009/04/28
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, martin rudalics, 2009/04/29
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Juri Linkov, 2009/04/29
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, martin rudalics, 2009/04/29
- bug#3142: 23.0.92; split-window-prefered-function should be able to usesplit-window-horizontally/split-window-vertically,
Drew Adams <=
- bug#3142: 23.0.92; split-window-prefered-function should be able to usesplit-window-horizontally/split-window-vertically, martin rudalics, 2009/04/30
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Stefan Monnier, 2009/04/29
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, martin rudalics, 2009/04/30
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Juri Linkov, 2009/04/30
- bug#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically, Stefan Monnier, 2009/04/30