From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tim Van Holder" Newsgroups: gmane.emacs.bugs Subject: bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Date: Wed, 8 Oct 2008 10:15:50 +0200 Message-ID: References: <87k5clg04k.fsf@cyd.mit.edu> <48EB5168.1060900@gmx.at> Reply-To: Tim Van Holder , 598@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223454712 25859 80.91.229.12 (8 Oct 2008 08:31:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 08:31:52 +0000 (UTC) Cc: Chong Yidong , 598@emacsbugs.donarmstrong.com To: "martin rudalics" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 10:32:48 2008 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 1KnUTC-0008Qq-ST for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 10:32:35 +0200 Original-Received: from localhost ([127.0.0.1]:38375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnUS9-0001jO-4k for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 04:31:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnUS5-0001jF-WE for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 04:31:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnUS5-0001iO-1k for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 04:31:25 -0400 Original-Received: from [199.232.76.173] (port=54715 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnUS4-0001iJ-Ml for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 04:31:24 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:28995) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnUS4-0000Qn-OG for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 04:31:24 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnUS3-0001qp-4q for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2008 04:31:23 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m988Tw7V026084; Wed, 8 Oct 2008 01:29:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m988P4Q2024985; Wed, 8 Oct 2008 01:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Tim Van Holder" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Oct 2008 08:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 598 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 598-submit@emacsbugs.donarmstrong.com id=B598.122345375423672 (code B ref 598); Wed, 08 Oct 2008 08:25:04 +0000 Original-Received: (at 598) by emacsbugs.donarmstrong.com; 8 Oct 2008 08:15:54 +0000 Original-Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m988FoJn023666 for <598@emacsbugs.donarmstrong.com>; Wed, 8 Oct 2008 01:15:52 -0700 Original-Received: by qw-out-2122.google.com with SMTP id 9so946269qwb.13 for <598@emacsbugs.donarmstrong.com>; Wed, 08 Oct 2008 01:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BN+gHJHN8S39oDTDW+Qs8CU3V5X96j9UzIeutBuMDTU=; b=VlIv/66bLQlCvM4hWEyLFRP+0QuAuCyrnpi91apXGLHFmeHwGmIweeyV8RZOzOuGYC DVBlpzV38I5BJ3s9wqbfiOEaV6e9D8KocI9i7ieIF8nqaOgdiZifV9CKlnrUqDEDEZQO cvOwp6uvIKasj3010UhzedQI2FEcu1YWh0HGo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AamfcOCKB1C44gnyIgYYDBAu7qc7xpCdsyqs+diuo71RaJhX0vkpVqwob2cVcw4WWq st+/7Km2RslPS6uHRtUzlqFzMs+SD1tRGGKrgfktcETeif7jYhlbGWZozLTfF0jFmdl5 LeM0KKq+0wvNS7wd6QI48ugxGMIqWuwy/jtTE= Original-Received: by 10.214.217.1 with SMTP id p1mr9869214qag.17.1223453750555; Wed, 08 Oct 2008 01:15:50 -0700 (PDT) Original-Received: by 10.151.12.15 with HTTP; Wed, 8 Oct 2008 01:15:50 -0700 (PDT) In-Reply-To: <48EB5168.1060900@gmx.at> Content-Disposition: inline X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 08 Oct 2008 04:31:25 -0400 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:21263 Archived-At: On Tue, Oct 7, 2008 at 2:09 PM, martin rudalics wrote: >> Unfortunately, even after a maintainer-clean + make bootstrap, the issue >> is not >> resolved for me. In fact, the very first run of the new emacs >> resulted in a frame that >> was 168x61 instead of 132x57 (is that 132x60->132x57 as a result of >> menu/toolbars >> considered a bug or a feature?). > > Could you try commenting out the code below from x_figure_window_size > in frame.c and tell whether and how the behavior changes? > > [code snipped] No behavior change - I get frames of 132x57 and 168x61. Some printf()s added in that function show that the block is indeed never entered - perhaps it is called before the info is set from one of the frame alists? In fact, even if I force FRAME_TOOLBAR_LINES(f) to 1 before that if, I get: [x_figure_window_size] before toolbar check [yes/1] [x_figure_window_size] block entered [x_figure_window_size] relief = 1 [x_figure_window_size] margin = 4 [x_figure_window_size] bar_height = 34 [x_figure_window_size] FRAME_LINES (before) = 40 [x_figure_window_size] FRAME_LINES (afte4r) = 43 and the frame still ends up at 132x57.