-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Package: emacs21 Version: 21.3+1-8
Using perl mode the indent-region function does not work for
=================================================== #!/usr/bin/perl -w # -*- perl -*-
sub bar { ~ my $ret = somefunc(); ~ ${$ret->{foo}} = 1; ~ return(${$ret->{foo}}); } ===================================================
It is changed into =================================================== #!/usr/bin/perl -w # -*- perl -*-
sub bar { ~ my $ret = somefunc(); ~ ${$ret->{foo}} = 1; return(${$ret->{foo}}); } =================================================== Note the left-aligned return line.
Finding the matching paranthesis in ${$ret->{foo}} does not work for the right closing paranthesis, either.
No such problem for cperl mode.
Regards
Harri -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB7NARUTlbRTxpHjcRAp2bAJ9wGg1u/2E1G6EaSo0pKnryHwqnmwCeI+mE zykgWkHTIMWCdhD64FocHLo= =6kV0 -----END PGP SIGNATURE-----
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]