From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: `diff-mode' shows no colors Date: Sun, 04 Nov 2012 10:37:57 +0800 Message-ID: <871uga854q.fsf@gnu.org> References: <87a9uyun0k.fsf@fimbulvetr.bsc.es> 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 1351996688 14665 80.91.229.3 (4 Nov 2012 02:38:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 02:38:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 04 03:38:18 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 1TUq6K-0004lA-Aw for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2012 03:38:16 +0100 Original-Received: from localhost ([::1]:56125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUq6B-00034S-Mx for ged-emacs-devel@m.gmane.org; Sat, 03 Nov 2012 22:38:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUq69-00033s-Cc for emacs-devel@gnu.org; Sat, 03 Nov 2012 22:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TUq67-0004CC-Cn for emacs-devel@gnu.org; Sat, 03 Nov 2012 22:38:05 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:33438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TUq66-0004BZ-PY for emacs-devel@gnu.org; Sat, 03 Nov 2012 22:38:03 -0400 Original-Received: by mail-pb0-f41.google.com with SMTP id rq2so3396064pbb.0 for ; Sat, 03 Nov 2012 19:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=SrC92D/LXXdzQQz66gXASTvfGXa1kc4v/G/UHVg70Ic=; b=T6OSCyAs/nTWm3SQMD9nT/AD3hV3D0ag9VWsB4C8i7e1mZhdZiycQsBGXtWJiSySiL OY4se0fAqPPq6bNBMEcKQ3aU1qENI5nm6hXS05ISRq4xxDIVdJl+QSLotV5meJ+1cdlG YzCgY4Dh8XXhWPSzb1vGVLXEK1ntyEl8FootfKkRxZAUgMZ/KUe23WeShKKGdpDEfwDz CrRrW1jnQgUDhBG14Ce58+EBWkEPrBnFI/rg9xJ7Uag/TOsVKQYaeWD/dtOto6TyZ1Gk C7b0Br31XtznVg9LUlf2KiLwvOF2zcQ8EsHZvi1XwaNJCNN40LK5s/LUw6c5M2EAMXsG /L7A== Original-Received: by 10.68.227.162 with SMTP id sb2mr19710827pbc.4.1351996681987; Sat, 03 Nov 2012 19:38:01 -0700 (PDT) Original-Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id j4sm8239927pax.31.2012.11.03.19.37.59 (version=SSLv3 cipher=OTHER); Sat, 03 Nov 2012 19:38:00 -0700 (PDT) In-Reply-To: <87a9uyun0k.fsf@fimbulvetr.bsc.es> (=?utf-8?Q?=22Llu=C3=ADs?= =?utf-8?Q?=22's?= message of "Sun, 04 Nov 2012 03:20:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.41 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:154655 Archived-At: 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. > > 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.