Compare commits
3 commits
0b23578182
...
9cb5cdc6b2
Author | SHA1 | Date | |
---|---|---|---|
Antoine Martin | 9cb5cdc6b2 | ||
Antoine Martin | 090b9c08f7 | ||
Antoine Martin | 6451081c5f |
37
config.org
37
config.org
|
@ -40,6 +40,7 @@
|
||||||
- [[#org-roam-ui][org-roam-ui]]
|
- [[#org-roam-ui][org-roam-ui]]
|
||||||
- [[#export-backends][Export backends]]
|
- [[#export-backends][Export backends]]
|
||||||
- [[#doom-specific][Doom specific]]
|
- [[#doom-specific][Doom specific]]
|
||||||
|
- [[#enable-some-link-modules-that-doom-disables-by-default][Enable some link modules that doom disables by default]]
|
||||||
- [[#bugfix][Bugfix]]
|
- [[#bugfix][Bugfix]]
|
||||||
- [[#magit][Magit]]
|
- [[#magit][Magit]]
|
||||||
- [[#gitlab-ci-skip-flag][Gitlab CI skip flag]]
|
- [[#gitlab-ci-skip-flag][Gitlab CI skip flag]]
|
||||||
|
@ -47,7 +48,7 @@
|
||||||
- [[#account-configuration][Account configuration]]
|
- [[#account-configuration][Account configuration]]
|
||||||
- [[#sending-mail][Sending mail]]
|
- [[#sending-mail][Sending mail]]
|
||||||
- [[#reading-plain-text][Reading plain text]]
|
- [[#reading-plain-text][Reading plain text]]
|
||||||
- [[#disable-org-msg-by-default][Disable =org-msg= by default]]
|
- [[#org-msg-setup][=org-msg= setup]]
|
||||||
- [[#message-quoting-style][Message quoting style]]
|
- [[#message-quoting-style][Message quoting style]]
|
||||||
- [[#disable-formatflowed][Disable format=flowed]]
|
- [[#disable-formatflowed][Disable format=flowed]]
|
||||||
- [[#dont-permanently-delete-when-trashing-mails][Don't permanently delete when trashing mails]]
|
- [[#dont-permanently-delete-when-trashing-mails][Don't permanently delete when trashing mails]]
|
||||||
|
@ -506,6 +507,13 @@ one. Taken from [[https://github.com/hlissner/doom-emacs/tree/develop/modules/la
|
||||||
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h))
|
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Enable some link modules that doom disables by default
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(add-to-list 'org-modules 'ol-info)
|
||||||
|
(add-to-list 'org-modules 'ol-doi)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
*** Bugfix
|
*** Bugfix
|
||||||
|
|
||||||
Fix a bug with capture mode not working correctly when agenda is opened, stolen
|
Fix a bug with capture mode not working correctly when agenda is opened, stolen
|
||||||
|
@ -609,14 +617,29 @@ possible.
|
||||||
(add-to-list 'mm-discouraged-alternatives "text/richtext")
|
(add-to-list 'mm-discouraged-alternatives "text/richtext")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Disable =org-msg= by default
|
** =org-msg= setup
|
||||||
|
|
||||||
Doom adds a hook, making it impossible to disable. This allows us to toggle it
|
Add =-:nil= to the export options list, otherwise the =--= in the signature gets
|
||||||
manually.
|
converted to a single hyphen when exporting to utf-8. See [[info:org#Export settings]]
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp :noweb-ref after-mu4e :tangle no
|
||||||
(after! org-msg
|
(setq org-msg-options (concat org-msg-options " -:nil"))
|
||||||
(setq +mu4e-compose-org-msg-toggle-next nil))
|
#+end_src
|
||||||
|
|
||||||
|
Setup signature as well. The double backslashes are there to make sure that the
|
||||||
|
linebreak is preserved even in the html export, which otherwise wraps the
|
||||||
|
signature lines as a single paragraph.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp :noweb-ref after-mu4e :tangle no
|
||||||
|
(setq org-msg-signature "\n#+begin_signature\n-- \\\\\nAntoine Martin\n#+end_signature")
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
I don't want to send HTML emails at all unless I choose to explicitely.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp :noweb-ref after-mu4e :tangle no
|
||||||
|
(setq org-msg-default-alternatives '((new utf-8)
|
||||||
|
(reply-to-text utf-8)
|
||||||
|
(reply-to-html utf-8)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Message quoting style
|
** Message quoting style
|
||||||
|
|
Loading…
Reference in a new issue