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



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to