bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emac


From: Dmitry Gutov
Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project
Date: Sat, 6 Jun 2020 14:15:19 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 06.06.2020 11:48, Theodor Thornhill wrote:
Thanks - Wasn't aware of this. Seems like a better solution over all is to enforce the vc-backend? 
It seems like we get the "transient" version, or the "vc" version, but defining 
your own will have several drawbacks?

Unless you make sure it's full-featured, indeed. But the problem might become more severe in the future if we add more capabilities to projects.

This particular problem with speed could be alleviated if we export a utility function similar to project--vc-list-files, so that other impls could use Git's file listing speed.

The primary drawback is the semantics: the current impl always follows .gitignore for its ignores (but accepts additional ones), whereas an arbitrary project can have a totally different set of ignores. So, at the very least, I'm in doubt how to write the docstring.





reply via email to

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