Re: Many color per line in notuch emacs mode
authorJameson Graef Rollins <jrollins@finestructure.net>
Tue, 27 Nov 2012 10:29:32 +0000 (02:29 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:03 +0000 (09:51 -0800)
aa/dfde048ff92d3d15be369a157844e77198d131 [new file with mode: 0644]

diff --git a/aa/dfde048ff92d3d15be369a157844e77198d131 b/aa/dfde048ff92d3d15be369a157844e77198d131
new file mode 100644 (file)
index 0000000..adcc899
--- /dev/null
@@ -0,0 +1,110 @@
+Return-Path: <jrollins@finestructure.net>\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 ADE4E431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 02:29:40 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 sqiFB-piYtQC for <notmuch@notmuchmail.org>;\r
+       Tue, 27 Nov 2012 02:29:39 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1B2D6431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Nov 2012 02:29:39 -0800 (PST)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 9538566E01FA;\r
+       Tue, 27 Nov 2012 02:29:38 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-76-166-145-133.socal.res.rr.com\r
+       [76.166.145.133]) (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id C753C66E01F4;\r
+       Tue, 27 Nov 2012 02:29:35 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 26077616FF; Tue, 27 Nov 2012 02:29:35 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: kedals0@gmail.com, notmuch@notmuchmail.org\r
+Subject: Re: Many color per line in notuch emacs mode\r
+In-Reply-To: <87lidpx2xb.fsf@compaq.home>\r
+References: <87lidpx2xb.fsf@compaq.home>\r
+User-Agent: Notmuch/0.14+106~ga54bb5f (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 27 Nov 2012 02:29:32 -0800\r
+Message-ID: <87vccrmj8z.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Tue, 27 Nov 2012 10:29:40 -0000\r
+\r
+--=-=-=\r
+\r
+On Sun, Nov 25 2012, kedals0@gmail.com wrote:\r
+> I can set color per line using notmuch-search-line-faces. But I would\r
+> like to specify color per line field, i.e a color for date, another for\r
+> authors for exemple.\r
+>\r
+> To do this, I would like to use a 3-tuple list for\r
+> notmuch-search-line-faces:\r
+> :type '(alist :key-type (string) :field (string) :value-type\r
+> (custom-face-edit))\r
+>\r
+> The problem is function notmuch-search-color-line take a non structured\r
+> line in args. Then it is needed to parse it to find out field.\r
+>\r
+> Do you think it would be possible to add a mecanism which permit to\r
+> color a field during line building ?\r
+\r
+Hi, Dal.  There are already configuration variables to color all the\r
+individual fields in the search result.  See the following face\r
+configuration variables:\r
+\r
+notmuch-search-date\r
+notmuch-search-count\r
+notmuch-search-subject\r
+notmuch-search-matching-authors\r
+notmuch-search-non-matching-authors\r
+\r
+The best way to configure this stuff is with the emacs configuration\r
+interface: M-x customize-group notmuch-search\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJQtJYMAAoJEO00zqvie6q80D4P/1UGT6TVmymRFOVXXrm1U9Pm\r
+fdkxXRXy4g4KWcW4oXZeAP+oseh7T1Omdf9WCiiVdA2H2WSePjCmYEEdL3v9F6le\r
+FppcKk84ET4D5XZqiTmQohAXxAn82t266Evin/GLPgYuKJ5Gd4gglVkemqNx6Zed\r
+PbQP9u0CbLqFGMJMLcr6IZIWuksuX+yxBiZT1+3UY1rqw4shEOWAgw9dJ1rmVKMi\r
+aipaf4IktRbctnVk+P737XE+RxdPhirkSfnQ0GVJXwtIprCBxDDjHE2A4WKAYKzk\r
+vOocWWG8TtLPnJbpobr4Nqu6I5KcPO5PesoGxmeppwkKEzL8lCVbIZnSN24rIzV5\r
+AqmNEx+euV9xXBDXgJG5HFxBisGpr85bbcIiGL8kgb21Us867lop2kbI9v5CJp3p\r
+eWCJ16f4dzIGZPyTisnmQCGhdxYvTb2LkwsoyPqd0gcilmSb6K7ubVYWuaSeg6cY\r
+1DTkEsqfS+Vus9IKipFc+Z0cFM4uyNf4ggRPw4rzzeDV1IInr165RC4GL9WnOdIQ\r
+us4xGtxuKodcJBkNi4oV7WALJ0ZBkMdz/OlNfrba5IH8gaPhxJ1CzGr/1uuTcOow\r
+Cl0i+9ZSTZf4jMBSqdZnNiEkUwisoY8vgwkd+pXOb1Oc5cO1TKukTHg9YrayxGiY\r
+USdaMl7COEu747nSlNGZ\r
+=h6Dr\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r