From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Raul Acevedo Newsgroups: gmane.emacs.help Subject: help with font-lock-multiline Date: Mon, 27 Sep 2004 16:02:49 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1096326169.832.28.camel@cantara> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096326245 13556 80.91.229.6 (27 Sep 2004 23:04:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2004 23:04:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 28 01:03:53 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CC4XB-0007ca-00 for ; Tue, 28 Sep 2004 01:03:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CC4dQ-00070Y-VI for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Sep 2004 19:10:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CC4dG-00070E-Cd for help-gnu-emacs@gnu.org; Mon, 27 Sep 2004 19:10:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CC4dF-0006zv-8k for help-gnu-emacs@gnu.org; Mon, 27 Sep 2004 19:10:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CC4dE-0006zs-NF for help-gnu-emacs@gnu.org; Mon, 27 Sep 2004 19:10:08 -0400 Original-Received: from [64.81.61.238] (helo=www.cantara.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CC4Wl-00089f-T3 for help-gnu-emacs@gnu.org; Mon, 27 Sep 2004 19:03:28 -0400 Original-Received: from cantara (corp.hotwire.com [63.206.204.3]) (authenticated bits=0) by www.cantara.com (8.12.11/8.12.11) with ESMTP id i8RN3V7Z026549 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 27 Sep 2004 16:03:32 -0700 Original-To: help-gnu-emacs@gnu.org X-Mailer: Evolution 2.0.0 X-Scanned-By: MIMEDefang 2.44 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20916 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20916 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