From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: split-window-preferred-function Date: Sat, 22 Mar 2008 03:09:17 +0200 Organization: JURTA Message-ID: <87zlsrioq4.fsf@jurta.org> References: <47E188D5.5030502@gmx.at> <87hcf1rrdj.fsf@jurta.org> <47E37D5C.7040201@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206149057 4242 80.91.229.12 (22 Mar 2008 01:24:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2008 01:24:17 +0000 (UTC) Cc: emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 22 02:24:47 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JcsTV-0000B3-P2 for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2008 02:24:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcsSv-0003Da-4S for ged-emacs-devel@m.gmane.org; Fri, 21 Mar 2008 21:24:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcsSp-0003Ch-QG for emacs-devel@gnu.org; Fri, 21 Mar 2008 21:24:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcsSo-0003CF-7J for emacs-devel@gnu.org; Fri, 21 Mar 2008 21:24:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcsSo-0003CC-12 for emacs-devel@gnu.org; Fri, 21 Mar 2008 21:24:02 -0400 Original-Received: from relay03.kiev.sovam.com ([62.64.120.201]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JcsSn-0005Pp-SD for emacs-devel@gnu.org; Fri, 21 Mar 2008 21:24:02 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JcsSj-000KGH-0i; Sat, 22 Mar 2008 03:23:57 +0200 In-Reply-To: <47E37D5C.7040201@gmx.at> (martin rudalics's message of "Fri, 21 Mar 2008 10:18:20 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 1678f860418e8694a064f05d5e21ded6 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2459 [Mar 21 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 11 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93156 Archived-At: >> Maybe a function in `split-window-preferred-function' should take care >> of all these conditions to decide how to split within a given >> window configuration? > > Writing such a function is not entirely trivial. Who's supposed to > write `split-window-preferred-function' in the first place? Wasn't the > original motivation of this to simply allow horizontal splitting? Maybe we should write a horizontal splitting version of split-window-preferred-function that will split horizontally if the value of a new boolean user option is non-nil, or return nil otherwise to continue the standard processing of vertical splitting? -- Juri Linkov http://www.jurta.org/emacs/