From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Orm Finnendahl Newsgroups: gmane.emacs.help Subject: Re: buffer-window size Date: Tue, 4 Nov 2003 15:52:27 +0100 Organization: Folkwang-Hochschule, Essen, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20031104145226.GC1360@finnendahl.de> References: <84835B50-0ECF-11D8-87F3-000393B906B6@web.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1067957720 19235 80.91.224.253 (4 Nov 2003 14:55:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2003 14:55:20 +0000 (UTC) Cc: help-gnu-emacs-mailing-list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 15:55:17 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AH2aS-0006bG-00 for ; Tue, 04 Nov 2003 15:55:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AH2a1-0003i8-8R for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2003 09:54:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AH2Yw-0003WC-Sx for help-gnu-emacs@gnu.org; Tue, 04 Nov 2003 09:53:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AH2YI-0002nw-AP for help-gnu-emacs@gnu.org; Tue, 04 Nov 2003 09:53:33 -0500 Original-Received: from [193.175.156.129] (helo=icemserv.folkwang-hochschule.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AH2YE-0002lz-Lx for help-gnu-emacs@gnu.org; Tue, 04 Nov 2003 09:52:58 -0500 Original-Received: from grisey.local (root@icemserv.folkwang-hochschule.de [193.175.156.129]) by icemserv.folkwang-hochschule.de (8.11.6/8.11.6) with ESMTP id hA4ExPS09101; Tue, 4 Nov 2003 15:59:26 +0100 (CET) (envelope-from finnendahl@folkwang-hochschule.de) Original-Received: from orm by grisey.local with local (Exim 3.36 #1 (Debian)) id 1AH2Xl-0000Xn-00; Tue, 04 Nov 2003 15:52:29 +0100 Original-To: Johannes Quint Mail-Followup-To: Johannes Quint , help-gnu-emacs-mailing-list Content-Disposition: inline In-Reply-To: <84835B50-0ECF-11D8-87F3-000393B906B6@web.de> X-Operating-System: Linux User-Agent: Mutt/1.5.4i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13793 Am 04. November 2003, 15:02 Uhr (+0100) schrieb Johannes Quint: > [again a trivial question - sorry, i don't find the right hint in the > documentation:] > i want to have a startup-setup with a frame, splitted in 2 windows, > each with a DIFFERENT size. > [working with openmcl, i need a great file-window and a little > listener-window.] > what are the crucial functions? > thanks for help. > j.quint Look into the info documentation of elisp ("info elisp"): In the section "Windows->Splitting Windows" it says: The following example starts with one window on a screen that is 50 lines high by 80 columns wide; then the window is split. (setq w (selected-window)) => # (window-edges) ; Edges in order: => (0 0 80 50) ; left-top-right-bottom ;; Returns window created (setq w2 (split-window w 15)) => # (window-edges w2) => (0 15 80 50) ; Bottom window; ; top is line 15 (window-edges w) => (0 0 80 15) ; Top window The screen looks like this: __________ | | line 0 | w | |__________| | | line 15 | w2 | |__________| line 50 column 0 column 80 -- Orm