Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: Formatting Perl code with Emacs (solved?)

by isntvoid (Novice)
on Nov 07, 2013 at 08:50 UTC ( #1061535=note: print w/replies, xml ) Need Help??

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 (Bishop) 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)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061535]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-06-24 14:00 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.