Remove mu4e configuration

This commit is contained in:
Dimitri Lozeve 2022-07-01 19:57:31 +02:00
parent 3c08160ccf
commit 5216ca180c

47
init.el
View file

@ -894,53 +894,6 @@
(global-set-key (kbd "C-c e") 'hledger-jentry)
(global-set-key (kbd "C-c j") 'hledger-run-command))
(use-package mu4e
:load-path "~/build/mu-1.4.13/mu4e"
:bind ("C-c m" . mu4e)
:custom
;; Folders
;; (mu4e-sent-folder "/sent") ;; folder for sent messages
;; (mu4e-drafts-folder "/drafts") ;; unfinished messages
;; (mu4e-trash-folder "/trash") ;; trashed messages
;; (mu4e-refile-folder "/archive") ;; saved messages
;; Sync
(mu4e-get-mail-command "mbsync -a")
(mu4e-update-interval 300) ;; update every 5 min
;; Personal details
;; (user-mail-address "dimitri@lozeve.com")
;; (user-full-name "Dimitri Lozeve")
;; Behaviour
(message-kill-buffer-on-exit t)
(mu4e-confirm-quit nil)
(mu4e-attachment-dir "~/Downloads")
(mu4e-sent-messages-behavior 'delete) ;; don't save messages to Sent Messages, Gmail/IMAP takes care of this
(mail-user-agent 'mu4e-user-agent) ;; default program for sending mail in Emacs
;; View and compose
(mu4e-use-fancy-chars nil)
(mu4e-view-show-addresses t)
(mu4e-view-show-images t)
(mu4e-headers-show-threads t)
(mu4e-compose-dont-reply-to-self t)
;; enable format=flowed
;; - mu4e sets up visual-line-mode and also fill (M-q) to do the right thing
;; - each paragraph is a single long line; at sending, emacs will add the
;; special line continuation characters.
;; - also see visual-line-fringe-indicators setting below
(mu4e-compose-format-flowed t)
;; because it looks like email clients are basically ignoring format=flowed,
;; let's complicate their lives too. send format=flowed with looong lines. :)
;; https://www.ietf.org/rfc/rfc2822.txt
(fill-flowed-encode-column 998)
;; in mu4e with format=flowed, this gives me feedback where the soft-wraps are
(visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))
:config
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it)
(setq mu4e-context-policy 'pick-first)
(add-to-list 'mu4e-view-actions '("view in browser" . mu4e-action-view-in-browser))
(add-hook 'mu4e-view-mode-hook #'visual-line-mode)
(add-hook 'mu4e-compose-mode-hook 'flyspell-mode))
(use-package vterm
:straight t
:config