[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: Alan Mackenzie
Subject: Re: Add a separate mode for .dir-locals.el
Date: Sat, 19 Oct 2019 21:35:44 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

Hello, Dmitry.

On Sat, Oct 19, 2019 at 23:41:19 +0300, Dmitry Gutov wrote:
> On 19.10.2019 17:14, Eli Zaretskii wrote:
> > In the latter case, we will have to devise some way of turning on
> > that new mode automatically in most cases.

> I don't think that should be a prerequisite.

> But even if we wanted that, do we have a lot of other similar files
> that are created by the user, as opposed to being auto-generated? In
> the latter case we can add a 'mode: elisp-data-mode' to the file while
> it's generated with little effort.

Just as little effort is "elisp-data-only: t" in the local variables
section.  This unambiguously does not contort the notion of major mode.

Alan Mackenzie (Nuremberg, Germany).

reply via email to

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