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

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

bug#18502: 24.4.50; perl-mode indentation problem


From: Stefan Monnier
Subject: bug#18502: 24.4.50; perl-mode indentation problem
Date: Sun, 21 Sep 2014 18:01:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> perl mode automatically indents substantially off to the right following the
> first sub definition that has an odd number of '$' characters in the argument
> spec, eg.:

>       #!/usr/bin/perl -w

>       sub add_funds($) {
>           return 0;
>                     }

Indeed, the code that handles this had a bug which made it fail when the
identifier has an underscore.


        Stefan





reply via email to

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