[Libosinfo] [PATCH libosinfo 2/2] Remove emacs 'Local variables' annotations

Cole Robinson crobinso at redhat.com
Wed Mar 6 20:30:41 UTC 2019


On 3/4/19 5:08 AM, Daniel P. Berrangé wrote:
> On Sat, Mar 02, 2019 at 06:35:18PM -0500, Cole Robinson wrote:
>> No other virt projects have annotations like this, plus IMO
>> .editorconfig handles this in a much nicer way and more flexible
>> way. Ditch them
> 
> .editorconfig requires users to install extra packages to work.
> 
> If we want to remove emacs annotations, then we need to have
> a .dir-locals.el file defined, so that correct indentation is
> used out of the box with emacs.
> 
> 
> Regards,
> Daniel
> 

Does the attached patch work for you? I've never used emacs so I don't
trust my testing

- Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-toplevel-.dir-locals.el.patch
Type: text/x-patch
Size: 860 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20190306/041c58a6/attachment.bin>


More information about the Libosinfo mailing list