emacs-devel
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: Add a separate mode for .dir-locals.el
Date: Sun, 20 Oct 2019 08:38:13 +0300

> Cc: address@hidden, address@hidden
> From: Dmitry Gutov <address@hidden>
> Date: Sat, 19 Oct 2019 23:38:20 +0300
> 
> On 19.10.2019 15:53, Clément Pit-Claudel wrote:
> > Finally, what motivated me to propose a split was the fact that a fix was 
> > needed in two places (Flymake and Flycheck), and likely in others (company 
> > and completion-at-point-functions should ideally work differently in 
> > .dir-locals.el; imenu doesn't make much sense there, ELisp 
> > syntax-highlighting is sub-optimal for these files outside of `eval' forms, 
> > etc.).
> 
> Exactly.
> 
> xref-backend-functions and project-external-roots-functions come to mind 
> as well. And they all will have to duplicate the check.

What check did you have in mind?  AFAIK, the hooks you mention don't
need to byte-compile the file, so the issue at hand is not relevant
for them.  And at least for Xref, I don't see why it should handle
ELisp data files differently from any other ELisp files.



reply via email to

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