From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1990: 23.0.60; Emacs trying too hard to find fonts that don't exist Date: Thu, 22 Jan 2009 21:22:32 +0800 Message-ID: <49787318.20708@gnu.org> Reply-To: Jason Rumney , 1990@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232631873 14906 80.91.229.12 (22 Jan 2009 13:44:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 13:44:33 +0000 (UTC) To: emacs-pretest-bug Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 22 14:45:45 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 1LPzsA-00048m-BG for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 14:45:30 +0100 Original-Received: from localhost ([127.0.0.1]:40706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPzqt-0004xb-24 for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 08:44:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPzqL-0004Mo-6K for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 08:43:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPzqH-0004IA-Ft for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 08:43:34 -0500 Original-Received: from [199.232.76.173] (port=49234 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPzqG-0004Hu-Ed for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 08:43:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41392) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPzqE-0004Pa-G2 for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 08:43: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 n0MDhSsc023540; Thu, 22 Jan 2009 05:43:28 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0MDU4fF020109; Thu, 22 Jan 2009 05:30:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 22 Jan 2009 13:30:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1990 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123263059318742 (code B ref -1); Thu, 22 Jan 2009 13:30:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 22 Jan 2009 13:23:13 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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= Original-Received: by 10.214.184.10 with SMTP id h10mr5921672qaf.191.1232630584085; Thu, 22 Jan 2009 05:23:04 -0800 (PST) Original-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) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 22 Jan 2009 08:43:34 -0500 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:24386 gmane.emacs.pretest.bugs:23733 Archived-At: 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"