From: Ian Campbell Subject: Re: [PATCH] Document the current coding style conventions. Date: Thu, 15 Mar 2012 11:07:10 +0000 Message-ID: <1331809630.26979.75.camel@zakaz.uk.xensource.com> References: <1331746038-25892-1-git-send-email-david.vrabel@citrix.com> <1331804051.26979.44.camel@zakaz.uk.xensource.com> <4F61CA67.1000100@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F61CA67.1000100@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: "xen-devel@lists.xensource.com" , "Keir (Xen.org)" List-Id: xen-devel@lists.xenproject.org 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.