summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-02-11 15:39:58 -0800
committerBen Sima <ben@bsima.me>2019-02-11 15:43:27 -0800
commit0d28e9c6d7cb2212192b0a028ebe91407d929cc3 (patch)
treebc7fab15407c99e93f609598cbfdc740ec600036
parent7649341f89418a5be9c4f65ee9b4cc8a49115604 (diff)
Finally finish porting over filters
-rw-r--r--afew.ini48
-rw-r--r--email.nix5
2 files changed, 41 insertions, 12 deletions
diff --git a/afew.ini b/afew.ini
index 8547d89..1c4753a 100644
--- a/afew.ini
+++ b/afew.ini
@@ -21,13 +21,11 @@ tags = +logwatch;-new;-inbox
message = newsletters
query =
from:the-morning-paper@onelanday.co.uk OR
- from:newsletter@fightaging.org OR
- from:newsletter@fightaging.org OR
subject:'The Reading List Email*' OR
from:info@haskellweekly.news OR
from:kale@hackernewsletter.com OR
from:newsletter@farnamstreetblog.com
-tags = -unread;+deals
+tags = -unread;+newsletters;-inbox
[Filter.3]
message = job emails
@@ -52,7 +50,6 @@ Important = 'NOT tag:flagged':.INBOX 'tag:spam':.INBOX
[InboxFilter]
-# I don't think this actually works
[Filter.5]
message = remove lists from inbox
query = tag:lists AND tag:inbox
@@ -83,9 +80,46 @@ tags = -inbox;-unread;+deleted;+spam
[Filter.10]
message = meetups
query = from:*@meetup.com
-tags = -inbox; +meetups
+tags = -inbox;+meetups
[Filter.11]
message = emacs lists
-query = emacs-devel@gnu.org OR info-gnu-emacs@gnu.org OR help-gnu-emacs@gnu.org
-tags = -inbox \ No newline at end of file
+query =
+ to:emacs-devel@gnu.org OR to:info-gnu-emacs@gnu.org OR to:help-gnu-emacs@gnu.org OR
+ cc:emacs-devel@gnu.org OR cc:info-gnu-emacs@gnu.org OR cc:help-gnu-emacs@gnu.org
+tags = -inbox;+emacs
+
+[Filter.12]
+message = philosophy lists
+query = to:publish-liv@humanist.kdl.kcl.ac.uk
+tags = -inbox;+philosophy
+
+[Filter.13]
+message = science lists
+query = from:newsletter@fightaging.org
+tags = -inbox;+science
+
+[Filter.14]
+message = ue work
+query = from:git@undergroundelephant.com
+tags = +work
+
+[Filter.15]
+message = haskell lists
+query = to:haskell-cafe@haskell.org OR cc:haskell-cafe@haskell.org
+tags = -inbox;+haskell
+
+[Filter.16]
+message = clojure lists
+query = to:clojure@googlegroups.com OR cc:clojure@googlegroups.com
+tags = -inbox;+clojure
+
+[Filter.17]
+message = ai lists
+query = to:scikit-learn@python.org OR to:tensorflow.org
+tags = -inbox;+ai
+
+[Filter.18]
+message = bitcoin lists
+query = to:bitcoin-dev@lists.linuxfoundation.org OR to:bitcoin-discuss@lists.linuxfoundation.org
+tags = -inbox;+bitcoin \ No newline at end of file
diff --git a/email.nix b/email.nix
index 39582aa..93300a9 100644
--- a/email.nix
+++ b/email.nix
@@ -49,11 +49,6 @@ in
postNew = ''
afew -tnv
afew -mnv
- notmuch tag -inbox +haskell -- to:haskell-cafe@haskell.org
- notmuch tag -inbox +clojure -- to:clojure@googlegroups.com
- notmuch tag -inbox +ai -- to:scikit-learn@python.org OR to:tensorflow.org
- notmuch tag -inbox +bitcoin -- to:bitcoin-dev@lists.linuxfoundation.org OR to:bitcoin-discuss@lists.linuxfoundation.org
- notmuch tag -inbox +diybio -- to:diybio@googlegroups.com
'';
};