Re: [PATCH 6/8] cli: add support for batch tagging operations to "notmuch tag"
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 4 Apr 2012 07:55:11 +0000 (00:55 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:02 +0000 (09:46 -0800)
2e/a89dcab896edc2026dfcf7908851b62bb230b2 [new file with mode: 0644]

diff --git a/2e/a89dcab896edc2026dfcf7908851b62bb230b2 b/2e/a89dcab896edc2026dfcf7908851b62bb230b2
new file mode 100644 (file)
index 0000000..b2d359b
--- /dev/null
@@ -0,0 +1,117 @@
+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 230EA431FB6\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Apr 2012 00:55:24 -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 OXh9a1XWOzPH for <notmuch@notmuchmail.org>;\r
+       Wed,  4 Apr 2012 00:55:22 -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 793F7431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  4 Apr 2012 00:55:22 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 1C19E66E0180;\r
+       Wed,  4 Apr 2012 00:55:18 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (unknown [76.89.193.65])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id 2DF6766E018D;\r
+       Wed,  4 Apr 2012 00:55:14 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id CBF883BC; Wed,  4 Apr 2012 00:55:13 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>\r
+Subject: Re: [PATCH 6/8] cli: add support for batch tagging operations to\r
+       "notmuch tag"\r
+In-Reply-To: <87bon82qok.fsf@zancas.localnet>\r
+References: <cover.1333231401.git.jani@nikula.org>\r
+       <f360a40bed50208d146aee8b06946b1b8315e818.1333231401.git.jani@nikula.org>\r
+       <87ty123tpc.fsf@servo.finestructure.net>\r
+       <87aa2tc22z.fsf@zancas.localnet>\r
+       <87iphh50hz.fsf@servo.finestructure.net>\r
+       <CAB+hUn_J9oOmbWaQ+_2yGG6i6ecDXbfJWYbpaYx_kbSnAH+EcA@mail.gmail.com>\r
+       <87fwcl4yr8.fsf@servo.finestructure.net>\r
+       <CAB+hUn-5yB15na2kFMZOjOEujKQTWHiefvgQYsT4Zi3UOzKwQw@mail.gmail.com>\r
+       <87d37p4xor.fsf@servo.finestructure.net>\r
+       <87pqbpxm2c.fsf@nikula.org>\r
+       <87wr5w2zv5.fsf@servo.finestructure.net>\r
+       <87bon82qok.fsf@zancas.localnet>\r
+User-Agent: Notmuch/0.12+87~g3c4c85f (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 04 Apr 2012 00:55:11 -0700\r
+Message-ID: <87aa2s2aow.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Wed, 04 Apr 2012 07:55:24 -0000\r
+\r
+--=-=-=\r
+\r
+On Tue, Apr 03 2012, David Bremner <david@tethera.net> wrote:\r
+> My thinking was that it was useful for the disk format to have a bit\r
+> more information in it so that we could more easily change the interface\r
+> in an upwardly compatible way. If at some point in the future we do have\r
+> more general batch command processing, it would be nice not have to\r
+> change the file format again, particularly for dump files.\r
+\r
+I concede that it's possible to move forward with this idea in a way\r
+that satisfies an immediate need while still being flexible going\r
+forward.\r
+\r
+With that in mind, I think I stand by my suggestion that the form should\r
+match exactly the notmuch subcommand format.  Even considering the\r
+technical issues that Jani brought up, I still think it makes the most\r
+sense to imagine generic batch processing handled by the top level\r
+binary.  And in that case the most logical format for the input is\r
+probably just that of the CLI arguments.\r
+\r
+Just out of curiosity and for the sake of argument, if we were going to\r
+design a server/batch processor from the ground up would it make sense\r
+to use a format like this, or would we better off opting for some other\r
+more established protocol?\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
+iQIcBAEBCAAGBQJPe/5fAAoJEO00zqvie6q8ZbMP/AkqqaxFBSB/ToWoyGkwMUFC\r
+lPFeurEjR+5Dxqp3TWPAl05z9nDbOxuOF4Y4TDfzBf6CzTasVN5CYh3ng1vbMXWp\r
+YXRqW7p9PSqwemHxATcoURtzwt9iTytH84tY1S4h61baDalqUBNvfVAH5XkJ4Ouy\r
+iha8NGbt2QQQHblcGe4+7Bezun8/U0BpggwrtKARIaoHXp/TGG6NToWCrQ8p6nHk\r
++uh124noKHEZeY99MI9rNxV7tiVTwoIbokm7b+xp7K0cYMySwEyQ6Q/vMDtnoVdC\r
+2X5foxZbXJjnJRjp+wrZOyOXtsAqR2HS12c/pQaHiZCtPW9xDkVeMVqtAmUDs9tX\r
+KADVH/2pginq3nZAJ8AbLZtMYGWMyRptJC1zPaoouTeLVrQCtu50rSisQaVLn/97\r
+Vzsuix8HEvyuN1MUmw/2uuTLf7sTBQlrE8q5n3GR5XFMLWQvPqD7LiBsHhR7V6AA\r
+NSyW47WYqPCGF7t6jqddloMopIBk8X3l9PgWqQdMu9dqcUwmy94IZ/zjlBhNApty\r
+Yq4fPahGo1J+3eLT9ZNQFUbiqcNMkoQPcq8W6D88cIU+qdN06DuaYFREAm6F6aAT\r
+n3cWhzY4IMoLTmylroffoVXeetE3tOta9SPO8aJjL96Zk1nzgpAF6Yif7KDY3k/a\r
+wn5bD3C+JYSRnkN+82di\r
+=pvDZ\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r