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