Hi,

On Thu, Sep 27, 2018 at 08:49:25PM +0200, Albert Green wrote:
> Hi,
> I'm in the process a writing a libsigrok driver for a new device and I want
> to have my code formatted according to your rules.
> I read that you are using the Linux coding style. Can you confirm that you
> are using tabs that are 8 chars wide? Because when I look at some parts of

It's always 1 tab (not 8 spaces). If you absolutely need/want to
align something, you can assume 8-space-wide tabs; generally that shouldn't
matter too much, though.


> sigrok code with my editor configured with 8-char tabs, I see lines in part
> of the sigrok code that are longer than the 80-char line specified in the
> Linux coding style. So wondering if you are using 4-char tabs instead? Or
> is only that you don't enforce strictly the 80-char line rule?

We generally try to keep code in the 80/79 character line limit where
possible, but sometimes it looks a lot uglier to do that, so there are
exceptions where longer lines are the lesser evil.


Cheers, Uwe.
-- 
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to