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

Chong Yidong writes:

> 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.

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



      reply	other threads:[~2012-11-04 18:42 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
2012-11-04 18:42   ` Lluís [this message]

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=874nl5tdjo.fsf@fimbulvetr.bsc.es \
    --to=xscript@gmx.net \
    --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).