From cd8b753fbb038dd0ecdd74f53a66b11709e4befe Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 16 May 2018 07:32:41 +0200 Subject: [PATCH] Emacs mu4e: improved bookmarks --- emacs/emacs.el | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/emacs/emacs.el b/emacs/emacs.el index 2abcb75..68542b3 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -977,14 +977,19 @@ (add-to-list 'mu4e-bookmarks (make-mu4e-bookmark - :name "Important Unread Messages" - :query "(m:/university* OR m:/mailbox/inbox) AND flag:unread AND NOT flag:trashed" - :key ?i)) + :name "Open Messages" + :query "(flag:unread AND NOT flag:trashed AND NOT m:/university/fin/service/open) OR m:/university/inbox OR m:/mailbox/inbox" + :key ?o)) (add-to-list 'mu4e-bookmarks (make-mu4e-bookmark - :name "Open Messages" - :query "(flag:unread AND NOT flag:trashed AND NOT m:/university/fin/service/open) OR m:/mailbox/inbox OR m:/university/inbox" + :name "Open University Messages" + :query "(flag:unread AND NOT flag:trashed AND m:/university/* AND NOT m:/university/fin/service/open) OR m:/university/inbox" :key ?u)) + (add-to-list 'mu4e-bookmarks + (make-mu4e-bookmark + :name "Open Private Messages" + :query "(flag:unread AND NOT flag:trashed AND m:/mailbox/*) OR m:/mailbox/inbox" + :key ?m)) (add-to-list 'mu4e-bookmarks (make-mu4e-bookmark :name "Flagged messages"