summaryrefslogtreecommitdiffhomepage
path: root/notmuch.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-01-06 02:17:21 +0000
committerjao <jao@gnu.org>2022-01-06 02:17:21 +0000
commita26238003a158373d54ab3d8eef7822aab130cb8 (patch)
tree9c70219eb08cdedf8997bb5a400f03af0172f7d3 /notmuch.org
parentc33edfe003c82943dbf03bc8aa60ba13d72be74b (diff)
downloadelibs-a26238003a158373d54ab3d8eef7822aab130cb8.tar.gz
elibs-a26238003a158373d54ab3d8eef7822aab130cb8.tar.bz2
notmuch: saved searches clean-ups
Diffstat (limited to 'notmuch.org')
-rw-r--r--notmuch.org25
1 files changed, 23 insertions, 2 deletions
diff --git a/notmuch.org b/notmuch.org
index 748fb28..27ffa13 100644
--- a/notmuch.org
+++ b/notmuch.org
@@ -77,6 +77,24 @@
(seq-difference ts '("new" "unread" "flagged" "signed" "attachment"
"gmane" "feeds" "rss" "mce" "trove" "prog" "emacs"))))
+ (defvar jao-notmuch--feed-tags
+ '("clojure"
+ "computers"
+ "erlang"
+ "fun"
+ "gr-qc"
+ "haskell"
+ "jao"
+ "lisp"
+ "lobsters"
+ "math"
+ "news"
+ "philosophy"
+ "physics"
+ "quant-ph"
+ "scheme"
+ "words"))
+
(setq notmuch-saved-searches
`(,(jao-notmuch--q "bigml" "inbox" "bi")
,(jao-notmuch--q "bigml" "support" "bs")
@@ -89,14 +107,15 @@
,(jao-notmuch--sq "emacs-devel" "ed" "emacs" "devel")
,(jao-notmuch--sq "emacs-bugs" "eb" "emacs" "bugs")
,(jao-notmuch--sq "emacs-diffs" "ec" "emacs" "diffs")
- ,@(mapcar #'jao-notmuch--sq (jao-notmuch--feed-tags "feeds"))
+ ,(jao-notmuch--sq "emacs-orgmode" "eo" "emacs" "org")
+ ,@(mapcar #'jao-notmuch--sq jao-notmuch--feed-tags)
,@(mapcar #'jao-notmuch--sq '("scheme" "notmuch" "erlang" "idris"))
,(jao-notmuch--sec
(jao-notmuch--qn "feeds" "prog" "fp"
(cons "tag:prog"
(mapcar (lambda (tag)
(format "not tag:%s" tag))
- (jao-notmuch--feed-tags "feeds")))))))
+ jao-notmuch--feed-tags))))))
(defvar jao-notmuch-dynamic-searches
`(,(jao-notmuch--q "jao" "draft" "d" '("tag:draft"))
@@ -105,7 +124,9 @@
'("tag:jao" "date:24h.."
"not tag:\"/(feeds|spam|local)/\""))
,(jao-notmuch--q "bml" "flagged" "rb" '("tag:flagged" "tag:bigml"))
+ ,(jao-notmuch--q "bml" "todo" "btt" '("tag:todo" "tag:bigml"))
,(jao-notmuch--q "jao" "flagged" "rj" '("tag:flagged" "not tag:bigml"))
+ ,(jao-notmuch--q "jao" "todo" "jt" '("tag:todo" "not tag:bigml"))
,(jao-notmuch--q "new" nil "nn" '("tag:new"))
,(jao-notmuch--q "unread" nil "nu" '("tag:unread"))))