emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GREP_OPTIONS and color


From: Juri Linkov
Subject: Re: GREP_OPTIONS and color
Date: Tue, 07 Sep 2004 07:00:28 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Stefan <address@hidden> writes:
> Old GNU greps like the version 2.4.2 distributed with Mac OS X don't like
> the --color=always option.  Here's what I get in the *Grep* buffer:
>
>    cd /Users/monnier/src/emacs/work/lisp/gnus/        # -*-grep-*-
>    Entering directory `/Users/monnier/src/emacs/work/lisp/gnus/'
>    grep -nH mm-decode-coding-string  *.el
>    grep: unrecognized option `--color=always'
>    Usage: grep [OPTION]... PATTERN [FILE]...
>    Try `grep --help' for more information.
>    
>    Grep exited abnormally with code 2 at Mon Sep  6 22:01:14

I fixed this by detecting the availability of --color in
`grep-compute-defaults'.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]