unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: `diff-mode' shows no colors
Date: Sun, 04 Nov 2012 10:37:57 +0800	[thread overview]
Message-ID: <871uga854q.fsf@gnu.org> (raw)
In-Reply-To: <87a9uyun0k.fsf@fimbulvetr.bsc.es> ("Lluís"'s message of "Sun, 04 Nov 2012 03:20:43 +0100")

Lluís <xscript@gmx.net> 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	other threads:[~2012-11-04  2:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-04  2:20 `diff-mode' shows no colors Lluís
2012-11-04  2:37 ` Chong Yidong [this message]
2012-11-04 18:42   ` Lluís

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871uga854q.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).