diff options
author | jao <jao@gnu.org> | 2021-05-13 03:29:25 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-05-13 03:29:25 +0100 |
commit | 826c68098670b69d6c3a7fee389d5d861b1adcc7 (patch) | |
tree | 5cc7a65deccf3aee209234a32bd8c643ac0675e3 | |
parent | cf75e9b067e3feacfdf79b4385eefc0bc762a3eb (diff) | |
download | elibs-826c68098670b69d6c3a7fee389d5d861b1adcc7.tar.gz elibs-826c68098670b69d6c3a7fee389d5d861b1adcc7.tar.bz2 |
gnus and emacs-w3m are so good...
-rw-r--r-- | eww.org | 7 | ||||
-rw-r--r-- | gnus.org | 10 | ||||
-rw-r--r-- | init.org | 7 | ||||
-rw-r--r-- | readme.org | 2 | ||||
-rw-r--r-- | w3m.org (renamed from attic/w3m.org) | 0 |
5 files changed, 9 insertions, 17 deletions
@@ -45,7 +45,6 @@ (advice-add 'eww-back-url :after #'jao-eww--rename-buffer) (advice-add 'eww-forward-url :after #'jao-eww--rename-buffer) #+end_src - * Opening URLs #+begin_src emacs-lisp (defun jao-eww-browse (arg) @@ -67,9 +66,7 @@ (let ((shr-blocked-images nil)) (eww-reload t)) (call-interactively 'eww-reload))) - #+end_src - * Images #+begin_src emacs-lisp (defun jao-eww-next-image () @@ -103,7 +100,6 @@ (jao-eww-reopen t)) #+end_src * Visiting links in a page - #+begin_src emacs-lisp (defun jao-eww-copy-link () (interactive) @@ -160,13 +156,10 @@ (advice-add 'eww-make-unique-file-name :around #'jao-eww--append-html) #+end_src - * eww-lnum - #+begin_src emacs-lisp (use-package eww-lnum :ensure t) #+end_src - * Sessions #+begin_src emacs-lisp (use-package jao-eww-session @@ -409,9 +409,9 @@ (gcc-self . t) (auto-expire . t) (total-expire . t) - (expiry-wait . 365) + (expiry-wait . 14) (jao-gnus--trash-group "nnimap:trash") - (expiry-target . delete)) + (expiry-target . "nnimap:trove/bigml")) ("^nnimap:bigml/support" (posting-style (address "support@bigml.com"))) (,jao-gnus-expirable @@ -614,12 +614,12 @@ gnus-visible-headers (concat gnus-visible-headers - "\\|^X-Newsreader:\\|^X-Mailer:\\|User-Agent:\\|X-User-Agent:"))) + "\\|^List-[iI][Dd]:\\|^X-Newsreader:\\|^X-Mailer:\\|User-Agent:\\|X-User-Agent:"))) #+end_src *** HTML email #+BEGIN_SRC emacs-lisp (setq gnus-button-url 'browse-url-generic - gnus-inhibit-images nil + gnus-inhibit-images t mm-discouraged-alternatives nil ;; '("text/html" "text/richtext") mm-inline-large-images 'resize) @@ -634,7 +634,7 @@ (when (re-search-forward "^\\(To\\|Subject\\):" nil t) (beginning-of-line) (let ((shr-width 1000)) - (shr-render-region begin (- (point) 1)))))))) + (shr-render-region begin (1- (point))))))))) (add-hook 'gnus-part-display-hook 'jao-gnus-remove-anchors) @@ -1593,13 +1593,12 @@ #+end_src *** Web browsers #+begin_src emacs-lisp - (jao-load-org "eww") - ;; (jao-load-org "w3m") + ;; (jao-load-org "eww") + (jao-load-org "w3m") #+end_src * Email #+begin_src emacs-lisp - (setq jao-afio-mail-function 'gnus ;; 'notmuch 'gnus 'mu4e - jao-afio-notmuch-in-web nil) + (setq jao-afio-mail-function 'gnus) ;; 'notmuch 'gnus 'mu4e (jao-load-org "email") #+end_src * PDFs @@ -69,8 +69,8 @@ - [[./gnus.org][gnus.org]]: tangled to gnus.el automatically by init.org, so that it's ready for loading by Gnus. - [[./notmuch.org][notmuch.org]]: email handling in emacs using notmuch. -- [[./eww.org][eww.org]]: browsing with eww. - [[./w3m.org][w3m.org]]: browsing with emacs-w3m. +- [[./eww.org][eww.org]]: browsing with eww. - [[./exwm.org][exwm.org]]: configuration for exwm, loaded when ~jao-exwmn-enable~ is called. |