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

diff --git a/71/2f5a4cc811d2c27f8e27073553ab9db5474b69 b/71/2f5a4cc811d2c27f8e27073553ab9db5474b69
new file mode 100644 (file)
index 0000000..ff6f09b
--- /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 C24C1431FB6\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 14:20:23 -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 lXcphwEoibOk for <notmuch@notmuchmail.org>;\r
+       Mon,  2 Apr 2012 14:20:21 -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 40C4D431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 14:20:21 -0700 (PDT)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 82DF232802D;\r
+       Mon,  2 Apr 2012 14:20:19 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (gwave-213.ligo.caltech.edu\r
+ [131.215.114.213])    (Authenticated sender: jrollins)        by fire-doxen-submit\r
+ (Postfix) with ESMTP id 7BA782E50E2D; Mon,  2 Apr 2012 14:20:14 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 3F4BF7F4; Mon,  2 Apr 2012 14:20:14 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: 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:\r
+ <CAB+hUn_J9oOmbWaQ+_2yGG6i6ecDXbfJWYbpaYx_kbSnAH+EcA@mail.gmail.com>\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
+User-Agent: Notmuch/0.12+87~g3c4c85f (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 02 Apr 2012 14:20:11 -0700\r
+Message-ID: <87fwcl4yr8.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: Mon, 02 Apr 2012 21:20:23 -0000\r
+\r
+--=-=-=\r
+\r
+On Mon, Apr 02 2012, Jani Nikula <jani@nikula.org> wrote:\r
+> Batch tagging brings performance and atomicity by opening and closing the\r
+> db only once. The hex encoding handles insane message ids and tags.\r
+> Otherwise there should be no difference.\r
+\r
+I can maybe see performance in terms of opening and closing the db only\r
+once, but atomicity?  Not sure I see how that is improved.\r
+\r
+And shouldn't we be able to improve the handling of command line\r
+arguments so that we get the same encoding handling on the command line\r
+as we would from stdin?\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
+iQIcBAEBCAAGBQJPehgLAAoJEO00zqvie6q8b28P/RdtI1iyvRos9edie7xI9QH7\r
+y34ycGbiRI056CcYR5QKVLaTECTZRBQcVFveZSAX6Qi3WRbs/gde9owLU52bh/gg\r
+993RKA34EVXIzoZcdhOFmrNkK3py44r+Sq+wsE4VYLjtZmzcRLncl56c2tprBhm8\r
+kh4K8WisLz9FvoibJWn1zLkA8W/biEukF8iS+KEOeFsWee1wg6uzuz4cBC1WXdNG\r
+fOjsQCDK2PsJhOaQu56QvKFeJCtHJFPCu+XumC6ieK8PBSbsGPHftcJLJhxtrspg\r
+MQG01I/idabtWK3R3eAgg7HnTLV7gzPUGDCn3hTnrmDLOJ3lMuN5eTC+oSePoEGA\r
+oEjHK5vijtFd7GNfcCO6TjAJFfO1k+mSXuYTczvqLNeZlhQ1Ei6d2kbW5ANX/1Ua\r
+aPkx7z2XI+Jr1Bg9u9Mbnsj25O99JM/xPNfbQZXxXSXzjF6Xd3+VCk0RwTSc1cnu\r
+beZwnBWba/wugsI9abF/y3UfF8kzbFFUlKVN7/Gy1bC7fdq/pnxSzFZREIfT3O+f\r
+8uPtvIvcID5V6gKizX0atrw44ZPme7PpOxoLSX8/Lv/QMm+Wuc5iQeVoyt2wnM30\r
+VqBhVr3JbmTHyAniXowhMnh9l6K+Lz7LE/CaqyMjNUIV8jqf2bHpIL2HQs5zc+Li\r
+bq70iXjIAW3DkxzCARfq\r
+=3/7b\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r