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

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

bug#34245: perl mode aligns code with comments


From: Mauro Aranda
Subject: bug#34245: perl mode aligns code with comments
Date: Thu, 20 Oct 2022 08:51:32 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

severity 34245 minor
tags 34245 patch
quit


積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> In perl mode, a TAB on the second line below causes
>
> my @genres = (         #["match", "BUT NOT"]
>                ["Rainbow.*Taiwan|Taiwan.*Rainbow"],
>
> But wiser would be like perltidy does:
>
> my @genres = (                      #["match", "BUT NOT"]
>     ["Rainbow.*Taiwan|Taiwan.*Rainbow"],

I don't know why Debbugs marked this as a wishlist, it looks like a bug
to me.

Patch attached.

Attachment: 0001-Fix-perl-mode-indentation-after-a-hanging-paren.patch
Description: Text Data


reply via email to

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