Will this make sure there are no tabs at all?  What I don't want is
X11-style indents, because different editors will make a horrible mess
of that.  The Linux kernel has standardized on tabs only, which is
okay.  I prefer 4 spaces, because that never goes wrong.

[X11 style indenting:  Where i is the number of 4-space indents, use
(i / 2) tabs followed by ((i % 2) * 4) spaces.]

On Mon, Jul 30, 2012 at 6:27 AM, Mark Marshall <[email protected]> wrote:
> Hi.
>
> I had a quick discussion with Tim at some point about coding style.
> I had added a load of inconsistencies, and we both agreed that they were not
> helpful.
>
> We decided to standardize on tab-width of 8, indent of 4, using spaces for
> indent, linux bracket placement.
>
> My .emacs file looks like this:
>
> (defun ogp-c-mode () (interactive)
>   (c-set-style "linux")
>   (setq c-basic-offset 4)
>   (setq tab-width 8)
>   (setq-default indent-tabs-mode nil)
> )
>
> I've corrected most things in the depot to match this style, and will try to
> stick to it.
>
> MM
>
> _______________________________________________
> Open-graphics mailing list
> [email protected]
> http://lists.duskglow.com/mailman/listinfo/open-graphics
> List service provided by Duskglow Consulting, LLC (www.duskglow.com)



-- 
Timothy Normand Miller, PhD
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to