From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Bold by moving pixels problem Date: 07 Jan 2003 12:02:19 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5xsmw5xlxg.fsf@kfs2.cua.dk> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041997153 5884 80.91.224.249 (8 Jan 2003 03:39:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2003 03:39:13 +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 18W73g-0001Wg-00 for ; Wed, 08 Jan 2003 04:39:12 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18W78X-0007E4-00 for ; Wed, 08 Jan 2003 04:44:13 +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 18VytO-0001Fb-01 for emacs-devel@quimby.gnus.org; Tue, 07 Jan 2003 13:56:02 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18VqZu-0000H2-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 05:03:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18VqZO-00084v-00 for emacs-devel@gnu.org; Tue, 07 Jan 2003 05:03:21 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18VqZO-00083x-00; Tue, 07 Jan 2003 05:02:50 -0500 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 402917C012; Tue, 7 Jan 2003 11:02:49 +0100 (CET) Original-To: Miles Bader In-Reply-To: <87bs3i5h6a.fsf@tc-1-100.kawasaki.gol.ne.jp> Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-cc: bob@rattlesnake.com 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:10551 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10551 Miles Bader writes: > A while back I toyed with the idea of using face-vectors as `anonymous' > faces, since it's often a pain to have to name a face. > However, in many places, it's trival -- in particular > `internal-get-lisp-face-attribute' and `internal-set-lisp-face-attribute', > since they use vectors internally and just translate the face-symbol into a > vector at their start (the latter function would require a bit more tweaking, > but as far as I could see, it's still fair to call it `trivial'). > > Now if those two functions were changed to allow `anonymous' faces (face > vectors), then such functions as `face-attribute', `set-face-attribute', > `make-face-bold', etc., would all start working on face-vectors too! > > That way, functions in realize-face-filter-functions could still accept face- > vectors, avoiding the plist translation step, but also use the same familiar > face functions that users already know about; this seems like a huge win to > me... Me too. Did you try to implement this? -- Kim F. Storm http://www.cua.dk