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: Mon, 13 Oct 2008 08:33:25 +0200 Message-ID: <87abd9t362.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> <87prm9hrmo.fsf@es.aau.dk> <87ej2oitwl.fsf@es.aau.dk> <0006ECF6-2BED-4F29-960C-E768C47D8F69@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1223879656 3869 80.91.229.12 (13 Oct 2008 06:34:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2008 06:34:16 +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 Mon Oct 13 08:35:15 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 1KpH1O-0007WR-DB for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Oct 2008 08:35:14 +0200 Original-Received: from localhost ([127.0.0.1]:36569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpH0J-00069C-Ss for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Oct 2008 02:34:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpH00-00068z-DT for help-gnu-emacs@gnu.org; Mon, 13 Oct 2008 02:33:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpGzy-00068n-Nj for help-gnu-emacs@gnu.org; Mon, 13 Oct 2008 02:33:47 -0400 Original-Received: from [199.232.76.173] (port=36159 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpGzy-00068k-Ho for help-gnu-emacs@gnu.org; Mon, 13 Oct 2008 02:33:46 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:41845) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpGzx-00022b-Vu for help-gnu-emacs@gnu.org; Mon, 13 Oct 2008 02:33:46 -0400 Original-Received: from orc.control.auc.dk ([130.225.50.20]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpGzv-0000FW-8C for help-gnu-emacs@gnu.org; Mon, 13 Oct 2008 02:33:43 -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 m9D6XOn3010897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Oct 2008 08:33:33 +0200 (CEST) In-Reply-To: <0006ECF6-2BED-4F29-960C-E768C47D8F69@Web.DE> (Peter Dyballa's message of "Fri\, 10 Oct 2008 15\:31\:01 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Virus-Scanned: ClamAV 0.88.6/8416/Mon Oct 13 05:12:39 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:58719 Archived-At: >>>>> "Peter" =3D=3D Peter Dyballa writes: Peter> Am 10.10.2008 um 13:14 schrieb Torben Knudsen: >>>> default-frame-alist is a variable defined in `C source code'. >>>> Its value is ((menu-bar-lines . 1) (tool-bar-lines . 0) >>>> (vertical-scroll-bars) (width . 80) (height . 64)) >>>>=20 >>>> Still the window is 80 x 59 Peter> For me the (X) window or GNU Emacs frame size does not change Peter> instantaneously when I change default-frame-alist =96 but a new Peter> frame (C-x 5 2) obeys the new values! Does this work for you? Inspired by you question I think I learned something at least. I have a two screen solution where my lap top is left and a external screen is right it starts from 1440. 1. If I have my current emacs in the right screen and do=20 (setq default-frame-alist '((width . 80) (height . 64))) a new frame opens in the right screen but width size 80 x 50.=20=20 2. If I do (setq default-frame-alist '((top . 0) (left . 0) (width . 80) (height . 64)= )) I get a frame in the left screen size 80 x 50. Now 80 x 50 is the maximum size in the left window which I get there with height >=3D 50. 3. If instead I do (setq default-frame-alist '((top . 0) (left . 1440) (width . 80) (height . = 64))) the frame opens in the right window with the right size. So it seems that if my current emacs is in the right screen a new frame opens there but limited to the max size according to the screen at left i.e. (top . 0) (left . 0). Now I think my problem is solved. I don't now if you are satisfied. Thanks for all the help. --=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