From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.help Subject: Re: (cperl-mode) Problems with syntax highlighting after __DATA__ ! Date: Tue, 19 Oct 2010 10:38:28 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87wrpeqjkb.fsf@lifelogs.com> References: <6dc535d1-ce05-449d-a3ff-d062f5e634d1@z28g2000vba.googlegroups.com> <55f6a9f1-fd98-4069-9bf8-8e3e550f36af@30g2000yqm.googlegroups.com> <5e32a127-1e53-4f9d-899f-6c1329a5b589@i5g2000yqe.googlegroups.com> <70e70be1-3110-4136-97a0-dd8d923591de@28g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291896795 26142 80.91.229.12 (9 Dec 2010 12:13:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 12:13:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 13:13:10 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQfMy-0006Sb-PE for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 13:13:08 +0100 Original-Received: from localhost ([127.0.0.1]:43701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQfMx-0003x5-Gj for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 07:13:07 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-1.dfn.de!news.dfn.de!newsfeed.straub-nv.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-X-Trace: news.albasani.net Mq6Y2hdebZA7LcQrGgV69VPeYnIj83IWbLS2YJtygd/hDzOYBNeK1nrOxOS/cT1hwJwNoi/bTdXPz5OizIUFoqf4AQEjcX1uAc/008d4shrMEDNj+1bU44RRLPR1po0E Original-NNTP-Posting-Date: Tue, 19 Oct 2010 15:38:29 +0000 (UTC) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:KBqN/AyveadpbcKlLNGH4c8nzmc= sha1:8tKet0rpiX2r716u8B/G9h3hLmU= User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Injection-Info: news.albasani.net; logging-data="8QgLtlGe4AiEOmV9DNbIBNsvPmozPwcpFz0HPJgZdhyBz03HFh7EoU74Xm7kLLHEDgIpdtw+tqjOR0WW7hi1M5i//IOH6yuoCBAW5DM5fTj8OGS7Iy100uH7u57rGoma"; mail-complaints-to="abuse@albasani.net" Original-Xref: usenet.stanford.edu gnu.emacs.help:181872 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: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77017 Archived-At: On Sat, 16 Oct 2010 22:56:00 -0400 Stefan Monnier wrote: >> perl-mode also tries to highlight behind __DATA__, SM> Yes, of course: short of using multiple major modes (which is something SM> Emacs doesn't support very well for now), there's not much highlighting SM> we can do other than assuming Perl syntax. I think it's not that bad. __DATA__ is the same content (semantically) as a here-file, which perl-mode and cperl-mode can handle. It always ends with EOF or with another __X__ marker on a new line. Ted