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

Perl syntax highlighting in (X)Emacs (was Re: Simple Text Editor with Synatx highlighting?)



>> (X)Emacs with CPerl mode.
> 
> Even that's not, hmmm, what it should be.  Cases that come to mind are
> certain regular expressions and here documents.  Unless I've been
> using a different Perl mode in Emacs.

I haven't noticed any issues, but I don't make huge usage of here documents,
and I tend towards non-standard bracketing for regexps, which means I do
explict 'm's for matching. Those two factors might explain why I think it's
satisfactory.

OTOH, IIRC, there is a setting for how 'robust' the syntax parser tries to
be; it's a time/speed tradeoff. I _think_ the default may be less than
completely stringent. If you're really interested, M-x customize RET
cperl-mode should tell all, at least in XEmacs.

john.

-- 
           [ John S Jacobs Anderson ]------><URL:mailto:jacobs@genehack.org>
[ Genehack: Not your daddy's weblog ]------><URL:http://genehack.org>




Reply to: