unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Christoffer Stjernlöf" <k@rdw.se>
To: notmuch@notmuchmail.org
Subject: Unsure on how initial tagging with afew is supposed to work
Date: Wed, 28 Dec 2016 07:43:34 +0000	[thread overview]
Message-ID: <87a8bgqz15.fsf@vps.i-did-not-set--mail-host-address--so-tickle-me> (raw)

Hello!

I have the following contents in ~/.config/afew/config:

    # This is the default filter chain
    [SpamFilter]
    [ClassifyingFilter]
    [KillThreadsFilter]
    [ListMailsFilter]
    [ArchiveSentMailsFilter]
    [Filter.1]
    query = 'tag:killed and tag:new'
    tags = -unread
    message = marking killed new email as read
    [InboxFilter]

My expectation is that this will remove the "unread" tag from messages
that are also tagged "killed". This does not happen – I can find several
recent messages which are tagged both with "killed" and "unread".

Why is this a problem? Two reasons!

1. Messages with the "unread" tag reside in the new/ directory
physically on the file system, which causes my "you have unread email"
alert to go off, and

2. I'd like to understand how to configure automatic tagging with
afew. For example, the OpenBSD mailing list is just tagged "misc" by the
default afew tagger, and I'd love to switch this to "openbsd-misc" or
something.

How can I accomplish what I expect to be able to?

Regards,
Christoffer

             reply	other threads:[~2016-12-28  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28  7:43 Christoffer Stjernlöf [this message]
2016-12-28  8:21 ` Unsure on how initial tagging with afew is supposed to work YANG Ling
2016-12-29 20:36 ` Amadeusz Żołnowski

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=87a8bgqz15.fsf@vps.i-did-not-set--mail-host-address--so-tickle-me \
    --to=k@rdw.se \
    --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).