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#3142: 23.0.92; split-window-prefered-function should be able to use split-window-horizontally/split-window-vertically Date: Tue, 28 Apr 2009 21:29:14 -0400 Message-ID: References: <49F6A25B.3050108@gmx.at> <874ow84cp6.fsf_-_@mail.jurta.org> Reply-To: Stefan Monnier , 3142@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 1240969936 23974 80.91.229.12 (29 Apr 2009 01:52:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 01:52:16 +0000 (UTC) Cc: 3142@emacsbugs.donarmstrong.com, Jared Finder To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 03:52:06 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 1Lyyxx-0000JS-Lq for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 03:52:05 +0200 Original-Received: from localhost ([127.0.0.1]:49473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lyyxw-0002dP-LF for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 21:52:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lyyxq-0002cO-EX for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 21:51:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lyyxm-0002bV-2h for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 21:51:58 -0400 Original-Received: from [199.232.76.173] (port=57636 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lyyxl-0002bS-SY for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 21:51:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45973) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lyyxl-0004ia-BM for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 21:51:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3T1ppOV026083; Tue, 28 Apr 2009 18:51:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3T1Z4Ot021343; Tue, 28 Apr 2009 18:35: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, 29 Apr 2009 01:35:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3142 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3142-submit@emacsbugs.donarmstrong.com id=B3142.124096856720016 (code B ref 3142); Wed, 29 Apr 2009 01:35:04 +0000 Original-Received: (at 3142) by emacsbugs.donarmstrong.com; 29 Apr 2009 01:29:27 +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.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3T1TNVG020008 for <3142@emacsbugs.donarmstrong.com>; Tue, 28 Apr 2009 18:29:25 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4FAHdK90lFxLKx/2dsb2JhbACBUM0Ig3MFhTk X-IronPort-AV: E=Sophos;i="4.40,263,1238990400"; d="scan'208";a="37741249" Original-Received: from 69-196-178-177.dsl.teksavvy.com (HELO pastel.home) ([69.196.178.177]) by ironport2-out.teksavvy.com with ESMTP; 28 Apr 2009 21:29:16 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 777118291; Tue, 28 Apr 2009 21:29:14 -0400 (EDT) In-Reply-To: <874ow84cp6.fsf_-_@mail.jurta.org> (Juri Linkov's message of "Wed, 29 Apr 2009 01:48:21 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 28 Apr 2009 21:51:58 -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:27523 Archived-At: > I remember we once considered creating a default function with > "intelligently splitting" logic (IOW, moving the `else' part of `if' > in `window--try-to-split-window' to a separate function) > and setting the default value of `split-window-preferred-function' > to the name of this function. Indeed. IMO, `foo-function' should not accept nil as value and should be unconditionally called. Stefan