Coding Style

Alex Bennee kernel-hacker@bennee.com
Mon Mar 19 15:30:00 GMT 2007


On Mon, 2007-03-19 at 14:55 +0000, Paul Brook wrote:
> <snip>
> > Will there be any objection to adding an emacs local variable tag at the
> > end of any files I touch?
> 
> I object. If we add magic markers for one editor we should add them 
> consistently, and for all common editors. This means accumulating a couple a 
> pages or so of crud on the start/end of each file. There are other ways to 
> make your editor use the right settings.

Noted. I'll avoid this method then...

> > All I really care about is the default indentation level and if tabs or
> > whitespace is required.
> 
> indentation 2 spaces. Tabs 8 spaces.  Hard tabs should be used.
> Most of the code is formatted correctly, so following existing style is 
> generally a fairly good bet.

Thanks

-- 
Alex, homepage: http://www.bennee.com/~alex/
It's a damn poor mind that can only think of one way to spell a word. --
Andrew Jackson



More information about the Binutils mailing list