Subject: bug#12492: Acknowledgement (24.2.50; Open vc-dir buffer easier and faster)

From: Dmitry Gutov <[email-masked]>
Date: Tue, 3 Mar 2020 00:11:48 +0200

On 29.02.2020 23:16, Juri Linkov wrote:
>>>>> C-x p g - project grep
>>>>
>>>> Bind project-find-regexp to it?
>>>
>>> Not sure since project-find-regexp is not asynchronous as grep.
>>
>> All the more reason for someone to work on that. And the former has
>> other benefits.
> 
> ‘C-x p s g’ could be bound to a new command ‘M-x project-grep’ that could run:
> 
>    git --no-pager grep --color -inH -p -e "search_string"

And then we'll have three very similar commands side-by-side in the same 
menu, or on the same prefix?

project-find-regexp is the available backend-agnostic option. You can 
write project-grep, but it would most likely have to work with xargs, 
like former does.

> Then ‘C-x p C-s’ could be bound to ‘project-search’

People are welcome to use it, but it's implementation and UI are 
suboptimal in several respects.

> and ‘C-x p M-%’ to ‘project-query-replace-regexp’.
> 
> BTW, why current project commands are not documented
> in the Emacs Info manual?  Should they?

I don't know. What are the criteria?