[PATCH v2 (rebased) 4/4] schemata: update for --body=true|false option
authorMark Walters <markwalters1009@gmail.com>
Tue, 24 Jul 2012 18:23:30 +0000 (19:23 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:32 +0000 (09:48 -0800)
fc/f797a0595652bf2481f2d0f3edd84b3a844cec [new file with mode: 0644]

diff --git a/fc/f797a0595652bf2481f2d0f3edd84b3a844cec b/fc/f797a0595652bf2481f2d0f3edd84b3a844cec
new file mode 100644 (file)
index 0000000..976c72b
--- /dev/null
@@ -0,0 +1,86 @@
+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 51DD6431FD4\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 11:25:35 -0700 (PDT)\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 cpGGD7hIwJln for <notmuch@notmuchmail.org>;\r
+       Tue, 24 Jul 2012 11:25:34 -0700 (PDT)\r
+Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 89E56431FB6   for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 11:25:33 -0700\r
+ (PDT)\r
+Received: by wgbdt14 with SMTP id dt14so5995257wgb.2\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Jul 2012 11:25:32 -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:in-reply-to:references;\r
+       bh=VxPwOmTk+46kBo+2xrTYM2R3TFV4tbF53uNYTdoBRgs=;\r
+       b=qEqWiKecpFIoTYI2bKmwZoV1sjnnah3FRfXPwx3aleyekL8n4YSyE5BuKJ3tVDZGSq\r
+       mgiyhEeeeGaYzP+laSf+gIkv3ThDlglah63jmq8nPSUBwgdKHxE2dOqjqEJ+y3Tn45t2\r
+       z4ry3HadizkuSZXOFmNxiiz76oYIPtyKBJJwS11F/1BYLhTQkI67oOXxhUrjM3jXnESN\r
+       Cg/NPINFU/BrbkmgaU1ocKkdU+rcTm8INpi2hdPrn7D5BLtTZz+AdG2ZD3ydGuw7LmJ0\r
+       qGmiUnKdjp1GTRakDZlMfQR3yQjjrIUQ//FuoqSZc6dlYTkvcu4eOTpjJhn5PJ1DQ94l\r
+       ENmA==\r
+Received: by 10.180.100.133 with SMTP id ey5mr9287275wib.4.1343154332132;\r
+       Tue, 24 Jul 2012 11:25:32 -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
+ el6sm5496749wib.8.2012.07.24.11.25.30 (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Tue, 24 Jul 2012 11:25:31 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 (rebased) 4/4] schemata: update for --body=true|false\r
+ option\r
+Date: Tue, 24 Jul 2012 19:23:30 +0100\r
+Message-Id: <1343154210-26841-5-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+In-Reply-To: <1343154210-26841-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1343154210-26841-1-git-send-email-markwalters1009@gmail.com>\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: Tue, 24 Jul 2012 18:25:35 -0000\r
+\r
+Previously body: was a compulsory field in a message. The new\r
+--body=false option causes notmuch show to omit this field so update\r
+schemata to reflect this.\r
+---\r
+ devel/schemata |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/devel/schemata b/devel/schemata\r
+index 6677a1c..9cb25f5 100644\r
+--- a/devel/schemata\r
++++ b/devel/schemata\r
+@@ -47,7 +47,7 @@ message = {\r
+     tags:           [string*],\r
+ \r
+     headers:        headers,\r
+-    body:           [part]\r
++    body?:          [part]    # omitted if --body=false\r
+ }\r
+ \r
+ # A MIME part (format_part_json)\r
+-- \r
+1.7.9.1\r
+\r