[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `diff-mode' shows no colors
From: |
Lluís |
Subject: |
Re: `diff-mode' shows no colors |
Date: |
Sun, 04 Nov 2012 19:42:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Chong Yidong writes:
> Lluís <address@hidden> writes:
>> I'm using emacs 24.2.1 (debian's unstable emacs24 package) and
>> observed that the faces in `diff-mode', which should show some nice
>> colors, are instead all shown in grayscale.
>>
>> After looking at the definition of some of these faces, it looks like
>> the `(min-colors 88)' condition is applying, leaving all of diff-mode
>> in shades of grey (the ones applying for dark background). Even
>> starting with -q or -Q is not enough to get diffs with color (which I
>> had for some time).
> (min-colors 88) actually specifies the full-color version (I have no
> ideas why Emacs uses the number 88 for this). Emacs < 24.3 uses grey
> for highlighting; just customize the faces if you want something more
> colorful. Emacs 24.3 will use the standard red/green color scheme.
Ok, I tried with the emacs-snapshot package (24.2.50) and it does show colors
indeed. The "problem" was that the full-color version in 24.2.1 uses shades of
gray in the full-color version.
Sorry for the noise.
Thanks,
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth