unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Chris McMahan <cmcmahan@one.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Vertical window split by default
Date: Fri, 20 Mar 2009 09:34:47 -0400	[thread overview]
Message-ID: <80ljr09v2g.fsf@one.net> (raw)
In-Reply-To: ae22a760-9b54-4590-a741-3e6750ed46f2@h28g2000yqd.googlegroups.com

etay.meiri@gmail.com writes:

> Hi,
>
> When I execute a shell command such as grep or make emacs
> automatically splits the screen horizontally and executes the command
> on the right hand side.
> How can I get it to split vertically and execute the command on the
> lower window?
>
> Thanks,
>
> -Etay

If you're using emacs 23, you can adjust the value of 
split-width-threshold.

Here's the documentation:

: split-width-threshold is a variable defined in `window.el'.
: Its value is 192
: 
: Documentation:
: Minimum width of window to be split horizontally.
: If the value is a number, `display-buffer' can split a window
: only if it has at least as many columns.  If the value is nil,
: `display-buffer' cannoCt split a window horizontally.
: 
: You can customize this variable.
: 
: This variable was introduced, or its default value was changed, in
: version 23.1 of Emacs.

I have it set to a value wider than my current diminutive moniter (MSI
Wind netbook) can handle, and the splits are now occurring vertically
instead of horizontally.

- Chris

-- 
     (.   .)
  =ooO=(_)=Ooo=====================================
  Chris McMahan | first_initiallastname@one.dot.net
  =================================================


  parent reply	other threads:[~2009-03-20 13:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-20  8:00 Vertical window split by default etay.meiri
2009-03-20  9:32 ` Peter Dyballa
     [not found] ` <mailman.3622.1237541562.31690.help-gnu-emacs@gnu.org>
2009-03-20 10:00   ` etay.meiri
2009-03-20 11:22     ` thierry.volpiatto
2009-03-20 11:27     ` Peter Dyballa
2009-03-20 11:38 ` weber
2009-03-20 13:34 ` Chris McMahan [this message]
2009-03-20 14:09   ` Juanma Barranquero
     [not found]   ` <mailman.3635.1237558186.31690.help-gnu-emacs@gnu.org>
2009-03-20 14:56     ` Chris McMahan

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=80ljr09v2g.fsf@one.net \
    --to=cmcmahan@one.net \
    --cc=help-gnu-emacs@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.
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).