1 Return-Path: <fatkasuvayu+linux@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 13782431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 6 Mar 2014 05:52:29 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id 66lQF-+2zVER for <notmuch@notmuchmail.org>;
\r
17 Thu, 6 Mar 2014 05:52:21 -0800 (PST)
\r
18 Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com
\r
19 [74.125.83.54]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
20 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
21 A533E431FAE for <notmuch@notmuchmail.org>; Thu, 6 Mar 2014 05:52:21 -0800
\r
23 Received: by mail-ee0-f54.google.com with SMTP id d49so1136341eek.13
\r
24 for <notmuch@notmuchmail.org>; Thu, 06 Mar 2014 05:52:20 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=sender:date:from:to:subject:message-id:mail-followup-to:references
\r
27 :mime-version:content-type:content-disposition:in-reply-to
\r
28 :user-agent; bh=Tk12rmXh7YvOz/rkNq7ID5Ks40ltwY6V3NQUANhjVFc=;
\r
29 b=J7MT6f05eWF3ExVY0kBjLqh/KLMXzC7pxHMZhRChLqij+iDhJ7Rl5/UH9cAa+BOAiN
\r
30 uUSXizR3Z24PCdZ7fwz+dd01URvOp+tPDXhlkTOsxtwB1qrV8N1E+AmIEcgwzO1lsJQA
\r
31 q9PSHwq41vNyGz7SS3FXAkZFHR4GT5bfOC12I6aKfuSv+z6RbFmp3bIBY5j+og1Pw/I+
\r
32 N3axcaJgN2xjYgfqNf2ogvJ7DNUFUHnRsrYTRJnzQU1qv6otcyUlaJwRt7ZIBO12tbrY
\r
33 LfhZ2qA1Gm7hj0EHc0JuMVM7qu5AsqZWISNbczVghcxhjyaP3X7dk5lB1rETE2JzXYOS
\r
35 X-Received: by 10.14.205.3 with SMTP id i3mr12455250eeo.23.1394113940257;
\r
36 Thu, 06 Mar 2014 05:52:20 -0800 (PST)
\r
37 Received: from chitra.dyndns-at-home.com
\r
38 ([2001:610:120:3001:2ad2:44ff:fe4a:b029])
\r
39 by mx.google.com with ESMTPSA id m8sm22106400eef.14.2014.03.06.05.52.17
\r
40 for <notmuch@notmuchmail.org>
\r
41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
42 Thu, 06 Mar 2014 05:52:18 -0800 (PST)
\r
43 Sender: Suvayu Ali <fatkasuvayu@gmail.com>
\r
44 Date: Thu, 6 Mar 2014 14:52:16 +0100
\r
45 From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
\r
46 To: notmuch@notmuchmail.org
\r
47 Subject: Re: how to specify notmuch colors in emacs24
\r
48 Message-ID: <20140306135216.GB3399@chitra.dyndns-at-home.com>
\r
49 Mail-Followup-To: notmuch@notmuchmail.org
\r
50 References: <uaxy50n1mu4.fsf@beesknees.cern.ch>
\r
52 Content-Type: text/plain; charset=us-ascii
\r
53 Content-Disposition: inline
\r
54 In-Reply-To: <uaxy50n1mu4.fsf@beesknees.cern.ch>
\r
55 User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16)
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Thu, 06 Mar 2014 13:52:29 -0000
\r
70 On Thu, Mar 06, 2014 at 02:24:51PM +0100, David Belohrad wrote:
\r
73 > so far I'm changing some color faces programmatically:
\r
75 > (setq notmuch-search-line-faces '(("deleted" . (:foreground "red"
\r
76 > :background "blue"))
\r
77 > ("unread" . (:foreground "DeepSkyBlue"))
\r
78 > ("flagged" . (:foreground "firebrick1"))
\r
81 I use custom-set-faces and themes for this kind of customisation.
\r
83 > I recently upgraded to emacs24. I was using default shipped tango-dark
\r
84 > theme. Then (because of VHDL mode I'm using) I have created a custom
\r
85 > theme, and I'd like to 'backport' the piece of code above into the
\r
86 > custom theme so it is in accordance with the philosophy of themes.
\r
88 > I have no idea how to specify it using the 'class approach',as e.g.
\r
90 > `(gnus-group-news-1 ((,class (:foreground ,plum-1))))
\r
91 > `(gnus-group-news-1-low ((,class (:foreground ,plum-2))))
\r
93 > Any hint would be greatly appreciated
\r
95 You could get some ideas from my theme.
\r
97 <https://github.com/suvayu/.emacs.d/blob/master/themes/dark-emacs-theme.el>
\r
99 Essentially it boils down to:
\r
101 ((type <type>) (class <color/monochrome/etc>) (min-colors <number>))
\r
103 You can find the gory docs here: (info "(elisp) Defining Faces")
\r
110 Open source is the future. It sets us free.
\r