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

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

bug#20728: 25.0.50; grep and grep-find templates should have a place hol


From: Dmitry Gutov
Subject: bug#20728: 25.0.50; grep and grep-find templates should have a place holder for the --color argument
Date: Fri, 5 Jun 2015 12:47:28 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/05/2015 12:23 PM, Eli Zaretskii wrote:

IMO, it's much simpler, and doesn't require to invent a new
placeholder for such a simple job.

We'll still need that placeholder in grep-find-template (and probably in grep-template, for consistency).

Regarding M-x grep, I would rather leave it alone for now, because otherwise, %s or not, that would call for renaming the variable grep-command, and grep-template is already taken.

Another option would be to perform the substitution with regexp in grep-default-command, and it's pretty hairy already.





reply via email to

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