From: Herman Oosthuysen <Herman@WirelessNetworksInc.com>
To: linux <linux-kernel@vger.kernel.org>
Subject: [Fwd: Re: Indention - why spaces?]
Date: Tue, 31 Dec 2002 09:25:06 -0700 [thread overview]
Message-ID: <3E11C4E2.2050306@WirelessNetworksInc.com> (raw)
Larry McVoy wrote:
>
> By the way, this sort of thing is a big deal around here, I spend a
> lot of time getting people to do it all the same way. It's worth it.
>
Larry, you can save yourself a lot of trouble, time and money: Create an
indent configuration file and tell your people to use it. That is
exactly why indent was written many years ago.
Better still, change your commit scripts to automatically run indent
when checking files in. This works on private projects - it is not
recommended for a public project like GNU/Linux, unless, Linus would
call a halt - indent all files and then carry on, which I'm sure he
won't do, since it is waaaay too much trouble.
With indent, everybody can be happy: You don't like the curly braces
here but rather want them there? ==> Run indent on your private copy.
BTW, occational windoze users can get the GUIfied 'windent.exe' off my
web site at www.aerospacesoftware.com. This presents a simple way to
play around with indent; to figure out exactly what schtooopidttt
switches you need to make the code look the way your SQA dork wants...
Also, if you want the whole kernel to be commented and clickable in
html, 'doxygen' does an amazing job with that, even though the kernel
code is not written with doxygen tags.
Since I discovered these two tools, I totally relaxed about code
formatting, since it is simply not an issue anymore.
Cheers,
--
Herman
next reply other threads:[~2002-12-31 16:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-31 16:25 Herman Oosthuysen [this message]
2002-12-31 16:31 ` [Fwd: Re: Indention - why spaces?] Larry McVoy
2002-12-31 17:11 ` Herman Oosthuysen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E11C4E2.2050306@WirelessNetworksInc.com \
--to=herman@wirelessnetworksinc.com \
--cc=linux-kernel@vger.kernel.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox