[Emacs] Better mu4e inboxes
Mailing lists are now separated from my main inbox. Linguistics and Emacs now both have their own inbox.
This commit is contained in:
parent
0a54b4d67f
commit
7e91539f5e
@ -3179,19 +3179,33 @@ The following also allows me to automatically include my signature in my Emails,
|
||||
This source block is an example of the search queries in mu4e, and part of the reason why I very much like mu4e: these bookmarks are actually defined by search queries, but act as if they were just yet another type of custom inbox you get with modern Email client (and often you don’t even get them). All these bookmarks can be accessed through a shortcut on the main mu4e buffer, prefixed by ~b~. So, for instance, my unread messages are accessed through ~bU~.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq mu4e-bookmarks
|
||||
`(("maildir:/Inbox AND NOT flag:trashed" "Inbox" ?i)
|
||||
`((,(s-join " "
|
||||
'("maildir:/Inbox"
|
||||
"AND NOT flag:trashed"
|
||||
"AND NOT to:CONLANG@LISTSERV.BROWN.EDU"
|
||||
"AND NOT to:AUXLANG@LISTSERV.BROWN.EDU"
|
||||
"AND NOT to:ateliers-emacs.framalistes.org"
|
||||
"AND NOT to:ateliers-paris.emacs-doctor.com"
|
||||
"AND NOT list:ateliers-emacs.framalistes.org"
|
||||
"AND NOT list:ateliers-paris.emacs-doctor.com"))
|
||||
"Inbox" ?i) ;; Inbox without the linguistics mailing lists
|
||||
(,(s-join " "
|
||||
'("maildir:/Inbox"
|
||||
"AND NOT flag:trashed"
|
||||
"AND (f:/.*up8\.edu|.*univ-paris8.*/"
|
||||
"OR c:/.*up8\.edu|.*univ-paris8.*/"
|
||||
"OR t:/.*up8\.edu|.*univ-paris8.*/)"))
|
||||
"University" ?u)
|
||||
"University" ?u) ;; University-related emails
|
||||
(,(s-join " "
|
||||
'("maildir:/Inbox"
|
||||
"AND (to:CONLANG@LISTSERV.BROWN.EDU"
|
||||
"OR to:AUXLANG@LISTSERV.BROWN.EDU)"))
|
||||
"Linguistics" ?l) ;; linguistics mailing lists
|
||||
(,(s-join " "
|
||||
'("maildir:/Inbox"
|
||||
"AND (list:ateliers-emacs.framalistes.org"
|
||||
"OR list:ateliers-paris.emacs-doctor.com)"))
|
||||
"Emacs" ?e)
|
||||
"Emacs" ?e) ;; Emacs mailing list
|
||||
("maildir:/Sent" "Sent messages" ?s)
|
||||
("flag:unread AND NOT flag:trashed" "Unread messages" ?U)
|
||||
("date:today..now AND NOT flag:trashed" "Today's messages" ?t)
|
||||
|
Loading…
Reference in New Issue
Block a user