From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov 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: Mon, 29 Jun 2015 13:08:48 +0300 Message-ID: <55911930.4020203@yandex.ru> 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> <834mls7dvr.fsf@gnu.org> <558FAAE0.6020805@yandex.ru> <83381b7vez.fsf@gnu.org> <559044BD.4030703@yandex.ru> <83fv5b60j0.fsf@gnu.org> <559059A2.2050209@yandex.ru> <83egkv5jhl.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435572567 5795 80.91.229.3 (29 Jun 2015 10:09:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2015 10:09:27 +0000 (UTC) Cc: 20728@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 29 12:09:12 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 1Z9Vzz-0007gn-26 for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2015 12:09:11 +0200 Original-Received: from localhost ([::1]:41517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9Vzy-0007Gt-2Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2015 06:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9Vzu-0007GQ-KU for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 06:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9Vzr-0001El-En for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 06:09:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9Vzr-0001EX-BS for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 06:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z9Vzq-0007oy-Ox for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 06:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jun 2015 10:09: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.143557254130057 (code B ref 20728); Mon, 29 Jun 2015 10:09:02 +0000 Original-Received: (at 20728) by debbugs.gnu.org; 29 Jun 2015 10:09:01 +0000 Original-Received: from localhost ([127.0.0.1]:60919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9Vzo-0007oj-PQ for submit@debbugs.gnu.org; Mon, 29 Jun 2015 06:09:01 -0400 Original-Received: from mail-wg0-f48.google.com ([74.125.82.48]:35326) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9Vzm-0007oW-Th for 20728@debbugs.gnu.org; Mon, 29 Jun 2015 06:08:59 -0400 Original-Received: by wgjx7 with SMTP id x7so63570829wgj.2 for <20728@debbugs.gnu.org>; Mon, 29 Jun 2015 03:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=qtqyYEmBLIv6kw/nBuIG4UuyB1BYvbIUjtuC6elrqAw=; b=xEKbjRXq0Uec5Id01rmHqVTma76feEZFsNLpSrN1l/00n8CXp6Qoj0vcGmbD5VyXLl M2SVuir5mOQoK37XKZoDSIxD4nhIRPH1DV0iOJAGT5y1UG75G/DYCIk0/srpeBQeSOid PsBnSFknm7aMaYHacBscmQ6ciGS043EljT4yxtg7IAb1P71/XDDnPNqiuj3FgJvINbJC LOFm/sB5eJ3QpmLGPG+Og2xNmb71RaONEW+GhHcIxroerIKRVxqAOfwX5q35E4ijbede 4e0acCa9AmP31y7yHNVUeqwJrGfIfqrT1XKnR7xD6aFBo8oJrJqhTgPauvYZftRJ1jbw quRA== X-Received: by 10.180.160.210 with SMTP id xm18mr20457194wib.93.1435572533453; Mon, 29 Jun 2015 03:08:53 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id fm8sm11357544wib.9.2015.06.29.03.08.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 03:08:53 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <83egkv5jhl.fsf@gnu.org> 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:104468 Archived-At: On 06/29/2015 05:36 AM, Eli Zaretskii wrote: >>> See cedet/semantic/symref/grep.el for when we don't want 'always'. >> >> We don't want `auto' there either, do we? > > I think 'auto' does TRT there. In any case, we have to explicitly get rid of `always' in this command. >> But now we can simply bind it to nil. > > We could, if we want to test Grep's output ourselves. That is, we > will have to decide when to bind it to nil and when to non-nil, What do you mean by "test"? My point is, we have to decide whether to highlight matches or not, if only to be compatible with Windows. And by "we", I mean in the implementation of each given command. > depending on the device/file used as Grep's output (which is > system-dependent). Whether we want a given command to use a colorized Grep output, is not dependent on the OS, is it?