From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov 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: Wed, 29 Apr 2009 12:59:52 +0300 Organization: JURTA Message-ID: <87r5zbbttn.fsf@mail.jurta.org> References: <49F6A25B.3050108@gmx.at> <874ow84cp6.fsf_-_@mail.jurta.org> <49F7FE0F.1020107@gmx.at> Reply-To: Juri Linkov , 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 1241004933 16293 80.91.229.12 (29 Apr 2009 11:35:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 11:35:33 +0000 (UTC) Cc: Jared Finder , 3142@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 13:35:23 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 1Lz84R-0002eQ-HI for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 13:35:23 +0200 Original-Received: from localhost ([127.0.0.1]:41902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lz84Q-0000Gn-M4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 07:35:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lz81A-0007l6-8W for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 07:32:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lz815-0007jf-Cc for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 07:31:59 -0400 Original-Received: from [199.232.76.173] (port=35876 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lz814-0007jW-N0 for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 07:31:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44677) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lz814-0002Cj-0C for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2009 07:31:54 -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 n3TBVpT1014569; Wed, 29 Apr 2009 04:31:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3TBK5pY011001; Wed, 29 Apr 2009 04:20:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 29 Apr 2009 11:20:05 +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.12410036849738 (code B ref 3142); Wed, 29 Apr 2009 11:20:05 +0000 Original-Received: (at 3142) by emacsbugs.donarmstrong.com; 29 Apr 2009 11:14:44 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3TBEeso009726 for <3142@emacsbugs.donarmstrong.com>; Wed, 29 Apr 2009 04:14:42 -0700 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1Lz7kL-000HB4-CR; Wed, 29 Apr 2009 14:14:37 +0300 In-Reply-To: <49F7FE0F.1020107@gmx.at> (martin rudalics's message of "Wed, 29 Apr 2009 09:13:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (x86_64-pc-linux-gnu) X-Scanner-Signature: 7b6940144bc5d56bdacd12344196c2df X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 29 Apr 2009 07:31:59 -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:27536 Archived-At: > Remains the question whether `split-window-preferred-function' should > always operate on the selected window or have a window argument. AFAICT > nothing speaks for the window argument but the fact that people may have > customized this already. Omitting the window argument would allow users > to put `split-window-vertically' directly as value of > `split-window-preferred-function' without having to delve any deeper. How about adding two wrapper functions? (split-window-preferred-vertically &optional window) that calls split-window-vertically (split-window-preferred-horizontally &optional window) that calls split-window-horizontally -- Juri Linkov http://www.jurta.org/emacs/