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 13:54:12 -0400 Message-ID: References: <7BFD115BD21E4677AAB801DA5EBBFED1@us.oracle.com> <4A1A42F9.7050500@gmx.at> <779632281BA742BFB5A1470D08B17538@us.oracle.com> <4A1BB659.30003@gmx.at> <4A1CE359.1080603@gmx.at> <4A1D7250.8070301@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 1243447774 26775 80.91.229.12 (27 May 2009 18:09:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2009 18:09:34 +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 20:09:30 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 1M9NZ7-0006ma-L1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2009 20:09:25 +0200 Original-Received: from localhost ([127.0.0.1]:34625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9NZ7-00065c-1J for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2009 14:09:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9NZ2-00062o-Um for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 14:09:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9NYy-0005nZ-Ae for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 14:09:20 -0400 Original-Received: from [199.232.76.173] (port=37560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9NYy-0005n7-4f for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 14:09:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54326) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M9NYx-00030R-7K for bug-gnu-emacs@gnu.org; Wed, 27 May 2009 14:09:15 -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 n4RI9CnJ014042; Wed, 27 May 2009 11:09:13 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4RI05ft012029; Wed, 27 May 2009 11:00:05 -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 18:00:05 +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.124344686011302 (code B ref 3366); Wed, 27 May 2009 18:00:05 +0000 Original-Received: (at 3366) by emacsbugs.donarmstrong.com; 27 May 2009 17:54:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4RHsF0U011294 for <3366@emacsbugs.donarmstrong.com>; Wed, 27 May 2009 10:54:16 -0700 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n4RHsEVJ002291; Wed, 27 May 2009 13:54:14 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 2FA6E3A170; Wed, 27 May 2009 13:54:12 -0400 (EDT) In-Reply-To: <4A1D7250.8070301@gmx.at> (martin rudalics's message of "Wed, 27 May 2009 19:03:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3284=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 27 May 2009 14:09:20 -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:28236 Archived-At: >> Huh? Emacs-22 does not have `split-window-preferred-function', so >> I can't see how backward compatibility comes into the picture. > `split-window-preferred-function' is a stand-in for `split-window' and > that was called up to two times by Emacs 22. Or did you intend to move > the `get-largest-window' and `get-lru-window' calls and the check > whether the resulting frame is splittable to `split-window-sensibly'? So you're saying that it's difficult to preserve the old behavior, introduce split-window-preferred-function and also make sure that split-window-preferred-function is only called once? I guess you're right. It would require a different organization (e.g. moving or duplicating the calls to window-splittable-p outside of split-window-sensibly). Not worth the trouble. Stefan