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

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

Re: CPerl Indentation after subs with print in their names


From: Ilya Zakharevich
Subject: Re: CPerl Indentation after subs with print in their names
Date: Fri, 23 Nov 2007 08:41:54 +0000 (UTC)
User-agent: trn [how to get a version via %-escapes???] with a custom header

[A complimentary Cc of this posting was sent to
Stefan Kamphausen 
<skampi@gmx.net>], who wrote in article 
<85zlx6qlid.fsf@usenet.my.skamphausen.de>:
> # here indentation is OK
> sub print_something {
>     print "Something\n";
> }
>   # but here not ??
> ----------------------------------------------------------------------
> 
> If I remove the "print_" from the the name of the subroutine
> everything indents correctly.  I tried a few other special words from
> the Perl language:
> 
> Function   Indentation
> printf     wrong
> while      OK

> Gnu Emacs 22.1.1, cperl-version 5.22.

I suspect that Emacsen come with broken cperl-mode.  See
ilyaz.org/software/emacs

Hope this helps,
Ilya


reply via email to

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