summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-05-09 13:17:37 +0200
committerfpi2020-06-08 20:08:24 +0200
commit2c63cd040851ede402a26fb55837fd89789f346b (patch)
treec96ed9b7db6a727a0d029ef85a7dfab6892d5000
parentAdd basic org mode prettify symbols (diff)
Show .cir mail attachments inline with spice-mode
-rw-r--r--emacs-init.org13
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