Subject: bug#34245: closed (Re: bug#34245: perl mode aligns code with comments)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 06 Sep 2023 22:16:02 +0000

Your bug report

#34245: perl mode aligns code with comments

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
34245: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34245
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#34245: perl mode aligns code with comments
From: Stefan Kangas <[email-masked]>
To: Mauro Aranda <[email-masked]>
Cc: [email-masked],積丹尼 Dan Jacobson <[email-masked]>
Date: Wed, 6 Sep 2023 15:15:13 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 30.1

Mauro Aranda <[email-masked]> writes:

> 積丹尼 Dan Jacobson <[email-masked]> 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.

Thanks, pushed to master as commit 2a8f458719a.

Subject: perl mode aligns code with comments
From: 積丹尼 Dan Jacobson <[email-masked]>
To: [email-masked]
Date: Tue, 29 Jan 2019 22:56:21 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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"],