[Top][All Lists]

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

Re: Why we SHOULDN'T add a separate mode for .dir-locals.el

From: Clément Pit-Claudel
Subject: Re: Why we SHOULDN'T add a separate mode for .dir-locals.el
Date: Sat, 19 Oct 2019 08:59:37 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 2019-10-19 08:28, Alan Mackenzie wrote:
> Answer; NOTHING!  I want all the facilities of Emacs Lisp Mode whilst
> editing a .dir-locals.el, not to have some overlord determine for me
> what I don't really want.

I anticipated this objection, to some extent, and that's partly why my original 
patch made dir-locals-mode inherit from emacs-lisp-mode.

But do you actually want warnings telling you that your file is missing a 
(provide '\.dir-locals) form and a ";;; .dir-locals.el ends here" line, as well 
as warning about a missing one-line package description at the top at the file, 
and a missing ";;; Code:" header?  These are part of "all the facilities of 
Emacs Lisp Mode" for people whol enable Flycheck and Flymake in that mode. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]