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: Tue, 16 Sep 2008 01:22:49 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221542675 17125 80.91.229.12 (16 Sep 2008 05:24:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2008 05:24:35 +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 Sep 16 07:25:31 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 1KfT46-0007QY-Tb for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Sep 2008 07:25:31 +0200 Original-Received: from localhost ([127.0.0.1]:35654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfT35-0004Fz-Sv for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Sep 2008 01:24:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfT1a-0003jv-Nd for help-gnu-emacs@gnu.org; Tue, 16 Sep 2008 01:22:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfT1Z-0003jN-71 for help-gnu-emacs@gnu.org; Tue, 16 Sep 2008 01:22:53 -0400 Original-Received: from [199.232.76.173] (port=58056 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfT1Y-0003jF-R8 for help-gnu-emacs@gnu.org; Tue, 16 Sep 2008 01:22:52 -0400 Original-Received: from smtp.cs.nyu.edu ([128.122.80.33]:32905) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KfT1Z-0004dn-2H for help-gnu-emacs@gnu.org; Tue, 16 Sep 2008 01:22:53 -0400 Original-Received: from ajglap.localdomain (ool-4578d291.dyn.optonline.net [69.120.210.145]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id m8G5MpUj001066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 16 Sep 2008 01:22:51 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id 0C44A19D931; Tue, 16 Sep 2008 01:22:49 -0400 (EDT) In-Reply-To: (Gil's message of "Sun\, 14 Sep 2008 04\:52\:18 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (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:57667 Archived-At: 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, You want balance-windows (see below). C-x 1 C-x 3 C-x 3 C-x + Will give you three equal size windows in the frame. allan C-x + runs the command balance-windows which is an interactive compiled Lisp function in `window.el'. It is bound to C-x +. (balance-windows &optional WINDOW-OR-FRAME) Make windows the same heights or widths in window split subtrees. When called non-interactively WINDOW-OR-FRAME may be either a window or a frame. It then balances the windows on the implied frame. If the parameter is a window only the corresponding window subtree is balanced. [back]