[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Vertical split in Emacs 23

From: Ryan C. Thompson
Subject: [Orgmode] Re: Vertical split in Emacs 23
Date: Fri, 31 Jul 2009 09:28:44 -0400
User-agent: Thunderbird (X11/20090608)

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))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]