From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: Vertical window split by default Date: Fri, 20 Mar 2009 09:34:47 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Message-ID: <80ljr09v2g.fsf@one.net> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237556452 3470 80.91.229.12 (20 Mar 2009 13:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 13:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 20 14:42:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lkez9-0001iz-IA for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 14:42:07 +0100 Original-Received: from localhost ([127.0.0.1]:42632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lkexm-0006Hc-TO for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 09:40:42 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit4.readnews.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: panix5.panix.com Original-X-Trace: reader1.panix.com 1237556089 16897 166.84.1.5 (20 Mar 2009 13:34:49 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Fri, 20 Mar 2009 13:34:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (windows-nt) Cancel-Lock: sha1:15HgSLAS8CgrgsFQb3aljyiOywU= Original-Xref: news.stanford.edu gnu.emacs.help:167840 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63134 Archived-At: 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 =================================================