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: Sat, 19 Oct 2019 14:56:04 +0300

> From: João Távora <address@hidden>
> Date: Sat, 19 Oct 2019 12:00:10 +0100
> Cc: Clément Pit-Claudel <address@hidden>, 
>       Stefan Monnier <address@hidden>, emacs-devel <address@hidden>
> 
> > > >  EZ: Can we step back a notch and start by describing the problem in
> > > >  EZ: more detail?  What diagnostics does Flymake produce in the case
> > > >  EZ: of .dir-locals.el, and why does it produce that diagnostics?
> > > JT: I haven't checked, but if I had to guess, I would say it tries to 
> > > invoke
> > > JT: the byte-compiler on the file, which doesn't make any sense, as you
> > > JT: know. As a result, bogus diagnostics are produced.
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I thought it was just a guess, and I wanted us to be sure.  Are we
sure the problem is triggered by an attempt to invoke the byte
compiler on the file?

> > Creating a major mode for this issue is like shooting sparrows with
> > cannons.  Why not extend emacs-lisp-mode to DTRT with
> > data-that-doesn't-make-sense-as-code instead?
> 
> That is _exactly_ what Clément proposed in his original patch.

My understanding is that Clément proposed a new major mode.



reply via email to

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