all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8062: perl-mode final ); indenting
@ 2011-02-17  6:46 jidanni
  2019-07-06  2:11 ` Stefan Kangas
  2022-09-19 20:22 ` Mauro Aranda
  0 siblings, 2 replies; 4+ messages in thread
From: jidanni @ 2011-02-17  6:46 UTC (permalink / raw)
  To: 8062

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8062: perl-mode final ); indenting
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2019-07-06  2:11 UTC (permalink / raw)
  To: 8062

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.

Thanks,
Stefan Kangas





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8062: perl-mode final ); indenting
  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
  2022-09-19 20:30   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 4+ messages in thread
From: Mauro Aranda @ 2022-09-19 20:22 UTC (permalink / raw)
  To: 8062; +Cc: stefan, jidanni

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.







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#8062: perl-mode final ); indenting
  2022-09-19 20:22 ` Mauro Aranda
@ 2022-09-19 20:30   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-19 20:30 UTC (permalink / raw)
  To: Mauro Aranda; +Cc: stefan, 8062, jidanni

Mauro Aranda <maurooaranda@gmail.com> writes:

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

OK; done.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-19 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-09-19 20:30   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.