Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-18 Thread Michael Tokarev
18.06.2015 11:36, Markus Armbruster wrote: > Michael Tokarev writes: > >> So, what is the consensus here? >> >> Everyone who talked wants the emacs mode, but everyone >> offers their own mode. >> >> I'd pick the stroustrup variant suggested by Marcus >> since it is shortest, but while being short

Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-18 Thread Markus Armbruster
Michael Tokarev writes: > So, what is the consensus here? > > Everyone who talked wants the emacs mode, but everyone > offers their own mode. > > I'd pick the stroustrup variant suggested by Marcus > since it is shortest, but while being shortest, it > is looks a bit "magical". I don't think it'

Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-17 Thread Michael Tokarev
So, what is the consensus here? Everyone who talked wants the emacs mode, but everyone offers their own mode. I'd pick the stroustrup variant suggested by Marcus since it is shortest, but while being shortest, it is looks a bit "magical". On the other hand, variant from Peter Maydell (https://wi

Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-04 Thread Daniel P. Berrange
On Wed, Jun 03, 2015 at 09:47:24AM +0200, Markus Armbruster wrote: > "Daniel P. Berrange" writes: > > > The default emacs setup indents by 2 spaces and uses tabs > > which is counter to the QEMU coding style rules. Adding a > > .dir-locals.el file in the top level of the GIT repo will > > inform

Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-03 Thread Markus Armbruster
"Daniel P. Berrange" writes: > The default emacs setup indents by 2 spaces and uses tabs > which is counter to the QEMU coding style rules. Adding a > .dir-locals.el file in the top level of the GIT repo will > inform emacs about the QEMU coding style, and so assist > contributors in avoiding com

Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-02 Thread John Snow
On 06/02/2015 12:02 PM, Eric Blake wrote: > On 06/02/2015 09:26 AM, Daniel P. Berrange wrote: >> The default emacs setup indents by 2 spaces and uses tabs >> which is counter to the QEMU coding style rules. Adding a >> .dir-locals.el file in the top level of the GIT repo will >> inform emacs abou

Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-02 Thread Eric Blake
On 06/02/2015 09:26 AM, Daniel P. Berrange wrote: > The default emacs setup indents by 2 spaces and uses tabs > which is counter to the QEMU coding style rules. Adding a > .dir-locals.el file in the top level of the GIT repo will > inform emacs about the QEMU coding style, and so assist > contribut

[Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style

2015-06-02 Thread Daniel P. Berrange
The default emacs setup indents by 2 spaces and uses tabs which is counter to the QEMU coding style rules. Adding a .dir-locals.el file in the top level of the GIT repo will inform emacs about the QEMU coding style, and so assist contributors in avoiding common style mistakes before they submit pat