[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:
parent
175948c3d9
commit
7785198f64
@ -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 isn’t included in the Dart layer |
|
| lsp-dart | apparently, it isn’t 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 don’t even get them). All
|
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,
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user