[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cperl printf indentation
From: |
Vivek |
Subject: |
Re: cperl printf indentation |
Date: |
Sun, 14 Sep 2003 21:54:27 +0100 (BST) |
On Sat, 13 Sep 2003, Dan Jacobson wrote:
> Vivek> No, it should do something like this:
>
> Vivek> printf "%.1f\t%.1f\t%s\n",
> Vivek> $F[0] - $C - $A * $F[0] - $B * $F[1],
> Vivek> $F[1] + $D - $A * $F[1] - $B * $F[0],
> Vivek> "@F";
>
> Well, there must be something else at work in
> http://jidanni.org/geo/taiwan_datums/programs/twd6797thl
> when you hit TAB on those lines.
Yes, probably - which emacs, cperl-mode file, and with what
settings in your .emacs are you using?
( Also note: if you load perl-mode after loading cperl-mode,
it pretty much destroys cperl-mode's ability to function:
to avoid this, I generally have (defalias 'perl-mode 'cperl-mode)
in my .emacs )