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: Juri Linkov
Subject: Re: Patch: prefer-window-split-horizontally
Date: Thu, 16 Aug 2007 23:21:44 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>> There was an idea to rewrite the whole `display-buffer' in Lisp, and make
>> it more customizable.  But it seems it is impossible to rewrite it
>> completely, because the current C implementation processes its input
>> argument `frame' which isn't given to display-buffer-function:
>
>>     return call2 (Vdisplay_buffer_function, buffer, not_this_window);
>
>> which is called with `buffer' and `not_this_window', but not `frame'.
>
> Sounds like a bug to fix,

Adding a new argument will break existing implementations of
display-buffer-function in user programs and .emacs files.  I'm sure
they all have only two arguments, and calling them with three arguments
will fail.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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