bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11118: New option perl-indent-parens-as-block


From: Peter Oliver
Subject: bug#11118: New option perl-indent-parens-as-block
Date: Wed, 28 Mar 2012 21:56:45 +0100

At present, perl-mode aligns non-block closing brackets with the contents of the brackets, thus:

my @list = (
    'item one',
    'item two',
    'item three',
    );

Now, cperl-mode features on option, cperl-indent-parens-as-block, that causes the closing bracket to be aligned with the line of the opening bracket, as follows:

my @list = (
    'item one',
    'item two',
    'item three',
);

I personally find the latter behaviour easier to follow, and would like perl-mode to be able to do the same thing.

A patch is on the way...

--
Peter Oliver


reply via email to

[Prev in Thread] Current Thread [Next in Thread]