all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, Alex Schroeder <alex@emacswiki.org>
Subject: Re: font-lock-keywords uses only facename
Date: 05 Jun 2004 11:58:19 -0400	[thread overview]
Message-ID: <m14qpqm2az.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <buo7juoezhz.fsf@mctpc71.ucom.lsi.nec.co.jp>

>> 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

  reply	other threads:[~2004-06-05 15:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03 23:48 font-lock-keywords uses only facename Alex Schroeder
2004-06-03 23:55 ` Miles Bader
2004-06-04  3:33   ` Stefan Monnier
2004-06-04  3:41     ` Miles Bader
2004-06-04  3:58       ` Stefan Monnier
2004-06-04  4:08         ` Miles Bader
2004-06-05 15:58           ` Stefan [this message]
2004-06-05 13:47     ` Richard Stallman
2004-06-05 23:03       ` Miles Bader
2004-06-06 22:33         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m14qpqm2az.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=alex@emacswiki.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.