From mboxrd@z Thu Jan  1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Miles Bader <miles@gnu.org>
Newsgroups: gmane.emacs.devel,gmane.emacs.xemacs.beta
Subject: Re: intern-soft, find-face/get-face,
	and facep for determining faces' definedness
Date: Tue, 2 Nov 2004 17:20:06 -0500
Message-ID: <20041102222006.GC20505@fencepost>
References: <0whwtx5meng.fsf@rescomp.Stanford.EDU.i-did-not-set--mail-host-address--so-tickle-me>
	<87k6t4rd5b.fsf@tleepslib.sk.tsukuba.ac.jp>
	<847aaaf204110123282bb4ddd8@mail.gmail.com>
	<buofz3szobh.fsf@mctpc71.ucom.lsi.nec.co.jp>
	<847aaaf20411020048201a2419@mail.gmail.com>
	<buo654ozkhq.fsf@mctpc71.ucom.lsi.nec.co.jp>
	<847aaaf20411020121678a0b5c@mail.gmail.com>
	<buozn20y3ya.fsf@mctpc71.ucom.lsi.nec.co.jp>
	<87d5ywpi8v.fsf@tleepslib.sk.tsukuba.ac.jp>
NNTP-Posting-Host: deer.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sea.gmane.org 1099434164 5462 80.91.229.6 (2 Nov 2004 22:22:44 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Tue, 2 Nov 2004 22:22:44 +0000 (UTC)
Cc: xemacs-beta@xemacs.org, emacs-devel@gnu.org,
	Brian Palmer <bpalmer@rescomp.stanford.edu>, Miles Bader <miles@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 02 23:22:31 2004
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Original-Received: from lists.gnu.org ([199.232.76.165])
	by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
	id 1CP72t-00085Z-00
	for <ged-emacs-devel@m.gmane.org>; Tue, 02 Nov 2004 23:22:31 +0100
Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33)
	id 1CP7Ax-0006To-0i
	for ged-emacs-devel@m.gmane.org; Tue, 02 Nov 2004 17:30:51 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33)
	id 1CP7Aj-0006PO-2B
	for emacs-devel@gnu.org; Tue, 02 Nov 2004 17:30:37 -0500
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33)
	id 1CP7Ah-0006OR-M8
	for emacs-devel@gnu.org; Tue, 02 Nov 2004 17:30:35 -0500
Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.33) id 1CP7Ah-0006NN-46
	for emacs-devel@gnu.org; Tue, 02 Nov 2004 17:30:35 -0500
Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CP71q-0000kP-4p
	for emacs-devel@gnu.org; Tue, 02 Nov 2004 17:21:26 -0500
Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34)
	id 1CP70Y-0007vL-7x; Tue, 02 Nov 2004 17:20:06 -0500
Original-To: "Stephen J. Turnbull" <stephen@xemacs.org>
Content-Disposition: inline
In-Reply-To: <87d5ywpi8v.fsf@tleepslib.sk.tsukuba.ac.jp>
User-Agent: Mutt/1.3.28i
Blat: Foop
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Xref: main.gmane.org gmane.emacs.devel:29341 gmane.emacs.xemacs.beta:16667
X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29341

On Tue, Nov 02, 2004 at 09:06:56PM +0900, Stephen J. Turnbull wrote:
> We also have truly anonymous temporary faces, which get
> garbage collected simply by dropping them on the floor, as they never
> get entered into any tables.

As an aside, I've long wanted to add anonymous faces to Emacs; a cursory
investigation suggests that simply allowing lisp `face vectors' to be used in
a few places (skipping the name->vector lookup) would actually work.  However
the huge amount of backward-compatibility hair in Emacs' face machinery
always makes such things a bit touch-n-go...

[I don't think the name lookup efficiency is actually much of an issue though;
my reason is more to avoid the necessity of naming faces.]

-Miles
-- 
I'd rather be consing.