X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=emacs%2F.emacs;h=d04d89ed9193e55817cec543edd42b12d39d64dc;hb=f3372206cdfa91e83a504f368ad7075a22d04a09;hp=9f438857aa551c3c1dda6194231676563a2afa5e;hpb=361e9f9f36f8dbf39cae8c39339ca0e74bc52840;p=max%2Fdotfiles.git diff --git a/emacs/.emacs b/emacs/.emacs index 9f43885..d04d89e 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -140,6 +140,8 @@ "/usr/bin/mbsync -c /home/max/.mbsync/personal-gmail.mbsync -a &&" "/usr/bin/mbsync -c /home/max/.mbsync/aber.mbsync -a") mu4e-update-interval 60) + ; Force mu4e to rename file on moving + (setq mu4e-change-filenames-when-moving t) (setq message-send-mail-function 'smtpmail-send-it smtpmail-default-smtp-server "mail.friedersdorff.com" @@ -191,7 +193,23 @@ (smtpmail-smtp-server . "smtp.office365.com") (smtpmail-smtp-service . 587)))) - mu4e-context-policy 'pick-first)) + mu4e-context-policy 'pick-first) + (setq mu4e-html2text-command "lynx -stdin -dump -force_html")) +(use-package mu4e-alert + :ensure t + :config + (setq mu4e-alert-interesting-mail-query + (concatenate + 'string + "flag:unread " + "AND ( " + "maildir:/personal/Inbox OR " + "maildir:/personal/slackware OR " + "maildir:/personal-gmail/Inbox OR " + "maildir:/aber/Inbox " + ")")) + (mu4e-alert-set-default-style 'notifications) + (add-hook 'after-init-hook #'mu4e-alert-enable-notifications)) ;;;(global-company-mode)