Subject: Re: bug#36558: When the user forgets the filename when using M-x grep

From: Tak Kunihiro <[email-masked]>
Date: Thu, 11 Jul 2019 18:44:34 +0900

>>> I don't think the M-x grep command has the ability for the user to
>>> change the default prompt from the current
>>> 
>>> Run grep (like this): grep --color -nH --null -e
>>> 
>>> to the rather more sophisticated
>>> 
>>> Run grep (like this): grep --color -nH --null -e [] *
>>> 
>>> where "[]" represents where the cursor should be placed when prompting
>>> the user.

How about something like this?

(grep-apply-setting 'grep-command (cons "grep --color -nH --null -e  *" 28))