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: font-lock-keywords uses only facename Date: Fri, 04 Jun 2004 12:41:08 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87oeo0i4p1.fsf@emacswiki.org> <20040603235508.GA26475@fencepost> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086320507 28589 80.91.224.253 (4 Jun 2004 03:41:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Jun 2004 03:41:47 +0000 (UTC) Cc: emacs-devel@gnu.org, Alex Schroeder Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jun 04 05:41:39 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BW5aN-0004Ih-00 for ; Fri, 04 Jun 2004 05:41:39 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BW5aN-0005hm-00 for ; Fri, 04 Jun 2004 05:41:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW5ak-0000zA-4b for emacs-devel@quimby.gnus.org; Thu, 03 Jun 2004 23:42:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BW5ah-0000yz-Hv for emacs-devel@gnu.org; Thu, 03 Jun 2004 23:41:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BW5ag-0000yn-3s for emacs-devel@gnu.org; Thu, 03 Jun 2004 23:41:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW5af-0000yk-VP for emacs-devel@gnu.org; Thu, 03 Jun 2004 23:41:58 -0400 Original-Received: from [202.32.8.202] (helo=TYO202.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BW5a3-0001nO-AQ; Thu, 03 Jun 2004 23:41:19 -0400 Original-Received: from mailgate3.nec.co.jp (mailgate53.nec.co.jp [10.7.69.161] (may be forged)) by TYO202.gate.nec.co.jp (8.11.7/3.7W01080315) with ESMTP id i543fCY05391; Fri, 4 Jun 2004 12:41:12 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id i543fCk02265; Fri, 4 Jun 2004 12:41:12 +0900 (JST) Original-Received: from edtmg05.lsi.nec.co.jp ([10.26.17.202]) by mailsv4.nec.co.jp (8.11.7/3.7W-MAILSV4-NEC) with ESMTP id i543fB602639; Fri, 4 Jun 2004 12:41:11 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edtmg05.lsi.nec.co.jp (8.12.10/8.12.10) with ESMTP id i543f9Mv010415; Fri, 4 Jun 2004 12:41:10 +0900 (JST) Original-Received: from mctpc71 (mctpc71.ucom.lsi.nec.co.jp [10.30.118.121]) by mcsss2.ucom.lsi.nec.co.jp (8.12.10/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id i543f8Im004264; Fri, 4 Jun 2004 12:41:08 +0900 (JST) Original-Received: by mctpc71 (Postfix, from userid 31295) id 8AA9E48E; Fri, 4 Jun 2004 12:41:08 +0900 (JST) Original-To: Stefan Monnier System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: (Stefan Monnier's message of "03 Jun 2004 23:33:38 -0400") Original-Lines: 16 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24508 Stefan Monnier writes: > If I were writing it today, I'd just do an `eval' as did Simon Marshall: > it's simpler and there is no loss of generality. And adding a quote is > really not that difficult. Does anyone ever use the eval feature, except old code that has `face' variables (a practice which seems out of favor these days)? What's certainly the case is that it often causes confusion, although admittedly some of this is due to font-lock's `standard' faces using variables and faces with exactly the same name. -Miles -- "Whatever you do will be insignificant, but it is very important that you do it." Mahatma Gandhi