[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] Document the coding style conventions.



On Mon, 2012-03-19 at 12:20 +0000, Stefano Stabellini wrote:
> On Mon, 19 Mar 2012, David Vrabel wrote:
> > From: David Vrabel <david.vrabel@xxxxxxxxxx>
> > 
> > Based on a version originally posted in 2007.
> > http://lists.xen.org/archives/html/xen-devel/2007-06/msg00070.html
> > 
> > Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

As usual with these things I'm of the opinion that having a document in
place which can be improved is more important than getting it 100% right
first time.

[...]
> > +/*
> > + * Local variables:
> > + * mode: C
> > + * c-file-style: "BSD"
> > + * c-basic-offset: 4
> > + * indent-tabs-mode: nil
> > + * End:
> > + */
> 
> vim comments should be allowed too?
> We don't want to start a religious war, do we? ;-)

Absolutely not ;-)

Just waiting for the nano fans to come out of the woodwork...

> 
> It think that the equivalent of the emacs comment would be:
> 
> /* vim: ts=4 et sw=4 */




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.