Re: Many color per line in notuch emacs mode
authorkedals0 <kedals0@gmail.com>
Wed, 28 Nov 2012 08:41:55 +0000 (09:41 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:05 +0000 (09:51 -0800)
66/91d1171163009cc9c55566fd2c6428a3557641 [new file with mode: 0644]

diff --git a/66/91d1171163009cc9c55566fd2c6428a3557641 b/66/91d1171163009cc9c55566fd2c6428a3557641
new file mode 100644 (file)
index 0000000..5f0a646
--- /dev/null
@@ -0,0 +1,116 @@
+Return-Path: <kedals0@gmail.com>\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 15659431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Nov 2012 00:42:06 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       RCVD_IN_DNSWL_LOW=-0.7] 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 DMZuAEsiRxmC for <notmuch@notmuchmail.org>;\r
+       Wed, 28 Nov 2012 00:42:05 -0800 (PST)\r
+Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com\r
+       [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 5033E431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Nov 2012 00:42:05 -0800 (PST)\r
+Received: by mail-wi0-f175.google.com with SMTP id hm11so4182671wib.2\r
+       for <notmuch@notmuchmail.org>; Wed, 28 Nov 2012 00:42:02 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+       :mime-version:content-type;\r
+       bh=S3HGsoAEDAN42tktEAidD2cWRDnInQsRjYq3Ot76MjM=;\r
+       b=BO274wPJAbP/MBULr1lwcI+c5384Q4PDd099bC54PvxCk63Rnd6P1dzzQ2BZDmQ3hl\r
+       Hzr/mRlsnOODQ7GP16F8rHDQvmKHStZPgPj+bnK+ZfeH7f9HwBK7mTU6A04Vv9pgsPzG\r
+       5YTRJThWFIopGJP0yYMbuLzO3Ys1VuWYpvgF0rKWX8MAYivrdhAhzVOPGatDQgmDJUGn\r
+       PRboPSr/KeCbAnMjY4g8zvPFbMVRXfd4qSGQIBxxsooY4beekcLFbFWb5BeNsfHkRoVT\r
+       03PJa4jKvylDF08lMojGpNOcV6U+zrMLqin4hKMFqh3aBkKUJnZ5ffJYgdq9bSmp/FK9\r
+       +4VA==\r
+Received: by 10.216.200.89 with SMTP id y67mr5906564wen.208.1354092122718;\r
+       Wed, 28 Nov 2012 00:42:02 -0800 (PST)\r
+Received: from localhost (AStrasbourg-156-1-120-46.w90-6.abo.wanadoo.fr.\r
+       [90.6.23.46])\r
+       by mx.google.com with ESMTPS id dm3sm6004555wib.9.2012.11.28.00.42.00\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 28 Nov 2012 00:42:01 -0800 (PST)\r
+From: kedals0@gmail.com\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: Many color per line in notuch emacs mode\r
+In-Reply-To: <87vccrmj8z.fsf@servo.finestructure.net>\r
+References: <87lidpx2xb.fsf@compaq.home>\r
+       <87vccrmj8z.fsf@servo.finestructure.net>\r
+User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 28 Nov 2012 09:41:55 +0100\r
+Message-ID: <87d2yyt8z0.fsf@compaq.home>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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: Wed, 28 Nov 2012 08:42:06 -0000\r
+\r
+Hi,\r
+\r
+Thx for your respond.\r
+\r
+To precise my saying, I would like to color a field in terms of tags\r
+associated to its message, as it's done for notmuch-search-color-line.\r
+\r
+I'm not sure to really understand configuration of these options, but I\r
+think it's not possible.\r
+\r
+Could you confirm me it ?\r
+\r
+Thx\r
+Dal.\r
+\r
+Jameson Graef Rollins <jrollins@finestructure.net> writes:\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