From fd975588378ef9de890505ac192c765b03dd5f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Mon, 6 Mar 2023 08:09:59 -0800 Subject: emacs: fix notmuch archive tags --- .emacs.local.d/modes/notmuch.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.emacs.local.d/modes/notmuch.el') diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el index 5a5c9a9..c84f5a6 100644 --- a/.emacs.local.d/modes/notmuch.el +++ b/.emacs.local.d/modes/notmuch.el @@ -31,6 +31,7 @@ (notmuch-search-tag (list "+spam" "-inbox" "-unread") beg end))) ; Archive +(setq notmuch-archive-tags (list "-inbox" "+archive")) (define-key notmuch-show-mode-map "A" (lambda () "archive" @@ -40,7 +41,7 @@ (define-key notmuch-search-mode-map "A" (lambda (&optional beg end) - "mark thread as spam" + "archive thread" (interactive (notmuch-search-interactive-region)) (notmuch-search-tag (list "+archive" "-inbox" "-unread") beg end) (notmuch-refresh-this-buffer))) -- cgit v1.2.3