> cperl-mode 5.0-Emacs does not properly parse POD, regular expressions,
> or q* operators. When I start emacs -Q and enable font-lock-mode and
> load the following program under cperl-mode, the regular expression is
> not properly parsed and highlighted (if I were to insert a "'" into it,
> it would think that the rest of the script was a string!). The POD is
> not recognized as separate from the program, and the qq{} operator in
> the last line is not marked as a string.

Thank you.  I've installed the patch below which I believe should fix
your problem.

Index: lisp/progmodes/cperl-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cperl-mode.el,v
retrieving revision 1.60
diff -u -r1.60 cperl-mode.el
--- lisp/progmodes/cperl-mode.el        25 Mar 2005 10:06:23 -0000      1.60
+++ lisp/progmodes/cperl-mode.el        27 Apr 2005 19:44:16 -0000
@@ -1514,7 +1514,7 @@
        (make-local-variable 'font-lock-syntactic-keywords)
        (setq font-lock-syntactic-keywords
              (if cperl-syntaxify-by-font-lock
-                 '(t (cperl-fontify-syntaxically))
+                 '((cperl-fontify-syntaxically))
                '(t)))))
   (make-local-variable 'cperl-old-style)
   (if (boundp 'normal-auto-fill-function) ; 19.33 and later


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to