[notmuch] Bulk message tagging

Carl Worth cworth at cworth.org
Thu Apr 15 18:46:56 PDT 2010


On Thu, 15 Apr 2010 16:04:38 -0400, Jesse Rosenthal <jrosenthal at jhu.edu> wrote:
> On Wed, 14 Apr 2010 17:59:01 -0700, Carl Worth <cworth at cworth.org> 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).
> 
> Not quite true: the region command only executes one "notmuch tag"
> command over "id:X or id:Y or id:Z or ...". 

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.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100415/726d72f7/attachment.pgp>


More information about the notmuch mailing list