[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
- CPerl Indentation after subs with print in their names, Stefan Kamphausen, 2007/11/22
- Re: CPerl Indentation after subs with print in their names,
Ilya Zakharevich <=
- Re: CPerl Indentation after subs with print in their names, Stefan Kamphausen, 2007/11/23
- Re: CPerl Indentation after subs with print in their names, Ilya Zakharevich, 2007/11/23
- Re: CPerl Indentation after subs with print in their names, Stefan Kamphausen, 2007/11/26
- Re: CPerl Indentation after subs with print in their names, Ilya Zakharevich, 2007/11/26
- Re: CPerl Indentation after subs with print in their names, Stefan Kamphausen, 2007/11/27
- Re: CPerl Indentation after subs with print in their names, Tim X, 2007/11/28