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. Date: Wed, 06 Apr 2005 09:37:50 -0400 Message-ID: <871x9oc9i9.fsf-monnier+emacs@gnu.org> References: <87y8bwf5px.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 1112794722 12721 80.91.229.2 (6 Apr 2005 13:38:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2005 13:38:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 06 15:38:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJAhc-0007BE-Ol for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 15:36:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJAGj-0005qp-52 for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 09:08:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJAGH-0005ml-22 for emacs-devel@gnu.org; Wed, 06 Apr 2005 09:08:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJAGG-0005mP-TW for emacs-devel@gnu.org; Wed, 06 Apr 2005 09:08:00 -0400 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJAja-0008E2-7B for emacs-devel@gnu.org; Wed, 06 Apr 2005 09:38:18 -0400 Original-Received: from alfajor ([67.68.217.126]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050406133750.BAQR26128.tomts5-srv.bellnexxia.net@alfajor>; Wed, 6 Apr 2005 09:37:50 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 7046CD75EC; Wed, 6 Apr 2005 09:37:50 -0400 (EDT) Original-To: Lute Kamstra In-Reply-To: <87y8bwf5px.fsf@xs4all.nl> (Lute Kamstra's message of "Wed, 06 Apr 2005 14:30:02 +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:35628 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35628 > (I'm updating the node Search-based Fontification in the lisp manual.) > The lisp manual says that a FACESPEC can be a list of the form > (face FACE PROP1 VAL1 PROP2 VAL2...) > whereas the docstring of font-lock-keywords says that this can be a > list of the form: > (face VAL1 PROP2 VAL2 PROP3 VAL3 ...) > The latter is obviously wrong. But is the former correct? To me both are equivalent and correct. What's the problem exactly? Regarding the discrepancy, I'd suggest we use the first form since it's a bit more explicit. Stefan