[Top][All Lists]

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

Re: Add a separate mode for .dir-locals.el

From: Stefan Monnier
Subject: Re: Add a separate mode for .dir-locals.el
Date: Thu, 17 Oct 2019 09:40:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> .dir-locals.el files are currently opened in emacs-lisp-mode, but they are
>> not proper Emacs Lisp files;
> In which way are they not proper?

They use the Sexp syntax of Elisp, but other than that, they're not
Elisp in the sense that they don't contain Elisp expressions.

I think it makes a lot of sense to make them use a different major-mode.
Not just for flymake.  They could also use different font-lock rules,
they could benefit fromad-hoc key-bindings to add/remove settings, ...


reply via email to

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