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: 09 Jan 2003 16:52:53 +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> <5xfzsvqzqx.fsf@kfs2.cua.dk> <5xu1ha42xc.fsf@kfs2.cua.dk> <87bs3i5h6a.fsf@tc-1-100.kawasaki.gol.ne.jp> <5xsmw5xlxg.fsf@kfs2.cua.dk> 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 1042099003 5450 80.91.224.249 (9 Jan 2003 07:56:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2003 07:56:43 +0000 (UTC) Cc: storm@cua.dk Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WXYP-0001Pe-00 for ; Thu, 09 Jan 2003 08:56:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18WXdq-0007ED-00 for ; Thu, 09 Jan 2003 09:02:18 +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 18WXYn-0005KV-04 for emacs-devel@quimby.gnus.org; Thu, 09 Jan 2003 02:57:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WXXw-0004U5-00 for emacs-devel@gnu.org; Thu, 09 Jan 2003 02:56:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18WXXE-0003n1-00 for emacs-devel@gnu.org; Thu, 09 Jan 2003 02:55:29 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.202]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WXVB-00036p-00; Thu, 09 Jan 2003 02:53:22 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195])h097qsU24085; Thu, 9 Jan 2003 16:52:55 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate52.nec.co.jp [10.7.69.191]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h097qsb28496; Thu, 9 Jan 2003 16:52: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 h097qsH17329; Thu, 9 Jan 2003 16:52:54 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) id h097qrB16776; Thu, 9 Jan 2003 16:52:53 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 62CBD3745; Thu, 9 Jan 2003 16:52:53 +0900 (JST) Original-To: rms@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: Original-Lines: 25 Original-cc: bob@rattlesnake.com Original-cc: emacs-devel@gnu.org 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:10602 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10602 Richard Stallman writes: > It might also make sense to use gensyms or other uninterned symbols as > anonymous faces. That way, they could have informal names that would > help humans understand what's going on when they're in use. Doing that would make them a lot more expensive, I think -- right now in places such as the face-realization-filter code that was being talked about, you've already got the face in the form of a vector, so all you've got to do is box it and pass it on. Requiring them to be named would require you to crank up all the rest of the face creation machinery; currently it would also prevent the face from ever being GCed (since emacs keeps a permanent list of all named faces). My idea, at least in this case, is something that can be used as a temporary `in between' face, e.g., to represent the result of face manipulation in the same way that the C code currently uses face vectors. Such faces are almost always going to be very short-lived so it's arguable whether such anymous names would even be useful in debugging. -Miles -- Fast, small, soon; pick any 2.