aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-init.d/mail-mode.el
blob: 09b04f95a5a32615a47fb2ac4f46534f2254e9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(setq auto-mode-alist (append '((".*tmp/mutt.*" . message-mode)) auto-mode-alist))
(setq auto-mode-alist (append '((".*tmp/neomutt.*" . message-mode)) auto-mode-alist))
(add-to-list 'auto-mode-alist '("/mutt" . mail-mode))

(setq mml-secure-openpgp-sign-with-sender t)

(add-hook 'mail-mode-hook
          (lambda ()
            (font-lock-add-keywords nil
                                    '(("^[ \t]*>[ \t]*>[ \t]*>.*$"
                                       (0 'compilation-error))
                                      ("^[ \t]*>[ \t]*>.*$"
                                       (0 'compilation-column-number))
                                      ("^[ \t]*>.*$"
                                       (0 'comint-highlight-prompt))))))
nihil fit ex nihilo