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

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

bug#8062: perl-mode final ); indenting


From: Mauro Aranda
Subject: bug#8062: perl-mode final ); indenting
Date: Mon, 19 Sep 2022 17:22:33 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

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.







reply via email to

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