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