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