Re: [PATCH 2/3] cli: show allow the caller to specify the headers output.
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 13 Jul 2012 19:33:49 +0000 (12:33 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:16 +0000 (09:48 -0800)
e8/c24fe6ed4345fea6898505a80d0f62185cdf8c [new file with mode: 0644]

diff --git a/e8/c24fe6ed4345fea6898505a80d0f62185cdf8c b/e8/c24fe6ed4345fea6898505a80d0f62185cdf8c
new file mode 100644 (file)
index 0000000..78a65be
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <jrollins@finestructure.net>\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 44193431FB6\r
+       for <notmuch@notmuchmail.org>; Fri, 13 Jul 2012 12:33:57 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.499\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01,\r
+       UPPERCASE_50_75=0.791] 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 Wnq1lOfnettd for <notmuch@notmuchmail.org>;\r
+       Fri, 13 Jul 2012 12:33:55 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id A4DB2431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 13 Jul 2012 12:33:55 -0700 (PDT)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 3148A328004;\r
+       Fri, 13 Jul 2012 12:33:55 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (DHCP-123-184.caltech.edu [131.215.123.184])\r
+       (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id 6351732802E;\r
+       Fri, 13 Jul 2012 12:33:52 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 3CD433CA; Fri, 13 Jul 2012 12:33:52 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/3] cli: show allow the caller to specify the headers\r
+       output.\r
+In-Reply-To: <1341673978-6094-3-git-send-email-markwalters1009@gmail.com>\r
+References: <1341673978-6094-1-git-send-email-markwalters1009@gmail.com>\r
+       <1341673978-6094-3-git-send-email-markwalters1009@gmail.com>\r
+User-Agent: Notmuch/0.13.2+54~ga0426dc (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Fri, 13 Jul 2012 12:33:49 -0700\r
+Message-ID: <878venxxpe.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Fri, 13 Jul 2012 19:33:57 -0000\r
+\r
+--=-=-=\r
+\r
+On Sat, Jul 07 2012, Mark Walters <markwalters1009@gmail.com> wrote:\r
+> +typedef enum {\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_DATE = 0x1,\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_SUBJECT = 0x2,\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_FROM = 0x4,\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_TO = 0x8,\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_CC = 0x10,\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_REPLY_TO = 0x20,\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_IN_REPLY_TO = 0x40,\r
+> +    NOTMUCH_SHOW_OUTPUT_HDR_REFERENCES = 0x80,\r
+> +    NOTMUCH_SHOW_OUTPUT_DEFAULT =\r
+> +        NOTMUCH_SHOW_OUTPUT_HDR_SUBJECT |\r
+> +        NOTMUCH_SHOW_OUTPUT_HDR_FROM |\r
+> +        NOTMUCH_SHOW_OUTPUT_HDR_TO |\r
+> +        NOTMUCH_SHOW_OUTPUT_HDR_CC |\r
+> +        NOTMUCH_SHOW_OUTPUT_HDR_DATE\r
+> +} notmuch_show_output_t;\r
+\r
+Is there a reason we need to limit this to some pre-defined subset of\r
+headers?  Wouldn't it be nice if you could just specify arbitrary\r
+headers?\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJQAHgeAAoJEO00zqvie6q8gXEP/3IMrdnWkbQ0RF279sZLDqtk\r
+UCzKxTcopL1yEQtrcRvsfDuEUONzayQVUytlcPFb2uyW6zMavNr+mYkjN/9i8Qnt\r
+R8/bAE2V8h37mXLHzGuuuTwieFcp15sY7/+QXP6DDIQXHz4Yqu24GdC3i0/Au1bD\r
+7sqtu4hl9nd8NiAoNKxR4h5HVEh11o4cJe/okAxQvszYglyBtQfzJG1wsBy9XYyL\r
+JRu0tpPRwJVjuXEUSTt9nt0kejQKsRsZE9Q87meg3UyDFk5V9wmKT96s8/roNnV0\r
+Azb09cnJybCk2t+5cBad0rsnuZQG1BadNKPur8GETdHxrLzdXS/nDe8IHzxdsxV+\r
+5DExpnnmQ5ntrP8BQ0dwiPCDluzzI4YUkhpdBQWceLGnlv06cqx/diDXd1YiSitd\r
+x73rtODaquRK1uALI1ifg2FKyyUxKDAvvP+MNGrEjhNThTrKOj6EQRJ2dQd2sMi4\r
+7afj24StClMhzG/T7m9Vw97oNp0iOFtTsyu1v4deTxoZhtrWgkDWRDnnYjUjDS/3\r
+LmqlQFYSmsUT8OF8pujVnR4mrz85fiu/B/658cE3eRcfhAK/l6jH5g9zteR7asaa\r
+f8o2L27QDWu1xOux8qaY/LJvr57LRgpbUHt6EJ6yvKCo/a0IMMPEJVzt30/vbOJP\r
+P1qMhY90u+eFkK5urslb\r
+=khAK\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r