emacs-devel
[Top][All Lists]
Advanced

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

Re: Should project delegate project-find-regexp?


From: Dmitry Gutov
Subject: Re: Should project delegate project-find-regexp?
Date: Thu, 7 Apr 2022 17:30:21 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 07.04.2022 14:48, Joel Reicher wrote:
It seems to me that, at least in the case of git, 'git grep' offers a superior 
implementation to anything offered by the generic implementation of 
project-find-regexp.

Last I checked, there was no way to make 'git grep' search in untracked files.

That would be a violation of the contract.

And of course we'd have to spend the effort to teach it about user-customized error patterns.

If 'git ls-files' + 'xargs rg' gives similar performance, that's probably good enough. Though serializing the list of files back and forth adds its overhead, which is unfortunate.



reply via email to

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