From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LowAk-0003tn-BM for qemu-devel@nongnu.org; Wed, 01 Apr 2009 04:51:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LowAe-0003rp-8r for qemu-devel@nongnu.org; Wed, 01 Apr 2009 04:51:44 -0400 Received: from [199.232.76.173] (port=55906 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LowAd-0003rk-WA for qemu-devel@nongnu.org; Wed, 01 Apr 2009 04:51:40 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38042) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LowAd-00027W-Dj for qemu-devel@nongnu.org; Wed, 01 Apr 2009 04:51:39 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n318pcfC012786 for ; Wed, 1 Apr 2009 04:51:38 -0400 Date: Wed, 1 Apr 2009 09:51:35 +0100 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] [PATCH] Document Qemu coding style Message-ID: <20090401085135.GB17093@amd.home.annexia.org> References: <1238361823-24939-1-git-send-email-avi@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1238361823-24939-1-git-send-email-avi@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: avi@redhat.com On Mon, Mar 30, 2009 at 12:23:43AM +0300, Avi Kivity wrote: > With the help of some Limoncino I noted several aspects of the Qemu coding > style, particularly where it differs from the Linux coding style as many > contributors work on both projects. > > Signed-off-by: Avi Kivity > --- > CODING_STYLE | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 77 insertions(+), 0 deletions(-) > create mode 100644 CODING_STYLE > > diff --git a/CODING_STYLE b/CODING_STYLE Just as a general comment, have you thought about providing specific guidance for emacs and vi users? In libvirt, the HACKING file contains the following useful snippet for emacs users: http://git.et.redhat.com/?p=libvirt.git;a=blob;f=HACKING;h=ca39d61d85f2aaa3991f13a540772932208be7cd;hb=f5c687f03d8313407448fc642f8fefe95a655645#l59 They just paste that into their ~/.emacs, and any time they edit libvirt code it "just works". Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/