Re: [notmuch] Bulk message tagging
authorCarl Worth <cworth@cworth.org>
Fri, 16 Apr 2010 01:46:56 +0000 (18:46 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:40 +0000 (09:36 -0800)
ec/d58475166739f0702dbec3f80bad01d84a2a4a [new file with mode: 0644]

diff --git a/ec/d58475166739f0702dbec3f80bad01d84a2a4a b/ec/d58475166739f0702dbec3f80bad01d84a2a4a
new file mode 100644 (file)
index 0000000..6311bf1
--- /dev/null
@@ -0,0 +1,88 @@
+Return-Path: <cworth@cworth.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 BE4544196F3\r
+       for <notmuch@notmuchmail.org>; Thu, 15 Apr 2010 18:47:05 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\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 AKKZYWofYjHC; Thu, 15 Apr 2010 18:47:03 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1E4E1431FC1;\r
+       Thu, 15 Apr 2010 18:47:03 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id B5870550068; Thu, 15 Apr 2010 18:47:02 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Jesse Rosenthal <jrosenthal@jhu.edu>, Xavier Maillard <xma@gnu.org>,\r
+       Mark Anderson <MarkR.Anderson@amd.com>, notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] Bulk message tagging\r
+In-Reply-To: <87tyrcwkh5.fsf@jhu.edu>\r
+References: <m2tyrrkf32.fsf@deb.maillard.im> <87sk7b30tg.fsf@jhu.edu>\r
+       <m2bpdye86s.fsf@deb.maillard.im>\r
+       <3wdmxxg4axm.fsf@testarossa.amd.com>\r
+       <m2wrwf76n3.fsf@deb.maillard.im>\r
+       <87fx2xfs4q.fsf@yoom.home.cworth.org> <87tyrcwkh5.fsf@jhu.edu>\r
+Date: Thu, 15 Apr 2010 18:46:56 -0700\r
+Message-ID: <874ojcf9tb.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; 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, 16 Apr 2010 01:47:05 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Thu, 15 Apr 2010 16:04:38 -0400, Jesse Rosenthal <jrosenthal@jhu.edu> wr=\r
+ote:\r
+> On Wed, 14 Apr 2010 17:59:01 -0700, Carl Worth <cworth@cworth.org> wrote:\r
+> > We could fix all[*] the bugs of "*" by changing it to simply call the\r
+> > new region-based tagging function. The only concern I have with that is\r
+> > that it might be significantly slower, (it will execute N "notmuch tag"\r
+> > commands to tag the N threads in the current buffer, rather than just\r
+> > one "notmuch tag" command with the same search).\r
+>=20\r
+> Not quite true: the region command only executes one "notmuch tag"\r
+> command over "id:X or id:Y or id:Z or ...".=20\r
+\r
+Oh, I see. Sorry for my misunderstanding.\r
+\r
+So that is more efficient in that regard.\r
+\r
+But it also does mean that this operation is all set up to run into\r
+"argument list too long" errors.\r
+\r
+We'll probably need to arrange for notmuch to accept search\r
+specifications on stdin or so.\r
+\r
+=2DCarl\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLx8GQ6JDdNq8qSWgRAopoAJ0QW+x1053nOI23vph9SsaJXK7P3QCggTZR\r
+scqilL47wzosjoZwRDF9JbU=\r
+=En43\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r