From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4995: 23.1.50; No size compensation for (tool-bar-mode 0)(menu-bar-mode 0) Date: Sat, 21 Nov 2009 00:09:01 +0100 Message-ID: <4B07218D.8030206@swipnet.se> References: <87bpix0xus.fsf@jidanni.org> Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 4995@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258759661 28984 80.91.229.12 (20 Nov 2009 23:27:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 23:27:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, rfrancoise@debian.org To: jidanni@jidanni.org, 4995@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 21 00:27:34 2009 Return-path: Envelope-to: geb-bug-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 1NBct3-0006Ap-H2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Nov 2009 00:27:34 +0100 Original-Received: from localhost ([127.0.0.1]:60799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBct2-0007HR-Uu for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2009 18:27:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBcsy-0007H8-NN for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 18:27:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBcsu-0007GN-J6 for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 18:27:28 -0500 Original-Received: from [199.232.76.173] (port=44754 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBcsu-0007GI-FR for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 18:27:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38036) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBcst-0003wk-Qu for bug-gnu-emacs@gnu.org; Fri, 20 Nov 2009 18:27:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAKNRLEt004604; Fri, 20 Nov 2009 15:27:21 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAKNF68K003707; Fri, 20 Nov 2009 15:15:06 -0800 Resent-Date: Fri, 20 Nov 2009 15:15:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 20 Nov 2009 23:15:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4995 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4995-submit@emacsbugs.donarmstrong.com id=B4995.12587585503192 (code B ref 4995); Fri, 20 Nov 2009 23:15:06 +0000 Original-Received: (at 4995) by emacsbugs.donarmstrong.com; 20 Nov 2009 23:09:10 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAKN98Pj003184 for <4995@emacsbugs.donarmstrong.com>; Fri, 20 Nov 2009 15:09:09 -0800 Original-Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C0011401EE for 4995@emacsbugs.donarmstrong.com; Sat, 21 Nov 2009 00:09:02 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AutXAB+wBktV4S1uPGdsb2JhbACBTodaj32CVgEBAQE3uHWEPASDFw X-IronPort-AV: E=Sophos;i="4.47,261,1257116400"; d="scan'208";a="5850196" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 21 Nov 2009 00:09:02 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id BE5A87FA07B; Sat, 21 Nov 2009 00:09:01 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 In-Reply-To: <87bpix0xus.fsf@jidanni.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 20 Nov 2009 18:27:28 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32788 gmane.emacs.pretest.bugs:25220 Archived-At: jidanni@jidanni.org skrev 2009-11-20 21.01: > ADMIT that > $ emacs -Q -eval '(progn(tool-bar-mode 0)(menu-bar-mode 0))' > 1. Still momentarily wastefully shows at least the menu-bar before cleaning it > off the screen, even if the user does those commands in his .emacs file. That is because the first frame is visible before .emacs is read, an issue discussed before. > 2. But more importantly, gives the user a window shorter than he wants. > No compensation is made here under X windows to lengthen back the emacs > window back to the size it was before removing those items. There are three ways of doing this: 1 Keep number of editable lines 2 Keep height in pixels. 3 Read .emacs before the first frame. IMHO, the last is the correct solution, but it isn't such a high priority. After all this is kostly a cosmetic bug, even if annoying. 1 or 2 is equally correct in my eye, if 3 isn't present. > (Note I had no xrdb emacs items set.) To workaround I must do: > (setq default-frame-alist (cons (cons 'height (+(frame-height)4)) default-frame-alist)) > (No, fullhight, fullboth,(which by the way is not documented) don't let > one still see the ICEWM toolbar.) Currently Emacs just tells the WM to do the resizing, so if some WM-specific toolbar isn't shown, Emacs is not to blame. You are just not looking hard enough for documentation: % emacs -Q C-h i m elisp s fullscreen Jan D.