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 AF78B409C62 for ; Wed, 19 May 2010 01:54:07 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 5Krz8I86Vyg2 for ; Wed, 19 May 2010 01:53:55 -0700 (PDT) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by olra.theworths.org (Postfix) with ESMTP id 70D4F4196F4 for ; Wed, 19 May 2010 01:53:43 -0700 (PDT) Received: by ewy5 with SMTP id 5so1814155ewy.0 for ; Wed, 19 May 2010 01:53:42 -0700 (PDT) Received: by 10.213.90.204 with SMTP id j12mr3613646ebm.27.1274259222262; Wed, 19 May 2010 01:53:42 -0700 (PDT) Received: from ut.hh.sledj.net (host83-217-165-81.dsl.vispa.com [83.217.165.81]) by mx.google.com with ESMTPS id 14sm3585573ewy.10.2010.05.19.01.53.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 May 2010 01:53:39 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 004F45940A2; Wed, 19 May 2010 08:03:45 +0100 (BST) From: David Edmondson To: notmuch@notmuchmail.org Subject: [PATCH 12/13] emacs: Tags should be shown with `notmuch-tag-face'. Date: Wed, 19 May 2010 08:03:39 +0100 Message-Id: <1274252620-1249-13-git-send-email-dme@dme.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1274252620-1249-1-git-send-email-dme@dme.org> References: <1274252620-1249-1-git-send-email-dme@dme.org> 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: Wed, 19 May 2010 08:54:07 -0000 Use the same face for tags in `notmuch-show' mode as that used in `notmuch-search' mode. --- emacs/notmuch-show.el | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index ff1a7a7..7601857 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -189,7 +189,8 @@ any given message." (if (re-search-forward "(\\([^()]*\\))$" (line-end-position) t) (let ((inhibit-read-only t)) (replace-match (concat "(" - (mapconcat 'identity tags " ") + (propertize (mapconcat 'identity tags " ") + 'face 'notmuch-tag-face) ")")))))) (defun notmuch-show-insert-headerline (headers date tags depth) @@ -201,7 +202,8 @@ message at DEPTH in the current thread." " (" date ") (" - (mapconcat 'identity tags " ") + (propertize (mapconcat 'identity tags " ") + 'face 'notmuch-tag-face) ")\n") (overlay-put (make-overlay start (point)) 'face 'notmuch-message-summary-face))) -- 1.7.1