From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8CF85431FB6 for ; Mon, 2 Apr 2012 13:42:39 -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 2NDZmre5fcBm for ; Mon, 2 Apr 2012 13:42:39 -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 EE913431FAE for ; Mon, 2 Apr 2012 13:42:38 -0700 (PDT) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 8785F66E00BB; Mon, 2 Apr 2012 13:42:38 -0700 (PDT) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (gwave-213.ligo.caltech.edu [131.215.114.213]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id 902F666E0011; Mon, 2 Apr 2012 13:42:34 -0700 (PDT) Received: by finestructure.net (Postfix, from userid 1000) id 6F4E67F4; Mon, 2 Apr 2012 13:42:34 -0700 (PDT) From: Jameson Graef Rollins To: David Bremner , Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH 6/8] cli: add support for batch tagging operations to "notmuch tag" In-Reply-To: <87aa2tc22z.fsf@zancas.localnet> References: <87ty123tpc.fsf@servo.finestructure.net> <87aa2tc22z.fsf@zancas.localnet> User-Agent: Notmuch/0.12+87~g3c4c85f (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Mon, 02 Apr 2012 13:42:32 -0700 Message-ID: <87iphh50hz.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: Mon, 02 Apr 2012 20:42:39 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, Apr 02 2012, David Bremner wrote: > Jameson Graef Rollins writes: >> On Sat, Mar 31 2012, Jani Nikula wrote: >>> Add support for batch tagging operations through stdin to "notmuch >>> tag". This can be enabled with the new --stdin command line option to >>> "notmuch new". The input must consist of lines of the format: >>> >>> T +|- [...] [--] >> > > I think that's my fault. I was imagining a possible future line-oriented= =20 > notmuch server and having various actions/queries possible. It seems a > bit blue sky at this point, but it does give extesibility fairly > cheaply. But then why not just make the command explicit, and just have the first field be "tag"? But then I wonder why do we even need any of this at all? Isn't it this just exactly equivalent to: xargs -l notmuch