[Top][All Lists]

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

Re: Subprojects in project.el (Was: Eglot, project.el, and python virtua

From: Dmitry Gutov
Subject: Re: Subprojects in project.el (Was: Eglot, project.el, and python virtual environments)
Date: Thu, 24 Nov 2022 04:49:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 23/11/22 22:33, João Távora wrote:
For my idea to work, project-current would have to be changed to

1. Call all members of project-find-functions: return the innermost
    project found thus far.
2. Not call project-find-functions recursively when called from within a function
    in project-find-functions, just return the innermost project found
    thus far.

I don't see any big performance problems in this alternative.

Might not be much of a difference in a simple configuration, but going up and down dirs is not free even on a fast SSD, especially as the number of the elements on this hook grows.

But where you will definitely see a difference, is when using this with Tramp.

reply via email to

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