Re: [PATCH] cli: add --headers_only option to notmuch-show.c
authorPeter Wang <novalazy@gmail.com>
Sat, 7 Jul 2012 01:22:32 +0000 (11:22 +1000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:02 +0000 (09:48 -0800)
1e/f0149b35eed0a3723c9ad6704c19d6ee5413a0 [new file with mode: 0644]

diff --git a/1e/f0149b35eed0a3723c9ad6704c19d6ee5413a0 b/1e/f0149b35eed0a3723c9ad6704c19d6ee5413a0
new file mode 100644 (file)
index 0000000..0314a82
--- /dev/null
@@ -0,0 +1,76 @@
+Return-Path: <novalazy@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 27E39431FAF\r
+       for <notmuch@notmuchmail.org>; Fri,  6 Jul 2012 18:22:43 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 EUeMl0De2rhF for <notmuch@notmuchmail.org>;\r
+       Fri,  6 Jul 2012 18:22:42 -0700 (PDT)\r
+Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com\r
+       [209.85.160.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A2426431FAE\r
+       for <notmuch@notmuchmail.org>; Fri,  6 Jul 2012 18:22:42 -0700 (PDT)\r
+Received: by pbbrr13 with SMTP id rr13so19037287pbb.26\r
+       for <notmuch@notmuchmail.org>; Fri, 06 Jul 2012 18:22:40 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=date:message-id:from:to:cc:subject:in-reply-to:references\r
+       :mime-version:content-type:content-disposition\r
+       :content-transfer-encoding;\r
+       bh=6ony1+IB7pEQdFaNXrh5nzUd6RvIDu5Gkrux1PQrqkU=;\r
+       b=yOg+OgRhT6VcweOaNLGaCS+OOjUeC5zC37Kumia2Fa/6OtM+ebuHC0EA+mODkhW62g\r
+       YKh//bXor/NxHbFcwYIu8MPZMf0hOWQWCE67TXtWIF0Qi1/h97Jsjvv3oTvRBHWrASBC\r
+       nkv7IIcs28GkkuVbV7Wbo0wwlmbdyNAvVzW5UwxuECLDMAKdC6ZJ6dCgvZq6QgHKr4Bp\r
+       fTPSpg5gPHHXqojEWwK6we4zdxWU5s7z84lobkHIwl3pQrkbwH7Qt5ZFaqW2lU1Sbd71\r
+       6x9EivliUOvY/ZxwqzkT/IzpgjHcqYKU/xEFM7FcNbag17bp8B8KvZE07K5CN8jKFywQ\r
+       mCOw==\r
+Received: by 10.66.81.199 with SMTP id c7mr994727pay.79.1341624160742;\r
+       Fri, 06 Jul 2012 18:22:40 -0700 (PDT)\r
+Received: from localhost (215.42.233.220.static.exetel.com.au.\r
+       [220.233.42.215])\r
+       by mx.google.com with ESMTPS id of4sm22866336pbb.51.2012.07.06.18.22.36\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Fri, 06 Jul 2012 18:22:39 -0700 (PDT)\r
+Date: Sat, 7 Jul 2012 11:22:32 +1000\r
+Message-ID: <20120707112232.GD2849@hili.localdomain>\r
+From: Peter Wang <novalazy@gmail.com>\r
+To: Mark Walters <markwalters1009@gmail.com>\r
+Subject: Re: [PATCH] cli: add --headers_only option to notmuch-show.c\r
+In-Reply-To: <1341041595-5858-1-git-send-email-markwalters1009@gmail.com>\r
+References: <1341041595-5858-1-git-send-email-markwalters1009@gmail.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: 8bit\r
+Cc: notmuch@notmuchmail.org\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: Sat, 07 Jul 2012 01:22:43 -0000\r
+\r
+On Sat, 30 Jun 2012 08:33:15 +0100, Mark Walters <markwalters1009@gmail.com> wrote:\r
+> This option just outputs the headers of a message (i.e. it omits the\r
+> bodies). Currently this is only implemented for format=json.\r
+\r
+I think the option would be better named --output-body=yes|no,\r
+especially if we end up with --output-headers.\r
+\r
+Peter\r