bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug#396485: diff & sdiff: please allow full-color output (fwd)


From: Andreas Schwab
Subject: Re: Bug#396485: diff & sdiff: please allow full-color output (fwd)
Date: Wed, 15 Nov 2006 22:27:08 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> I can see your point, but then `ls' and `grep' also get colors in
> Emacs, and yet they can produce colors on the console as well.  Why
> should `diff' be different?

The coloring provided by ls and grep cannot be achieved by just looking at
the output.  For example, for grep you have to parse the command line and
repeat the pattern matching.  Emacs actually uses the coloring provided by
grep for (part of) its highlighting.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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