From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Allan Gottlieb Newsgroups: gmane.emacs.help Subject: Re: split screen horizontally into three equally spaced sections Date: Wed, 08 Oct 2008 15:15:04 -0400 Message-ID: References: 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: ger.gmane.org 1223493704 7319 80.91.229.12 (8 Oct 2008 19:21:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 19:21:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 21:22:42 2008 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 1KnecD-00060H-Mm for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 21:22:34 +0200 Original-Received: from localhost ([127.0.0.1]:42898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kneb9-0002Xm-Rf for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 15:21:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KneV2-0005Iz-SV for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 15:15:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KneV1-0005Hj-9k for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 15:15:08 -0400 Original-Received: from [199.232.76.173] (port=50892 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KneV0-0005He-Nh for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 15:15:06 -0400 Original-Received: from smtp.cs.nyu.edu ([128.122.80.33]:37056) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KneV0-00035N-Hl for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 15:15:06 -0400 Original-Received: from ajglap.localdomain (AJGLAP.CS.NYU.EDU [128.122.140.201]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id m98JF4kG014541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 8 Oct 2008 15:15:05 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id DDFF119D921; Wed, 8 Oct 2008 15:15:04 -0400 (EDT) In-Reply-To: (maps's message of "Tue\, 07 Oct 2008 15\:26\:06 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) X-detected-operating-system: by monty-python.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:58562 Archived-At: At Tue, 07 Oct 2008 15:26:06 -0700 (PDT) maps.automation58@gmail.com wrote: > On Sep 16, 1:22=A0am, Allan Gottlieb wrote: >> At Sun, 14 Sep 2008 04:52:18 -0700 (PDT) Gil = wrote: >> >> > Is there a way to split the screen horizontally (C-x 3) in such a way >> > that the three windows are equally spaced? >> >> Yes, =A0You want balance-windows (see below). >> >> C-x 1 =A0 C-x 3 =A0 C-x 3 =A0 C-x + >> >> Will give you three equal size windows in the frame. >> >> allan >> >> C-x + runs the command balance-windows >> =A0 which is an interactive compiled Lisp function in `window.el'. >> It is bound to C-x +. >> (balance-windows &optional WINDOW-OR-FRAME) > my balance-windows only balances them vertically... is there another > command I can use or an easy way I can change that? It works for me under both version 22 and version 23. What emacs version are you running. Also do you start with a wide frame? allan