DCPM: emacs sytax highlighting in cperl-mode

Matthew Browning mb at matthewb.org
Sat Nov 29 08:20:40 CST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This has been discussed before and relates to the process of 
programming Perl so is not that OT.

The other day it came to my attention that it was now possible to 
compile GNU Emacs with GTK2 and, as such, make it look prettier.  So I 
checked out the latest version from CVS and decided to have a go the 
other night.  

Now, `This is GNU Emacs 21.3.50.3 (i686-pc-linux-gnu, GTK+ Version 
2.2.4)' and I am typing into it on a Saturday with loads of work to do 
and I noticed something about cperl-mode...I can't break the syntax 
highlighting.  Seriously.  I just did this:

print qq[this
          is
           testing
            emacs];
print <<ENDOF;
 test
  test
   test
ENDOF

s#\\##; #comment
format =
@<<<<<<<<<<<<<<<<<
$test
.

print "looks good.\n";

...and it is all highlighted correctly.

This is good.  MB.

- -- 
http://matthewb.org/public_key.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/yKs+y5o0lRFL2ooRAuHnAJsFSO5XezzKuyKbIZuZqcBGkFNLuACeODwW
HxoGKK3mF0w4PBQn0oNaKVk=
=FcBq
-----END PGP SIGNATURE-----



More information about the Devoncornwall-pm mailing list