From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.emacs.devel Subject: Multiline font-lock Date: Thu, 15 Jan 2009 00:15:32 +0100 Message-ID: <87fxjlwkbv.fsf@mithrandir.homeunix.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231978112 32077 80.91.229.12 (15 Jan 2009 00:08:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2009 00:08:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 15 01:09:45 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LNFnq-0003uJ-Pp for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2009 01:09:43 +0100 Original-Received: from localhost ([127.0.0.1]:44612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNFma-0004Je-9l for ged-emacs-devel@m.gmane.org; Wed, 14 Jan 2009 19:08:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNFmW-0004Iz-15 for emacs-devel@gnu.org; Wed, 14 Jan 2009 19:08:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNFmU-0004In-En for emacs-devel@gnu.org; Wed, 14 Jan 2009 19:08:19 -0500 Original-Received: from [199.232.76.173] (port=44027 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNFmU-0004Ik-Br for emacs-devel@gnu.org; Wed, 14 Jan 2009 19:08:18 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:51167 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNFmT-0005fU-W6 for emacs-devel@gnu.org; Wed, 14 Jan 2009 19:08:18 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LNFmP-0003C9-32 for emacs-devel@gnu.org; Thu, 15 Jan 2009 00:08:13 +0000 Original-Received: from 81.red-83-33-179.dynamicip.rima-tde.net ([83.33.179.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2009 00:08:13 +0000 Original-Received: from jao by 81.red-83-33-179.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2009 00:08:13 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 81.red-83-33-179.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Attribution: jao X-URL: Cancel-Lock: sha1:cW5iA3djuWn3y0SjuZwHN5H1DCk= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:107877 Archived-At: Hi, I need multiline font lock in a major mode that i'm writing. I read in the elisp manual (and have actually checked it) that using regexps matching multiple lines in font-lock-keywords is a bad idea. I've also read the node dedicated to multiline font-lock in the manual, but it's not clear to me how it works. Could you please point me to an example of that mechanism being used? Thanks! jao