bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Tak Kunihiro
Subject: bug#36558: When the user forgets the filename when using M-x grep
Date: Thu, 11 Jul 2019 18:44:34 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (windows-nt)

>>> 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))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]