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: Sun, 28 Jun 2015 05:42:00 +0300

> From: Dmitry Gutov <[email-masked]>
> Date: Sun, 28 Jun 2015 00:11:34 +0300
> Cc: [email-masked]
> 
> And speaking of needs, what is the use case for "--color" without 
> "always"? Instead of special-casing Windows and DOS, why don't we always 
> use `always' for coloring?

Isn't it the other way around: Windows wants 'always' (except when it
doesn't, see below), while others want 'auto'?

As to when you won't want 'always': it's when Grep is invoked as part
pf a pipeline, where it's not the last part, or when the Lisp program
that invokes it wants to interpret the results, as opposed to showing
them to the user.