M-x version:
GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600) of 2008-03-26 on RELEASE
C-h v cperl-version
Its value is "5.23"

Hmm, I guess I am a little behind on my emacs version.

Paste of htmlized mode

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- Created by htmlize-1.36 in css mode. --> <html> <head> <title>*foo</title> <style type="text/css"> <!-- body { color: #7cfc00; background-color: #000000; } .comment { /* font-lock-comment-face */ color: #ff7f24; } .comment-delimiter { /* font-lock-comment-delimiter-face */ color: #ff7f24; } .constant { /* font-lock-constant-face */ color: #7fffd4; } .cperl-nonoverridable { /* cperl-nonoverridable-face */ color: #ff83fa; } .keyword { /* font-lock-keyword-face */ color: #00ffff; } .string { /* font-lock-string-face */ color: #ffa07a; } a { color: inherit; background-color: inherit; font: inherit; text-decoration: inherit; } a:hover { text-decoration: underline; } --> </style> </head> <body> <pre> <span class="comment-delimiter">#</span><span class="comment">!/usr/bi +n/perl </span> <span class="comment">__DATA__</span> <span class="cperl-nonoverridable">s</span><span class="constant">/</s +pan><span class="string">huh</span><span class="constant">/</span><sp +an class="string">ttt</span><span class="constant">/</span><span clas +s="cperl-nonoverridable">g</span> <span class="keyword">for</span> (1..9) { <span class="cperl-nonoverr +idable">print</span> <span class="string">"huhu"</span>} </pre> </body> </html>

If you want a screenshot instead, let me know.

--MidLifeXis


In reply to Re: (EMACS) please help checking a bug => highlighting after __DATA__ by MidLifeXis
in thread (EMACS) please help checking a bug => highlighting after __DATA__ by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.