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

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



On Thu, 2012-03-15 at 10:54 +0000, David Vrabel wrote:
> On 15/03/12 09:34, Ian Campbell wrote:
> > On Wed, 2012-03-14 at 17:27 +0000, David Vrabel wrote:
> >> +Emacs local variables
> >> +---------------------
> >> +
> >> +A comment block containing local variables for emacs is permitted at
> >> +the end of files.  It should be:
> >> +
> >> +/*
> >> + * Local variables:
> >> + * mode: C
> >> + * c-file-style: "BSD"
> >> + * c-basic-offset: 4
> >> + * indent-tabs-mode: nil
> >> + * End:
> >> + */
> > 
> > You mentioned a while ago that the comment block we've been cutting and
> > pasting around the place was buggy. Is this the prevailing buggy one or
> > did you fix it up here?
> 
> This is the correct one (according to the documentation).

and the docs are right i.e. it does the right thing? ;-)

> Should all the existing ones be fixed up all at once?

I guess it is just a sed invocation? In which case it seems reasonable
to do it as a big bang change.

Ian.



_______________________________________________
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®.