On 10/20/2016 03:55 AM, Alex Bligh wrote: > >> On 19 Oct 2016, at 23:07, Eric Blake <ebl...@redhat.com> wrote: >> >> I noticed that nbd source code prefers the use of hard tab instead of >> spaces for indentation, and emacs does not play nicely with that by >> default. Does anyone have the proper emacs configuration for easier >> editing of this codebase that doesn't butcher existing style? And if so, >> can we add it within a .dir-locals.el file to make it apply to fresh git >> checkouts? >> > > From memory you want to set the 'linux' C mode.
Yep, that appears to do it. Patch coming up. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Nbd-general mailing list Nbd-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nbd-general