From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 05:42:00 +0300 Message-ID: <834mls7dvr.fsf@gnu.org> References: <86bngws6il.fsf@yandex.ru> <83zj4fpjof.fsf@gnu.org> <557082F7.8020400@yandex.ru> <83wpzjpf6o.fsf@gnu.org> <55708EEA.6020400@yandex.ru> <83twunp9bf.fsf@gnu.org> <5570B30F.4090503@yandex.ru> <83oakuprpf.fsf@gnu.org> <55715DE3.6000405@yandex.ru> <83h9qmpm2s.fsf@gnu.org> <557166CE.4050906@yandex.ru> <83d21apkyg.fsf@gnu.org> <55717030.6010005@yandex.ru> <87a8wdhka7.fsf@mail.linkov.net> <5572C936.6070505@yandex.ru> <874mmkfq7q.fsf@mail.linkov.net> <5574C427.3070007@yandex.ru> <87fv608nl8.fsf@mail.linkov.net> <55787A1D.9080601@yandex.ru> <87wpzbaztk.fsf@mail.linkov.net> <55793756.9070505@yandex.ru> <87a8w53k8z.fsf@mail.linkov.net> <558F1186.50303@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435459405 23070 80.91.229.3 (28 Jun 2015 02:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jun 2015 02:43:25 +0000 (UTC) Cc: 20728@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 28 04:43:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z92Yq-0003sK-PK for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jun 2015 04:43:12 +0200 Original-Received: from localhost ([::1]:37862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z92Yq-0003vL-2d for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 22:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z92Ym-0003vE-38 for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 22:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z92Yh-0000fs-3f for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 22:43:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z92Yh-0000fj-0N for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 22:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z92Yg-0007cP-GM for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 22:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jun 2015 02:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20728 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20728-submit@debbugs.gnu.org id=B20728.143545933229228 (code B ref 20728); Sun, 28 Jun 2015 02:43:02 +0000 Original-Received: (at 20728) by debbugs.gnu.org; 28 Jun 2015 02:42:12 +0000 Original-Received: from localhost ([127.0.0.1]:59594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z92Xr-0007bL-AC for submit@debbugs.gnu.org; Sat, 27 Jun 2015 22:42:11 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:45654) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z92Xo-0007ay-DH for 20728@debbugs.gnu.org; Sat, 27 Jun 2015 22:42:09 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NQM00500V4W6U00@mtaout25.012.net.il> for 20728@debbugs.gnu.org; Sun, 28 Jun 2015 05:37:47 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQM00KSIVAZMIC0@mtaout25.012.net.il>; Sun, 28 Jun 2015 05:37:47 +0300 (IDT) In-reply-to: <558F1186.50303@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104425 Archived-At: > From: Dmitry Gutov > Date: Sun, 28 Jun 2015 00:11:34 +0300 > Cc: 20728-done@debbugs.gnu.org > > 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.