summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-12-13 15:04:16 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-12-13 15:04:16 +0000
commit95797bfe2cc1898eb044c6d6758a7db08614d82b (patch)
tree809d74f1909ecc91c2fec3a903b749fe7f91368d
parentbf1023781b1eb0242d02d41f7a7fd90436b1aeaf (diff)
some tweaks to notmuch settings
-rw-r--r--custom.el2
-rw-r--r--init.el5
2 files changed, 5 insertions, 2 deletions
diff --git a/custom.el b/custom.el
index b3ba926..1b45a21 100644
--- a/custom.el
+++ b/custom.el
@@ -16,7 +16,7 @@
(:name "All Mail" :query "*" :sort-order newest-first :key "a")
(:name "School" :query "tag:school" :sort-order newest-first :key "S")
(:name "Deleted" :query "tag:deleted" :sort-order newest-first :key "d")
- (:name "new" :query "tag:new")))
+ (:name "todo" :query "tag:todo")))
'(package-selected-packages
'(consult-notes ef-themes flycheck-clj-kondo pass vertico denote orderless consult-lsp undo-tree embark-consult embark marginalia markdown-mode eglot helm popup async notmuch ivy calfw-org calfw unicode-fonts deft cider org-roam org yasnippet-snippets which-key vterm use-package rainbow-delimiters pdf-tools paredit magit ledger-mode gruvbox-theme flycheck expand-region evil elpy elfeed-score diminish counsel cmake-mode browse-kill-ring beacon auto-package-update amx ace-window ace-jump-mode))
'(safe-local-variable-values
diff --git a/init.el b/init.el
index 603d78e..d442d95 100644
--- a/init.el
+++ b/init.el
@@ -634,7 +634,10 @@ Restart works only on graphic display."
(interactive)
(if (member "deleted" (notmuch-search-get-tags))
(notmuch-search-tag (list "-deleted"))
- (notmuch-search-tag (list "+deleted")))))
+ (progn
+ (notmuch-search-tag (list "-unread"))
+ (notmuch-search-tag (list "-new"))
+ (notmuch-search-tag (list "+deleted"))))))
(setq send-mail-function 'sendmail-send-it
notmuch-search-result-format '(("date" . "%12s ")
("count" . "%7s ")