Re: [Qemu-devel] [PATCH v3] editorconfig: set emacs mode

2018-08-27 Thread Markus Armbruster
Marc-André Lureau writes: > Some time ago, I proposed to use an (eval) in .dir-locals.el to set > the mode for all json files and Makefile. Unfortunately, this isn't > safe, and emacs will prompt the user, which isn't very friendly. > > Fortunately, editorconfig provides a special config key whic

[Qemu-devel] [PATCH v3] editorconfig: set emacs mode

2018-08-27 Thread Marc-André Lureau
Some time ago, I proposed to use an (eval) in .dir-locals.el to set the mode for all json files and Makefile. Unfortunately, this isn't safe, and emacs will prompt the user, which isn't very friendly. Fortunately, editorconfig provides a special config key which does allow to set the emacs mode. A