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

David Bremner david at tethera.net
Mon Feb 25 13:53:17 PST 2013


Jani Nikula <jani at nikula.org> writes:

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

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

echo "-- id:foo at 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


More information about the notmuch mailing list