From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: Advising in cc-awk.el and namespace Date: Wed, 16 Jul 2003 21:34:46 +0200 Sender: cc-mode-help-admin@lists.sourceforge.net Message-ID: <5b8yqyp8o9.fsf@lister.roxen.com> References: <200307111512.h6BFCnWg022719@rum.cs.yale.edu> Reply-To: bug-cc-mode@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1058384145 23466 80.91.224.249 (16 Jul 2003 19:35:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2003 19:35:45 +0000 (UTC) Cc: Alan Mackenzie , bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Wed Jul 16 21:35:43 2003 Return-path: Original-Received: from lists.sourceforge.net ([66.35.250.206] helo=sc8-sf-list2.sourceforge.net) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19cs3y-000668-00 for ; Wed, 16 Jul 2003 21:35:43 +0200 Original-Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 19cs4p-0000AO-00; Wed, 16 Jul 2003 12:36:35 -0700 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 19cs3Z-0004pp-00 for ; Wed, 16 Jul 2003 12:35:17 -0700 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.20) id 19cs3K-0004rK-Sc for bug-cc-mode@gnu.org; Wed, 16 Jul 2003 15:35:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19cs3D-0000Ib-W3 for bug-cc-mode@gnu.org; Wed, 16 Jul 2003 15:34:56 -0400 Original-Received: from godzilla.roxen.com ([194.52.182.190] helo=mail.roxen.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cs38-0008IT-LX; Wed, 16 Jul 2003 15:34:50 -0400 Original-Received: by mail.roxen.com (Postfix, from userid 52) id C229599F5; Wed, 16 Jul 2003 21:34:48 +0200 (MEST) Original-Received: from lister.roxen.com (lister.roxen.com [194.52.182.147]) by mail.roxen.com (Postfix) with ESMTP id 5F867993E; Wed, 16 Jul 2003 21:34:46 +0200 (MEST) Original-Received: from mast by lister.roxen.com with local (Exim 3.36 #1 (Debian)) id 19cs34-0004HG-00; Wed, 16 Jul 2003 21:34:46 +0200 Original-To: "Stefan Monnier" In-Reply-To: <200307111512.h6BFCnWg022719@rum.cs.yale.edu> ("Stefan Monnier"'s message of "Fri, 11 Jul 2003 11:12:49 -0400") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) Errors-To: cc-mode-help-admin@lists.sourceforge.net X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Unsubscribe: , List-Archive: X-Original-Date: Wed, 16 Jul 2003 21:34:46 +0200 Xref: main.gmane.org gmane.emacs.cc-mode.general:664 gmane.emacs.devel:15637 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15637 "Stefan Monnier" wrote: > PS: By the way, the comment in cc-fonts.el that says: > > ;; `c-invalid-face-name' is used. Since font-lock in Emacs expands > ;; all face names in `font-lock-keywords' as variables we need to have > ;; a variable for it that resolves to its own name. > > is wrong. It's just that font-lock-keywords specify expressions > (which are passed to `eval') so if you want to specify a face rather > than a variable containing a face you just need to quote the face name. Thanks for the clarification. The reason for that was to cope with XEmacs which doesn't evaluate it the same way. But I now noticed that it too can handle an extra quotation correctly. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0