1 Return-Path: <dme@dme.org>
\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 AF78B409C62
\r
6 for <notmuch@notmuchmail.org>; Wed, 19 May 2010 01:54:07 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 5Krz8I86Vyg2 for <notmuch@notmuchmail.org>;
\r
16 Wed, 19 May 2010 01:53:55 -0700 (PDT)
\r
17 Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id 70D4F4196F4
\r
20 for <notmuch@notmuchmail.org>; Wed, 19 May 2010 01:53:43 -0700 (PDT)
\r
21 Received: by ewy5 with SMTP id 5so1814155ewy.0
\r
22 for <notmuch@notmuchmail.org>; Wed, 19 May 2010 01:53:42 -0700 (PDT)
\r
23 Received: by 10.213.90.204 with SMTP id j12mr3613646ebm.27.1274259222262;
\r
24 Wed, 19 May 2010 01:53:42 -0700 (PDT)
\r
25 Received: from ut.hh.sledj.net (host83-217-165-81.dsl.vispa.com
\r
27 by mx.google.com with ESMTPS id 14sm3585573ewy.10.2010.05.19.01.53.38
\r
28 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
29 Wed, 19 May 2010 01:53:39 -0700 (PDT)
\r
30 Received: by ut.hh.sledj.net (Postfix, from userid 1000)
\r
31 id 004F45940A2; Wed, 19 May 2010 08:03:45 +0100 (BST)
\r
32 From: David Edmondson <dme@dme.org>
\r
33 To: notmuch@notmuchmail.org
\r
34 Subject: [PATCH 12/13] emacs: Tags should be shown with `notmuch-tag-face'.
\r
35 Date: Wed, 19 May 2010 08:03:39 +0100
\r
36 Message-Id: <1274252620-1249-13-git-send-email-dme@dme.org>
\r
37 X-Mailer: git-send-email 1.7.1
\r
38 In-Reply-To: <1274252620-1249-1-git-send-email-dme@dme.org>
\r
39 References: <1274252620-1249-1-git-send-email-dme@dme.org>
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Wed, 19 May 2010 08:54:07 -0000
\r
54 Use the same face for tags in `notmuch-show' mode as that used in
\r
55 `notmuch-search' mode.
\r
57 emacs/notmuch-show.el | 6 ++++--
\r
58 1 files changed, 4 insertions(+), 2 deletions(-)
\r
60 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
61 index ff1a7a7..7601857 100644
\r
62 --- a/emacs/notmuch-show.el
\r
63 +++ b/emacs/notmuch-show.el
\r
64 @@ -189,7 +189,8 @@ any given message."
\r
65 (if (re-search-forward "(\\([^()]*\\))$" (line-end-position) t)
\r
66 (let ((inhibit-read-only t))
\r
67 (replace-match (concat "("
\r
68 - (mapconcat 'identity tags " ")
\r
69 + (propertize (mapconcat 'identity tags " ")
\r
70 + 'face 'notmuch-tag-face)
\r
73 (defun notmuch-show-insert-headerline (headers date tags depth)
\r
74 @@ -201,7 +202,8 @@ message at DEPTH in the current thread."
\r
78 - (mapconcat 'identity tags " ")
\r
79 + (propertize (mapconcat 'identity tags " ")
\r
80 + 'face 'notmuch-tag-face)
\r
82 (overlay-put (make-overlay start (point)) 'face 'notmuch-message-summary-face)))
\r