Subject: Re: bug#20728: 25.0.50; grep and grep-find templates should have a place holder for the --color argument

From: Eli Zaretskii <[email-masked]>
Date: Thu, 04 Jun 2015 05:43:48 +0300

> From: Dmitry Gutov <[email-masked]>
> Date: Thu, 04 Jun 2015 02:42:58 +0300
> 
> And fill it in dynamically during expansion.
> 
> This way, the caller can set grep-highlight-matches dynamically, without
> recomputing grep defaults (which is expensive). This is particularly
> relevant on MS-Windows, in semantic-symref-grep-use-template and
> xref-collect-matches.

I don't understand what you perceive as a problem with the current
code, and why.  Could you elaborate, and perhaps provide an example?