From a54540c63ecd95778aa5d6b0a55787ccf009128b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 21 Dec 2017 11:58:52 +0100 Subject: Emacs: Hide trashed messages in mu4e --- emacs/.emacs.d/main.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 1ef88f7a..3c101047 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -1281,6 +1281,10 @@ With two prefix arguments, write out the day and month name." mu4e-maildir (expand-file-name "~/mail") + mu4e-headers-hide-predicate + (lambda (msg) + (member 'trashed (mu4e-message-field msg :flags))) + mu4e-change-filenames-when-moving t message-kill-buffer-on-exit t -- cgit 1.4.1