[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should project delegate project-find-regexp?
From: |
Sean Whitton |
Subject: |
Re: Should project delegate project-find-regexp? |
Date: |
Thu, 07 Apr 2022 09:56:55 -0700 |
User-agent: |
Emacs/29.0.50 (x86_64-pc-linux-gnu) |
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