From: Amin Bandali Date: Thu, 19 Jul 2018 22:07:17 +0000 (-0400) Subject: [{emacs,rc}/notmuch] add `latest' tag for newest batch of emails X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/53960d74c635567ba9c778f5b6777366e14d310d [{emacs,rc}/notmuch] add `latest' tag for newest batch of emails and bind l on notmuch-hello for tag:latest --- 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