GNU bug report logs - #3366
23.0.94; doc of split-window-preferred-function, display-buffer, etc.

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sun, 24 May 2009 17:05:06 UTC

Severity: minor

Tags: wontfix

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #45 received at 3366 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Drew Adams <drew.adams <at> oracle.com>, 3366 <at> debbugs.gnu.org
Subject: Re: bug#3366: 23.0.94; doc of split-window-preferred-function, display-buffer,
 etc.
Date: Wed, 27 May 2009 08:53:13 +0200
>> 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.

martin



This bug report was last modified 13 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.