how to specify notmuch colors in emacs24
authorDavid Belohrad <david@belohrad.ch>
Thu, 6 Mar 2014 13:24:51 +0000 (14:24 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:24 +0000 (10:00 -0800)
c6/c37e44ef1af7ed9967d935c636e26074ebe279 [new file with mode: 0644]

diff --git a/c6/c37e44ef1af7ed9967d935c636e26074ebe279 b/c6/c37e44ef1af7ed9967d935c636e26074ebe279
new file mode 100644 (file)
index 0000000..fdc3248
--- /dev/null
@@ -0,0 +1,75 @@
+Return-Path: <david@belohrad.ch>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E5766431FC0\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Mar 2014 05:25:02 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id nNKxYgWOZGDy for <notmuch@notmuchmail.org>;\r
+       Thu,  6 Mar 2014 05:24:57 -0800 (PST)\r
+Received: from server.belohrad.ch (static-212-101-19-163.adsl.solnet.ch\r
+       [212.101.19.163])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 4E30B431FBF\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Mar 2014 05:24:57 -0800 (PST)\r
+Received: from beesknees.cern.ch.belohrad.ch (beesknees.cern.ch\r
+       [137.138.197.99])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested) (Authenticated sender: david)\r
+       by server.belohrad.ch (Postfix) with ESMTPSA id 5C3CD2C0104;\r
+       Thu,  6 Mar 2014 14:26:16 +0100 (CET)\r
+From: David Belohrad <david@belohrad.ch>\r
+To: <notmuch@notmuchmail.org>\r
+Subject: how to specify notmuch colors in emacs24\r
+User-Agent: Notmuch/0.17+54~g9ac863c (http://notmuchmail.org) Emacs/24.3.50.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Thu, 06 Mar 2014 14:24:51 +0100\r
+Message-ID: <uaxy50n1mu4.fsf@beesknees.cern.ch>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 06 Mar 2014 13:25:03 -0000\r
+\r
+Dear All,\r
+\r
+so far I'm changing some color faces programmatically:\r
+\r
+  (setq notmuch-search-line-faces '(("deleted" . (:foreground "red"\r
+                                                  :background "blue"))\r
+                                     ("unread" . (:foreground "DeepSkyBlue"))\r
+                                     ("flagged" . (:foreground "firebrick1"))\r
+                                     ))\r
+\r
+\r
+I recently upgraded to emacs24. I was using default shipped tango-dark\r
+theme. Then (because of VHDL mode I'm using) I have created a custom\r
+theme, and I'd like to 'backport' the piece of code above into the\r
+custom theme so it is in accordance with the philosophy of themes.\r
+\r
+I have no idea how to specify it using the 'class approach',as e.g.\r
+\r
+   `(gnus-group-news-1 ((,class (:foreground ,plum-1))))\r
+   `(gnus-group-news-1-low ((,class (:foreground ,plum-2))))\r
+\r
+Any hint would be greatly appreciated\r
+\r
+d.\r