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: Sun, 28 Jun 2015 00:11:34 +0300 Message-ID: <558F1186.50303@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> 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 1435439543 28106 80.91.229.3 (27 Jun 2015 21:12:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2015 21:12:23 +0000 (UTC) Cc: 20728-done@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 23:12: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 1Z8xOV-0005ts-JR for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 23:12:11 +0200 Original-Received: from localhost ([::1]:37375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8xOU-0006xc-Ha for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 17:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8xOQ-0006wJ-SB for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 17:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8xOM-0000tS-R5 for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 17:12:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8xOM-0000tM-Mo for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 17:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z8xOM-00007s-Ax for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2015 17:12:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jun 2015 21:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20728 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20728@debbugs.gnu.org, dgutov@yandex.ru, dgutov@yandex.ru Original-Received: via spool by 20728-done@debbugs.gnu.org id=D20728.1435439507457 (code D ref 20728); Sat, 27 Jun 2015 21:12:01 +0000 Original-Received: (at 20728-done) by debbugs.gnu.org; 27 Jun 2015 21:11:47 +0000 Original-Received: from localhost ([127.0.0.1]:59508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8xO6-00007J-DZ for submit@debbugs.gnu.org; Sat, 27 Jun 2015 17:11:46 -0400 Original-Received: from mail-wi0-f175.google.com ([209.85.212.175]:37835) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z8xO3-000073-Oj for 20728-done@debbugs.gnu.org; Sat, 27 Jun 2015 17:11:44 -0400 Original-Received: by wicgi11 with SMTP id gi11so43165745wic.0 for <20728-done@debbugs.gnu.org>; Sat, 27 Jun 2015 14:11:38 -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=SRqg+bduf2tzqO70XR5UCvhCYl6rKA00PNjZadLhEqE=; b=STJerTtv0ss0k7TZxHaA+y9p0yybIl7qdPNgke+RIc0D7tR1CRN5VQbZsvmgr1hb9M At1ibSThi3YLohqHtUNQp2R8rF/HTG8VOXO0AmfAzw7UD1zU+DHj4WBsCUg2eKjMNNxQ RidWgUiXKWbnWst6Z70Mv5YDGRTmXfgMtyU+GE3FdvFMP4wNIk3j0OjHIWYC6Ny4o7Yi gRAbUFctnCxwcCN/TyAhP+0lVAoMUBDZwXtkNdLy/Gf5HezxjanE+8Sv+mop75rlSehb D1fYaoR01tuhi0n+v2UftCTx1yh1QHyPBuwhDNGkekrG3NeZSvZcW+SzW1gh2SPr+t3B hpPw== X-Received: by 10.180.73.236 with SMTP id o12mr8791980wiv.56.1435439498143; Sat, 27 Jun 2015 14:11:38 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id lk5sm4488658wic.24.2015.06.27.14.11.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Jun 2015 14:11:37 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <87a8w53k8z.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:104418 Archived-At: Version: 25.1 On 06/12/2015 02:20 AM, Juri Linkov wrote: > Yes, it's out of the question that we should keep the original letters. I've just pushed a commit that reuses for both -i and --color (ase and olor, we can still pretend it's mnemonical), simply because there are templates out there with in them, which do not include "--color". If anyone really wants to change it to , be my guest. > I wonder how many third-party code uses the templates with > that it needs to be documented. I haven't found any. OTOH, it doesn't hurt anyone either. Maybe the right change would be to make the code use it, actually. Are there use cases for changing the value of null-decide dynamically? 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?