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: João Távora
Subject: Re: Add a separate mode for .dir-locals.el
Date: Thu, 17 Oct 2019 18:04:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt)

Stefan Monnier <address@hidden> writes:

>>>> A better option would be to have a base `lisp-prog-mode` and hen
>>>> derive emacs-lisp-mode from it.
>>> Exactly.  dir-locals-mode should share a parent with emacs-lisp-mode.
>> Yes.  Is this very hard to do?
>
> No, it should be straightforward.
> See sample patch below.

Indeed, quite nice.  Eli, would you also opposed to having .dir-locals.el
buffers use emacs-lisp-data-mode by default?  We could reuse it for
other things other than dir-locals.

João



reply via email to

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