in reply to Re^2: Specific Indentation request for perl in Emacs
in thread Specific Indentation request for perl in Emacs

Okay, I managed to get cperl-mode starting up automatically on my own - but the dang thing still doesn't work. I also found the variable cperl-indent-parens-as-block inside of my cperl-mode.el (it's version 4.32) so I don't think that's the issue here. I'm not sure what it could be.
  • Comment on Re^3: Specific Indentation request for perl in Emacs

Replies are listed 'Best First'.
Re^4: Specific Indentation request for perl in Emacs
by metaperl (Curate) on Jan 13, 2005 at 18:15 UTC
    pdcawley's solution worked for me under xemacs... you do know that GNU emacs has both cperl-mode and perl-mode?

    What is the value of auto-mode-alist? You may be going into perl-mode instead of cperl-mode. Here's sample line that puts me in cperl-mode when opening a test file:

    (add-to-list 'auto-mode-alist '("\\.t$" . cperl-mode)) (setq cperl-indent-parens-as-block t)