summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.org4
-rw-r--r--rc.org3
2 files changed, 6 insertions, 1 deletions
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