On Thu, Apr 29, 2010 at 7:52 PM, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>>>>> "Jie" == Jie Zhang <jzhang918@xxxxxxxxx> writes:
> Jie> Use 4 whitespace indent.
>
> ...
> Jie> Put `{' on a new line.
>
> When Micah comes back positive about the relicensing, I will resubmit,
> hopefully in an acceptable style. As style you advertise the Allman style
> (bsd in Emacs)(http://en.wikipedia.org/wiki/Indent_style)?
>
> So I should use in emacs:
> (setq indent-tabs-mode nil)
> (setq c-default-style "linux"
> c-basic-offset 4)
> ?
>
I don't know which style libftdi uses. I just follow the style of the
existing code. I'm not familiar with Emacs enough to say yes or no on
these Emacs commands. Sorry.
Jie
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|