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: Mon, 18 Apr 2022 06:06:05 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 10.04.2022 02:01, Jim Porter wrote:
I use `git grep --no-index --exclude-standard', which lets you search in untracked files (and non-Git directories too!), but also respects `.gitignore'. I think that provides the most similarity to find+grep. Of course, there may be some problems with these flags that I haven't discovered yet...

As another experiment, I've tried using 'git grep --no-index' together with xargs as another alternative to grep and ripgrep, and its performance wasn't great.

Like 11s versus ripgrep's 2.5 when used without '-P8'.

I suppose we could include this option anyway? For users who don't have any of the standard tools installed, only Git.



reply via email to

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