From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Forcing M-X compile to split window vertically? Date: Tue, 10 Jan 2012 19:57:30 -0700 Message-ID: <20120111025730.GA23326@discord.proulx.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1326250669 5732 80.91.229.12 (11 Jan 2012 02:57:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2012 02:57:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Roy Smith Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 11 03:57:42 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkoNh-0000Ig-5C for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2012 03:57:41 +0100 Original-Received: from localhost ([::1]:42467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkoNg-0002C7-Ou for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Jan 2012 21:57:40 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkoNb-0002C0-TX for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 21:57:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkoNb-0000Jx-35 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 21:57:35 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:58463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkoNa-0000JS-Tu for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 21:57:35 -0500 Original-Received: from discord.proulx.com (discord.proulx.com [172.27.61.2]) (Authenticated sender: discord) by joseki.proulx.com (Postfix) with ESMTPA id 594EE211D2; Tue, 10 Jan 2012 19:57:32 -0700 (MST) Original-Received: by discord.proulx.com (Postfix, from userid 1000) id 96ACCD3839B; Tue, 10 Jan 2012 19:57:30 -0700 (MST) Mail-Followup-To: Bob Proulx , Roy Smith , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83448 Archived-At: Roy Smith wrote: > I'm using GNU Emacs 23.1.1. When I run M-X compile, the window is > split into two. Depending on the aspect ratio of my original > window, it automagically splits it horizontally or vertically. How > can I force it to only split vertically? I found that annoying too. The documentation says: By default, these commands split the window vertically when there is only one. You can customize the variables `split-height-threshold' and `split-width-threshold' to split the window horizontally instead. So setting split-width-threshold to nil solves the problem. (setq split-width-threshold nil) Bob