--- /dev/null
+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 C7545431FB6\r
+ for <notmuch@notmuchmail.org>; Mon, 23 Jul 2012 09:17:26 -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 54rpcgVxixXQ for <notmuch@notmuchmail.org>;\r
+ Mon, 23 Jul 2012 09:17:26 -0700 (PDT)\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 3881D431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 23 Jul 2012 09:17:26 -0700 (PDT)\r
+Received: by weyt57 with SMTP id t57so4914893wey.26\r
+ for <notmuch@notmuchmail.org>; Mon, 23 Jul 2012 09:17:24 -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=dNHORNfL0Yi296IGTjV3NVuQF6vrTbnvMepeNEGArL8=;\r
+ b=AByWMY/Rui8DdYMTde5QC+H4tjbwAbUIALWWss/1R5NPRm8uMEa/ZpWj3KDBrf8V7z\r
+ 7+W22UVrPXysV2Q8pDrAnk9GcPdeJ/6kE+R+v9Dx6TumKaLYAVxnWN36OKUh9wIUwBQS\r
+ 9ZL1+r3yQl6/1Vqlfsx+OUt9ZbJXhglqy9CRfZu78N6WCTKnHNd7F3ryT+1G8jrPXsrw\r
+ WKwi7dL+KmMjku+aAE3JcewiOhselxG5XQPeZ0XW0wIczSdT5VkwmA1eg85dRYWJLw06\r
+ cFiD1Vviu59NY8fHwwrjYOYYEoL+OSfXjhgE7CBSq8gpWyH/PHNr65aVJI7gz0i2KeuX\r
+ PtAg==\r
+Received: by 10.216.209.8 with SMTP id r8mr8891242weo.51.1343060244781;\r
+ Mon, 23 Jul 2012 09:17:24 -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
+ el6sm17605393wib.8.2012.07.23.09.17.22 (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Mon, 23 Jul 2012 09:17:23 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 0/4] Add a --body option to notmuch show\r
+Date: Mon, 23 Jul 2012 17:17:17 +0100\r
+Message-Id: <1343060241-18283-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: Mon, 23 Jul 2012 16:17:27 -0000\r
+\r
+After discussion on irc today here is another version of the omit body\r
+patches. The conclusion on irc was that the option should just make\r
+the body: field in the JSON output optional. The --body=false option\r
+omits this field. The default remains --body=true including the body:\r
+field in the output.\r
+\r
+This version includes tests for the new functionality and updates the\r
+manpage and the schemata.\r
+\r
+The motivation for this patch is that some callers do not need the\r
+body and omitting it gives a substantial speed up and substantial\r
+reduction in amount of data output.\r
+\r
+Previous related patches are at\r
+id:"1342967879-20453-1-git-send-email-markwalters1009@gmail.com" and\r
+id:"1341041595-5858-1-git-send-email-markwalters1009@gmail.com"\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+\r
+\r
+Mark Walters (4):\r
+ cli: add --body=true|false option to notmuch-show.c\r
+ test: add tests for the new --body=true|false option\r
+ man: update man page for the new --body=true|false option\r
+ schemata: update for --body=true|false option\r
+\r
+ devel/schemata | 2 +-\r
+ man/man1/notmuch-show.1 | 16 ++++++++++++++++\r
+ notmuch-client.h | 3 ++-\r
+ notmuch-reply.c | 2 +-\r
+ notmuch-show.c | 23 +++++++++++++++--------\r
+ test/json | 9 +++++++++\r
+ 6 files changed, 44 insertions(+), 11 deletions(-)\r
+\r
+-- \r
+1.7.9.1\r
+\r