From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ryan C. Thompson" Subject: Re: Vertical split in Emacs 23 Date: Fri, 31 Jul 2009 09:28:44 -0400 Message-ID: References: <87tz1dsulc.fsf@gmail.com> <87vdltom3d.fsf@in-ulm.de> <87skgxf5wz.fsf@gmail.com> <87bpnkl1j8.fsf@bzg.ath.cx> <87bpn791do.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWsBZ-0002Pl-0D for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 09:30:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWsBU-0002Ip-5c for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 09:30:12 -0400 Received: from [199.232.76.173] (port=58957 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWsBT-0002Ia-Sb for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 09:30:07 -0400 Received: from main.gmane.org ([80.91.229.2]:39597 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 1MWsBT-0000c0-8m for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 09:30:07 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1MWsBO-0002W2-Oe for emacs-orgmode@gnu.org; Fri, 31 Jul 2009 13:30:02 +0000 Received: from pool-173-70-28-125.nwrknj.fios.verizon.net ([173.70.28.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Jul 2009 13:30:02 +0000 Received: from darwinawdwinner by pool-173-70-28-125.nwrknj.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Jul 2009 13:30:02 +0000 In-Reply-To: <87bpn791do.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I believe the function you're looking for is split-window-sensibly. Try M-x describe-function split-window-sensibly. It describes all the relevant variables that control its behavior. If you wish to affect the behavior of only a specific case of splitting windows (for example, the org-todo function) you can use advice to temporarily modify one or more of these variables for the duration of the function call. For example, the following (untested!) code should guarantee a vertical split for org-todo: (defadvice org-todo (around tweak-splitting-behavior activate) "Tweak the sensible window splitting behavior for org-todo." (let ((split-height-threshold 0)) ad-do-it))