unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Raul Acevedo <raul@cantara.com>
Subject: help with font-lock-multiline
Date: Mon, 27 Sep 2004 16:02:49 -0700	[thread overview]
Message-ID: <1096326169.832.28.camel@cantara> (raw)

I'm doing JSP development, and I want something very simple.  I want to
fontify the text between <% and %> tags, even if spread across multiple
lines. 

How do I do this?  I've tried regular expressions such as:

  <%.+%>
  <%\(.+\n\)+%>

and many variations, but none work.  With enough messing around I can
get some parts fontified, but it's not consistent.  Yes, I have setq-
default font-lock-multiline to true.

Anyone gotten multiline fontification in any mode to work?  How?

Raul

             reply	other threads:[~2004-09-27 23:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-27 23:02 Raul Acevedo [this message]
     [not found] <mailman.4324.1096326611.1998.help-gnu-emacs@gnu.org>
2004-09-28  2:12 ` help with font-lock-multiline Katsumi Yamaoka
2004-09-28 16:38 ` Stefan Monnier
2004-09-28 17:01   ` Gian Uberto Lauri
     [not found]   ` <mailman.103.1096391270.2017.help-gnu-emacs@gnu.org>
2004-09-28 19:41     ` Stefan Monnier
2004-09-30 12:36   ` Katsumi Yamaoka

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1096326169.832.28.camel@cantara \
    --to=raul@cantara.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).