help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (cperl-mode) Problems with syntax highlighting after __DATA__ !


From: Ted Zlatanov
Subject: Re: (cperl-mode) Problems with syntax highlighting after __DATA__ !
Date: Wed, 08 Dec 2010 15:32:27 -0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

On Sat, 16 Oct 2010 22:56:00 -0400 Stefan Monnier <monnier@iro.umontreal.ca> 
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]