On Thursday 20 November 2008, Ed Avis wrote:
The following perl code trips up font-lock-mode in cperl-mode:
#!/usr/bin/perl
use warnings;
use strict;
use 5.010;
while (<>) {
s{\A\s*<(\w+)>\1Slot</\1>\s*\z}
To reproduce, run 'xemacs -nw -vanilla test-file' and type or paste in
this code, then
M-x cperl-mode RET
M-x font-lock-mode RET
M-x font-lock-fontify-buffer RET
XEmacs prints in the minibuffer:
Fontifying test... aborted.aborted.
I can reproduce with the current released perl-modes package, which is:
(perl-modes ver: 1.09 upstream: No-Upstream-Ver)
...and contains cperl-mode.el version 5.0. But the current perl-modes package
from the experimental packages area (1.14, contains cperl-mode.el 6.2) does
not seem to have this problem, so you may want to give it a try.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta