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: Fri, 5 Jun 2015 12:49:45 +0300 Message-ID: <557170B9.7050408@yandex.ru> References: <86bngws6il.fsf@yandex.ru> <87d21bxf45.fsf@mail.linkov.net> 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 1433497835 28268 80.91.229.3 (5 Jun 2015 09:50:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2015 09:50:35 +0000 (UTC) Cc: 20728@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 05 11:50:24 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 1Z0oGQ-0001Eb-Uh for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jun 2015 11:50:11 +0200 Original-Received: from localhost ([::1]:46187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0oGQ-00070f-GH for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jun 2015 05:50:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0oGN-0006y9-0D for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 05:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0oGK-0001Xa-B2 for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 05:50:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0oGK-0001XI-7E for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 05:50:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z0oGJ-00054G-Pi for bug-gnu-emacs@gnu.org; Fri, 05 Jun 2015 05:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2015 09:50:03 +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.143349779519462 (code B ref 20728); Fri, 05 Jun 2015 09:50:03 +0000 Original-Received: (at 20728) by debbugs.gnu.org; 5 Jun 2015 09:49:55 +0000 Original-Received: from localhost ([127.0.0.1]:41137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0oGB-00053q-4V for submit@debbugs.gnu.org; Fri, 05 Jun 2015 05:49:55 -0400 Original-Received: from mail-wi0-f179.google.com ([209.85.212.179]:38801) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0oG9-00053b-0g for 20728@debbugs.gnu.org; Fri, 05 Jun 2015 05:49:53 -0400 Original-Received: by wibdq8 with SMTP id dq8so13153670wib.1 for <20728@debbugs.gnu.org>; Fri, 05 Jun 2015 02:49:47 -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=uoT0xoW3qim/RBGxKATLarJYE6uTcDX04/iJ7jLG9aM=; b=wdmN8v/pPvaUcp3jTHlP2PnUS+OuPQNWitOnyrEHt3Vi9+pTwGiWd8eWMExlq//ibK dGYObprJCJeI3v09zTmL4zpcR4DUk2f+t+BBXnvniJ641QPZ+JDRQ/xncdG1xK4GCLAu VFvTykHcXTRgmcKA+Np8KcVrPIaD6izWYt9lHwONjyuWww8+W6+oCYPYCKUdfZ1FdPR8 B622wAPH+Jb7t3FHWI+X3og/S6Pj1fp1FYG2VAgAFLbHKZ58ouBNHBgqrSn0/ufAfyxo v1kz2VK9vlSdvyWpBae9nH/yoitMLlf4QyJsCsJ7RFRBUthJz62Ll08acq2yNBZparuT PZ0w== X-Received: by 10.180.36.170 with SMTP id r10mr16758061wij.10.1433497787425; Fri, 05 Jun 2015 02:49:47 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id lu5sm6491713wjb.9.2015.06.05.02.49.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2015 02:49:47 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <87d21bxf45.fsf@mail.linkov.net> 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:103605 Archived-At: On 06/05/2015 01:50 AM, Juri Linkov wrote: > I guess you need reusing the grep command line for purposes > other than highlighting its matches in the output buffer, right? Yep, to run it and parse the output programmatically. > Some time ago additional grep options (including "--color=auto") > were set in env GREP_OPTIONS were they could be easily changed, > but not anymore after 2e4c2fe2787785a421f256541de642976e9bd90b. Thanks for the background. > So maybe now we should add a place holder for grep options > in the template and use it the same way as we used GREP_OPTIONS. Indeed. I'm inclined toward , for "additional Options".