On Monday, November 11, 2002, at 07:59 PM, Dossy wrote:
Saying "proper level" suggests that there is such a thing.
Of course there is; you're being too limited in your definition of "proper" -- "proper" means that the indentation conforms to the definitions you have set up in emacs. It's possible to use K&R-style indentation if you get your .emacs macros right. I believe emacs defaults to FSF-style indentation to make it easier on folks doing development on FSF projects (they wrote the editor, they get to make the rules).
I'm sorry, if that's "proper level" then I'd rather stay with K&R C function prototypes, as antiquated as they are.
Obviously, when I wrote "proper", I had no more intention of declaring that there was only One True Way of indenting C source than I'm sure you did. Indentation, like beauty, is in the eye of the beholder (which, I think, was part of your point about the flexibility of using tabs rather than spaces).
With regard to printing source, with hard tabs I can pipe source through 'pr -t -e8' and it prints out great.
Or, with spaces, you can pipe the source through 'pr -t -i8' and...wait, it already printed fine.
