emacs-devel
[Top][All Lists]
Advanced

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

Re: master 1e3b0f2: Improve doc strings of project.el


From: Dmitry Gutov
Subject: Re: master 1e3b0f2: Improve doc strings of project.el
Date: Sun, 12 Jul 2020 17:49:36 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 11.07.2020 15:59, Michael Albinus wrote:
There is `dired-uncache'. Calling it shall be sufficient to remove
respective caches in Tramp, whatever they are.

Cache invalidation aside, when talking about Tramp I was more curious whether its caching would be enough to speed up repeated invocations of project-try-vc. Or even said invocations from files belonging to the same directory, for instance.

Right now it relies on vc-root being cached, which allows it to skip some operations most of the time. But it also performs remote IO to read local variable values, and to fetch the list of git submodules.

And if we allow customizing root markers, that would stop make project-vc call locate-dominating-file directly. I'm guess that would circumvent any existing caches in Tramp. Please correct me if I'm wrong.



reply via email to

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