From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2714: marked as done (23.0.91; set-default-font incorrectly changes font height?) Date: Thu, 19 Mar 2009 11:15:03 +0000 Message-ID: References: <87ljr2gxhp.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1237461303-15331-0" X-Trace: ger.gmane.org 1237461845 14038 80.91.229.12 (19 Mar 2009 11:24:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 11:24:05 +0000 (UTC) To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 19 12:25:21 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 1LkGND-0002fR-LO for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 12:25:20 +0100 Original-Received: from localhost ([127.0.0.1]:54870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkGLr-00081w-6c for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 07:23:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkGLn-00081Z-Gk for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 07:23:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkGLi-0007zj-Qb for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 07:23:50 -0400 Original-Received: from [199.232.76.173] (port=43716 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkGLi-0007zS-7P for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 07:23:46 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60928) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkGLh-0007q3-7s for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 07:23:45 -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 n2JBNhai017972; Thu, 19 Mar 2009 04:23:43 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2JBF3G0015347; Thu, 19 Mar 2009 04:15:03 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2714 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:26484 Archived-At: This is a multi-part message in MIME format... ------------=_1237461303-15331-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 19 Mar 2009 20:10:27 +0900 with message-id and subject line Re: bug#2714: 23.0.91; set-default-font incorrectly change= s font height? has caused the Emacs bug report #2714, regarding 23.0.91; set-default-font incorrectly changes font height? 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 owner@emacsbugs.donarmstrong.com immediately.) --=20 2714: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2714 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1237461303-15331-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 19 Mar 2009 00:36:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 n2J0aAxR002007 for ; Wed, 18 Mar 2009 17:36:11 -0700 Received: from mail.gnu.org ([199.232.76.166]:59422 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Lk6F0-0003P4-4q for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 20:36:10 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Lk6Ew-0003rS-7k for emacs-pretest-bug@gnu.org; Wed, 18 Mar 2009 20:36:09 -0400 Received: from smtp11.dentaku.gol.com ([203.216.5.73]:37761) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lk6Ev-0003qo-BB; Wed, 18 Mar 2009 20:36:06 -0400 Received: from 218.231.175.8.eo.eaccess.ne.jp ([218.231.175.8] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1Lk6Es-0005vV-UG; Thu, 19 Mar 2009 09:36:03 +0900 Received: by catnip.gol.com (Postfix, from userid 1000) id 40AC7DFCB; Thu, 19 Mar 2009 09:36:02 +0900 (JST) From: Miles Bader To: emacs-pretest-bug@gnu.org Subject: 23.0.91; set-default-font incorrectly changes font height? Reply-To: Miles Bader System-Type: x86_64-unknown-linux-gnu Date: Thu, 19 Mar 2009 09:36:02 +0900 Message-ID: <87ljr2gxhp.fsf@catnip.gol.com> Lines: 116 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) When I use `set-default-font', it seems to affect the font-height even though I explicitly tell it to only change the family. To reproduce: (1) Start emacs with: emacs -Q (2) Evaluate the following in *scratch*: (set-default-font "Liberation Mono-8") Notice that the font is now fairly small, as I specified an 8-point font. (3) Evaluate the following in *scratch*: (set-fontset-font nil 'unicode (font-spec :family "Dejavu Sans Mono") nil 'prepend) (4) ** Notice that the default font size has changed to become fairly large , even though I explicitly specified only the family to `set-fontset-font'. ** (5) I can then force the size back to the original correct size using: (set-face-attribute 'default nil :height 80) [Hopefully you have those two fonts on your system, as they're common free fonts; however any two scalable fonts will probably work.] Thanks, -Miles If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.0.91/etc/DEBUG for instructions. In GNU Emacs 23.0.91.14 (x86_64-unknown-linux-gnu, GTK+ Version 2.15.5) of 2009-03-18 on catnip Windowing system distributor `The X.Org Foundation', version 11.0.10599902 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=SCIM locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: rcirc-track-minor-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: 8 " ) C-x C-v ~ / . e m a c s . e l > C-u C-p C-u C-p C-u C-p C-p C-SPC C-n w C-x C-n C-SPC C-p C-SPC C-n C-n w C-x b C-y C-p C-e C-p M-b M-b M-b h h D e j a v u SPC S a n s SPC m M o n o d C-n M-b M-b M-b M-b C o u r i e r d d d C-x C-s C-s e C-p C-p M-b M-b h C-x C-s C-n C-h f C-x o C-v C-n C-x p C-f ( f o n t - s p e c SPC " f a m i l h : f a m i l y SPC C-M-f ) C-M-b C-n C-b C-n C-M-f C-M-f C-M-f C-M-f C-M-b ( f o n t ' SPC : f a m i l y SPC C-M-f ) C-x C-s C-p C-p C-a C-k C-k C-e M-b M-b M-b C-g C-a C-y C-p M-f M-f M-p C-a C-k C-k C-x C-s ( s e t - f a c e - a t t r i b u t e SPC : ' d e f a u l t SPC n i l SPC : h e i g h t SPC " 8 0 " ) C-j C-p C-SPC C-e w C-a C-k C-p C-p C-p C-n ; C-x C-s C-SPC C-e w C-/ C-n C-n C-SPC C-p C-p C-p w r e C-g x r e p o C-g h x r e p o r t - e m a SPC Recent messages: Saving file /tmp/.emacs... Wrote /tmp/.emacs Mark set Undo! Mark set xding Quit xding Quit Scanning for dabbrevs...100% -- Barometer, n. An ingenious instrument which indicates what kind of weather we are having. ------------=_1237461303-15331-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2714-done) by emacsbugs.donarmstrong.com; 19 Mar 2009 11:10:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2JBA4w5013867 for <2714-done@emacsbugs.donarmstrong.com>; Thu, 19 Mar 2009 04:10:05 -0700 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n2JBA3wg018604; Thu, 19 Mar 2009 20:10:03 +0900 (JST) env-from (handa@m17n.org) Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n2JBA2SH006176; Thu, 19 Mar 2009 20:10:02 +0900 (JST) env-from (handa@m17n.org) Received: by smtp3.aist.go.jp with ESMTP id n2JBA2dH029389; Thu, 19 Mar 2009 20:10:02 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1LkG8p-0006wU-Lh; Thu, 19 Mar 2009 20:10:27 +0900 From: Kenichi Handa To: Miles Bader CC: 2714-done@emacsbugs.donarmstrong.com In-reply-to: (message from Miles Bader on Thu, 19 Mar 2009 17:15:51 +0900) Subject: Re: bug#2714: 23.0.91; set-default-font incorrectly changes font height? References: <87ljr2gxhp.fsf@catnip.gol.com> Message-Id: Date: Thu, 19 Mar 2009 20:10:27 +0900 In article , Miles Bader writes: > On Thu, Mar 19, 2009 at 3:53 PM, Kenichi Handa wrote: >>> When I use `set-default-font', it seems to affect the font-height even >>> though I explicitly tell it to only change the family. > > > > I've just installed a fix. Could you please try again > > with the latest code? > Hi, I tested, and it seems to work correctly now! Thank you for testing it. I'll close bug#2714. --- Kenichi Handa handa@m17n.org ------------=_1237461303-15331-0--