|
From: | Eric Blake |
Subject: | Re: [Qemu-devel] [PATCH v2] editorconfig: set emacs mode |
Date: | Fri, 24 Aug 2018 11:13:54 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 08/24/2018 02:38 AM, Markus Armbruster wrote:
Marc-André Lureau <address@hidden> 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 which does allow to set the emacs mode. Add a few missing entries and set the emacs mode.Please mention editorconfig requires a plugin to work. Without that, the reader is left to wonder why we keep the "redundant" Emacs file local variables.
Is it also worth a (separate) patch to .editorconfig to add a comment up-front about needing plugins for some editors? Right now, it just has the single comment:
# http://editorconfig.orgwhich, if followed, will get you to the same information, but I'm a fan of not having to chase a URL when it is just as easy to provide a short summary in place.
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |