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: 19 Dec 2002 20:27:04 +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> 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 1040297398 3225 80.91.224.249 (19 Dec 2002 11:29:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2002 11:29:58 +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 18OysG-0000pt-00 for ; Thu, 19 Dec 2002 12:29:56 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18OytM-000793-00 for ; Thu, 19 Dec 2002 12:31:05 +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 18Oyr1-0007jR-03 for emacs-devel@quimby.gnus.org; Thu, 19 Dec 2002 06:28:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18OyqU-0007IT-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 06:28:06 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18OyqG-0006av-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 06:27:58 -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 18OyqA-0006B0-00; Thu, 19 Dec 2002 06:27:46 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193])gBJBRAU09425; Thu, 19 Dec 2002 20:27:10 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id gBJBRAT21969; Thu, 19 Dec 2002 20:27:10 +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 gBJBR9q14247; Thu, 19 Dec 2002 20:27:09 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) id gBJBR5B08610; Thu, 19 Dec 2002 20:27:05 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id DBB763702; Thu, 19 Dec 2002 20:27:04 +0900 (JST) Original-To: storm@cua.dk (Kim F. Storm) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <5xu1ha42xc.fsf@kfs2.cua.dk> Original-Lines: 31 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:10277 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10277 storm@cua.dk (Kim F. Storm) writes: > > What about just providing accessor/setter macros for `lface' vectors, > > e.g., (lface-weight LFACE) and (set-lface-weight LFACE VAL)? > > IMO, That's just adding stuff to remedy the wrong approach; the plist > approach doesn't need adding _any_ new stuff at the lisp level. But it adds a fair amount of hair at the C level -- and a few lisp macros is not something to worry about. > > After all the `lface' representation _is_ exposed to lisp already, so > > such macros might help other code as well. > > Excuse my ignorance, but where is that exposed already? See `face-attributes-as-vector'. > > [I'm not sure about the term `lface' though -- it's used fairly > > pervasively in the C code, but of course that's from the perspective of > > the C code...] > > It seems to be called (internal-)lisp-face in stuff like > internal-make-lisp-face (try apropos on "internal lisp face"). > lisp-face-vector may be a good name? No, that's too long, and really, the term `lisp-' is rather silly in this context. -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down.