Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Specific Indentation request for perl in Emacsby Yoyoson (Novice) |
on Aug 18, 2004 at 15:09 UTC ( [id://383989]=note: print w/replies, xml ) | Need Help?? |
pdcawley, I truly appreciate your reply, this is the closest I've been to solving this issue so far. Unfortunately, I'm having trouble getting it to work. By default, my emacs uses perl-mode when I open a perl file or module. So I know how to switch into cperl-mode after I've started the buffer (M-x cperl-mode) and I know how to put the (setq ... ) line in my .emacs, except I'm wondering if I also need to start up cperl-mode automatically from within my .emacs to get this to work. As for your advice against using this, I can definitely see the logic in your argument, the only thing is that this particular indentation nuance is a part of my workplace's official coding standard. I guess my question then, is, how can I get cperl-mode to start up automatically in my .emacs, or how can I set that toggle-setting after I've started the buffer? Thanks!!
In Section
Seekers of Perl Wisdom
|
|