bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3366: 23.0.94; doc of split-window-preferred-function, display-buffe


From: Stefan Monnier
Subject: bug#3366: 23.0.94; doc of split-window-preferred-function, display-buffer, etc.
Date: Wed, 27 May 2009 10:39:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

>>> Also `display-buffer' should call `split-window-preferred-function' at
>>> most once.  Calling it with the largest and the LRU window (which may
>>> designate one and the same window) appears merely disconcerting.
>> 
>> Agreed.  I have no idea why it's called several times as of now.
>> It clearly isn't due to backward compatibility since this is new in
>> Emacs 23.

> It is due to backward compatibility.  The only new thing here is that
> `split-window-preferred-function' can decide whether and how to split
> the window.  If it returns nil for the first call it will be called a
> second time, though.

Huh?  Emacs-22 does not have `split-window-preferred-function', so
I can't see how backward compatibility comes into the picture.


        Stefan





reply via email to

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