From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#1990: 23.0.60; Emacs trying too hard to find fonts that don't exist Date: Fri, 23 Jan 2009 22:00:51 +0800 Message-ID: <4979CD93.5040503@gnu.org> References: <87sknaaa0m.fsf@cyd.mit.edu> 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 1232721194 24271 80.91.229.12 (23 Jan 2009 14:33:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2009 14:33:14 +0000 (UTC) Cc: 1990@emacsbugs.donarmstrong.com, Kenichi Handa To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 23 15:34:27 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 1LQN73-0002Zn-TT for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jan 2009 15:34:26 +0100 Original-Received: from localhost ([127.0.0.1]:40541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQN5m-0001Zo-Df for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Jan 2009 09:33:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQMwY-0006XJ-05 for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 09:23:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQMwV-0006TE-H5 for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 09:23:32 -0500 Original-Received: from [199.232.76.173] (port=39979 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQMwV-0006Sy-6H for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 09:23:31 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54515) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQMwU-0001jX-I8 for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 09:23:30 -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 n0NENScN005055; Fri, 23 Jan 2009 06:23:28 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0NEA3UL001604; Fri, 23 Jan 2009 06:10:03 -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: Fri, 23 Jan 2009 14:10: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.123271929032070 (code B ref 1990); Fri, 23 Jan 2009 14:10:03 +0000 Original-Received: (at 1990) by emacsbugs.donarmstrong.com; 23 Jan 2009 14:01:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-qy0-f20.google.com (mail-qy0-f20.google.com [209.85.221.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0NE1RZI032064 for <1990@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 06:01:28 -0800 Original-Received: by qyk13 with SMTP id 13so18026469qyk.1 for <1990@emacsbugs.donarmstrong.com>; Fri, 23 Jan 2009 06:01:22 -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:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=dgg9AsXUgFTMRsuFvlKpHx42viTUEnIT8774IegwzUk=; b=Vxzfxo7RuQBaY5Nle94i/svx81+8sFVdLibhrkjIXtIMGKdh7uTp131xoAs+D+uw6+ a7MfNPhmx2FPe4Ip5dnMA7YxdXR1SsZVm/hA32YSCEJReZNQribNFxcqHDhgyuex9tL3 Cw1YqNU7aLjzNYUxPEcjT47wu1K5suEWpBQ0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=jS/iJS6kKvE9smCwt8E3BiH21TY49N9S+5E+2pGifqyv3mQd7T24QCtBgeydu9f5tS sHDKrS8fOzEHv7pVXBKleggbHykMMZtd0QDHjrl13y439yHLnTfl9VabyFfNiu51fQR2 O/6pas0SeiGrYAPsnU9VIxPWFkQUp+Nrtbi0Y= Original-Received: by 10.214.25.15 with SMTP id 15mr12576326qay.119.1232719281933; Fri, 23 Jan 2009 06:01:21 -0800 (PST) Original-Received: from ?192.168.249.26? ([118.101.26.137]) by mx.google.com with ESMTPS id 6sm8751147qwk.52.2009.01.23.06.01.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jan 2009 06:01:21 -0800 (PST) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <87sknaaa0m.fsf@cyd.mit.edu> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 23 Jan 2009 09:23:32 -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:24420 Archived-At: Chong Yidong wrote: > At the end of fontset_font (fontset.c:699), there is the following code: > > /* Remeber that we have no font for C. */ > FONTSET_SET (fontset, make_number (c), Qt); > > return Qnil; > > However, there are several other places in that function that return > with a Qnil, without doing this FONTSET_SET. Do matters improve if we > do the same FONTSET_SET call before returning? > It doesn't seem to help much, if at all. Looking at those other locations, nil is only returned when some other function returns t, indicating that it already remembers that we have no font.