From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: Face specifications in font-lock-keywords. Date: Thu, 07 Apr 2005 08:58:55 +0200 Message-ID: References: <87y8bwf5px.fsf@xs4all.nl> <871x9oc9i9.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112858537 7440 80.91.229.2 (7 Apr 2005 07:22:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2005 07:22:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 07 09:22:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DJRKO-0005gY-O5 for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 09:21:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJQte-0002It-H6 for ged-emacs-devel@m.gmane.org; Thu, 07 Apr 2005 02:53:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJQpV-00085C-Un for emacs-devel@gnu.org; Thu, 07 Apr 2005 02:49:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJQpV-000800-Cw for emacs-devel@gnu.org; Thu, 07 Apr 2005 02:49:29 -0400 Original-Received: from [134.96.7.25] (helo=triton.rz.uni-saarland.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJQzR-0008TW-5r for emacs-devel@gnu.org; Thu, 07 Apr 2005 02:59:45 -0400 Original-Received: from iwi-gate.iwi.uni-sb.de (iwi-gate.iwi.uni-sb.de [134.96.72.13]) by triton.rz.uni-saarland.de (8.12.10/8.12.10) with ESMTP id j376x5wx5474070; Thu, 7 Apr 2005 08:59:06 +0200 (CEST) Original-Received: from [134.96.72.190] (helo=neutrino.iwi.uni-sb.de) by iwi-gate.iwi.uni-sb.de with esmtp (Exim 4.43 (FreeBSD)) id 1DJQyb-000Aem-EI; Thu, 07 Apr 2005 08:58:53 +0200 Original-Received: from angeli by neutrino.iwi.uni-sb.de with local (Exim 4.50) id 1DJQyd-00027V-H0; Thu, 07 Apr 2005 08:58:55 +0200 Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Wed, 06 Apr 2005 18:38:00 -0400") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) X-IWi-MailScanner-Information: Please contact the ISP for more information X-IWi-MailScanner: Found to be clean X-IWi-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5, autolearn=disabled) X-MailScanner-From: angeli@iwi.uni-sb.de X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (triton.rz.uni-saarland.de [134.96.7.25]); Thu, 07 Apr 2005 08:59:06 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.30.0.7; VDF 6.30.0.71 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:35681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35681 * Stefan Monnier (2005-04-07) writes: >>> It's probably discussed in the section talking about faces. >>> It's not specific to font-lock at all. > >> In the section about faces there is a subsection about face >> attributes. > > OK, I was wrong: since it's not a feature of faces but of the `face' text > property, it's mentioned in (info "(elisp)Special Properties"). > > I don't particularly like this feature, so I see no need to advertise it > more. I cannot say that I like or dislike it, but in fact AUCTeX is already using it in order to allow a user to specify lists of LaTeX macros which should get a special fontification. For the special fontification one can either select a face already present or specify face attributes. Without the possibility to use face attributes the choices would be rather limited if you don't expect a user to define his own faces. I hope this feature will stay and mentioning it in the documentation for `font-lock-keywords' would make me feel more confident that it will. -- Ralf