From 53960d74c635567ba9c778f5b6777366e14d310d Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 19 Jul 2018 18:07:17 -0400 Subject: [PATCH] [{emacs,rc}/notmuch] add `latest' tag for newest batch of emails and bind l on notmuch-hello for tag:latest --- init.org | 4 ++++ rc.org | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 66dbe0e..b1c70dd 100644 --- a/init.org +++ b/init.org @@ -1215,6 +1215,10 @@ See [[notmuch:id:87muuqsvci.fsf@fencepost.gnu.org][bug follow-up]]. "Search for `unread' tagged messages" (interactive) (notmuch-hello-search "tag:unread"))) + ("l" . (lambda () + "Search for `latest tagged messages" + (interactive) + (notmuch-hello-search "tag:latest"))) ("M" . (lambda () "Compose new mail and prompt for sender" (interactive) diff --git a/rc.org b/rc.org index bc755f2..7ba3fda 100644 --- a/rc.org +++ b/rc.org @@ -2146,7 +2146,8 @@ sieve-filter -eW -o postmaster_address=postmaster@aminb.org \ notmuch tag -new +sent -- from:amin@aminb.org or from:aminb@gnu.org or from:abandali@uwaterloo.ca or from:amin.bandali@uwaterloo.ca # initial tagging -notmuch tag +inbox +unread -new -- tag:new +notmuch tag -latest -- tag:latest +notmuch tag +inbox +unread +latest -new -- tag:new # apply tags to lists -- 2.20.1