summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-07-19 18:07:17 -0400
committerAmin Bandali <amin@aminb.org>2018-07-19 18:07:17 -0400
commit53960d74c635567ba9c778f5b6777366e14d310d (patch)
tree4bfb7202900b13cbeded0ced2ff7cc3d6b243390
parent0fd1733a944ad263453229ea22157333aaf7cf76 (diff)
downloadconfigs-53960d74c635567ba9c778f5b6777366e14d310d.tar.gz
configs-53960d74c635567ba9c778f5b6777366e14d310d.tar.xz
configs-53960d74c635567ba9c778f5b6777366e14d310d.zip
[{emacs,rc}/notmuch] add `latest' tag for newest batch of emails
and bind l on notmuch-hello for tag:latest
-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