From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kent williams Newsgroups: gmane.emacs.help Subject: Re: compile, next-error, and vertical frame splitting Date: Tue, 11 May 2010 15:46:27 -0500 Message-ID: References: <83mxw6p66l.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273639258 15378 80.91.229.12 (12 May 2010 04:40:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 May 2010 04:40:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 12 06:40:57 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 1OC3kf-000626-1t for geh-help-gnu-emacs@m.gmane.org; Wed, 12 May 2010 06:40:57 +0200 Original-Received: from localhost ([127.0.0.1]:58492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OC3ke-0005ss-LK for geh-help-gnu-emacs@m.gmane.org; Wed, 12 May 2010 00:40:56 -0400 Original-Received: from [140.186.70.92] (port=50109 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBwLb-00082p-NG for help-gnu-emacs@gnu.org; Tue, 11 May 2010 16:46:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBwLa-0001ge-DS for help-gnu-emacs@gnu.org; Tue, 11 May 2010 16:46:35 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:51431) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBwLa-0001gR-5q; Tue, 11 May 2010 16:46:34 -0400 Original-Received: by vws7 with SMTP id 7so2296474vws.0 for ; Tue, 11 May 2010 13:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZQmtHh6SUJjDgq97jaSkFm4yIo/uIMjGmQl2yC4ko4E=; b=fmaUTKPi4+Z3D7J3/PZD+cABBO0dg6VZ+f7hDcpi4j4x5/sM+D3tOrTyVi60nPaGiR LjsTYk+6XEzV1YP4usp+I5VAdK/eVD/AXpuSBy/HGfbgJB06OXTB59LNy9z1jwK0+YSI XqmRKB+xGcWlv712tTZy0JgctxA0VKUNuDx2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XPNHtN6bp5eIRe4ca+MRtCZBijrXg5zYkvKG8Kfz4b+Jsn8IyA8blkQcZpBgW8DyA3 bhNeEwqw039VZFK1gSjbUXw9ATAYY12WaqHFejs3NzaekriSHNMxjwSh4f51QXtImT8O 7C0bZQdEW3ZlNO/WoEKuKoqO7A+XxlCK6Tjx4= Original-Received: by 10.220.61.12 with SMTP id r12mr4893810vch.19.1273610787154; Tue, 11 May 2010 13:46:27 -0700 (PDT) Original-Received: by 10.220.99.13 with HTTP; Tue, 11 May 2010 13:46:27 -0700 (PDT) In-Reply-To: <83mxw6p66l.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 12 May 2010 00:40:34 -0400 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:73639 Archived-At: Thanks. Actually it is documented in NEWS, and I'd looked through it, but I didn't make the connection between the 'split-window-sensibly' thing and compilation. At any rate setting split-width-threshold to nil gets the desired behavior... well, the behavior I was desiring. On Tue, May 11, 2010 at 2:52 PM, Eli Zaretskii wrote: >> Date: Tue, 11 May 2010 12:17:17 -0500 >> From: kent williams >> >> Somewhere between Emacs 22 and Emacs 23, a behavior changed: =A0If 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. =A0It used to >> split it horizontally, so that the source file is under the >> compilation buffer. >> >> I want the old behavior back. =A0The 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. =A0You can customize this behavior by > setting split-height-threshold and split-width-threshold. =A0See the > documentation of these variables and of split-window-preferred-function. > > This is all in NEWS, btw. > >