From f7fba8c7cc83eb4c5ae5a631d9dbd5587f118009 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 22 Apr 2020 16:50:47 -0400 Subject: [PATCH] Set up mu4e bookmarks --- emacs/init.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 082db48..d908ddf 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -3651,6 +3651,21 @@ Then configure it: ("view as pdf" . mu4e-action-view-as-pdf) ("show this thread" . mu4e-action-show-thread) ("View in browser" . mu4e-action-view-in-browser)) + ;; Bookmarked searches + mu4e-bookmarks '((:name "Inbox" + :query (concat "maildir:/jeremy-dormitzer-gmail-com/Inbox" + " OR maildir:/jeremydormitzer-lola-com/Inbox") + :key ?i) + (:name "Unread messages" + :query "flag:unread AND NOT flag:trashed" + :key ?u) + (:name "Today's messages" + :query "date:today..now" + :key ?t) + (:name "Last 7 days" + :query "date:7d..now" + :show-unread t + :key ?p)) ;; Getting mail mu4e-get-mail-command "mbsync -a" ;; Sending mail