emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Ryan C. Thompson" <darwinawdwinner@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Vertical split in Emacs 23
Date: Fri, 31 Jul 2009 09:28:44 -0400	[thread overview]
Message-ID: <h4urie$g55$1@ger.gmane.org> (raw)
In-Reply-To: <87bpn791do.fsf@gmail.com>

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

  reply	other threads:[~2009-07-31 13:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 17:51 Vertical split in Emacs 23 Paul Mead
2009-07-15 18:08 ` Benjamin Andresen
2009-07-16  7:22   ` Paul Mead
2009-07-16  8:35     ` Cian OConnor
2009-07-16 22:13     ` Bastien
2009-07-26 10:36       ` Paul Mead
2009-07-31 13:28         ` Ryan C. Thompson [this message]
2009-07-16 14:46 ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h4urie$g55$1@ger.gmane.org' \
    --to=darwinawdwinner@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).