From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Face specifications in font-lock-keywords (part II). Date: Thu, 07 Apr 2005 09:01:50 -0400 Message-ID: <871x9magj0.fsf-monnier+emacs@gnu.org> References: <87hdiiyiwa.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112878923 7949 80.91.229.2 (7 Apr 2005 13:02:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2005 13:02:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 07 15:02:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJWdz-0004Yo-0G for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 15:01:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJWDH-0003sF-FB for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 08:34:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJWC0-0003a7-S8 for emacs-devel@gnu.org; Thu, 07 Apr 2005 08:33:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJWC0-0003ZO-MM for emacs-devel@gnu.org; Thu, 07 Apr 2005 08:33:04 -0400 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJWeU-0002DC-Mr for emacs-devel@gnu.org; Thu, 07 Apr 2005 09:02:30 -0400 Original-Received: from alfajor ([67.68.217.126]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050407130150.LJSJ25800.tomts13-srv.bellnexxia.net@alfajor>; Thu, 7 Apr 2005 09:01:50 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id DF816D75EC; Thu, 7 Apr 2005 09:01:50 -0400 (EDT) Original-To: Lute Kamstra In-Reply-To: <87hdiiyiwa.fsf@xs4all.nl> (Lute Kamstra's message of "Thu, 07 Apr 2005 12:35:01 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: news.gmane.org gmane.emacs.devel:35696 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35696 > However, using the fancy FACESPEC directly like this: > ("oele" . '(face font-lock-builtin-face)) > ("oele" . (0 '(face font-lock-builtin-face))) > works only in the second case. Is this a bug? Check the value of font-lock-keywords in the buffer after turning font-lock mode ON (font-lock "compiles" the keywords before using them. "compiles" here only means use a canonical format which IIRC would be something like ("oele" (0 font-lock-builtin-face))). Stefan