Tweak mu4e bookmarks

This commit is contained in:
Nathan McCarty 2022-09-18 20:19:20 -04:00
parent 0a363fb6d8
commit bf56969ab6
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 12 additions and 4 deletions

View File

@ -561,7 +561,11 @@ independent key tables."
(add-to-list 'mu4e-bookmarks (add-to-list 'mu4e-bookmarks
'(:name "Unread Notifications - nathan@mccarty.io" '(:name "Unread Notifications - nathan@mccarty.io"
:key ?n :key ?n
:query "maildir:\"/nathan@mccarty.io/Folders/Notifications*\" AND NOT flag:trashed AND flag:unread")) :query "maildir:\"/nathan@mccarty.io/Folders/Notifications/\" AND NOT flag:trashed AND flag:unread"))
(add-to-list 'mu4e-bookmarks
'(:name "Unread Mailing Lists - nathan@mccarty.io"
:key ?n
:query "maildir:\"/nathan@mccarty.io/Folders/Mailing Lists/\" AND NOT flag:trashed AND flag:unread"))
(add-to-list 'mu4e-bookmarks (add-to-list 'mu4e-bookmarks
'(:name "Inbox - nathan@mccarty.io" '(:name "Inbox - nathan@mccarty.io"
:key ?m :key ?m
@ -569,7 +573,7 @@ independent key tables."
(add-to-list 'mu4e-bookmarks (add-to-list 'mu4e-bookmarks
'(:name "Unread" '(:name "Unread"
:key ?u :key ?u
:query "flag:unread AND NOT flag:trashed"))) :query "flag:unread AND NOT flag:trashed AND NOT maildir:\"/nathan@mccarty.io/Folders/Notifications/\" AND NOT maildir:\"/nathan@mccarty.io/Folders/Mailing Lists/\"")))
(after! mu4e (after! mu4e
(setq mu4e-maildir-shortcuts (setq mu4e-maildir-shortcuts

View File

@ -813,7 +813,11 @@ Setup our bookmarks, resetting the list of bookmarks first so we can go complete
(add-to-list 'mu4e-bookmarks (add-to-list 'mu4e-bookmarks
'(:name "Unread Notifications - nathan@mccarty.io" '(:name "Unread Notifications - nathan@mccarty.io"
:key ?n :key ?n
:query "maildir:\"/nathan@mccarty.io/Folders/Notifications*\" AND NOT flag:trashed AND flag:unread")) :query "maildir:\"/nathan@mccarty.io/Folders/Notifications/\" AND NOT flag:trashed AND flag:unread"))
(add-to-list 'mu4e-bookmarks
'(:name "Unread Mailing Lists - nathan@mccarty.io"
:key ?n
:query "maildir:\"/nathan@mccarty.io/Folders/Mailing Lists/\" AND NOT flag:trashed AND flag:unread"))
(add-to-list 'mu4e-bookmarks (add-to-list 'mu4e-bookmarks
'(:name "Inbox - nathan@mccarty.io" '(:name "Inbox - nathan@mccarty.io"
:key ?m :key ?m
@ -821,7 +825,7 @@ Setup our bookmarks, resetting the list of bookmarks first so we can go complete
(add-to-list 'mu4e-bookmarks (add-to-list 'mu4e-bookmarks
'(:name "Unread" '(:name "Unread"
:key ?u :key ?u
:query "flag:unread AND NOT flag:trashed"))) :query "flag:unread AND NOT flag:trashed AND NOT maildir:\"/nathan@mccarty.io/Folders/Notifications/\" AND NOT maildir:\"/nathan@mccarty.io/Folders/Mailing Lists/\"")))
#+end_src #+end_src
Setup the maildirs we want to see, we'll show our notifications Setup the maildirs we want to see, we'll show our notifications
#+begin_src emacs-lisp #+begin_src emacs-lisp