diff options
-rw-r--r-- | email.org | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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) |