From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Highlighting in grep buffer Date: Sun, 11 Apr 2004 23:52:42 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87hdvvhzgh.fsf@mail.jurta.org> <873c7be197.fsf@mail.jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1081742371 26514 80.91.224.253 (12 Apr 2004 03:59:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Apr 2004 03:59:31 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 12 05:59:15 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCsbK-0003CH-00 for ; Mon, 12 Apr 2004 05:59:14 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCsbK-0008GA-01 for ; Mon, 12 Apr 2004 05:59:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BCrdY-0000VA-UG for emacs-devel@quimby.gnus.org; Sun, 11 Apr 2004 22:57:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BCrZ0-0007dZ-De for emacs-devel@gnu.org; Sun, 11 Apr 2004 22:52:46 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BCrYy-0007d6-1s for emacs-devel@gnu.org; Sun, 11 Apr 2004 22:52:44 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BCrYx-0007cz-La for emacs-devel@gnu.org; Sun, 11 Apr 2004 22:52:43 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1BCsV0-0007ee-V2; Sun, 11 Apr 2004 23:52:42 -0400 Original-To: Juri Linkov In-reply-to: <873c7be197.fsf@mail.jurta.org> (message from Juri Linkov on Sun, 11 Apr 2004 01:28:08 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21490 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21490 > It needs comments to explain what GREP_COLOR means > and what that value means and why. According to grep man page, the environment variable GREP_COLOR specifies the marker for highlighting, GREP_OPTIONS specifies default options to be placed in front of any explicit options, and the option --color surrounds the matching string with the marker found in GREP_COLOR environment variable. Ok, please add comments in the Lisp code with that information. Don't expect people maintaining Emacs to know such obscure things about GNU grep! > It may be less reliable, in that it may not work with non-GNU grep > programs. Perhaps that is ok; people should install GNU grep. Even though this feature will not be available for non-GNU greps, I can't tell if the GREP_OPTIONS=--colors will cause them to fail. It could be they will simply not notice. Could you arrange to test this on a few recent modern?