|
From: | Dmitry Gutov |
Subject: | Re: project-find-file: switch to include non-tracked files |
Date: | Fri, 15 Oct 2021 16:25:38 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 15.10.2021 16:05, Manuel Uberti wrote:
On 15/10/21 14:12, Dmitry Gutov wrote:Both of these are for the default project-files behavior. How would we leverage them?Not sure, sorry. I don't know the rationale behind the decision to stop using vc-directory-exclusion-list,
For performance, for better semantics. If we delegate this file listing to backends as well (they can often do it faster, or with better adherence to user's intent), using a variable starting with vc- will not make sense.
and I have to dig deeper in project.el to better understand what project-ignores and a project-vc-ignores do and how they are used at the moment.
There's no need to get deep into the implementation. project-vc-ignores affects what 'M-x project-find-file' does. By specifying ignore rules.
'C-u M-x project-file-file' essentially differs from the version without prefix by using a different set of ignore rules. So it can't really use the same variable, right?
Anyway, it's not urgent. Ideas welcome anytime.
Thanks for checking, I've pushed the patch (slightly tweaked).I'll give it a try later and come back if I find any issue with it.
Thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |