From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: How to configure default widow splitting orientation Date: Fri, 16 Jan 2009 17:03:02 -0600 Message-ID: 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> <87fxjij3xn.fsf@mcbain.luannocracy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232149255 12475 80.91.229.12 (16 Jan 2009 23:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2009 23:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 17 00:42:07 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 1LNyKA-0001Kt-9y for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Jan 2009 00:42:02 +0100 Original-Received: from localhost ([127.0.0.1]:36398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNyIt-0007g2-G3 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jan 2009 18:40:43 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 16 Jan 2009 17:03:00 -0600 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 48 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 65.45.140.26 Original-X-Trace: sv3-InCuwMiSUD0nDF+STfhtkh/3cR1K8Lh+tdNlMpDTs94TJlDEmPbOfINPFmepDRh+UNFvXxkJK5Od3TR!5l/myKdS3x6Z+5wecxJj9wmAo/kpjpFgkr/Rls4/K7EdEs4PCru1L56vd+H8KK/F9mYxFKnE7vT4!uQt0dRK7zIxyzKb4w9fBISM5LssqwQ== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:166091 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:61415 Archived-At: David Abrahams wrote: > on Fri Jan 16 2009, David Abrahams wrote: > >> 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 > > Okay, this is really weird. First I tried disabling my advice and > customizing split-window-preferred-function to 'split-window-horizontally > instead. All heck broke loose: just trying to do tab completion in the > minibuffer would result in "Attempt to split minibuffer window" errors. > Then I removed the customization and left my advice disabled. > > Everything worked exactly as it had seemed to with the advice > enabled. Beautiful! > > Why is that weird, though? Well, I finally broke down and wrote that > advice because I had gotten tired of getting the wrong window splits > while using my current version of Emacs, *a CVS snapshot from earlier > this month*. > > Hmm, (emacs-version) says: > > "GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-01-05 on mcbain" > > where is 23.1 and why does my snapshot have an earlier version number? I don't think it exists yet. That's why Hugo wrote "until I can ...." The 23.0.... whatever, suffixes are something like a beta version. > > Thanks, >