[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: perl-mode indent bug
From: |
Stefan Monnier |
Subject: |
Re: perl-mode indent bug |
Date: |
Wed, 12 Apr 2006 01:11:25 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Perl-mode mis-indents this:
> {
> sub foo {
> }
> }
> It always puts the "}" closing a subroutine whose opening "{" is
> hanging at column 0, even when it should be matching the opening
> line.
> The patch below works for me.
> 2006-04-11 Karl Chen <address@hidden>
> * progmodes/perl-mode.el (perl-indent-new-calculate): Recalculate
> parse-start in case we are inside a nested function.
Installed, thanks,
Stefan
Re: cperl-mode instead of perl-mode? (was Re: perl-mode indent bug), Richard Stallman, 2006/04/12