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#1990: marked as done (23.0.60; Emacs trying too hard to find fonts that don't exist) Date: Sat, 24 Jan 2009 22:50:05 +0000 Message-ID: References: <874ozowchu.fsf@cyd.mit.edu> <49787318.20708@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1232837405-3128-0" X-Trace: ger.gmane.org 1232838280 21551 80.91.229.12 (24 Jan 2009 23:04:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2009 23:04:40 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 00:05:53 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 1LQrYn-0004zJ-TP for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 00:05:22 +0100 Original-Received: from localhost ([127.0.0.1]:33294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQrXW-0003gV-BZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jan 2009 18:03:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQrXJ-0003cx-8O for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 18:03:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQrXI-0003cR-2p for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 18:03:32 -0500 Original-Received: from [199.232.76.173] (port=39118 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQrXH-0003cI-PE for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 18:03:31 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46575) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQrXG-0003Qd-Qa for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 18:03:31 -0500 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 n0ON3S6I006615; Sat, 24 Jan 2009 15:03:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0OMo5Jo003198; Sat, 24 Jan 2009 14:50:05 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1990 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:24474 Archived-At: This is a multi-part message in MIME format... ------------=_1232837405-3128-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 24 Jan 2009 17:44:13 -0500 with message-id <874ozowchu.fsf@cyd.mit.edu> and subject line Re: bug#1990: 23.0.60; Emacs trying too hard to find fonts= that don't exist has caused the Emacs bug report #1990, regarding 23.0.60; Emacs trying too hard to find fonts that don't exist 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 1990: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1990 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1232837405-3128-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jan 2009 13:23:13 +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 n0MDN9i8018736 for ; Thu, 22 Jan 2009 05:23:10 -0800 Received: from mx10.gnu.org ([199.232.76.166]:59514) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LPzV3-0003hA-H0 for emacs-pretest-bug@gnu.org; Thu, 22 Jan 2009 08:21:37 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LPzWU-0001rD-Fe for emacs-pretest-bug@gnu.org; Thu, 22 Jan 2009 08:23:08 -0500 Received: from mail-qy0-f17.google.com ([209.85.221.17]:40441) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPzWT-0001r3-Pb for emacs-pretest-bug@gnu.org; Thu, 22 Jan 2009 08:23:06 -0500 Received: by qyk10 with SMTP id 10so4994365qyk.18 for ; Thu, 22 Jan 2009 05:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=Qez417UXvEaIwZqheQskMx9kGs2YpP3fXsC778qz38w=; b=BXHX1yAMK3WjES24Hq5TVITt0g8T5mhIOIRfrkHb4BzHxLMUf7T+2QyVx0igCOu6ua QJa0PUy7VbOmCsz/jOKJ11mKOuqJ2faFEnoAxcWd3S/cXM5h5+R4nOUhk5+lvZlzVTdQ gdqLm8G7E49+6lUX9XRkPnznr45CYgUpEWV7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=wetvav6rGFEVuG4zUyvHw5a4/5WgizqBk7NMtaCos+fULc95GXd4x1Rn6eGg2APnks igkLEE9NLfvNBhmDWbX4OT4+J/WlIECGuSSmhRXqkjrV9P0P6vPYcHdh/uSEMM+2Dsf7 WZBM0/gGox3+aq0diuAJ+4imWnlgUHuBuGPvE= Received: by 10.214.184.10 with SMTP id h10mr5921672qaf.191.1232630584085; Thu, 22 Jan 2009 05:23:04 -0800 (PST) Received: from ?192.168.249.26? ([118.101.26.137]) by mx.google.com with ESMTPS id 4sm12548434yxq.46.2009.01.22.05.23.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jan 2009 05:23:03 -0800 (PST) Sender: Jason Rumney Message-ID: <49787318.20708@gnu.org> Date: Thu, 22 Jan 2009 21:22:32 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: emacs-pretest-bug Subject: 23.0.60; Emacs trying too hard to find fonts that don't exist Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: If fonts are not installed for some characters, then Emacs keeps trying to find fonts for them every time those characters are redisplayed. The following excerpt from font-log is with the xft font backend on GNU/Linux where the search is quick, thus not noticeable, but on Windows the search for fonts is expensive, so redisplay takes a couple of seconds. I have cut the end off, as the full font-log is long, but you can see from the first two font-for entries that Emacs is trying twice for the same character (and it tries again many times further down the log). font for: (4121 . mule-unicode-0100-24ff) list: -mutt-clearlyu-*-iso10646-1 list: -gnu-unifont-*-iso10646-1 list: -bitstream-Bitstream Vera Sans Mono-*-gb18030*-* list: -*-Bitstream Vera Sans Mono-*-gb18030*-* list: -bitstream-*-gb18030*-* list: -*-gb18030*-* list: -bitstream-Bitstream Vera Sans Mono-*-ksc5601.1987*-* list: -*-Bitstream Vera Sans Mono-*-ksc5601.1987*-* list: -bitstream-*-ksc5601.1987*-* list: -*-ksc5601.1987*-* list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-1 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-1 list: -bitstream-*-cns11643.1992-1 list: -*-cns11643.1992-1 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-4 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-4 list: -bitstream-*-cns11643.1992-4 list: -*-cns11643.1992-4 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-5 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-5 list: -bitstream-*-cns11643.1992-5 list: -*-cns11643.1992-5 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-6 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-6 list: -bitstream-*-cns11643.1992-6 list: -*-cns11643.1992-6 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-7 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-7 list: -bitstream-*-cns11643.1992-7 list: -*-cns11643.1992-7 font for: (4121 . mule-unicode-0100-24ff) list: -mutt-clearlyu-*-iso10646-1 list: -gnu-unifont-*-iso10646-1 list: -bitstream-Bitstream Vera Sans Mono-*-gb18030*-* list: -*-Bitstream Vera Sans Mono-*-gb18030*-* list: -bitstream-*-gb18030*-* list: -*-gb18030*-* list: -bitstream-Bitstream Vera Sans Mono-*-ksc5601.1987*-* list: -*-Bitstream Vera Sans Mono-*-ksc5601.1987*-* list: -bitstream-*-ksc5601.1987*-* list: -*-ksc5601.1987*-* list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-1 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-1 list: -bitstream-*-cns11643.1992-1 list: -*-cns11643.1992-1 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-4 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-4 list: -bitstream-*-cns11643.1992-4 list: -*-cns11643.1992-4 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-5 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-5 list: -bitstream-*-cns11643.1992-5 list: -*-cns11643.1992-5 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-6 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-6 list: -bitstream-*-cns11643.1992-6 list: -*-cns11643.1992-6 list: -bitstream-Bitstream Vera Sans Mono-*-cns11643.1992-7 list: -*-Bitstream Vera Sans Mono-*-cns11643.1992-7 list: -bitstream-*-cns11643.1992-7 list: -*-cns11643.1992-7 To reproduce: C-h h On my system, there are boxes displayed for Sinhala, Tibetan, Khmer and Burmese. Scroll down so that the first set of boxes disappears just off the top of the window. M-: (setq font-log nil) Scroll back up M-x font-show-log 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 /home/jasonr/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.11) of 2008-12-28 on wanchan.jasonrumney.net Windowing system distributor `Colin Harrison', version 11.0.60900031 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: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Help Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-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 view-mode: t Recent input: x C-g C-h h : ( s e t q SPC f o n t - l o g SPC n i l ) x f o n t - s h C-@ w x r e p o r t - e m a Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Quit Loading vc-cvs...done View mode: type C-h for help, h for commands, q to quit. nil Mark activated Saved text from "font for: (4121 . mule-unicode-0100-24ff" ------------=_1232837405-3128-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1990-done) by emacsbugs.donarmstrong.com; 24 Jan 2009 22:43:54 +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=GMAIL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 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 n0OMhk6A001730; Sat, 24 Jan 2009 14:43:47 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id AAB3357E196; Sat, 24 Jan 2009 17:44:13 -0500 (EST) From: Chong Yidong To: Juanma Barranquero Cc: Jason Rumney , Kenichi Handa , 1990-done@emacsbugs.donarmstrong.com, 1952-done@emacsbugs.donarmstrong.com Subject: Re: bug#1990: 23.0.60; Emacs trying too hard to find fonts that don't exist References: <87sknaaa0m.fsf@cyd.mit.edu> <4979CD93.5040503@gnu.org> <87d4ec1o6z.fsf@cyd.mit.edu> <878wp0weqf.fsf@cyd.mit.edu> Date: Sat, 24 Jan 2009 17:44:13 -0500 In-Reply-To: (Juanma Barranquero's message of "Sat, 24 Jan 2009 23:06:34 +0100") Message-ID: <874ozowchu.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Juanma Barranquero writes: >> That log message is emitted just before calling fontset_font (which is >> where we would check whether fonts are known not to exist). > > OK. > > Then, please install your change. It's a big improvement. I have installed a similar patch in CVS. ------------=_1232837405-3128-0--