From: Dan Jacobson <jidanni@jidanni.org>
Cc: ilya@math.mps.ohio-state.edu, bug-gnu-emacs@gnu.org
Subject: Re: cperl printf indentation
Date: Thu, 18 Sep 2003 11:25:33 +0800 [thread overview]
Message-ID: <87brti93rm.fsf@jidanni.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0309170100240.20010-100000@salmon.pepperfish.net> (vivek@etla.org's message of "Wed, 17 Sep 2003 01:03:01 +0100 (BST)")
> 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.)
next parent reply other threads:[~2003-09-18 3:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44.0309170100240.20010-100000@salmon.pepperfish.net>
2003-09-18 3:25 ` Dan Jacobson [this message]
[not found] <Pine.LNX.4.44.0309130245060.10051-100000@salmon.pepperfish.net>
2003-09-13 4:47 ` cperl printf indentation Dan Jacobson
2003-09-14 20:54 ` Vivek
2003-09-14 23:53 ` Dan Jacobson
2003-09-12 16:52 Dan Jacobson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87brti93rm.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=ilya@math.mps.ohio-state.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).