[Patch v7 0/6] Allow JSON to use non-entire thread, and use for elide
authorMark Walters <markwalters1009@gmail.com>
Sun, 3 Jun 2012 11:46:06 +0000 (12:46 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:34 +0000 (09:47 -0800)
20/b134a5b106e09a727ab5aef78f1c00120e0c71 [new file with mode: 0644]

diff --git a/20/b134a5b106e09a727ab5aef78f1c00120e0c71 b/20/b134a5b106e09a727ab5aef78f1c00120e0c71
new file mode 100644 (file)
index 0000000..ca0bad0
--- /dev/null
@@ -0,0 +1,101 @@
+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 01E55431FB6\r
+       for <notmuch@notmuchmail.org>; Sun,  3 Jun 2012 04:46:20 -0700 (PDT)\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 aWrYAW0r8tYO for <notmuch@notmuchmail.org>;\r
+       Sun,  3 Jun 2012 04:46:19 -0700 (PDT)\r
+Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com\r
+       [209.85.212.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 1F7D2431FAE\r
+       for <notmuch@notmuchmail.org>; Sun,  3 Jun 2012 04:46:19 -0700 (PDT)\r
+Received: by wibhr14 with SMTP id hr14so1550185wib.2\r
+       for <notmuch@notmuchmail.org>; Sun, 03 Jun 2012 04:46:16 -0700 (PDT)\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:x-mailer;\r
+       bh=R0yeUDLkrlE9GUbSEDNAeQ+4CTNvKsZ/sJYHuQzTfXU=;\r
+       b=YOaEBq13e+gTyIq7oBVlyshCuBuHsVT4yVqedSo1EvNM/JRmcCokRFa4f37ibpj3ek\r
+       KEvcgooTolmnMgLP7DoG2mGyhpsRhn7fxwzRFBCn932OQOywvBuolASvHJ35a2z3pm/m\r
+       sY3Xru7lbhOYjVBAty/6d4JyM2NbdB8qSLU5CVH37i7tkBcdFKZD0EF3spLLPx8yOtL+\r
+       r9H62xf0kSN1YfIuRewxCXMBtFOB2vSfSA0CXGkxXXvQlfYOMNSvY/sspSpm9zSd+8S8\r
+       7SLsg9Xh5+IIPbgOFIT+9YDBnGNr+CYvhEbPM5Wl2/vOEXsmfe8vMDHh/bsdJTVKcddH\r
+       hn/Q==\r
+Received: by 10.216.26.201 with SMTP id c51mr6768844wea.108.1338723976314;\r
+       Sun, 03 Jun 2012 04:46:16 -0700 (PDT)\r
+Received: from localhost (94-192-233-223.zone6.bethere.co.uk.\r
+ [94.192.233.223])     by mx.google.com with ESMTPS id\r
+ gv7sm12137347wib.4.2012.06.03.04.46.14        (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Sun, 03 Jun 2012 04:46:15 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [Patch v7 0/6] Allow JSON to use non-entire thread, and use for elide\r
+Date: Sun,  3 Jun 2012 12:46:06 +0100\r
+Message-Id: <1338723972-13063-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: Sun, 03 Jun 2012 11:46:20 -0000\r
+\r
+This is version 7 of this patch set: the previous version is at\r
+id:"1338106946-7611-1-git-send-email-markwalters1009@gmail.com".\r
+\r
+I have fixed the whitespace errors, and simplified the logic in\r
+notmuch-show.c as suggested by Peter.\r
+\r
+I did not update the error output string as what is there is\r
+consistent with the other error cases. However, I have a followup\r
+patch which rejigs the error handling considerably, as there are some\r
+other oddities: for example currently \r
+\r
+notmuch show --part id:<a message>\r
+\r
+(with no number to "part") silently fails. It is a very simple but\r
+relatively large patch: I will post it as a reply to this thread but\r
+it is not logically part of the series (although it touches a lot of\r
+the same code).\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+Mark Walters (6):\r
+  cli: command line parsing: allow default for keyword options\r
+  cli: Let json output "null" messages for non --entire-thread\r
+  cli: make --entire-thread=false work for format=json.\r
+  Update devel/schemata for --entire-thread=false\r
+  emacs: make elide messages use notmuch-show for omitting messages.\r
+  cli: notmuch-show.c fix whitespace error\r
+\r
+ command-line-arguments.c |   17 +++++++++++---\r
+ devel/TODO               |    2 -\r
+ devel/schemata           |    2 +-\r
+ emacs/notmuch-show.el    |   18 ++++++++------\r
+ notmuch-client.h         |    1 +\r
+ notmuch-show.c           |   55 +++++++++++++++++++++++++++++++++++++--------\r
+ 6 files changed, 70 insertions(+), 25 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r