[PATCH 0/2] make tree use notmuch-tag-format-tags
authorMark Walters <markwalters1009@gmail.com>
Thu, 19 Dec 2013 19:12:22 +0000 (19:12 +0000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:58:47 +0000 (09:58 -0800)
38/c2e2fb9e85ac86d664064a06d379ce711642dd [new file with mode: 0644]

diff --git a/38/c2e2fb9e85ac86d664064a06d379ce711642dd b/38/c2e2fb9e85ac86d664064a06d379ce711642dd
new file mode 100644 (file)
index 0000000..e61b539
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <markwalters1009@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 F0514431FDC\r
+       for <notmuch@notmuchmail.org>; Thu, 19 Dec 2013 11:12:42 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 2.7\r
+X-Spam-Level: **\r
+X-Spam-Status: No, score=2.7 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
+       FREEMAIL_REPLY=2.499, 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 ci8N1rQFFH4i for <notmuch@notmuchmail.org>;\r
+       Thu, 19 Dec 2013 11:12:35 -0800 (PST)\r
+Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com\r
+       [209.85.212.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 43FA8431FC4\r
+       for <notmuch@notmuchmail.org>; Thu, 19 Dec 2013 11:12:35 -0800 (PST)\r
+Received: by mail-wi0-f178.google.com with SMTP id bz8so2690200wib.11\r
+       for <notmuch@notmuchmail.org>; Thu, 19 Dec 2013 11:12:33 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id;\r
+       bh=vfYuWweqV6G+rkFwTiwFusAOdHKpx5iEXWITJlGsvqc=;\r
+       b=XLKM9IgL+rwtudpMavzm1Ku59fAXTh1S2fHI+ZthuaPrRJDoYng6DCg0U5/to8DeH2\r
+       bRAGMNcD5TBZQ1+rDE4grBRqAZ9cDtGR3jMEgAJo+UI0kg9S36oQquzcTKsemmgtm9/Y\r
+       Fy2x8sw+W8rg60WaeKBuhw635vi7A5QmKGvjZwEfKD+O7SJ9wPZV1a5t/XurXCWW/l72\r
+       aqvKISXgSz1ivbLFg40FxvPASBBRx1EgjwU71eaU/VMhERUOKzWT0JO/zs+zMEzqfWzB\r
+       8WkxuP3jvdwld+81NL9lUUzmN/kIlzF3L87TN2xBFKOC5Yn50pFfwA5A/tdu+HD0dLS5\r
+       +FiQ==\r
+X-Received: by 10.194.174.36 with SMTP id bp4mr3205701wjc.7.1387480352603;\r
+       Thu, 19 Dec 2013 11:12:32 -0800 (PST)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+       by mx.google.com with ESMTPSA id ey3sm8002811wib.4.2013.12.19.11.12.30\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Thu, 19 Dec 2013 11:12:31 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/2] make tree use notmuch-tag-format-tags\r
+Date: Thu, 19 Dec 2013 19:12:22 +0000\r
+Message-Id: <1387480344-14326-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\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: Thu, 19 Dec 2013 19:12:43 -0000\r
+\r
+My experiments with unread handling lead me to consider showing\r
+added/deleted tags explicitly (eg deleted with strike-through and\r
+added with underlining). The series\r
+id:1387065197-15776-1-git-send-email-markwalters1009@gmail.com does\r
+this by hooking into notmuch-tag-format-tags.\r
+\r
+Tree view does not use this functionality so did not get this\r
+feature. This pair of patches makes tree use notmuch-tag-format-tags\r
+so it can get all this extra, as well as the existing functionality\r
+that notmuch-tag-format-tags provides (eg star symbols for flagged\r
+messages)\r
+\r
+In doing so I discovered that tree separates the tags with ", " not\r
+just " "; this would change when moving to notmuch-tag-format-tags so\r
+do this trivial change first as it does require a large patch (160\r
+lines) to fix all the test expected outputs.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+Mark Walters (2):\r
+  emacs: tree remove comma separator tags\r
+  emacs: tree: use tag-format-tags\r
+\r
+ emacs/notmuch-tag.el                               |   17 ++--\r
+ emacs/notmuch-tree.el                              |    8 +-\r
+ .../notmuch-tree-single-thread                     |    8 +-\r
+ test/tree.expected-output/notmuch-tree-tag-inbox   |  104 ++++++++++----------\r
+ .../notmuch-tree-tag-inbox-tagged                  |  104 ++++++++++----------\r
+ .../notmuch-tree-tag-inbox-thread-tagged           |  104 ++++++++++----------\r
+ 6 files changed, 173 insertions(+), 172 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r