Re: [Qemu-devel] [PULL 01/19] Add .dir-locals.el file to configure emacs coding style

2015-10-09 Thread Marc-André Lureau
Hi Similar to this file, I proposed a clang-format file. I also use emacs, but clang-format is way better at dealing with reformating, especially on a given region without touching the rest: https://lists.nongnu.org/archive/html/qemu-devel/2015-10/msg01278.html On Thu, Oct 8, 2015 at 6:52 PM, Mi

[Qemu-devel] [PULL 01/19] Add .dir-locals.el file to configure emacs coding style

2015-10-08 Thread Michael Tokarev
From: "Daniel P. Berrange" Some default emacs setups indent 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 m