Re: [PATCH] STYLE: Initial draft of coding style document

Subject: Re: [PATCH] STYLE: Initial draft of coding style document

Date: Fri, 03 Feb 2012 20:50:51 -0400

To: Jani Nikula, Tomi Ollila

Cc: notmuch@notmuchmail.org

From: David Bremner


On Mon, 30 Jan 2012 18:01:15 +0200, Jani Nikula <jani@nikula.org> wrote:
> On Jan 30, 2012 4:38 PM, "Tomi Ollila" <tomi.ollila@iki.fi> wrote:
> >
> > > +
> > > +* Indent is 4 spaces with mixed tabs/spaces and a tab width of 8.
> > > +  Tabs should be only at the beginning of the line.
> >
> > So, after initial indentation (with tabs) there should not be further
> > tabs? We'll be using the former instead of the latter in these 2 below?

Ah, I only meant to explain what whitespace-mode complains about, namely

<space><space><space><space><tab>x=1;

as opposed to 

<tab<space><space><space><space><tab>x=1;

I'm not sure it's that important, but apparently if it stays in the
style guide it needs rewording.

d



Thread: