[PATCH 6/8] cli: add support for batch tagging operations to "notmuch tag"
Jameson Graef Rollins
jrollins at finestructure.net
Mon Apr 2 13:42:32 PDT 2012
On Mon, Apr 02 2012, David Bremner <david at tethera.net> wrote:
> Jameson Graef Rollins <jrollins at finestructure.net> writes:
>> On Sat, Mar 31 2012, Jani Nikula <jani at nikula.org> 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 +<tag>|-<tag> [...] [--] <search-terms>
>>
>
> I think that's my fault. I was imagining a possible future line-oriented
> 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 <commands.txt
??
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120402/e5d85e09/attachment.pgp>
More information about the notmuch
mailing list