aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-09-29 17:21:00 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-09-29 17:21:00 +0100
commitbadc07c2ee680cdb79887aea61e716e1f0f250d9 (patch)
treeb15a3e24627672a05473e307e61d024b6dbb6ef8 /Emacs/.config
parent7467e8350711195d3756e23cd487e5fe29114e5c (diff)
downloaddotfiles-badc07c2ee680cdb79887aea61e716e1f0f250d9.tar.gz
dotfiles-badc07c2ee680cdb79887aea61e716e1f0f250d9.tar.bz2
dotfiles-badc07c2ee680cdb79887aea61e716e1f0f250d9.zip
(Emacs)~moved org message to the org subtree
Having org message in the mail category actually causes an older version of org to be cloned and registered, which screws with org agenda and other features. Thus make sure that the org declaration comes first so the latest version of org-mode is cloned
Diffstat (limited to 'Emacs/.config')
-rw-r--r--Emacs/.config/emacs/config.org48
1 files changed, 24 insertions, 24 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index e790bfa..407b080 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1124,30 +1124,6 @@ integrate it into my workflow just a bit better.
(setq send-mail-function #'smtpmail-send-it
message-send-mail-function #'smtpmail-send-it))
#+end_src
-*** Org message
-Org message allows for the use of org mode when composing mails,
-generating HTML multipart emails. This integrates the WYSIWYG
-experience into mail in Emacs while also providing powerful text
-features with basically no learning curve (as long as you've already
-learnt the basics of org).
-
-#+begin_src emacs-lisp
-(use-package org-msg
- :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. Make dired-hide-details-mode the default mode when
using dired-mode, as it removes the clutter. Setup evil collection
@@ -1724,6 +1700,30 @@ Tons of variables for org-mode, including a ton of latex ones.
("breakanywhere" "true")
)))
#+end_src
+*** Org message
+Org message allows for the use of org mode when composing mails,
+generating HTML multipart emails. This integrates the WYSIWYG
+experience into mail in Emacs while also providing powerful text
+features with basically no learning curve (as long as you've already
+learnt the basics of org).
+
+#+begin_src emacs-lisp
+(use-package org-msg
+ :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
*** Evil Org
Evil org for some nice bindings.
#+begin_src emacs-lisp