Re: [PATCH 2/4] cli: add --remove-all option to "notmuch tag"

Subject: Re: [PATCH 2/4] cli: add --remove-all option to "notmuch tag"

Date: Mon, 25 Feb 2013 17:53:17 -0400

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jani Nikula <jani@nikula.org> writes:

>>
>> $ notmuch tag $(notmuch search --output=tags '*' | sed 's/^/-/') \
>>   id:foo@example.com
>> $ notmuch tag $(notmuch search --output=tags '*' | sed 's/^/-/') \
>>   +foo +bar id:foo@example.com

In the special case that the query really is a message-id, the following
should work

echo "-- id:foo@example" | notmuch restore --format=batch-tag

should work.

Weirdly, that seems to even remove that attachment tag, I'm not sure if
that is a bug.

Anyway your patches are more general.

Sorry, that's not a review yet.

d

Thread: