views:

360

answers:

2

The Emacs cperl-mode seems to get confused less than perl-mode, but the Skittles effect makes the thing unusable for me. Does anyone have or know of an example of a .emacs block that causes cperl-mode to use the colorization from perl-mode, ideally in a form readable enough that I can go back and turn back on the default colors one element at a time until I reach something I'm comfortable with?

In particular there is a hideously shade of light green used for some builtins that I find quite unreadable, and I prefer my variables to not have the leading $ and $$ and such tinted red along with the variable name. Most of the rest are merely distracting.

A: 

You can change the color theme if you don't like the particular default colors.

kixx
This doesn't help. ColorTheme appears to change all the colors *except* the ones used by cperl-mode, and it doesn't change the colorization of leading glyph, and it doesn't appear to be particularly configurable. But thanks for the idea.
Zed
+4  A: 

Press M-x customize-group RET cperl-faces RET and change coloring to your liking.

Ilya Martynov
This doesn't quite cover everything, like allowing me to prevent colorization of leading glyphs, but it looks like this is as close as I'm going to get, thanks.
Zed