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: Thu, 04 Jun 2015 05:43:48 +0300 Message-ID: <83eglsqjkr.fsf@gnu.org> References: <86bngws6il.fsf@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433385929 5398 80.91.229.3 (4 Jun 2015 02:45:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jun 2015 02:45:29 +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 Thu Jun 04 04:45:16 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 1Z0L9b-0005jh-9W for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jun 2015 04:45:11 +0200 Original-Received: from localhost ([::1]:39936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0L9a-0000Hm-JS for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2015 22:45:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0L9X-0000GH-Nm for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 22:45:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0L9U-0001IF-GV for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 22:45:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0L9U-0001Gg-EL for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 22:45:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z0L9T-0004z1-P9 for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 22:45:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jun 2015 02:45: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.143338584619075 (code B ref 20728); Thu, 04 Jun 2015 02:45:03 +0000 Original-Received: (at 20728) by debbugs.gnu.org; 4 Jun 2015 02:44:06 +0000 Original-Received: from localhost ([127.0.0.1]:39620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0L8X-0004xa-Pi for submit@debbugs.gnu.org; Wed, 03 Jun 2015 22:44:06 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:42056) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0L8V-0004wv-0Y for 20728@debbugs.gnu.org; Wed, 03 Jun 2015 22:44:04 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NPE00600FJHJT00@mtaout29.012.net.il> for 20728@debbugs.gnu.org; Thu, 04 Jun 2015 05:43:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPE0000YFK4VK60@mtaout29.012.net.il>; Thu, 04 Jun 2015 05:43:16 +0300 (IDT) In-reply-to: <86bngws6il.fsf@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:103553 Archived-At: > From: Dmitry Gutov > Date: Thu, 04 Jun 2015 02:42:58 +0300 > > And fill it in dynamically during expansion. > > This way, the caller can set grep-highlight-matches dynamically, without > recomputing grep defaults (which is expensive). This is particularly > relevant on MS-Windows, in semantic-symref-grep-use-template and > xref-collect-matches. I don't understand what you perceive as a problem with the current code, and why. Could you elaborate, and perhaps provide an example?