GNU bug report logs - #20728
25.0.50; grep and grep-find templates should have a place holder for the --color argument

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Wed, 3 Jun 2015 23:44:01 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 20728 <at> debbugs.gnu.org
Subject: bug#20728: 25.0.50; grep and grep-find templates should have a place holder for the --color argument
Date: Sun, 28 Jun 2015 01:49:36 +0300
> I've just pushed a commit that reuses <C> for both -i and --color (<C>ase
> and <C>olor, we can still pretend it's mnemonical), simply because there
> are templates out there with <C> in them, which do not include "--color".

Does zgrep still work after your changes?

> I haven't found any. OTOH, it doesn't hurt anyone either. Maybe the right
> change would be to make the code use it, actually. Are there use cases for
> changing the value of null-decide dynamically?

This is only a hypothetical case.

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

Maybe some users don't want highlighting?




This bug report was last modified 10 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.