From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: font-lock-keywords uses only facename Date: 05 Jun 2004 11:58:19 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87oeo0i4p1.fsf@emacswiki.org> <20040603235508.GA26475@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086451122 32545 80.91.224.253 (5 Jun 2004 15:58:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2004 15:58:42 +0000 (UTC) Cc: emacs-devel@gnu.org, Alex Schroeder Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Jun 05 17:58:36 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 1BWdZ6-00015G-00 for ; Sat, 05 Jun 2004 17:58:36 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWdZ6-0006kv-00 for ; Sat, 05 Jun 2004 17:58:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWdZX-0005yy-Tt for emacs-devel@quimby.gnus.org; Sat, 05 Jun 2004 11:59:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BWdZV-0005yt-FV for emacs-devel@gnu.org; Sat, 05 Jun 2004 11:59:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BWdZT-0005yh-TX for emacs-devel@gnu.org; Sat, 05 Jun 2004 11:59:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWdZT-0005ye-QQ for emacs-devel@gnu.org; Sat, 05 Jun 2004 11:58:59 -0400 Original-Received: from [206.47.199.166] (helo=simmts8-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BWdYq-0007ej-UQ; Sat, 05 Jun 2004 11:58:21 -0400 Original-Received: from empanada.local ([67.70.165.93]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040605155815.WTOT28685.simmts8-srv.bellnexxia.net@empanada.local>; Sat, 5 Jun 2004 11:58:15 -0400 Original-Received: by empanada.local (Postfix, from userid 502) id 473B4226C16; Sat, 5 Jun 2004 11:58:19 -0400 (EDT) Original-To: Miles Bader In-Reply-To: Original-Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:24579 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24579 >> Well, the "eval feature" is used extensively at many places, yes. > Can you explain a typical usage? I think a typical usage is when you want to supplement the regexp by some elisp condition. Another is when you want to not only add a face but also do a few more things like put an overlay. The code is evaluated right after the call to re-search-forward (thus the match-data is available, ...). Stefan