[Top][All Lists]

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

Re: A unified project root interface

From: Ted Zlatanov
Subject: Re: A unified project root interface
Date: Tue, 12 Mar 2013 14:23:08 -0400
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

On Sun, 10 Mar 2013 00:38:12 -0500 Stefan Monnier <address@hidden> wrote: 

SM> As mentioned .dir-local.el often acts as a project root, but it can also
SM> appear in sub-directories of a project, so it's not sufficient.
SM> It should at least be augmented so that some .dir-locals.el can be
SM> flagged as "non-root".

I think it's simple to add a "root" property to .dir-locals.el.  If it
exists, stop searching.  It's backwards compatible (unlike a non-root
flag, IIUC) and doesn't require new libraries or variables, just a guard
in the search code.


reply via email to

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