|
From: | Dmitry Gutov |
Subject: | bug#63870: 29.0.90; project.el can't dynamically populate the project list |
Date: | Thu, 27 Jul 2023 04:59:32 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 18/07/2023 20:41, Juri Linkov wrote:
(Maybe I'll revisit this after writing some scripts like this for Emacs development - although those will definitely only be in Elisp, so it would be kind of moot)Why can't project--ensure-read-project-list scan a list of known roots to find a new project? I.e. the reverse of project-forget-projects-under. Or like there is an item "... (choose a dir)", another item could be "*Rescan*" that will try to find a new project under known roots.
We have an interactive command called 'project-remember-projects-under', when you want to trigger such a scan.
But as for why we don't do that automatically? Performance, for instance. Tree traversal, coupled with arbitrary logic for finding projects, can be too costly.
[Prev in Thread] | Current Thread | [Next in Thread] |