From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: Initial geometry with (scroll-bar-mode -1) (tool-bar-mode -1) Date: Sat, 18 May 2002 09:58:24 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <4949-Sat18May2002095824+0300-eliz@is.elta.co.il> References: <312FA084975ED4119C8700D0B74FE85D0CD2CE92@xrose04.rose.hp.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1021705243 15210 127.0.0.1 (18 May 2002 07:00:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 18 May 2002 07:00:43 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 178yCo-0003xD-00 for ; Sat, 18 May 2002 09:00:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 178yDC-0002RO-00; Sat, 18 May 2002 03:01:06 -0400 Original-Received: from freya.inter.net.il ([192.114.186.14]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 178yC7-0002Md-00 for ; Sat, 18 May 2002 02:59:59 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by freya.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id BKY25576; Sat, 18 May 2002 09:59:50 +0300 (IDT) Original-To: fred_sieber@non.hp.com X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <312FA084975ED4119C8700D0B74FE85D0CD2CE92@xrose04.rose.hp.com> (fred_sieber@non.hp.com) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1430 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1430 > From: "SIEBER,FRED (Non-HP-Roseville,ex1)" > Date: Fri, 17 May 2002 13:47:27 -0400 > > If you place > > (tool-bar-mode -1) > (scroll-bar-mode -1) > > in your .emacs file, emacs will not correctly honor your -geometry > call line option, it follows you geometry request as if you had > specified a scroll bar and tool then changes the window size by > removing them. Thank you for your report. This is not really a bug: it's hard to know what the user means when she customizes Emacs like you did. Does she want the same overall geometry of the frame as before disabling the tool bar, or does she want the same dimensions of the text area? The unpleasant resize of the frame you observe is the consequence of the fact that the initial frame is created before your .emacs is processed. (It's hard not to do that, since most Emacs functions will not work without a live frame.) If you want the former, the best way currently is to specify that in your ~/.Xdefaults or some similar X resource. > This bug is new with 21.0. Well, the previous versions didn't have the tool bar at all ;-)