diff options
author | fpi | 2020-05-09 13:17:37 +0200 |
---|---|---|
committer | fpi | 2020-06-08 20:08:24 +0200 |
commit | 2c63cd040851ede402a26fb55837fd89789f346b (patch) | |
tree | c96ed9b7db6a727a0d029ef85a7dfab6892d5000 | |
parent | Add basic org mode prettify symbols (diff) |
Show .cir mail attachments inline with spice-mode
-rw-r--r-- | emacs-init.org | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org index 11dfd82..5296c67 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -3043,7 +3043,18 @@ I use =msmtp= to send mail. (mail-specify-envelope-from t) (mail-envelope-from 'header)) #+end_src - +*** MIME +#+begin_src emacs-lisp +(use-package mm-decode + :config + (use-package spice-mode + :ensure t) + (defun mm-display-spice-inline (handle) + "Show an spice mode text from HANDLE inline." + (mm-display-inline-fontify handle 'spice-mode)) + (add-to-list 'mm-inline-media-tests '("application/x-wine-extension-cir" mm-display-spice-inline identity)) + (add-to-list 'mm-inlined-types "application/x-wine-extension-cir")) +#+end_src *** MUA/Notmuch After using =mu4e= as my mail user agent for a while I switched to |