From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#598: marked as done (23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face) Date: Mon, 6 Oct 2008 09:35:03 -0700 Message-ID: References: <87k5clg04k.fsf@cyd.mit.edu> <87k5fdvwsl.fsf@leeloo.anubex.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1223310903-13345-0" X-Trace: ger.gmane.org 1223312351 13539 80.91.229.12 (6 Oct 2008 16:59:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2008 16:59:11 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 06 19:00:08 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 1KmtIe-0000im-Bp for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Oct 2008 18:51:12 +0200 Original-Received: from localhost ([127.0.0.1]:45096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmtHa-0007wI-US for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Oct 2008 12:50:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmtHW-0007u0-9j for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 12:50:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmtHU-0007t9-VH for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 12:50:01 -0400 Original-Received: from [199.232.76.173] (port=56073 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmtHU-0007sp-Kp for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 12:50:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60858) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmtHT-0007k2-VG for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 12:50:00 -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 m96GnvdE016947; Mon, 6 Oct 2008 09:49:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m96GZ3vO013435; Mon, 6 Oct 2008 09:35:03 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 598 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:21177 Archived-At: This is a multi-part message in MIME format... ------------=_1223310903-13345-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 06 Oct 2008 12:27:07 -0400 with message-id <87k5clg04k.fsf@cyd.mit.edu> and subject line Re: 23.0.60; frame size issue (--geometry or default-frame= -alist) when using customized default face has caused the Emacs bug report #598, regarding 23.0.60; frame size issue (--geometry or default-frame-alist) whe= n using customized default face to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 598: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D598 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1223310903-13345-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 23 Jul 2008 08:18:20 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6N8IG4D019940 for ; Wed, 23 Jul 2008 01:18:17 -0700 Received: from mx10.gnu.org ([199.232.76.166]:43767) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KLZXQ-0001ZF-9X for emacs-pretest-bug@gnu.org; Wed, 23 Jul 2008 04:17:32 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KLZY3-0002fT-Tz for emacs-pretest-bug@gnu.org; Wed, 23 Jul 2008 04:18:15 -0400 Received: from 179.75-78-194.adsl-static.isp.belgacom.be ([194.78.75.179]:34321 helo=mail.anubex.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLZY3-0002f2-Cg for emacs-pretest-bug@gnu.org; Wed, 23 Jul 2008 04:18:11 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.anubex.com (Postfix) with ESMTP id 8270CD911B7; Wed, 23 Jul 2008 10:18:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at anubex.com Received: from mail.anubex.com ([127.0.0.1]) by localhost (mail.anubex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qHfxXcv-APGq; Wed, 23 Jul 2008 10:18:03 +0200 (CEST) Received: from leeloo.anubex.internal (177.75-78-194.adsl-static.isp.belgacom.be [194.78.75.177]) by mail.anubex.com (Postfix) with ESMTPS id E3B0D6E899; Wed, 23 Jul 2008 10:18:02 +0200 (CEST) Received: from tim by leeloo.anubex.internal with local (Exim 4.63) (envelope-from ) id 1KLZXu-00042O-Gm; Wed, 23 Jul 2008 10:18:02 +0200 From: Tim Van Holder To: emacs-pretest-bug@gnu.org Subject: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Date: Wed, 23 Jul 2008 10:18:02 +0200 Message-ID: <87k5fdvwsl.fsf@leeloo.anubex.internal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) For a few weeks now (starting around the time of the fix for #47, which may or may not be relevant), emacs no longer comes up with the correct frame size. I have it set (to 132x60) in default-frame-alist, but emacs end up with varying frame sizes instead - while there seem to be a few that it favors, I can't see any real pattern in it. The same happens if I remove the width/height settings from default-frame-alist and use --geometry instead. "emacs -Q --geometry 132x60" does seem to work 100% of the time. I tried erasing the font/foundry customization, but that made no difference; changing the font height, however, did. Emacs seems to default to a height of 116 while I have mine set to 135 (since with the font I prefer to use (Terminus), 116 is too small to read comfortably). So it looks like the frame size is being computed based on the wrong font sizing. A few things I noticed while testing this: - customizing the size of the default font causes emacs to repain its frame, and quite often this messes up the scrollbars (which I have set to appear on the right). Sometimes there is a black border to their right, sometimes they disappear. In either case, manually sizing the frame makes them redraw in their correct place. - after saving the default face with the font and foundry items unchecked (i.e. uncustomized), and restarting emacs, it shows the font and foundry as customized (using Bitstream Vera Sans Mono) - the 'foundry' setting was also added fairly recently; how do I find out a font's foundry so that I can set it correctly when customizing a face? Is there perhaps a font picker available in emacs that would allow me to customize a face more effectively? ------------=_1223310903-13345-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 598-done) by emacsbugs.donarmstrong.com; 6 Oct 2008 16:25:39 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m96GPavI012069 for <598-done@emacsbugs.donarmstrong.com>; Mon, 6 Oct 2008 09:25:37 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6E4DC57E0B6; Mon, 6 Oct 2008 12:27:07 -0400 (EDT) From: Chong Yidong To: Tim Van Holder Cc: 598-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Date: Mon, 06 Oct 2008 12:27:07 -0400 Message-ID: <87k5clg04k.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've checked in a fix that should solve this problem. ------------=_1223310903-13345-0--