all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Jim Porter <jporterbugs@gmail.com>,
	Joel Reicher <joel.reicher@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: Should project delegate project-find-regexp?
Date: Mon, 18 Apr 2022 06:06:05 +0300	[thread overview]
Message-ID: <3ebfa575-26ec-390b-e5e0-cb27bf276def@yandex.ru> (raw)
In-Reply-To: <173d4cd9-b8bf-6d16-d059-633030873a52@gmail.com>

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	other threads:[~2022-04-18  3:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 11:48 Should project delegate project-find-regexp? Joel Reicher
2022-04-07 12:34 ` Ergus
2022-04-07 12:55   ` Joel Reicher
2022-04-07 14:30 ` Dmitry Gutov
2022-04-07 16:10   ` Ergus
2022-04-07 16:33     ` Dmitry Gutov
2022-04-08  8:40   ` Joel Reicher
2022-04-18  3:01     ` Dmitry Gutov
2022-04-09 23:01   ` Jim Porter
2022-04-18  3:06     ` Dmitry Gutov [this message]
2022-04-07 16:56 ` Sean Whitton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ebfa575-26ec-390b-e5e0-cb27bf276def@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=joel.reicher@gmail.com \
    --cc=jporterbugs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.