From 8573226481ecca5b801462d24f5b6327e804c4c9 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 10 Oct 2025 07:51:53 +0200 Subject: emacs: Make "Inbox" a favorite bookmark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- .config/emacs/init.el | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to '.config') 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" -- cgit v1.2.3