From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Bold by moving pixels problem Date: 17 Dec 2002 15:28:47 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20021120220834.GC29543@gnu.org> <200211210133.gAL1XiP23941@rum.cs.yale.edu> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040106571 10028 80.91.224.249 (17 Dec 2002 06:29:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 06:29:31 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18OBEP-0002bQ-00 for ; Tue, 17 Dec 2002 07:29:29 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18OBSE-0003BK-00 for ; Tue, 17 Dec 2002 07:43:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OBEW-0005Ba-03 for emacs-devel@quimby.gnus.org; Tue, 17 Dec 2002 01:29:36 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18OBE9-00057f-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 01:29:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18OBE5-00052H-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 01:29:12 -0500 Original-Received: from tyo201.gate.nec.co.jp ([210.143.35.51]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OBE3-0004of-00; Tue, 17 Dec 2002 01:29:08 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193])gBH6Svw16522; Tue, 17 Dec 2002 15:28:57 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id gBH6SsT03534; Tue, 17 Dec 2002 15:28:54 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id gBH6Srq29943; Tue, 17 Dec 2002 15:28:53 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) id gBH6SmB18340; Tue, 17 Dec 2002 15:28:48 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id C2ACD3701; Tue, 17 Dec 2002 15:28:47 +0900 (JST) Original-To: bob@rattlesnake.com System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10196 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10196 I wrote: > `ubf-count' seems to continually incremented (if I keep checking in > *scratch* it goes up 2 or 3 each time, but if I display a complicated > new buffer, it can go up by 100). > > I guess I'll need to see exactly what it's getting called on, but this > suggests that maybe more places should be checking the face cache > (or that the face-cache checking should be moved into realize_face). Duh! I just realized why it's doing this, because with the previous patch I sent, it _inserts_ into the cache using the post-filter-function attributes, but _looks up_ in the cache using pre-filter-function attributes (so cached faces never get properly found later). I'll fix it... -Miles -- 80% of success is just showing up. --Woody Allen