summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-13 03:29:25 +0100
committerjao <jao@gnu.org>2021-05-13 03:29:25 +0100
commit826c68098670b69d6c3a7fee389d5d861b1adcc7 (patch)
tree5cc7a65deccf3aee209234a32bd8c643ac0675e3
parentcf75e9b067e3feacfdf79b4385eefc0bc762a3eb (diff)
downloadelibs-826c68098670b69d6c3a7fee389d5d861b1adcc7.tar.gz
elibs-826c68098670b69d6c3a7fee389d5d861b1adcc7.tar.bz2
gnus and emacs-w3m are so good...
-rw-r--r--eww.org7
-rw-r--r--gnus.org10
-rw-r--r--init.org7
-rw-r--r--readme.org2
-rw-r--r--w3m.org (renamed from attic/w3m.org)0
5 files changed, 9 insertions, 17 deletions
diff --git a/eww.org b/eww.org
index 6e917e7..2aa5dcf 100644
--- a/eww.org
+++ b/eww.org
@@ -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
diff --git a/gnus.org b/gnus.org
index 7ab954e..5337bdc 100644
--- a/gnus.org
+++ b/gnus.org
@@ -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)
diff --git a/init.org b/init.org
index ec386df..c0576a0 100644
--- a/init.org
+++ b/init.org
@@ -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
diff --git a/readme.org b/readme.org
index 1ee2dfc..fbc2616 100644
--- a/readme.org
+++ b/readme.org
@@ -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.
diff --git a/attic/w3m.org b/w3m.org
index e1229ab..e1229ab 100644
--- a/attic/w3m.org
+++ b/w3m.org