From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.help Subject: Re: How to configure default widow splitting orientation Date: Fri, 16 Jan 2009 17:12:36 -0500 Message-ID: <87fxjij3xn.fsf@mcbain.luannocracy.com> References: <87bpz6pj4q.fsf@hubble.informatimago.com> <87ljyae3ad.fsf@thinkpad.tsdh.de> <38b2ab8a0809030309w1fafb621sf01c4bb830feb968@mail.gmail.com> <29de18070809030506y6d9b34a0pbf58670df23832e4@mail.gmail.com> <6fd5ec4f-fe44-43a6-b82a-31605dd96776@z66g2000hsc.googlegroups.com> <38b2ab8a0809040023i3a5f3d8bw9ba02bdca2951b64@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232145336 749 80.91.229.12 (16 Jan 2009 22:35:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2009 22:35:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 16 23:36:48 2009 Return-path: Envelope-to: geh-help-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 1LNxJ1-00049N-My for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jan 2009 23:36:47 +0100 Original-Received: from localhost ([127.0.0.1]:37049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNxHk-0006Xt-TV for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jan 2009 17:35:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNxHO-0006X1-7i for help-gnu-emacs@gnu.org; Fri, 16 Jan 2009 17:35:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNxHM-0006VU-Hw for help-gnu-emacs@gnu.org; Fri, 16 Jan 2009 17:35:05 -0500 Original-Received: from [199.232.76.173] (port=50113 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNxHM-0006VF-E4 for help-gnu-emacs@gnu.org; Fri, 16 Jan 2009 17:35:04 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:57433 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNxHL-0007vz-RT for help-gnu-emacs@gnu.org; Fri, 16 Jan 2009 17:35:04 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LNxHK-0002mC-KU for help-gnu-emacs@gnu.org; Fri, 16 Jan 2009 22:35:02 +0000 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jan 2009 22:35:02 +0000 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jan 2009 22:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:V32fSBj5uzWgpfllFThAdGY1KYY= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61413 Archived-At: on Thu Sep 04 2008, "Francis Moreau" wrote: > On Wed, Sep 3, 2008 at 6:18 PM, weber wrote: >> I used this for a while: >> >> > http://tsdh.wordpress.com/2007/03/09/automatically-split-window-horizontally-if-current-window-is-wide-enough/ >> > > Thanks ! > > This should do the trick until I upgrade to emacs 23.1 Hmm, I've been using something else (even though I am on an emacs snapshot and I should have a customizable `split-window-preferred-function'). I'm not sure yet whether my approach has any advantages over the customization; if not, I'm inclined to drop it. See http://github.com/techarcana/elisp/blob/7eb6347a0aab8f444c7b645f4b5383613493a913/elisp/config.d/window-splitting.el -- Dave Abrahams BoostPro Computing http://www.boostpro.com