From: Mauro Aranda <maurooaranda@gmail.com>
To: 8062@debbugs.gnu.org
Cc: stefan@marxiste.se, jidanni@jidanni.org
Subject: bug#8062: perl-mode final ); indenting
Date: Mon, 19 Sep 2022 17:22:33 -0300 [thread overview]
Message-ID: <b1dfeb60-3645-33a0-26b8-dfc8ffa43988@gmail.com> (raw)
In-Reply-To: <87r5b7xiny.fsf@jidanni.org>
Stefan Kangas <stefan@marxist.se> writes:
> jidanni@jidanni.org writes:
>
>> emacs -Q this file.pl, emacs-version "24.0.50.1"
>>
>> #!/usr/bin/perl
>> my %h = (
>> '1-3' => {
>> name => '慶福街 1-3 Qingfu St.',
>> coord => '120.865225,24.181802',
>> },
>> '1-6' => {
>> name => '慶福街 1-6 Qingfu St.',
>> coord => '120.866215,24.181668',
>> }
>> ); #<--TAB put this here. It should be in column one.
>> Run it through perltidy to check.
>
> I can reproduce this bug on Emacs 26.2.
>
This was a bug back then, but since fc72b15c777 there's a new option:
perl-indent-parens-as-block. Customizing it to non-nil gives the desired
indentation.
See Bug#11118, which I think should be merged with this one.
next prev parent reply other threads:[~2022-09-19 20:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 6:46 bug#8062: perl-mode final ); indenting jidanni
2019-07-06 2:11 ` Stefan Kangas
2022-09-19 20:22 ` Mauro Aranda [this message]
2022-09-19 20:30 ` Lars Ingebrigtsen
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=b1dfeb60-3645-33a0-26b8-dfc8ffa43988@gmail.com \
--to=maurooaranda@gmail.com \
--cc=8062@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=stefan@marxiste.se \
/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).