From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Llu=C3=ADs?= Newsgroups: gmane.emacs.devel Subject: Re: `diff-mode' shows no colors Date: Sun, 04 Nov 2012 19:42:51 +0100 Message-ID: <874nl5tdjo.fsf@fimbulvetr.bsc.es> References: <87a9uyun0k.fsf@fimbulvetr.bsc.es> <871uga854q.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352054580 24034 80.91.229.3 (4 Nov 2012 18:43:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 18:43:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 04 19:43:10 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TV5A5-0001mT-KL for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2012 19:43:09 +0100 Original-Received: from localhost ([::1]:42611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV59w-0004vh-HF for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2012 13:43:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV59t-0004vb-Mv for emacs-devel@gnu.org; Sun, 04 Nov 2012 13:42:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TV59s-0008CX-K5 for emacs-devel@gnu.org; Sun, 04 Nov 2012 13:42:57 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:37165) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TV59s-0008CD-9G for emacs-devel@gnu.org; Sun, 04 Nov 2012 13:42:56 -0500 Original-Received: (qmail invoked by alias); 04 Nov 2012 18:42:52 -0000 Original-Received: from unknown (EHLO localhost) [84.88.51.85] by mail.gmx.net (mp031) with SMTP; 04 Nov 2012 19:42:52 +0100 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX1+T1DZA+/mTwK6cuXYT9cK5zJ79AJqggONXNl2D3a aLhGCL3cCTPn6k Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <871uga854q.fsf@gnu.org> (Chong Yidong's message of "Sun, 04 Nov 2012 10:37:57 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.23 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154673 Archived-At: Chong Yidong writes: > Llu=C3=ADs 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. >>=20 >> 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 colo= rs 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 --=20 "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