[Emacs, mu4e] Change unread bookmark, add uni and emacs bookmark

The unread bookmark is changed to `bU', reserving the lowercase `u' for
the university emails bookmark.

This commit also adds a bookmark for my Emacs mailing list (the first
indicated list is now obsolete, but I keep it to still be able to see
old messages sent there).
This commit is contained in:
Lucien Cartier-Tilet 2020-09-12 00:34:36 +02:00
parent 175948c3d9
commit 7785198f64
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -97,7 +97,7 @@
| doom-themes | some cool themes | | doom-themes | some cool themes |
| edit-indirect | edit region in separate buffer | | edit-indirect | edit region in separate buffer |
| elcord | rich integration of Emacs in Discord | | elcord | rich integration of Emacs in Discord |
| helm-icons | Integration between helm and treemacs icons | | helm-icons | integration between helm and treemacs icons |
| kaolin-themes | some cool themes | | kaolin-themes | some cool themes |
| lsp-dart | apparently, it isnt included in the Dart layer | | lsp-dart | apparently, it isnt included in the Dart layer |
| magit-gitflow | integrate gitflow in Magit | | magit-gitflow | integrate gitflow in Magit |
@ -3186,12 +3186,22 @@
you get with modern Email client (and often you dont even get them). All you get with modern Email client (and often you dont even get them). All
these bookmarks can be accessed through a shortcut on the main mu4e buffer, 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 prefixed by ~b~. So, for instance, my unread messages are accessed through
~bu~. ~bU~.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq mu4e-bookmarks (setq mu4e-bookmarks
`(("maildir:/Inbox AND NOT flag:trashed" "Inbox" ?i) `(("maildir:/Inbox AND NOT flag:trashed" "Inbox" ?i)
(,(s-join " "
'("maildir:/Inbox"
"AND NOT flag:trashed"
"AND f:/.*up8\.edu|.*univ-paris8.*/"))
"University" ?u)
(,(s-join " "
'("maildir:/Inbox"
"AND (list:ateliers-emacs.framalistes.org"
"OR list:ateliers-paris.emacs-doctor.com)"))
"Emacs" ?e)
("maildir:/Sent" "Sent messages" ?s) ("maildir:/Sent" "Sent messages" ?s)
("flag:unread AND NOT flag:trashed" "Unread messages" ?u) ("flag:unread AND NOT flag:trashed" "Unread messages" ?U)
("date:today..now" "Today's messages" ?t) ("date:today..now" "Today's messages" ?t)
("date:7d..now" "Last 7 days" ?w) ("date:7d..now" "Last 7 days" ?w)
("date:1m..now" "Last month" ?m) ("date:1m..now" "Last month" ?m)