diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-10 07:51:53 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2025-10-10 07:51:53 +0200 |
| commit | 8573226481ecca5b801462d24f5b6327e804c4c9 (patch) | |
| tree | 58e4d4b61d9086cdab48608921170a4df655de1f | |
| parent | 6cd88a01c5cc11c983138da8a7d5648e133fccfa (diff) | |
| download | dotfiles-8573226481ecca5b801462d24f5b6327e804c4c9.tar.gz dotfiles-8573226481ecca5b801462d24f5b6327e804c4c9.zip | |
emacs: Make "Inbox" a favorite bookmark
Apparently default notifications expect a favorite to be picked among
bookmarks. If not, then it picks the one at top, which is basically the
last one that was added by the user. Hence, define this bookmark last
just so it appears at the top of the main view, and also mark it as
"favorite" to double down.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | .config/emacs/init.el | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index e36829b..737d8f1 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -618,19 +618,20 @@ message-sendmail-extra-arguments '("--read-envelope-from") message-send-mail-function #'message-send-mail-with-sendmail) - ;; The default bookmarks are cool and all, but they lack a proper sink that - ;; gathers all inboxes. - (add-to-list 'mu4e-bookmarks - '(:name "Inbox" - :query "maildir:/gmail/inbox OR maildir:/comsuse/inbox OR maildir:/sindicat/inbox OR maildir:/uoc/inbox OR maildir:/mailbox/inbox" - :key ?n)) - ;; For whatever reason I lost the "messages sent" bookmark. Let's re-add it. (add-to-list 'mu4e-bookmarks '(:name "Sent" :query "from:mikisabate@gmail.com OR from:msabate@suse.com OR from:mssola@mssola.com" :key ?s)) + ;; The default bookmarks are cool and all, but they lack a proper sink that + ;; gathers all inboxes. + (add-to-list 'mu4e-bookmarks + '(:name "Inbox" + :query "maildir:/gmail/inbox OR maildir:/comsuse/inbox OR maildir:/sindicat/inbox OR maildir:/uoc/inbox OR maildir:/mailbox/inbox" + :key ?n + :favorite t)) + ;; General mu4e settings. (setq message-kill-buffer-on-exit t mu4e-get-mail-command "fetch-email" |
