unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11118: New option perl-indent-parens-as-block
@ 2012-03-28 20:56 Peter Oliver
  2012-03-29 18:56 ` bug#11118: Patch Peter Oliver
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Oliver @ 2012-03-28 20:56 UTC (permalink / raw)
  To: 11118

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 704 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-17  2:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-28 20:56 bug#11118: New option perl-indent-parens-as-block Peter Oliver
2012-03-29 18:56 ` bug#11118: Patch Peter Oliver
2012-03-30  3:34   ` Stefan Monnier
2012-04-17  2:48     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).