From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3366: 23.0.94; doc of split-window-preferred-function, display-buffer, etc. Date: Wed, 27 May 2009 10:39:54 -0400 Message-ID: References: <7BFD115BD21E4677AAB801DA5EBBFED1@us.oracle.com> <4A1A42F9.7050500@gmx.at> <779632281BA742BFB5A1470D08B17538@us.oracle.com> <4A1BB659.30003@gmx.at> <4A1CE359.1080603@gmx.at> Reply-To: Stefan Monnier , 3366@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243435941 17740 80.91.229.12 (27 May 2009 14:52:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2009 14:52:21 +0000 (UTC) Cc: 3366@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 27 16:52:18 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M9KUL-0006vk-UF for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2009 16:52:18 +0200 Original-Received: from localhost ([127.0.0.1]:49714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9KUL-000684-4d for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2009 10:52:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9KRW-0002wY-SD for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 10:49:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9KRR-0002sd-DO for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 10:49:21 -0400 Original-Received: from [199.232.76.173] (port=46039 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9KRQ-0002sH-S9 for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 10:49:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40427) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M9KRQ-0007q0-Ac for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 10:49:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4REnCfQ026652; Wed, 27 May 2009 07:49:13 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4REj4Wb026309; Wed, 27 May 2009 07:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 27 May 2009 14:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3366 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3366-submit@emacsbugs.donarmstrong.com id=B3366.124343520525855 (code B ref 3366); Wed, 27 May 2009 14:45:04 +0000 Original-Received: (at 3366) by emacsbugs.donarmstrong.com; 27 May 2009 14:40:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4REdxuh025802 for <3366@emacsbugs.donarmstrong.com>; Wed, 27 May 2009 07:40:01 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4FACftHErO+JxR/2dsb2JhbACBT81PhAwFhgA X-IronPort-AV: E=Sophos;i="4.41,260,1241409600"; d="scan'208";a="39170254" Original-Received: from 206-248-156-81.dsl.teksavvy.com (HELO ceviche.home) ([206.248.156.81]) by ironport2-out.teksavvy.com with ESMTP; 27 May 2009 10:39:54 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 4D193B40E5; Wed, 27 May 2009 10:39:54 -0400 (EDT) In-Reply-To: <4A1CE359.1080603@gmx.at> (martin rudalics's message of "Wed, 27 May 2009 08:53:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 27 May 2009 10:49:21 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28229 Archived-At: >>> 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