From: Peter Oliver <p.d.oliver@mavit.org.uk>
To: 11118@debbugs.gnu.org
Subject: bug#11118: New option perl-indent-parens-as-block
Date: Wed, 28 Mar 2012 21:56:45 +0100 [thread overview]
Message-ID: <CABmZtU5nTzvwK3wm+X=78JQWWuE6B_hEdePWrM0C-nT+H_CfGg@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2012-03-28 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-28 20:56 Peter Oliver [this message]
2012-03-29 18:56 ` bug#11118: Patch Peter Oliver
2012-03-30 3:34 ` Stefan Monnier
2012-04-17 2:48 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABmZtU5nTzvwK3wm+X=78JQWWuE6B_hEdePWrM0C-nT+H_CfGg@mail.gmail.com' \
--to=p.d.oliver@mavit.org.uk \
--cc=11118@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).