[Top][All Lists]

[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: Thu, 16 Aug 2007 08:28:16 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

Hi Stefan,

>>> 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.
>> The suggested variable's function could be used in `split-window',
>> couldn't it?
> Sounds more delicate: split-window is a lower-level function used by
> several other pieces of code that want to have precise control over
> the layout of windows inside a frame (e.g. Gnus).

Since `split-window-function' would default to `split-window-vertically'
it shouldn't make a difference.  And of course `split-window-function'
may only be used in `split-window' if its parameters SIZE and HORFLAG
are omitted.

Do you think there are packages that would still be break on this?  If
yes, then maybe the packages should be adapted to the new behavior (by
adding the required params to `split-window' if they need fine grained
control) and not the other way around.


reply via email to

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