From 5bc81a5efd9259236252314858925a02dc363d18 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Mon, 23 Jul 2012 18:57:39 +0100 Subject: [PATCH] [PATCH v2 4/4] schemata: update for --body=true|false option --- 53/5deb41c89c0d785e307aa72c867abf89ecf7e5 | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 53/5deb41c89c0d785e307aa72c867abf89ecf7e5 diff --git a/53/5deb41c89c0d785e307aa72c867abf89ecf7e5 b/53/5deb41c89c0d785e307aa72c867abf89ecf7e5 new file mode 100644 index 000000000..63b3b3306 --- /dev/null +++ b/53/5deb41c89c0d785e307aa72c867abf89ecf7e5 @@ -0,0 +1,85 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 52872431FC4 + for ; Mon, 23 Jul 2012 10:57:54 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id mdyxI6V+HCnG for ; + Mon, 23 Jul 2012 10:57:53 -0700 (PDT) +Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com + [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 72DA0431FCB for ; Mon, 23 Jul 2012 10:57:52 -0700 + (PDT) +Received: by mail-wg0-f41.google.com with SMTP id ds1so3000676wgb.2 + for ; Mon, 23 Jul 2012 10:57:52 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; + bh=VxPwOmTk+46kBo+2xrTYM2R3TFV4tbF53uNYTdoBRgs=; + b=LRGy1u0bh+tUMDnZ0HnaF/9dwKaLXDAnLpmVBSKzNd3YgzJbmoqxKlTTd3ZjWMoQQs + fRIevERRMVRmV0CXgsCVupAJgJBKTxlRivhXltzwCe5XnU7AVYNnhDyZKhpo9Yo+QluN + KRjuQviKfcHct1ptADukBUUIYhOHszCn2o/baPw5Z2kpbvK0F4TreyDOizC32TEO8+sj + opcFnxN60KfOny1do57gK0fHhRGwOh8adqaBl3UAMUkUsHwyu1V9GFrOtI7k5Pc9PUaE + gtrkFnPFG0HFwDY5RC9+I/qlLCskV9phsDW+cPfZF1PoK9Kp/SnhcyRoa/IFV9g5ya5R + OiAA== +Received: by 10.216.136.66 with SMTP id v44mr2371714wei.159.1343066272096; + Mon, 23 Jul 2012 10:57:52 -0700 (PDT) +Received: from localhost (94-192-233-223.zone6.bethere.co.uk. + [94.192.233.223]) by mx.google.com with ESMTPS id + ef5sm26754378wib.3.2012.07.23.10.57.50 (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 23 Jul 2012 10:57:50 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 4/4] schemata: update for --body=true|false option +Date: Mon, 23 Jul 2012 18:57:39 +0100 +Message-Id: <1343066259-22523-5-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1343066259-22523-1-git-send-email-markwalters1009@gmail.com> +References: <1343066259-22523-1-git-send-email-markwalters1009@gmail.com> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 23 Jul 2012 17:57:54 -0000 + +Previously body: was a compulsory field in a message. The new +--body=false option causes notmuch show to omit this field so update +schemata to reflect this. +--- + devel/schemata | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/devel/schemata b/devel/schemata +index 6677a1c..9cb25f5 100644 +--- a/devel/schemata ++++ b/devel/schemata +@@ -47,7 +47,7 @@ message = { + tags: [string*], + + headers: headers, +- body: [part] ++ body?: [part] # omitted if --body=false + } + + # A MIME part (format_part_json) +-- +1.7.9.1 + -- 2.26.2