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 01:48:21 +0300 Organization: JURTA Message-ID: <874ow84cp6.fsf_-_@mail.jurta.org> References: <49F6A25B.3050108@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 1240960337 3311 80.91.229.12 (28 Apr 2009 23:12:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2009 23:12:17 +0000 (UTC) Cc: 3142@emacsbugs.donarmstrong.com To: Jared Finder Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 01:12:07 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 1LywT6-0006tA-FD for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Apr 2009 01:12:04 +0200 Original-Received: from localhost ([127.0.0.1]:47864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LywT5-0008Ib-6W for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 19:12:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LywT1-0008II-80 for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LywSw-0008Gg-Hm for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11:58 -0400 Original-Received: from [199.232.76.173] (port=53887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LywSw-0008Gc-AK for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33813) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LywSv-0008Co-RX for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 19:11: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 n3SNBpeg017702; Tue, 28 Apr 2009 16:11:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3SNA69C016673; Tue, 28 Apr 2009 16:10:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 28 Apr 2009 23:10:06 +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.124095987814569 (code B ref 3142); Tue, 28 Apr 2009 23:10:06 +0000 Original-Received: (at 3142) by emacsbugs.donarmstrong.com; 28 Apr 2009 23:04:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3SN4XA6014560 for <3142@emacsbugs.donarmstrong.com>; Tue, 28 Apr 2009 16:04:35 -0700 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LywLk-000DUe-Aa; Wed, 29 Apr 2009 02:04:28 +0300 In-Reply-To: (Jared Finder's message of "Tue, 28 Apr 2009 10:21:51 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (x86_64-pc-linux-gnu) X-Scanner-Signature: 233cb89e4cdd9c68f6fe52a505261b56 X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 28 Apr 2009 19:11: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:27521 Archived-At: > That's not obvious! I like the idea of the split window thresholds, > but it needs to be a lot more obvious how to use them. What's wrong > with my suggestion to change the customize interface to have two more > options "Always split vertical" and "Always split horizontal" that > calls the appropriate functions? 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. This will allow defining three const values in defcustom: - the default function name; - vertically splitting function; - horizontally splitting function; - and user-defined function's name. -- Juri Linkov http://www.jurta.org/emacs/