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

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

Re: [cperl-mode] fontification problem with PODs


From: Will Willis
Subject: Re: [cperl-mode] fontification problem with PODs
Date: Fri, 30 Oct 2009 23:15:58 -0500

over the years I've had to do alot of repeated M-x cperl-mode whilst coding in perl scripts containing POD - as the syntax highlighting would get lost or confused part-way down the file (usually turning everything into the comment color). Just something I've dealt with and never really attempted to fix.

I'm glad I'm not the only one having issues.

-Will

On Sat, Oct 24, 2009 at 1:12 AM, Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
On 2009-10-21, LanX <lanx.perl@googlemail.com> wrote:
> In the following example the second line is not classified as pod but
> the keyword "for" is considered part of a loop statement.

Since it is not POD, I do not see any problem

> --------------------------
> lanx@nc10-ubuntu:~/tmp$ cat perlpod.pm
> for (1..9) {print}
>=for comment

> It seems that loading another cperl-mode version causes conflicts with
> the bundled version!

This may happen if the buggy version is preloaded...  [I do not see
any problem with my version, both with emacs v19 and v21.]

> So effectively one has to stick with the bundled version ... :(

One may try to remove the buggy version from preloaded stuff (do not
remember how).

Yours,
Ilya


reply via email to

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