Re: waiting tag

2020-05-21 Thread Daniel Kahn Gillmor
On Mon 2020-05-04 09:25:59 +0200, Gregor Zattler wrote:
> * Keegan Carruthers-Smith  [2020-05-03; 22:37]:
>>   notmuch tag -waiting -- tag:waiting and 'thread:{tag:new}'
>
> but this removes the waiting tag if there is some response
> to some message in the thread, not necessary to the message
> tagged waiting, isn't it?

Yes, you're right, this is not exactly the thing you were asking for.

fwiw, i don't know how to provide the thing you were asking for either
:(

--dkg
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: waiting tag

2020-05-04 Thread Gregor Zattler
Hi Keegan,
* Keegan Carruthers-Smith  [2020-05-03; 22:37]:
> Chris Tennant  writes:
>> I would like to have emails that I am waiting on a response for to have a
>> special tag that is removed once I get a reply.  There are other products
>> that do this, but I would much rather do it all from NotMuchMail.

I have the same need.

> You can add a "post-new" hook which does this. Assuming you are use
> "waiting" as the special tag and notmuch's default "new" tag this could work
> for you:
>
>   notmuch tag -waiting -- tag:waiting and 'thread:{tag:new}'

but this removes the waiting tag if there is some response
to some message in the thread, not necessary to the message
tagged waiting, isn't it?

Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-

___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: waiting tag

2020-05-03 Thread Keegan Carruthers-Smith
Chris Tennant  writes:

> I would like to have emails that I am waiting on a response for to have a
> special tag that is removed once I get a reply.  There are other products
> that do this, but I would much rather do it all from NotMuchMail.

You can add a "post-new" hook which does this. Assuming you are use
"waiting" as the special tag and notmuch's default "new" tag this could work
for you:

  notmuch tag -waiting -- tag:waiting and 'thread:{tag:new}'

Just ensure you are clearing out the new tag to get the correct
behaviour. For example by running "notmuch tag -new -- tag:new" at the
end of your post-new hook.

Cheers,
Keegan
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


waiting tag

2020-05-03 Thread Chris Tennant
I would like to have emails that I am waiting on a response for to have a
special tag that is removed once I get a reply.  There are other products
that do this, but I would much rather do it all from NotMuchMail.

---
Chris Tennant
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch