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:49:45 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/05/2015 01:50 AM, Juri Linkov wrote:

I guess you need reusing the grep command line for purposes
other than highlighting its matches in the output buffer, right?

Yep, to run it and parse the output programmatically.

Some time ago additional grep options (including "--color=auto")
were set in env GREP_OPTIONS were they could be easily changed,
but not anymore after 2e4c2fe2787785a421f256541de642976e9bd90b.

Thanks for the background.

So maybe now we should add a place holder for grep options
in the template and use it the same way as we used GREP_OPTIONS.

Indeed. I'm inclined toward <O>, for "additional Options".





reply via email to

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