Re: output file argument to notmuch dump.
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 7 Oct 2011 01:14:11 +0000 (18:14 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:37 +0000 (09:39 -0800)
eb/8e49d772d54283d8c37c4670d41c77a0cab4a5 [new file with mode: 0644]

diff --git a/eb/8e49d772d54283d8c37c4670d41c77a0cab4a5 b/eb/8e49d772d54283d8c37c4670d41c77a0cab4a5
new file mode 100644 (file)
index 0000000..6a9e7c8
--- /dev/null
@@ -0,0 +1,100 @@
+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 D441B429E26\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 18:14:19 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 jSLhy7aa00vk for <notmuch@notmuchmail.org>;\r
+       Thu,  6 Oct 2011 18:14:18 -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 D6557431FB6\r
+       for <notmuch@notmuchmail.org>; Thu,  6 Oct 2011 18:14:17 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 5377D66E00CE;\r
+       Thu,  6 Oct 2011 18:14:17 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (bowman.ligo-wa.caltech.edu [198.129.208.22])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 5A16666E012E;\r
+       Thu,  6 Oct 2011 18:14:14 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id B82406DA; Thu,  6 Oct 2011 18:14:13 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: David Bremner <bremner@unb.ca>, notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: output file argument to notmuch dump.\r
+In-Reply-To: <8739f5tzxj.fsf@zancas.localnet>\r
+References: <8739f5tzxj.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.8-39-g41a8324 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 06 Oct 2011 18:14:11 -0700\r
+Message-ID: <87fwj5y55o.fsf@servo.factory.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, 07 Oct 2011 01:14:20 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner <bremner@unb.ca> wrote:\r
+> I see several options.\r
+>=20\r
+> 1) just delete the output file option from notmuch-dump, and use shell\r
+>    redirection. So far I don't see a non-contrived example when writing\r
+>    an output file directly is useful, but maybe that is just a failure\r
+>    of imagination.\r
+>=20\r
+> 2) delete the output file option and a global "--write" option that=20\r
+>    calls freopen(... stdout). As a bonus(?) this would work for any=20\r
+>    notmuch command.\r
+\r
+I strongly support either of these two options (they're basically the\r
+same as far as I'm concerned).  The consistency that this would provide\r
+with rest of the notmuch commands alone kind of makes this a no-brainer\r
+in my opinion.  And I certainly don't see this particular CLI breakage\r
+as an issue either.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJOjlJjAAoJEO00zqvie6q8/Z8QAJsmgXfMyE+eYJLv7uV6AZkk\r
+ZNlhXGKYatZ6WpTKVYyJnQOYAl+SpG16lTB+fPgNPM7NmzU02IU1bG2ZDTLFu+kL\r
+OzK8bkNZAzDk4JIrer68fW17b8KkJ2OIGlr4rDwkaC5ss2qhzx1nZrbKpbXwcWXs\r
+zxsIWIz98et/YOOfrslpdu075nXMzot86px3/j7HdlZAoTaLIf2/tlxXIeSb+Zjw\r
+Ys04WvcAog4pGBXqODZGkcIOhu4lOqqK6U2Sg9UqSMZDfF9bKlmleJklNzZnJrRc\r
+FBr54bCUhunap0FLJVr0vQ0hxC05YFu2nBGvMA+i/qzRm2HDWZeGga3AbuiEJNvp\r
+jlAy1iSZ+Hot74Ycn72wY6QIK6JuRseqHDuZfor2OWwSt1Fi19XQBtShqhMJU3M2\r
+Xd+87iHWQqmi341XhCWkh2YLOurcqbVDllsaBsrU9flO9OZBAmZs3GawGUJQ2Me0\r
+kVKB+IVbdILf2jYIZP9RLtkY6DNw+yCg/Oc9okT/AYZ/73z1VXGZYeltk/Ea1a84\r
+CiqHCv8f8bgHjk6C4JjwMFe+zsbIH3UXcy0CmLgohqcwC9krGeAXGSUyT9tjmRrF\r
+UdLUOyDVPYIgcEGBsqy0YR3dezq+VxDHN5vLCdyc6XnJjOUpi4vM8hlDV+UuC4uL\r
+do2bVpYoFnD1M+cpfM6N\r
+=paZi\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r