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

Re: [Nbd] ideal emacs settings?



On 10/20/2016 03:55 AM, Alex Bligh wrote:
> 
>> On 19 Oct 2016, at 23:07, Eric Blake <eblake@...696...> 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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: