Re: [PATCH] cli: add --headers_only option to notmuch-show.c
authorJani Nikula <jani@nikula.org>
Sat, 7 Jul 2012 06:21:07 +0000 (09:21 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:02 +0000 (09:48 -0800)
cb/6f0fcb77f3e395103b43f8d801954ef2c2eaec [new file with mode: 0644]

diff --git a/cb/6f0fcb77f3e395103b43f8d801954ef2c2eaec b/cb/6f0fcb77f3e395103b43f8d801954ef2c2eaec
new file mode 100644 (file)
index 0000000..c65461e
--- /dev/null
@@ -0,0 +1,116 @@
+Return-Path: <jani@nikula.org>\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 55D09431FAF\r
+       for <notmuch@notmuchmail.org>; Fri,  6 Jul 2012 23:21:09 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[HTML_MESSAGE=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 pQSw45g54Ezd for <notmuch@notmuchmail.org>;\r
+       Fri,  6 Jul 2012 23:21:08 -0700 (PDT)\r
+Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com\r
+       [209.85.214.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id B0613431FAE\r
+       for <notmuch@notmuchmail.org>; Fri,  6 Jul 2012 23:21:08 -0700 (PDT)\r
+Received: by obbup19 with SMTP id up19so12487034obb.26\r
+       for <notmuch@notmuchmail.org>; Fri, 06 Jul 2012 23:21:07 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
+       :cc:content-type:x-gm-message-state;\r
+       bh=elsZObXMyZgWc0KhzFu6/PZWOwLppwnM4GJOoJ/ntz0=;\r
+       b=d5dwCcQ0NztbP7Rc+VW/ZFOGpRKo+oYFhRd7nEytquv+f0cIvKsJat5pjhqSatlHwv\r
+       RT+2ByTlVylwEoV9fLVsyj9HGAes7vSiVVD+xpMr0au0l8kwHstLEesRaPz0YS9LGhrq\r
+       Jifsw4rOI+ZJ/+k81j0SzcswzvPAy+3E8sZXbvfytnC+jAOImkw7Hrj4ZAe9eZmPUD0D\r
+       Q+ldTKTrGeRoMaYVaiw5S4q/k3TEuqH9LedCIMR1UZgPUV/RFvWjbL9RnEa5Rn/CDWh9\r
+       knq7AogEt+jYuUG3v9UgJZWGrofvQL4SYWWng/f9D3mSCgMvxig2GH9s8zBsjKu7nwSB\r
+       gDww==\r
+MIME-Version: 1.0\r
+Received: by 10.182.85.8 with SMTP id d8mr1344949obz.70.1341642067077; Fri, 06\r
+       Jul 2012 23:21:07 -0700 (PDT)\r
+Received: by 10.76.10.102 with HTTP; Fri, 6 Jul 2012 23:21:07 -0700 (PDT)\r
+Received: by 10.76.10.102 with HTTP; Fri, 6 Jul 2012 23:21:07 -0700 (PDT)\r
+In-Reply-To: <20120707112232.GD2849@hili.localdomain>\r
+References: <1341041595-5858-1-git-send-email-markwalters1009@gmail.com>\r
+       <20120707112232.GD2849@hili.localdomain>\r
+Date: Sat, 7 Jul 2012 09:21:07 +0300\r
+Message-ID:\r
+ <CAB+hUn_sxy=QP1+OzGwKOcSYGi13Q61m4-bq+PGnYxCMPd0fvg@mail.gmail.com>\r
+Subject: Re: [PATCH] cli: add --headers_only option to notmuch-show.c\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Peter Wang <novalazy@gmail.com>\r
+Content-Type: multipart/alternative; boundary=f46d04479559d2e94b04c43762f0\r
+X-Gm-Message-State:\r
+ ALoCoQmmV2sCwgpSqXPSlNNDzYK2ovpiuJxlumS2NqYWPvgyNkUa9dfKnXtZcArOOJH1rnV+F+Ty\r
+Cc: Notmuch Mail <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 06:21:09 -0000\r
+\r
+--f46d04479559d2e94b04c43762f0\r
+Content-Type: text/plain; charset=UTF-8\r
+\r
+On Jul 7, 2012 4:22 AM, "Peter Wang" <novalazy@gmail.com> wrote:\r
+>\r
+> On Sat, 30 Jun 2012 08:33:15 +0100, Mark Walters <\r
+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
+Drive-by bikeshedding: --output={headers,body,all,whatnot}\r
+\r
+Would be cool if we could support multiple comma separated keywords.\r
+\r
+J.\r
+\r
+>\r
+> Peter\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+\r
+--f46d04479559d2e94b04c43762f0\r
+Content-Type: text/html; charset=UTF-8\r
+\r
+<p><br>\r
+On Jul 7, 2012 4:22 AM, &quot;Peter Wang&quot; &lt;<a href="mailto:novalazy@gmail.com">novalazy@gmail.com</a>&gt; wrote:<br>\r
+&gt;<br>\r
+&gt; On Sat, 30 Jun 2012 08:33:15 +0100, Mark Walters &lt;<a href="mailto:markwalters1009@gmail.com">markwalters1009@gmail.com</a>&gt; wrote:<br>\r
+&gt; &gt; This option just outputs the headers of a message (i.e. it omits the<br>\r
+&gt; &gt; bodies). Currently this is only implemented for format=json.<br>\r
+&gt;<br>\r
+&gt; I think the option would be better named --output-body=yes|no,<br>\r
+&gt; especially if we end up with --output-headers.</p>\r
+<p>Drive-by bikeshedding: --output={headers,body,all,whatnot}</p>\r
+<p>Would be cool if we could support multiple comma separated keywords.</p>\r
+<p>J.</p>\r
+<p>&gt;<br>\r
+&gt; Peter<br>\r
+&gt; _______________________________________________<br>\r
+&gt; notmuch mailing list<br>\r
+&gt; <a href="mailto:notmuch@notmuchmail.org">notmuch@notmuchmail.org</a><br>\r
+&gt; <a href="http://notmuchmail.org/mailman/listinfo/notmuch">http://notmuchmail.org/mailman/listinfo/notmuch</a><br>\r
+</p>\r
+\r
+--f46d04479559d2e94b04c43762f0--\r