From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: maps.automation58@gmail.com Newsgroups: gmane.emacs.help Subject: Re: split screen horizontally into three equally spaced sections Date: Tue, 7 Oct 2008 15:26:06 -0700 (PDT) Organization: http://groups.google.com 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 1223440316 21146 80.91.229.12 (8 Oct 2008 04:31:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 04:31:56 +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 06:32:52 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 1KnQjE-0005hj-CB for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 06:32:52 +0200 Original-Received: from localhost ([127.0.0.1]:32971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnQiA-0004i9-Ji for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 00:31:46 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m73g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 172.26.76.70 Original-X-Trace: posting.google.com 1223418366 23343 127.0.0.1 (7 Oct 2008 22:26:06 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 7 Oct 2008 22:26:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m73g2000hsh.googlegroups.com; posting-host=172.26.76.70; posting-account=-zuwpgoAAAD5fR4JKqVaktQFpf1o3jKS User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9) Gecko/2008052912 Firefox/3.0,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163169 X-Mailman-Approved-At: Wed, 08 Oct 2008 00:31:29 -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:58519 Archived-At: On Sep 16, 1:22=A0am, Allan Gottlieb wrote: > At Sun, 14 Sep 2008 04:52:18 -0700 (PDT) Gil w= rote: > > > 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? > > 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. =A0It then balances the windows on the implied > frame. =A0If the parameter is a window only the corresponding window > subtree is balanced. > > [back]