aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-18 22:15:42 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-18 22:15:42 +0100
commit404f4914238a39af4ceda229d41d2ea7eede50a8 (patch)
tree037c138acce7cdfcca42db1230f7b1b0fea48429 /Emacs/.config/emacs
parent56ecd2046d7a111d2ce406472a1757cdfa5091db (diff)
downloaddotfiles-404f4914238a39af4ceda229d41d2ea7eede50a8.tar.gz
dotfiles-404f4914238a39af4ceda229d41d2ea7eede50a8.tar.bz2
dotfiles-404f4914238a39af4ceda229d41d2ea7eede50a8.zip
+further org-msg config
Some preambles, greetings and css
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r--Emacs/.config/emacs/config.org14
1 files changed, 13 insertions, 1 deletions
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