unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Keegan Carruthers-Smith <keegan.csmith@gmail.com>
To: Chris Tennant <Chris_07@witeshadow.com>, notmuch@notmuchmail.org
Subject: Re: waiting tag
Date: Sun, 03 May 2020 22:37:16 +0200	[thread overview]
Message-ID: <m2k11svjpf.fsf@gmail.com> (raw)
In-Reply-To: <CAJ3vqjDeys6drF24cF90X59MxsCHtK5dHE98EyNxa-yuC+n4Zg@mail.gmail.com>

Chris Tennant <Chris_07@witeshadow.com> 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

  reply	other threads:[~2020-05-03 20:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03 17:14 waiting tag Chris Tennant
2020-05-03 20:37 ` Keegan Carruthers-Smith [this message]
2020-05-04  7:25   ` Gregor Zattler
2020-05-21 21:37     ` Daniel Kahn Gillmor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2k11svjpf.fsf@gmail.com \
    --to=keegan.csmith@gmail.com \
    --cc=Chris_07@witeshadow.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).