emacs-devel
[Top][All Lists]
Advanced

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

Re: Subprojects in project.el


From: Juri Linkov
Subject: Re: Subprojects in project.el
Date: Fri, 25 Nov 2022 09:42:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

> The idea of customizing the projects with a list of relative subproject
> directory file names solves those downsides, but comes with lack of
> automation: you have to do it for every relevant project, and not forget to
> update the settings as the project structure changes. Which might also be
> a pain e.g. when switching branches, if your dir-locals.el is not checked
> in.

There is no need to change dir-locals.el.  The project root can be
defined using 'dir-locals-set-class-variables'.  Then it can be
assigned to any directory using 'dir-locals-set-directory-class'.



reply via email to

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