GNU bug report logs - #8062
perl-mode final ); indenting

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 17 Feb 2011 14:43:02 UTC

Severity: minor

Tags: confirmed

Found in version 26.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8062 in the body.
You can then email your comments to 8062 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8062; Package emacs. (Thu, 17 Feb 2011 14:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 17 Feb 2011 14:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: perl-mode final ); indenting
Date: Thu, 17 Feb 2011 14:46:25 +0800
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#8062; Package emacs. (Sat, 06 Jul 2019 02:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 8062 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: 8062 <at> debbugs.gnu.org
Subject: Re: bug#8062: perl-mode final ); indenting
Date: Sat, 6 Jul 2019 04:11:45 +0200
jidanni <at> 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.

Thanks,
Stefan Kangas




bug Marked as found in versions 26.2. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Tue, 01 Oct 2019 16:30:02 GMT) Full text and rfc822 format available.

Added tag(s) confirmed. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Tue, 01 Oct 2019 16:30:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#8062; Package emacs. (Mon, 19 Sep 2022 20:23:02 GMT) Full text and rfc822 format available.

Message #15 received at 8062 <at> debbugs.gnu.org (full text, mbox):

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: 8062 <at> debbugs.gnu.org
Cc: stefan <at> marxiste.se, jidanni <at> jidanni.org
Subject: Re: bug#8062: perl-mode final ); indenting
Date: Mon, 19 Sep 2022 17:22:33 -0300
Stefan Kangas <stefan <at> marxist.se> writes:

> jidanni <at> 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.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#8062; Package emacs. (Mon, 19 Sep 2022 20:31:01 GMT) Full text and rfc822 format available.

Message #18 received at 8062 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mauro Aranda <maurooaranda <at> gmail.com>
Cc: stefan <at> marxiste.se, 8062 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#8062: perl-mode final ); indenting
Date: Mon, 19 Sep 2022 22:30:31 +0200
Mauro Aranda <maurooaranda <at> gmail.com> writes:

> See Bug#11118, which I think should be merged with this one.

OK; done.




bug marked as fixed in version 29.1, send any further explanations to 8062 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 19 Sep 2022 20:35:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Oct 2022 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.