From 404f4914238a39af4ceda229d41d2ea7eede50a8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 18 Aug 2020 22:15:42 +0100 Subject: +further org-msg config Some preambles, greetings and css --- Emacs/.config/emacs/config.org | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index bffc83e..7c832f8 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -504,7 +504,19 @@ learnt the basics of org). #+begin_src emacs-lisp (use-package org-msg :after notmuch - :hook (message-mode-hook . org-msg-mode)) + :hook (message-mode-hook . org-msg-mode) + :config + (setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil \\n:t tex:dvipng" + org-msg-greeting-fmt "Dear %s,\n" + org-msg-greeting-name-limit 3 + org-msg-text-plain-alternative t) + + (add-to-list 'org-msg-enforce-css + '(img latex-fragment-inline + ((transform . ,(format "translateY(-1px) scale(%.3f)" + (/ 1.0 (if (boundp 'preview-scale) + preview-scale 1.4)))) + (margin . "0 -0.35em"))))) #+end_src * Dired Setup for dired. Firstly, as it's an inbuilt package don't let -- cgit v1.2.3-13-gbd6f