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

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

Re: cperl printf indentation


From: Dan Jacobson
Subject: Re: cperl printf indentation
Date: Thu, 18 Sep 2003 11:25:33 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

> Wait, please try hitting TABs on each line in this in emacs -q:
> #-*-cperl-*-
> while (<>) {
>   printf "%.1f %.1f @f\n",
>     $f[0] + $c + $a * $f[0] + $b * $f[1],
>       $f[1] + $d + $a * $f[1] + $b * $f[0];
> }
> printf "%.1f %.1f @f\n",
>   $f[0] + $c + $a * $f[0] + $b * $f[1],
>   $f[1] + $d + $a * $f[1] + $b * $f[0];

V> Ok, there I get the same as you - it's never an issue for me, though
V> because I always put the brackets in around function parameters.

OK, bug has been found. I will CC those concerned.

>> So, it seems that being in the "while" is messing things up!

V> Brackets are your friends, Punctuation is good :)

(I think you mean you want me to use printf() instead of printf.)




reply via email to

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