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: Tassilo Horn
Subject: Re: Patch: prefer-window-split-horizontally
Date: Wed, 15 Aug 2007 20:57:08 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

Hi Richard,

>     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'.
>
> It seems like overfeaturism to me.

I don't think so.  Although I don't know emacs internals very much, the
changes shouldn't be too big, e.g. modify `split-window' so that it
splits according the return value of `split-window-function' if no other
args except WINDOW are given.

And I think that the function in `split-window-function' should return
any symbol naming a function instead of only `split-window-vertically'
and `split-window-vertically'.  `split-window' could then funcall it.

I'd like to define functions such as
`split-window-horizontally-and-balance'.

What do you think?

Bye,
Tassilo
-- 
Once you go Norris, you are physically unable to go back. 





reply via email to

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