From 4eabb38fd5ec0e21058d0e181ba24e7ada4ed89d Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Mon, 23 Jul 2012 17:17:21 +0100 Subject: [PATCH] [PATCH 4/4] schemata: update for --body=true|false option --- e4/211c9daad21c52e8305bbb7c125a91f62cb23e | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 e4/211c9daad21c52e8305bbb7c125a91f62cb23e diff --git a/e4/211c9daad21c52e8305bbb7c125a91f62cb23e b/e4/211c9daad21c52e8305bbb7c125a91f62cb23e new file mode 100644 index 000000000..011eaa07a --- /dev/null +++ b/e4/211c9daad21c52e8305bbb7c125a91f62cb23e @@ -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 A3D9C431FAF + for ; Mon, 23 Jul 2012 09:17:38 -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 TmTYsPwXMuNk for ; + Mon, 23 Jul 2012 09:17:38 -0700 (PDT) +Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com + [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 0FFCE431FD2 + for ; Mon, 23 Jul 2012 09:17:35 -0700 (PDT) +Received: by mail-wi0-f173.google.com with SMTP id hm6so2306024wib.2 + for ; Mon, 23 Jul 2012 09:17:35 -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=yL9NZgM6mVOw6Xu2o9IWbkmbjSsWRoH4DaGsRoTHYfEKJWA5aBOpe5TfIdRblviY+X + iWvodarS+JriIEa3JViV+WsuAM0ZZ1aZYxZsGZ+VkNSldFwmYjPYJsxUEilDjkU7PouA + DoTcuwlQRhZ7nsJw3JDnvYkWsZBgQuSHns+8yUo26SUImhl0aHGUuhjxPHMggS62pJco + RZ3vr+xnYuwSnQfHKdvgP+rQBXygpseP0X23bad1AX7SFKnvcpjWGI5ntJedp2Wkmoco + yZyeRlRn+M42Z9qaV5At156a4vfAB2wNlbvDU2gmfvXXUZfarHidop3YolGYmlwHSUgr + RyjQ== +Received: by 10.180.80.134 with SMTP id r6mr31403076wix.1.1343060255662; + Mon, 23 Jul 2012 09:17:35 -0700 (PDT) +Received: from localhost (94-192-233-223.zone6.bethere.co.uk. + [94.192.233.223]) by mx.google.com with ESMTPS id + l5sm26140649wix.5.2012.07.23.09.17.33 (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 23 Jul 2012 09:17:33 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH 4/4] schemata: update for --body=true|false option +Date: Mon, 23 Jul 2012 17:17:21 +0100 +Message-Id: <1343060241-18283-5-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1343060241-18283-1-git-send-email-markwalters1009@gmail.com> +References: <1343060241-18283-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 16:17:38 -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