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