From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: compile, next-error, and vertical frame splitting Date: Tue, 11 May 2010 22:52:18 +0300 Message-ID: <83mxw6p66l.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1273607827 22590 80.91.229.12 (11 May 2010 19:57:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 May 2010 19:57:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 11 21:57:06 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OBvZg-00041T-4R for geh-help-gnu-emacs@m.gmane.org; Tue, 11 May 2010 21:57:04 +0200 Original-Received: from localhost ([127.0.0.1]:33667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBvZe-0003Rp-LL for geh-help-gnu-emacs@m.gmane.org; Tue, 11 May 2010 15:57:02 -0400 Original-Received: from [140.186.70.92] (port=53523 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBvXT-0002ZQ-Qn for help-gnu-emacs@gnu.org; Tue, 11 May 2010 15:54:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBvXS-0003Fw-9j for help-gnu-emacs@gnu.org; Tue, 11 May 2010 15:54:47 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:38565) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBvXS-0003FY-2S for help-gnu-emacs@gnu.org; Tue, 11 May 2010 15:54:46 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L2900000TTPZ100@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 11 May 2010 22:54:15 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.0.144]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L2900LJITYEYS80@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 11 May 2010 22:54:15 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:73637 Archived-At: > Date: Tue, 11 May 2010 12:17:17 -0500 > From: kent williams > > Somewhere between Emacs 22 and Emacs 23, a behavior changed: If you > run a compile, and it's the only window (i.e. if you type C-x 1), when > I use the next-error (C-x `) command, it splits the window vertically > -- i.e. the source file is next to the compilation buffer. It used to > split it horizontally, so that the source file is under the > compilation buffer. > > I want the old behavior back. The vertically split frame makes the > error messages hard to read due to word wrap. > > Is there some option I can set or do I have to hack into the lisp code? The new behavior tries to be smart, and decides how to split based on the dimensions of the frame. You can customize this behavior by setting split-height-threshold and split-width-threshold. See the documentation of these variables and of split-window-preferred-function. This is all in NEWS, btw.