Re: [Qemu-devel] [PATCH 2/2] .dir-locals.el: add json schema to auto-mode

2017-08-31 Thread Eric Blake
On 08/31/2017 08:14 AM, Marc-André Lureau wrote: > The json schema is more friendly to python-mode since it doesn't > follow strictly json (comments to start with). I found that hard to read, and missing a key word of 'emacs'. Maybe reword it as: Under emacs, our QAPI files (.json suffix) are mo

[Qemu-devel] [PATCH 2/2] .dir-locals.el: add json schema to auto-mode

2017-08-31 Thread Marc-André Lureau
The json schema is more friendly to python-mode since it doesn't follow strictly json (comments to start with). All schema files add file variables to set the python mode, but most tests didn't. This will cover all json files now. Signed-off-by: Marc-André Lureau --- qapi-schema.json