C code is fairly generic. I code in K&R style, using tab stops (vim defines a tab as 8 space boundaries). Many editors, however, set the tab stops at some (please, no religious discussions about styles) other number. Thinking back to long ago, I remember something about putting magic above the code that would define all that stuff for some editors (GNU Emacs, etc).
Is there a generic set of parameters that one can put at the top of a C code file that would define the width of the line, the number of spaces/tab, etc?
A quick Google search revealed nothing, but I just cannot seem to come up with good phrases to search (I'm really bad at it).
Any information would be greatly appreciated.
Mods -- If you move this message to an appropriate forum (maybe GD?) that's okay with me.
Thanks,
Andy