From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Highlighting in grep buffer Date: Tue, 13 Apr 2004 14:45:44 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <877jwknvdn.fsf@mail.jurta.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1081860938 31977 80.91.224.253 (13 Apr 2004 12:55:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2004 12:55:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 13 14:55:31 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 1BDNRr-000168-00 for ; Tue, 13 Apr 2004 14:55:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDNRr-0008Su-00 for ; Tue, 13 Apr 2004 14:55:31 +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 1BDN9K-0002kE-D9 for emacs-devel@quimby.gnus.org; Tue, 13 Apr 2004 08:36:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BDMxL-0000Cm-9U for emacs-devel@gnu.org; Tue, 13 Apr 2004 08:23:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BDMtK-0006xJ-K4 for emacs-devel@gnu.org; Tue, 13 Apr 2004 08:20:23 -0400 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDMcO-0003A5-Rv for emacs-devel@gnu.org; Tue, 13 Apr 2004 08:02:20 -0400 Original-Received: from mail.jurta.org (80-235-34-57-dsl.mus.estpak.ee [80.235.34.57]) by knife.dreamhost.com (Postfix) with ESMTP id 3AD5FE401C; Tue, 13 Apr 2004 05:02:18 -0700 (PDT) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Mon, 12 Apr 2004 08:18:14 -0700") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) 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:21564 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21564 "Drew Adams" writes: > It's sometimes the case that people use different color schemes > (light-on-dark vs dark-on-light) in shells (whether inside Emacs or not) and > in (other) Emacs windows. It's possible, at least. > > It would be preferable IMHO for Emacs users to be able to control Emacs > highlighting 100% within Emacs. They should at least be able to override > (using, e.g., Emacs user variables) any built-in GNU-grep highlighting > behavior (e.g. color scheme) that Emacs might take advantage of. > > That is, why not have Emacs use its own color variables, which could > *default* to the grep environment variables - rather than just using the env > vars directly? I agree. A set of ANSI colors is too limited and doesn't match Emacs colors. I think we should always set "GREP_COLOR" to the default value "01;31" and replace the known ANSI sequences containing the constant default marker in the grep output by a user-defined Emacs face. -- Juri Linkov http://www.jurta.org/emacs/