diff options
| author | Jakob L. Kreuze | 2019-05-24 15:05:39 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-05-24 15:05:39 -0400 |
| commit | a89600cc2066454ed33ab51eb53342bd4390c79b (patch) | |
| tree | 93d88fb3d468ce8730e5d79392a69c74e8320d06 /jakob.org | |
| parent | 684472246d98acce22e559517bb2baa8ea80e3b3 (diff) | |
Add configuration for Gnus
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 44 |
1 files changed, 44 insertions, 0 deletions
@@ -1824,6 +1824,50 @@ Display the bar as a highlight on the most recently unread message. (overlay-put erc-bar-overlay 'face `(:background ,black-2))) #+END_SRC +* News + +Stop Gnus from making a mess of my home directory. + +#+BEGIN_SRC elisp +(setq gnus-init-file "~/.emacs.d/gnus.el" + gnus-startup-file "~/.local/share/newsrc" + gnus-read-newsrc-file nil + gnus-save-newsrc-file nil + gnus-directory "~/.local/share/gnus/news/" + message-directory "~/.local/share/gnus/mail") +#+END_SRC + +Wrap any poorly-formatted emails I receive. + +#+BEGIN_SRC elisp +(setq gnus-treat-fill-article t) +#+END_SRC + +Sort articles such that newer items are at the top of the summary buffer. + +#+BEGIN_SRC elisp +(setq gnus-thread-sort-functions '(gnus-thread-sort-by-most-recent-date)) +#+END_SRC + +Use w3m to display HTML emails. Adapted from [[https://norman.walsh.name/2011/03/10/w3m][this blog post]]. + +#+BEGIN_SRC elisp +(use-package w3m + :demand t + :config + (setq gnus-mime-display-multipart-related-as-mixed nil + mm-text-html-renderer #'w3m + mm-inline-text-html-with-images t + mm-inline-text-html-with-w3m-keymap nil + w3m-default-display-inline-images t)) +#+END_SRC + +Encrypt emails such that we can read them as well. + +#+BEGIN_SRC elisp +(setq mml-secure-openpgp-encrypt-to-self t) +#+END_SRC + * Games ** Speed Typing |