[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: |
Sun, 27 Nov 2022 21:25:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> Anyway, indeally I want these three main operations (find-file, grep,
> compile) to run in the inner sub-project by default. By typing
> something more, like, say, a negative prefix argument, I want to be able
> to be given the possibility to operate on the super-project instead.
Or generally a numeric prefix argument could define the depth of the
nested project to use. Then every level could set own root, e.g.:
(dir-locals-set-class-variables 'project-root ((nil . (project-root t))))
(dir-locals-set-directory-class "~/Source/very-big-project" 'project-root)
(dir-locals-set-directory-class "~/Source/very-big-project/foo" 'project-root)
(dir-locals-set-directory-class "~/Source/very-big-project/foo/bar"
'project-root)
While using e.g. 'C-x p g' in "~/Source/very-big-project/foo/bar"
by default will use the closest root, i.e. the same directory,
but 'M-1 C-x p g' will use the root "~/Source/very-big-project/foo",
and 'M-2 C-x p g' will use the root "~/Source/very-big-project/".
- Re: Subprojects in project.el, (continued)
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/25
- Re: Subprojects in project.el, João Távora, 2022/11/25
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/25
- Re: Subprojects in project.el, João Távora, 2022/11/26
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/26
- Re: Subprojects in project.el, João Távora, 2022/11/29
- Re: Subprojects in project.el, João Távora, 2022/11/29
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/29
- Re: Subprojects in project.el, João Távora, 2022/11/29
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/29
- Re: Subprojects in project.el,
Juri Linkov <=
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/27
- Re: Subprojects in project.el (Was: Eglot, project.el, and python virtual environments), Tim Cross, 2022/11/24
- Re: Subprojects in project.el (Was: Eglot, project.el, and python virtual environments), Dmitry Gutov, 2022/11/24
- Re: Subprojects in project.el (Was: Eglot, project.el, and python virtual environments), Bozhidar Batsov, 2022/11/25
- Re: Subprojects in project.el, Stefan Monnier, 2022/11/25
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/25
- Re: Subprojects in project.el, Stefan Monnier, 2022/11/25
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/26
- Re: Subprojects in project.el, Stefan Monnier, 2022/11/26
- Re: Subprojects in project.el, Dmitry Gutov, 2022/11/26