qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>
Subject: Re: [Qemu-devel] [PATCH] qemu: add .exrc
Date: Thu, 19 Jul 2012 18:24:26 +0300	[thread overview]
Message-ID: <20120719152426.GA16101@redhat.com> (raw)
In-Reply-To: <CAFEAcA_C=+BkuefzGb=cxxB7hA-pht=hvzD4MT4KWvs1-hBf-Q@mail.gmail.com>

On Thu, Jul 19, 2012 at 04:11:21PM +0100, Peter Maydell wrote:
> On 19 July 2012 15:29, Michael S. Tsirkin <mst@redhat.com> 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

  reply	other threads:[~2012-07-19 15:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 14:29 [Qemu-devel] [PATCH] qemu: add .exrc Michael S. Tsirkin
2012-07-19 15:11 ` Peter Maydell
2012-07-19 15:24   ` Michael S. Tsirkin [this message]
2012-07-20 10:26     ` Stefan Hajnoczi
2012-07-20 10:34       ` Peter Maydell
2012-07-20 10:37         ` 陳韋任 (Wei-Ren Chen)
2012-07-20 11:02         ` Michael S. Tsirkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120719152426.GA16101@redhat.com \
    --to=mst@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).