unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Tim Van Holder <tim.vanholder@gmail.com>, 598@emacsbugs.donarmstrong.com
Cc: Chong Yidong <cyd@stupidchicken.com>
Subject: bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using	customized default face
Date: Tue, 07 Oct 2008 14:09:12 +0200	[thread overview]
Message-ID: <48EB5168.1060900@gmx.at> (raw)
In-Reply-To: <d69e7f6a0810070425l6102bf05q9c9c50d9fa869743@mail.gmail.com>

 > 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?

   if (toolbar_p && FRAME_TOOL_BAR_LINES (f))
     {
       int margin, relief, bar_height;

       relief = (tool_bar_button_relief >= 0
		? tool_bar_button_relief
		: DEFAULT_TOOL_BAR_BUTTON_RELIEF);

       if (INTEGERP (Vtool_bar_button_margin)
	  && XINT (Vtool_bar_button_margin) > 0)
	margin = XFASTINT (Vtool_bar_button_margin);
       else if (CONSP (Vtool_bar_button_margin)
	       && INTEGERP (XCDR (Vtool_bar_button_margin))
	       && XINT (XCDR (Vtool_bar_button_margin)) > 0)
	margin = XFASTINT (XCDR (Vtool_bar_button_margin));
       else
	margin = 0;

       bar_height = DEFAULT_TOOL_BAR_IMAGE_HEIGHT + 2 * margin + 2 * relief;
       FRAME_LINES (f) += (bar_height + FRAME_LINE_HEIGHT (f) - 1) / FRAME_LINE_HEIGHT (f);
     }

martin







  reply	other threads:[~2008-10-07 12:09 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87k5clg04k.fsf@cyd.mit.edu>
2008-07-23  8:18 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
2008-10-06 16:35   ` bug#598: marked as done (23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face) Emacs bug Tracking System
2008-10-07 11:25 ` bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Tim Van Holder
2008-10-07 12:09   ` martin rudalics [this message]
2008-10-08  8:15     ` Tim Van Holder
2008-10-08 22:47   ` Chong Yidong
2008-10-09  8:09     ` Tim Van Holder
2008-11-03 16:00 Chong Yidong
2008-11-05 10:06 ` Tim Van Holder
  -- strict thread matches above, loose matches on Subject: below --
2008-10-01  0:01 Chong Yidong
2008-10-01  8:12 ` Tim Van Holder
2008-10-01  8:47   ` martin rudalics
2008-10-01  9:52     ` bug#911: " Tim Van Holder
2008-10-01 13:05       ` martin rudalics
2008-10-01 13:57         ` Tim Van Holder
2008-10-03  8:25   ` Tim Van Holder
2008-09-28 20:46 Chong Yidong
2008-09-29  7:34 ` Tim Van Holder
2008-09-29  8:52   ` martin rudalics
2008-09-29  9:13     ` Tim Van Holder
2008-09-29 17:30   ` Chong Yidong
2008-09-30  7:39     ` Tim Van Holder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48EB5168.1060900@gmx.at \
    --to=rudalics@gmx.at \
    --cc=598@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=tim.vanholder@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).