in reply to Re: Formatting Perl code with Emacs (solved?)
in thread Formatting Perl code with Emacs

Thanks, I've tried to redefine these variables, but my code didn't look like I want to.

(setq-default cperl-indent-parens-as-block t) and (setq-default cperl-close-paren-offset -2) help to reindent parentheses, but why have we got 4 spaces inside the qw() block then cperl-indent-level was set to 2?

Replies are listed 'Best First'.
Re^3: Formatting Perl code with Emacs (solved?)
by LanX (Saint) on Nov 07, 2013 at 14:01 UTC
    Don't know ... can't see a problem...

    But well if you don't like it, better continue using VIM ... :)

    Cheers Rolf

    ( addicted to the Perl Programming Language)