Coding style

Russ Allbery rra at stanford.edu
Mon Sep 13 08:42:08 UTC 1999


brister <brister at vix.com> writes:

> Can anyone argue against running indent over the code, and then
> re-indent-ing as needed?

It's cool with me in theory, although I'm not sure how much practical
benefit it has and I've never really used indent before and don't know if
it's likely to do anything weird.  (Does it reformat comments any, or does
it just ignore them completely?)

Can we detabify the source at the same time if we go this route?  I assume
indent has options for that, given that it seems to have options for
everything.

If we do this, and we find a set of indent options that work for us, we
may want to run indent automatically on committed source files.  I believe
CVS supports doing that.

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list