GNU bug report logs -
#20728
25.0.50; grep and grep-find templates should have a place holder for the --color argument
Previous Next
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
Message #92 received at 20728 <at> debbugs.gnu.org (full text, mbox):
>> With the mnemonics <C> = <Color> :)
>
> Rename it, then? But I'd be fine with keeping the "wrong" letter for
> compatibility with templates set by third-party code, if there's any.
Yes, it's out of the question that we should keep the original letters.
>> OTOH, null-device has a separate placeholder <N>.
>
> And it seems to never be used anywhere. Again, grep-compute-defaults
> inlines the appropriate value in the templates.
Here again the same question: how different is null-device from
grep-highlight-matches that null-device should be inlined in the
templates by grep-compute-defaults while grep-highlight-matches shouldn't?
> Maybe we should remove the mentions of it from the docstrings.
I wonder how many third-party code uses the templates with <N>
that it needs to be documented.
This bug report was last modified 10 years and 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.