From f41502f6c0c307e2a19f7cd3a1cf2d2e4225e9b8 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sun, 15 Apr 2012 13:27:06 +1700 Subject: [PATCH] Re: [PATCH v2 0/6] batch tagging support: "notmuch tag --stdin" --- 53/54483c34d7ca4f6fc8166976ceeda6bb09c582 | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 53/54483c34d7ca4f6fc8166976ceeda6bb09c582 diff --git a/53/54483c34d7ca4f6fc8166976ceeda6bb09c582 b/53/54483c34d7ca4f6fc8166976ceeda6bb09c582 new file mode 100644 index 000000000..b4b33abb0 --- /dev/null +++ b/53/54483c34d7ca4f6fc8166976ceeda6bb09c582 @@ -0,0 +1,93 @@ +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 305AC431FAF + for ; Sat, 14 Apr 2012 13:27:13 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled +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 Z8N4V9J7lYo7 for ; + Sat, 14 Apr 2012 13:27:12 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id BFFA1431FAE + for ; Sat, 14 Apr 2012 13:27:12 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 7306D2E50E6E; + Sat, 14 Apr 2012 13:27:12 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (unknown [76.89.193.65]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id B06EE2E50E39; + Sat, 14 Apr 2012 13:27:09 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 686FF45D; Sat, 14 Apr 2012 13:27:09 -0700 (PDT) +From: Jameson Graef Rollins +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH v2 0/6] batch tagging support: "notmuch tag --stdin" +In-Reply-To: +References: +User-Agent: Notmuch/0.12+112~gffb05d6 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Sat, 14 Apr 2012 13:27:06 -0700 +Message-ID: <87d37ays85.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; 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: Sat, 14 Apr 2012 20:27:13 -0000 + +--=-=-= + +On Sat, Apr 14 2012, Jani Nikula wrote: +> This series adds support for batch tagging through stdin to "notmuch +> tag". This should be useful and efficient for e.g. initial tagging +> scripts. Also, this adds locking around a batch of tag changes, which is +> also useful for initial tagging scripts. See the test patch for an +> example using a "here document". + +My issues from v1 still stand. I would rather see some unification with +the existing tag file format, rather than introduce a second format, +with it's increased maintenance burden and confusion to users. Either +that or a more general batch command interface. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJPid2bAAoJEO00zqvie6q89X4P/15ZUP36DPgfn0mYKLoWRHXF +dYnMqdyI8UYGf1Xvtd2YGtzmg+BG2aZ2Pb/cHzNjSXtZMm7uiChvuRUcUnQd8RV3 +dOnJFSOQBPg/AvACabm3NQxlxb0QmX6p8kMtRjkrsFjTx6anuIptgKUuK5sCKT6N +sorsDN9Ns3DAnDtv/Era0PfJxC+3Z6amScTZZQAkgvHV5K7ZjxyalCYI685Hhf91 +J7wxtqUvZLarJMC2lQLGmrZ7Utcr01+jxFDljsRr5mds/Hen3yQ+daUaBgdPyop9 +XrIoBLBYQoME/e8EzmHEpq9i4aCR+Cx2/ZDEzJ7xO9p2mulVzfawy4ZVgagxaBLs +7RaG7kxkvb4sZ6RMMvmVgvE+PyoIU90VVkM/Lch+ShBuga6FcsZvi0VbkyVyJ8Vt +Ch7fS1is3qLFkYCJFs0io2I3UzWAuEcPBZALmb5zVNWrH0ksqVzA5G/hXuCiOUVF +jBocHGZTtclmvIV4ReUYLyfJRQ2d/GLePv7a6xizLGL1yeeBE/uXRA1hZR6u59cd +DLnc4PmMTguKc2/c9D6dckAhJOQT/qWAFbcjEQjcX+DVoajmQbTED0EOT21y/DMW +Q4xxhlHcnbOfEn/hnisp6DrAAWJOk8nlbTKAgTeYDmMsD0IEgQcw+uv2Fb3GSq6+ +wXKdKJjsZ8Qd61BHCTSZ +=7zTA +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2