From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torben Knudsen Newsgroups: gmane.emacs.help Subject: Re: Size of emacs window can't exceed 59 in height Date: Fri, 10 Oct 2008 08:49:03 +0200 Message-ID: <87prm9hrmo.fsf@es.aau.dk> References: <87vdw3o5b5.fsf@es.aau.dk> <87fxn7o2xt.fsf@es.aau.dk> <289AC3F2-480A-489F-87BC-14C94C44B2B2@Web.DE> <87zllfmlu5.fsf@es.aau.dk> <26A92774-AB5D-4A02-B95D-47CB385C8A88@Web.DE> 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 1223621408 16074 80.91.229.12 (10 Oct 2008 06:50:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2008 06:50:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 10 08:51:05 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 1KoBq4-0006L8-FU for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Oct 2008 08:51:04 +0200 Original-Received: from localhost ([127.0.0.1]:50473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoBp0-0007OC-Jd for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Oct 2008 02:49:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoBob-0007I4-K0 for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 02:49:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoBoZ-0007Fd-E6 for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 02:49:32 -0400 Original-Received: from [199.232.76.173] (port=43565 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoBoZ-0007FS-9G for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 02:49:31 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:11749) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KoBoZ-0003Pn-Kr for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 02:49:31 -0400 Original-Received: from orc.control.auc.dk ([130.225.50.20]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KoBoU-0003cO-Uj for help-gnu-emacs@gnu.org; Fri, 10 Oct 2008 02:49:27 -0400 Original-Received: from tk-laptop (aau64570-tk.staff.control.auc.dk [192.38.50.63]) (authenticated bits=0) by orc.control.auc.dk (8.13.6/8.13.6) with ESMTP id m9A6mw0W016281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Oct 2008 08:49:04 +0200 (CEST) In-Reply-To: <26A92774-AB5D-4A02-B95D-47CB385C8A88@Web.DE> (Peter Dyballa's message of "Wed\, 8 Oct 2008 16\:41\:09 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Virus-Scanned: ClamAV 0.88.6/8398/Thu Oct 9 05:58:03 2008 on orc.control.auc.dk X-Virus-Status: Clean X-detected-kernel: by mx20.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:58652 Archived-At: >>>>> "Peter" =3D=3D Peter Dyballa writes: Peter> Am 08.10.2008 um 12:18 schrieb Torben Knudsen: >> xwininfo: Window id: 0x36000a5 "*scratch* - Emacs" Peter> The outpur looks OK. Peter> You could experiment with initial-frame-alist and Peter> default-frame- alist. Geometry settings when evaluated in Peter> *scratch* buffer apply, and overwrite X resources. Just an Peter> example: Peter> (setq initial-frame-alist '( (mouse-color . "midnightblue") Peter> (foreground-color . "grey20") (background-color . "alice blue") Peter> (internal-border-width . 2) (line-spacing . 1) (active-alpha Peter> . 0.875) (inactive-alpha . 0.75) (top . 25) (left . 650) (width Peter> . 91) (height . 50))) In .Xresources emacs.geometry:80x64+1440 In .emacs (setq default-frame-alist '((width . 80) (height . 64))) (setq initial-frame-alist '((top . 1) (left . 1) (width . 80) (height . 64)= )) After startup of emacs these values are: initial-frame-alist is a variable defined in `frame.el'. Its value is=20 ((top . 1) (left . 1) (width . 80) (height . 64)) default-frame-alist is a variable defined in `C source code'. Its value is=20 ((menu-bar-lines . 1) (tool-bar-lines . 0) (vertical-scroll-bars) (width . 80) (height . 64)) Still the window is 80 x 59 Peter> BTW, how do you try to change the size of GNU Emacs' frame? Peter> Have tried to create a second frame (C-x 5 2)? And how do you Peter> change your X resources? C-x 5 2 Gives a frame of size 80 x 53 I use .Xresources --=20 Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Direct : 6 8694 Department of Electronic Systems, Email : tk@es.aau.dk=20=20=20 Aalborg University=20 Fredrik Bajersvej 7=20 DK-9220 Aalborg =D8 Denmark=20