Re: [notmuch] [PATCH -v6] notmuch.el: Add face support to search mode
authorCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 06:56:20 +0000 (22:56 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:46 +0000 (09:35 -0800)
b7/680f2bec94f3d4d6cdaa1e7c139f612ed2a212 [new file with mode: 0644]

diff --git a/b7/680f2bec94f3d4d6cdaa1e7c139f612ed2a212 b/b7/680f2bec94f3d4d6cdaa1e7c139f612ed2a212
new file mode 100644 (file)
index 0000000..097a26f
--- /dev/null
@@ -0,0 +1,91 @@
+Return-Path: <cworth@cworth.org>\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 5BEAB431FC0;\r
+       Fri, 27 Nov 2009 22:56:36 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 r7s2NMXTN+Dj; Fri, 27 Nov 2009 22:56:35 -0800 (PST)\r
+Received: from cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 349F8431FAE;\r
+       Fri, 27 Nov 2009 22:56:35 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>\r
+In-Reply-To:\r
+ <1259388425-32510-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
+References:\r
+ <1259311332-14557-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
+       <1259388425-32510-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>\r
+Date: Fri, 27 Nov 2009 22:56:20 -0800\r
+Message-ID: <87ocmnqgrv.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [PATCH -v6] notmuch.el: Add face support to search\r
+       mode\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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: Sat, 28 Nov 2009 06:56:36 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sat, 28 Nov 2009 11:37:05 +0530, "Aneesh Kumar K.V" <aneesh.kumar@linux.=\r
+vnet.ibm.com> wrote:\r
+> This patch use notmuch-tag-face showing tags in the\r
+> notmuch-search-mode.\r
+\r
+Thanks, Aneesh! Your patience has prevailed again and I've pushed out\r
+this patch.\r
+\r
+> We can selectively highlight each tag by setting notmuch-tag-face-alist a=\r
+s below\r
+>=20\r
+> (defface notmuch-tag-unread-face\r
+>  '((((class color)) (:foreground "goldenrod")))\r
+>   "Notmuch search mode face used to highligh tags.")\r
+>=20\r
+> (defface notmuch-tag-inbox-face\r
+>  '((((class color)) (:foreground "red")))\r
+>   "Notmuch search mode face used to highligh tags.")\r
+>=20\r
+> (setq notmuch-tag-face-alist '(("unread" . 'notmuch-tag-unread-face)\r
+>                             ("inbox" . 'notmuch-tag-inbox-face)))\r
+\r
+I'm a bit concerned that this documentation is going to just disappear\r
+in the commit log and not be where people might actually look for\r
+it. You've got the beginnings of the documentation here:\r
+\r
+> +(defvar notmuch-tag-face-alist nil\r
+> +  "List containing the tag list that need to be highlighed")\r
+\r
+Which could be expanded to include basically the example above.\r
+\r
+Anyway, thanks for the patch.\r
+\r
+=2DCarl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLEMmU6JDdNq8qSWgRAq7HAJ4hEEFuXb07bAjMQmUAviLPdaCzqwCffeu8\r
++Ud+wjeazF5XrqDK0HgR4zg=\r
+=ZODZ\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r