From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#1990: 23.0.60; Emacs trying too hard to find fonts that don't exist Date: Mon, 26 Jan 2009 10:51:57 -0500 Message-ID: <87tz7moyjm.fsf@cyd.mit.edu> References: <87sknaaa0m.fsf@cyd.mit.edu> <4979CD93.5040503@gnu.org> <87d4ec1o6z.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 1990@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1233003642 18973 80.91.229.12 (26 Jan 2009 21:00:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 21:00:42 +0000 (UTC) Cc: 1990@emacsbugs.donarmstrong.com To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 22:01:54 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 1LRYaX-0003H7-QD for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 22:01:46 +0100 Original-Received: from localhost ([127.0.0.1]:34605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRYZG-0000HG-2Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 16:00:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRWqm-0004Ul-LV for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 14:10:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRWql-0004TH-Q0 for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 14:10:24 -0500 Original-Received: from [199.232.76.173] (port=52542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRWql-0004Sx-GF for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 14:10:23 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:51790) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRV1a-0003vU-Lz for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 12:13:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRU0k-00036i-UV for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 11:08: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 n0QG3TqZ014161; Mon, 26 Jan 2009 08:03:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0QG03Oc012992; Mon, 26 Jan 2009 08:00:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 26 Jan 2009 16:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1990 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1990-submit@emacsbugs.donarmstrong.com id=B1990.123298509511689 (code B ref 1990); Mon, 26 Jan 2009 16:00:03 +0000 Original-Received: (at 1990) by emacsbugs.donarmstrong.com; 26 Jan 2009 15:51:35 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 n0QFpRO8011681 for <1990@emacsbugs.donarmstrong.com>; Mon, 26 Jan 2009 07:51:29 -0800 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 2300E57E197; Mon, 26 Jan 2009 10:51:57 -0500 (EST) In-Reply-To: (Kenichi Handa's message of "Mon, 26 Jan 2009 17:00:09 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Mon, 26 Jan 2009 14:10:24 -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:24576 Archived-At: Kenichi Handa writes: > I found a bug in fontset_find_font in handling non-cons > return value of fontset_get_font_group (it seems that I > embugged it when I modified fontset.c largely last time). > > Your change surely fixes the bug, but it does unnecessary > char-table lookup for the normal case (i.e. a font is > found). So, I think the following patch is better. > > If you agree, please install it. I, at the moment, can't do > cvs commit. Installed, thanks.