unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sean Whitton <spwhitton@spwhitton.name>
To: Joel Reicher <joel.reicher@gmail.com>, emacs-devel@gnu.org
Subject: Re: Should project delegate project-find-regexp?
Date: Thu, 07 Apr 2022 09:56:55 -0700	[thread overview]
Message-ID: <87lewghlwo.fsf@athena.silentflame.com> (raw)
In-Reply-To: <86bkxdf71q.fsf@gmail.com>

Hello,

On Thu 07 Apr 2022 at 09:48pm +10, 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.
>
> At the moment project delegates the list of files to vc (for example) but perhaps it should delegate the regexp search itself?

Interesting.  One thing that comes to mind is that git-grep(1) is
line-based, i.e., it can't do multiline regexps.  Though, I am not sure
that project-find-regexp can either.

-- 
Sean Whitton



      parent reply	other threads:[~2022-04-07 16:56 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
2022-04-07 16:56 ` Sean Whitton [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87lewghlwo.fsf@athena.silentflame.com \
    --to=spwhitton@spwhitton.name \
    --cc=emacs-devel@gnu.org \
    --cc=joel.reicher@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).