diff options
author | jao <jao@gnu.org> | 2021-03-27 02:07:47 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-03-27 02:07:47 +0000 |
commit | f82296ed76b8115b598124716358ad0df5dd8760 (patch) | |
tree | 3e777de62072bc1a2bdbdcc2a95a74939c93af5c /gnus.org | |
parent | 431f7498b64f3db98b4836e1aa971b0424fd0531 (diff) | |
download | elibs-f82296ed76b8115b598124716358ad0df5dd8760.tar.gz elibs-f82296ed76b8115b598124716358ad0df5dd8760.tar.bz2 |
brave eww world
Diffstat (limited to 'gnus.org')
-rw-r--r-- | gnus.org | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -306,7 +306,8 @@ (total-expire . nil)) ("^nnimap:feeds/fun" ;; (mm-text-html-renderer 'shr) - (gnus-inhibit-images nil)) + (gnus-inhibit-images nil) + (shr-blocked-images nil)) ("^nnimap:feeds/\\(papers\\|programming\\|math\\|physics\\)$" (expiry-wait . 30) (jao-gnus--archiving-group "nnimap:trove/tech") @@ -504,21 +505,14 @@ #+BEGIN_SRC emacs-lisp ;; use w3m for html mail (defun jao-gnus-html-renderer (handle) - (let ((w3m-message-silent t) + (let ((shr-use-colors nil) + (shr-use-fonts nil) (fill-column (min (window-width) 110))) - (mm-shr handle) - ;; (condition-case nil - ;; (mm-inline-text-html-render-with-w3m handle) - ;; (error (delete-region (point) (point-max)) - ;; (mm-shr handle))) - )) + (mm-shr handle))) (setq gnus-button-url 'browse-url-generic gnus-inhibit-images t mm-text-html-renderer 'jao-gnus-html-renderer ;; 'w3m ;; 'shr - shr-use-colors nil - shr-use-fonts nil - mm-w3m-safe-url-regexp nil mm-discouraged-alternatives nil ;; '("text/html" "text/richtext") mm-inline-large-images 'resize) |