[PATCH 6/8] cli: add support for batch tagging operations to "notmuch tag"

Jani Nikula jani at nikula.org
Mon Apr 2 14:31:53 PDT 2012


On Apr 3, 2012 12:20 AM, "Jameson Graef Rollins" <jrollins at finestructure.net>
wrote:
>
> On Mon, Apr 02 2012, Jani Nikula <jani at nikula.org> wrote:
> > Batch tagging brings performance and atomicity by opening and closing
the
> > db only once. The hex encoding handles insane message ids and tags.
> > Otherwise there should be no difference.
>
> I can maybe see performance in terms of opening and closing the db only
> once, but atomicity?  Not sure I see how that is improved.

Err, I meant locking, sorry. Nobody else is able to alter the db while
batch tagging is in progress.

>
> And shouldn't we be able to improve the handling of command line
> arguments so that we get the same encoding handling on the command line
> as we would from stdin?
>
> jamie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120403/1e0695bf/attachment.html>


More information about the notmuch mailing list