diff options
author | jao <jao@gnu.org> | 2021-07-11 22:10:58 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-07-11 22:11:29 +0100 |
commit | e23cd6e357938d0982db094d3e3682e5f66c5f9a (patch) | |
tree | 6aa5488050c0b127bd402d674cbfb3d300b52f8d | |
parent | c0bfb3f4e61b148e5f02b46f004d7253867fe2af (diff) | |
download | elibs-e23cd6e357938d0982db094d3e3682e5f66c5f9a.tar.gz elibs-e23cd6e357938d0982db094d3e3682e5f66c5f9a.tar.bz2 |
gnus, notably gnus-refer-thread-use-search
-rw-r--r-- | gnus.org | 6 | ||||
-rw-r--r-- | w3m.org | 13 |
2 files changed, 16 insertions, 3 deletions
@@ -281,8 +281,9 @@ '(setq message-draft-headers (remove 'Date message-draft-headers))) #+END_SRC * Add-ons -*** icalendar +*** icalendar/org #+begin_src emacs-lisp + (require 'ol-gnus) (use-package gnus-icalendar :demand t :init (setq gnus-icalendar-org-capture-file @@ -412,7 +413,7 @@ (expiry-wait . 1) (jao-gnus--trash-group nil) (expiry-target . delete)) - ("^nnimap:jao/inbox" + ("^nnimap:.*/\\(inbox\\|hacking\\)" (gcc-self . t)) ("^nnimap:bigml/.*" (posting-style (address "jao@bigml.com")) @@ -450,6 +451,7 @@ gnus-suppress-duplicates t gnus-summary-ignored-from-addresses jao-mails-regexp gnus-process-mark-toggle t + gnus-refer-thread-use-search t gnus-auto-select-next 'almost-quietly) (setq gnus-show-threads t @@ -69,7 +69,18 @@ #+end_src * Email #+begin_src emacs-lisp - (setq mm-text-html-renderer 'w3m) + (defun jao-w3m-gnus-html-renderer (handle) + (let ((w3m-message-silent t) + (mm-w3m-safe-url-regexp nil) + (shr-use-colors nil) + (shr-use-fonts nil) + (fill-column (min (window-width) 110))) + (condition-case nil + (mm-inline-text-html-render-with-w3m handle) + (error (delete-region (point) (point-max)) + (mm-shr handle))))) + + (setq mm-text-html-renderer #'jao-w3m-gnus-html-renderer) #+end_src * Narrowing #+begin_src emacs-lisp |