commit dfbf3c773e63bfb60ef86ef8678e3032b0ba4310 parent 7831f0e89c81f3ce27de1d9d0fe6121329c8cc8c Author: Alex Balgavy <alex@balgavy.eu> Date: Thu, 8 Jul 2021 19:17:05 +0200 emacs: notmuch tags Diffstat:
M | emacs/config.org | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -459,6 +459,19 @@ Show newest mail first: (setq notmuch-search-oldest-first nil) #+end_src +Set tags: + +#+begin_src emacs-lisp + (setq notmuch-archive-tags '("-inbox" "+archive")) + (setq notmuch-show-mark-unread-tags '("+unread")) + (setq notmuch-delete-tags '("-inbox" "+trash")) + + (setq notmuch-tagging-keys '(("a" notmuch-archive-tags "Archive") + ("r" notmuch-show-mark-read-tags "Mark read") + ("u" notmuch-show-mark-unread-tags "Mark unread") + ("d" notmuch-delete-tags "Delete"))) +#+end_src + * References Here's a list of good articles I encountered about configging emacs: - [[https://karthinks.com/software/batteries-included-with-emacs/][Batteries included with Emacs]]