From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzoeC-0007li-Iq for qemu-devel@nongnu.org; Tue, 02 Jun 2015 12:02:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzoe7-0005Vw-0U for qemu-devel@nongnu.org; Tue, 02 Jun 2015 12:02:36 -0400 Message-ID: <556DD392.3040703@redhat.com> Date: Tue, 02 Jun 2015 10:02:26 -0600 From: Eric Blake MIME-Version: 1.0 References: <1433258768-28946-1-git-send-email-berrange@redhat.com> In-Reply-To: <1433258768-28946-1-git-send-email-berrange@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="R4dPxQrOrnvu9ITgBVhkM8W7n1qpt2KmI" Subject: Re: [Qemu-devel] [PATCH] Add .dir-locals.el file to configure emacs coding style List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --R4dPxQrOrnvu9ITgBVhkM8W7n1qpt2KmI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 > contributors in avoiding common style mistakes before > they submit patches. >=20 > Signed-off-by: Daniel P. Berrange > --- > .dir-locals.el | 8 ++++++++ > 1 file changed, 8 insertions(+) > create mode 100644 .dir-locals.el Since we already have .exrc to do the same for vim users, I'm all in favor of this. Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --R4dPxQrOrnvu9ITgBVhkM8W7n1qpt2KmI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVbdOSAAoJEKeha0olJ0NqxcAH/jD6bfcUCK2aXPYkPnA1dytr Zx0WQS4TicXitX8Kz2b2/zUvNPHgSCnAxYyXVPJFnO+L5DeoNfMWkDqK92z2+tu2 XXEQQS2wFAh5TnqR/S9SFz6R61O/Je3C01/E565uBMZ7mchvTu/02ITDjmtnDSNH xu7HPqMpJk44iTwIdrQgeA7EQPyz5nuY2R/apwJByF3hHzHrAVNJD9L0JWJaOe59 L3lV7GqHMbRYO5HYhM4xKJlAGyrU+5N0Z/epoPT145LsVwVHw4oKGGuW08zfh+iB WELsmKA5iCbhpocYehpH3pTBOvOA7OZRjCS55nCKr+D53bpBs8UwMcqJSjEFR6E= =1qQ8 -----END PGP SIGNATURE----- --R4dPxQrOrnvu9ITgBVhkM8W7n1qpt2KmI--