Many color per line in notuch emacs mode
authorkedals0 <kedals0@gmail.com>
Sun, 25 Nov 2012 12:49:52 +0000 (13:49 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:50:58 +0000 (09:50 -0800)
3a/c2354b8a2f684cae6a3179c09175652af702d9 [new file with mode: 0644]

diff --git a/3a/c2354b8a2f684cae6a3179c09175652af702d9 b/3a/c2354b8a2f684cae6a3179c09175652af702d9
new file mode 100644 (file)
index 0000000..fd552c8
--- /dev/null
@@ -0,0 +1,83 @@
+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 3287D431FBD\r
+       for <notmuch@notmuchmail.org>; Sun, 25 Nov 2012 04:50:01 -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 T4tlXeeYBB3R for <notmuch@notmuchmail.org>;\r
+       Sun, 25 Nov 2012 04:50:00 -0800 (PST)\r
+Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
+       [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A19F9431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 25 Nov 2012 04:50:00 -0800 (PST)\r
+Received: by mail-we0-f181.google.com with SMTP id t11so4259273wey.26\r
+       for <notmuch@notmuchmail.org>; Sun, 25 Nov 2012 04:49:59 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:subject:user-agent:date:message-id:mime-version\r
+       :content-type; bh=tep5YRhtlkL7K7CFTsTdHbVPIWFv8Wai9h6C17bat18=;\r
+       b=rqItM30Dsag4wVBD9Oi7+OoGibf9TWHFN9iY7YhdvecPujP8NnUe01nqM39znfsFS4\r
+       B8O4Mhb0YWr3BYxncW7VA/v7pNdpdji/CZl89/5+fxYPEvIytejYOPlejh9CpNg6gqyM\r
+       JeaYL0HKPgqfXGTK1kdNHTPkh3IBe5eX76zXrqAeleqjSLQtqp5p2ZsYO2VxVuAkEpFi\r
+       9KLDxGL5c2O1htZWZcWufeyCoq46Ts+MuKGCyd61Jlro4AGb+uRq847GVdjDcmPkY7UA\r
+       RWoMoxpLwudO4eJwa3bk1WWQkTGlmwYtgmSITydUAgmwph7EE83QnsjFUOSMYdz5J1xr\r
+       UpmA==\r
+Received: by 10.216.26.138 with SMTP id c10mr3600158wea.76.1353847797962;\r
+       Sun, 25 Nov 2012 04:49:57 -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 d9sm17449660wiw.0.2012.11.25.04.49.56\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sun, 25 Nov 2012 04:49:57 -0800 (PST)\r
+From: kedals0@gmail.com\r
+To: notmuch@notmuchmail.org\r
+Subject: Many color per line in notuch emacs mode\r
+User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 25 Nov 2012 13:49:52 +0100\r
+Message-ID: <87lidpx2xb.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: Sun, 25 Nov 2012 12:50:01 -0000\r
+\r
+Hi,\r
+\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
+Thx,\r
+Dal\r