diff options
| -rw-r--r-- | emacs/settings/init-mu4e.el | 13 | ||||
| -rw-r--r-- | emacs/settings/init-org.el | 3 |
2 files changed, 13 insertions, 3 deletions
diff --git a/emacs/settings/init-mu4e.el b/emacs/settings/init-mu4e.el index c3c0b84..5e6f717 100644 --- a/emacs/settings/init-mu4e.el +++ b/emacs/settings/init-mu4e.el @@ -142,7 +142,7 @@ "Miquel Sabaté Solà,\n" "PGP: 4096R / 1BA5 3C7A C93D CA2A CFDF DA97 96BE 8C6F D89D 6565\n")) - ; Sign outgoing emails + ; Sign outgoing emails always. (add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime) ;; To avoid UID clashes. See: @@ -208,13 +208,20 @@ (set-fill-column 80) (use-hard-newlines t 'guess) + ; So it's easy to encrypt/decrypt emails. + (epa-mail-mode) + ; Spellz (flyspell-mode)) (add-hook 'mu4e-compose-mode-hook 'mssola-compose-mode) - ; I want to read messages in the format that the sender used. - (add-hook 'mu4e-view-mode-hook (lambda () (visual-line-mode 1))) + ; I want to read messages in the format that the sender used. I'm also + ; enabling epa-mail-mode, so it's easy to decrypt received emails. + (add-hook 'mu4e-view-mode-hook + (lambda () + (epa-mail-mode) + (visual-line-mode 1))) ;; Helper packages. diff --git a/emacs/settings/init-org.el b/emacs/settings/init-org.el index 8dd1154..cf6fce4 100644 --- a/emacs/settings/init-org.el +++ b/emacs/settings/init-org.el @@ -55,6 +55,9 @@ the entire subtree. Idea taken from @aaronbieber" ;; TODO: wc mode in org-mode +;; TODO: shortcut for making an org link, and transforming a link into a proper +;; org link + (with-eval-after-load 'evil ; TODO: doesn't work (define-key global-map (kbd "M-h") 'help-command) |
