From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrsaB-0007Ll-Tj for qemu-devel@nongnu.org; Thu, 19 Jul 2012 11:24:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Srsa2-0006aS-Up for qemu-devel@nongnu.org; Thu, 19 Jul 2012 11:24:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srsa2-0006aI-Lg for qemu-devel@nongnu.org; Thu, 19 Jul 2012 11:23:54 -0400 Date: Thu, 19 Jul 2012 18:24:26 +0300 From: "Michael S. Tsirkin" Message-ID: <20120719152426.GA16101@redhat.com> References: <20120719142949.GA14567@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] qemu: add .exrc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, Anthony Liguori On Thu, Jul 19, 2012 at 04:11:21PM +0100, Peter Maydell wrote: > On 19 July 2012 15:29, Michael S. Tsirkin wrote: > > I've been using this to get correct indenting with vim > > in qemu for a while, but it's a bit easier if we > > put the settings in the central place. > > Note that > > 1. you still need to enable 'exrc' and 'secure' > > options in your vimrc for these settings to take effect. > > 2. you can create a .vimrc file if 'exrc' is on but there's > > need to bypass this configuration. > > I think editor configs could reasonably go on the wiki somewhere > but I'm not sure they belong in our git repo... > > -- PMM kvm people need to work on both qemu and kernel which have different styles, so switching styles manually gets old quickly. The benefit is more people will send patches in the correct style. What's the harm? -- MST