Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] afew should be able to apply tags according to arbitrary rules #4

Closed
0x64746b opened this issue Oct 13, 2011 · 5 comments
Closed

Comments

@0x64746b
Copy link
Contributor

iff afew is meant to be an initial tagging script for notmuch (and I feel like it is meant to be, mainly due to it handling sent mail, killed threads and spam) vs an addon project with classification magic, I think it needs to be able to do some initial tagging ;) i.e. tag new mails according to arbitrary rules. Basically is needs to wrap the functionality of 'notmuch tag'.

I guess people will want to be able to do things like

$ notmuch tag +office +inbox -new -- tag new and to:me@office.com
$ notmuch tag +private +inbox -new -- tag new and to:me@gmail.com

We probably want to read in a file of tagging rules and pipe them through notmuch - format unknown as of yet ;)
dtk

@teythoon
Copy link
Collaborator

Look at c3775e8. Yummy?

@0x64746b
Copy link
Contributor Author

  1. I love having a config file (really want to use it for my FolderNameFilter)
  2. Not sure whether being able to subtype existing filters is all we need?
    How would you implement above tagging? I think generic tagging rules are basic enough to grant them their own filter?

dtk

@teythoon
Copy link
Collaborator

  1. I love having a config file (really want to use it for my FolderNameFilter)

:)

  1. Not sure whether being able to subtype existing filters is all we need? How would you implement above tagging? I think generic tagging rules are basic enough to grant them their own filter?

Oh, the commit wasn't meant to close this issue, I just wanted to show where I'm heading.

@0x64746b
Copy link
Contributor Author

Oh, the commit wasn't meant to close this issue, I just wanted to show where I'm heading.

Well, I just don't know where that is, yet ;)

I'm not sure I'm a big fan of the possibility to subtype (as in write code) in the config file. I'd rather make the spam filter configurable (set threshold, ...).

If someone needs a new filter: write some python. If it might actually be useful to a wider audience: push it upstream!

imho
dtk

@teythoon
Copy link
Collaborator

Fixed by b3abc09.

teythoon pushed a commit that referenced this issue Dec 21, 2011
Actually move mail files identified for syncing (cf issue #4).
Dry mode not yet supported (cf issue #9).
teythoon pushed a commit that referenced this issue Apr 16, 2012
Actually move mail files identified for syncing (cf issue #4).
Dry mode not yet supported (cf issue #9).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants