From ff11fa1d19774412bfba02137647fcda64aa8ea7 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Sat, 7 Sep 2024 22:24:08 -0400 Subject: [PATCH] some temp workarounds --- config.el | 9 +++++++++ init.el | 2 +- mu4e-config.el | 7 +++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/config.el b/config.el index 8d4dbbf..fe7b165 100644 --- a/config.el +++ b/config.el @@ -246,6 +246,15 @@ ;; :config ;; (ready-player-add-to-auto-mode-alist)) +;; override aggressive key shortcuts for alt-l/r +(use-package! drag-stuff + :defer t + :init + (map! "" #'drag-stuff-up + "" #'drag-stuff-down + "" #'left-word + "" #'right-word)) + ;; load additional config files (load! "obsidian-config.el") (load! "mu4e-config.el") diff --git a/init.el b/init.el index 888658c..60ae77f 100644 --- a/init.el +++ b/init.el @@ -155,7 +155,7 @@ (zig +lsp) ; C, but simpler :email - mu4e + (mu4e +mbsync) :app ;;calendar diff --git a/mu4e-config.el b/mu4e-config.el index ac5d5ac..33608de 100644 --- a/mu4e-config.el +++ b/mu4e-config.el @@ -84,7 +84,7 @@ ;; tell meow to start mu4e in motion state (pushnew! meow-mode-state-list '(mu4e-main-mode . motion)) - (setq mu4e-update-interval 300 + (setq mu4e-update-interval 60 mu4e-headers-auto-update t) (setq @@ -135,6 +135,7 @@ ;; (:name "The Boss" :query "from:stallman" :key ?s) ;; (:name "Last 7 days" :query "date:7d..now" :hide-unread t :key ?w) ;; (:name "Messages with images" :query "mime:image/*" :key ?p))) + (mu4e-bookmark-define (concat "maildir:/matt@emenel.ca/Drafts" " or maildir:/admin@studyoftime.org/Drafts") @@ -176,7 +177,6 @@ "All Inboxes" ?i) - (setq mu4e-maildir-shortcuts '((:maildir "/matt@emenel.ca/Inbox" :key ?1 :name "Inbox/matt@emenel.ca") (:maildir "/matt@emenel.ca/Drafts" :key ?2 :name "Drafts/matt@emenel.ca") @@ -189,5 +189,8 @@ (setq mu4e-alert-email-notification-types '(count)) + ;; FIXME: workaround for issue with doom mu4e not expanding ~ + (setq mu4e-get-mail-command "mbsync -a") + (add-hook! mu4e-compose-mode (ws-butler-mode -1)))