[Top][All Lists]

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

Re: `diff-mode' shows no colors

From: Chong Yidong
Subject: Re: `diff-mode' shows no colors
Date: Sun, 04 Nov 2012 10:37:57 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

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.

reply via email to

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