qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Document Qemu coding style


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH] Document Qemu coding style
Date: Wed, 1 Apr 2009 09:51:35 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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 <address@hidden>
> ---
>  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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]