|No such thing as a small change|
c-perl mode on Emacsby why_bird (Pilgrim)
|on Oct 24, 2008 at 08:50 UTC ( #719289=perlquestion: print w/replies, xml )||Need Help??|
why_bird has asked for the wisdom of the Perl Monks concerning the following question:
I've been using Emacs for a while now, and I currently use perl-mode for all my perl syntax highlighting needs. I've been looking for a way to change the default indentation of perl-mode, and nearly all the documentation I could find online said very little about perl-mode, and just said (I'm paraphrasing) "perl-mode screws up perl highlighting, cperl-mode is MUCH better, everyone sensible uses cperl-mode"
So I think to myself 'well, you're a sensible person on occaision, why not give this "cperl-mode" another go?' I've looked at it briefly before but it was so alien (not to mention ugly) that I discarded it there and then. One of the major reasons I discarded it before was that I don't seem to have any problems with perl-mode. This almost certainly reflects my non-advanced perl code. But it does make me wonder:
I know this last point is shallow, but I find the array and hash highlighting distracting, and the variable highlighting within comments annoying. I've managed to change some of these things in the customisation buffer, but by no means all of them. I don't mind fiddling around to make things prettier, but I want to know it's going to be worth it!This wasn't meant to be quite so much of a rant..! If cperl-mode is so good, I want to be able to like it, and use it without it frustrating me.. so if anyone has any answers to these questions or any resources I can use to help me fiddle with it (I am VERY lisp ignorant but willing to learn, though don't seem to have any luck with getting hold of a working interpreter) then I'd be grateful. So here is chance for any cperl-mode fanatics out there to convert me :)
Those are my principles. If you don't like them I have others.
-- Groucho Marx
Back to Seekers of Perl Wisdom