summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--email.org14
1 files changed, 7 insertions, 7 deletions
diff --git a/email.org b/email.org
index 826e818..d70c141 100644
--- a/email.org
+++ b/email.org
@@ -572,8 +572,8 @@
function tag_deleted {
notmuch tag +deleted -- \
- "'folder:\"$1\"'" \
- AND date:..${2:-3d} AND NOT "tag:/trove|flagged|unread|new/"
+ "folder:\"/$1/\"" AND date:..${2:-3d} \
+ AND NOT "tag:\"/^(trove|new|flagged|unread)$/\""
}
function tag_folder {
@@ -590,11 +590,11 @@
tag_directory jao
tag_directory feeds
- tag_deleted "/bigml.(drivel|lists|deploys|bugs)/" 3d
- tag_deleted "/bigml.reports/" 1d
- tag_deleted "/jao.(drivel|lists|books|think)/" 3d
- tag_deleted "/feeds.+/" 3d
- tag_deleted "/bigml.inbox$/" 1y
+ tag_deleted "bigml.(drivel|lists|deploys|bugs)" 3d
+ tag_deleted "bigml.reports" 1d
+ tag_deleted "jao.(drivel|lists|books|think)" 3d
+ tag_deleted "feeds.+" 3d
+ tag_deleted "bigml.inbox$" 1y
#+end_src
*** expire shell script
#+begin_src bash :tangle ./bin/notmuch-expire.sh :tangle-mode (identity #o755)