LanX has asked for the wisdom of the Perl Monks concerning the following question:
I'm playing around with different color themes for emacs like "zenburn" or "tango" and they generally look great. (far better than the standard emacs so called "fruit-salad" theme ;-)
Unfortunately cperl-mode is defining a special color code for arrays and hashes. ( cperl-hash-face , cperl-array-face , ...)
Any suggestion for a generic solution to solve this without needing to patch every single theme?
Maybe ... a a lisp code which reads the font-lock-variable-name-face and modifies it to a slightly other version , like bold if not already bold?
This involves a more general question:
How to represent sigil variables in a world where most languages can't distinguish between them.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
Face: cperl-hash-face
| @sample |
Documentation: Font Lock mode face used to highlight hash names. Defined in `cperl-mode.el'. Family: unspecified Foundry: unspecified Width: unspecified Height: unspecified Weight: bold Slant: italic Foreground: Red Background: navy Underline: unspecified Overline: unspecified Strike-through: unspecified Box: unspecified Inverse: unspecified Stipple: unspecified Font: unspecified Fontset: unspecified Inherit: unspecified
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Adjusting emacs color themes for cperl-mode
by Perlbotics (Archbishop) on Sep 22, 2015 at 18:06 UTC | |
by LanX (Saint) on Sep 24, 2015 at 11:01 UTC | |
|
Re: Adjusting emacs color themes for cperl-mode
by LanX (Saint) on Sep 22, 2015 at 08:41 UTC |