summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gnus.org50
1 files changed, 18 insertions, 32 deletions
diff --git a/gnus.org b/gnus.org
index 91dc945..da349dd 100644
--- a/gnus.org
+++ b/gnus.org
@@ -126,7 +126,8 @@
(setq gnus-select-method
(cond (jao-gnus-use-leafnode
`(nntp "localhost"
- ,(jao-gnus-search-engine 'gnus-search-notmuch)))
+ (gnus-search-engine gnus-search-notmuch
+ (remove-prefix "/home/jao/var/news/"))))
(jao-gnus-use-gmane '(nntp "news.gmane.io"))
(t '(nnnil ""))))
@@ -159,7 +160,7 @@
#+end_src
* Mailbox and maildir servers
#+begin_src emacs-lisp
- (setq mail-sources '((file :path "/var/mail/jao")))
+ (setq mail-sources nil)
(setq nnml-get-new-mail t
nnmail-treat-duplicates 'delete
@@ -380,23 +381,21 @@
#+begin_src emacs-lisp
(setq jao-gnus-expirable
(format (concat "^nnimap:\\("
- "\\(\\(bigml\\|bml\\)/%s\\)\\|"
+ "\\(bigml/%s\\)\\|"
"\\(jao/%s\\)\\|"
"\\(feeds/.+\\)\\|trash\\|spam"
"\\)")
- (regexp-opt '("support" "reports" "deploys"
- "lists" "drivel" "bugs"))
- (regexp-opt '("books" "think" "local" "drivel"
- "lists" "emacs" "bills" "gnu"))))
+ (regexp-opt '("reports" "deploys" "lists" "drivel" "bugs"))
+ (regexp-opt '("think" "local" "drivel" "lists"))))
- (setq gnus-permanently-visible-groups "^nnselect")
+ (setq gnus-permanently-visible-groups "^nnselect.*")
(setq gnus-parameters
`(("^nnimap:jao/.*"
(jao-gnus--trash-group "nnimap:jao/trash")
(jao-gnus--spam-group "nnimap:jao/spam")
- (jao-gnus--archiving-group "nnimap:trove/jao"))
- ("^nnimap:\\(jao\\|pm\\|bigml\\)/\\(trash\\|spam\\)"
+ (jao-gnus--archiving-group "nnimap:jao/trove"))
+ ("^nnimap:\\(jao\\|bigml\\)/\\(trash\\|spam\\)"
(gcc-self . nil)
(auto-expire . t)
(total-expire . t)
@@ -407,15 +406,13 @@
(gcc-self . t))
("^nnimap:bigml/.*"
(posting-style (address "jao@bigml.com"))
- (jao-gnus--archiving-group "nnimap:trove/bigml")
+ (jao-gnus--archiving-group "nnimap:bigml/trove")
(jao-gnus--spam-group "nnimap:bigml/spam"))
("^nnimap:bigml/inbox"
- (gcc-self . t)
(auto-expire . t)
(total-expire . t)
- (expiry-wait . 14)
- (jao-gnus--trash-group "nnimap:trash")
- (expiry-target . "nnimap:trove/bigml"))
+ (expiry-wait . 7)
+ (expiry-target . "nnimap:bigml/trove"))
("^nnimap:bigml/support"
(posting-style (address "support@bigml.com")))
(,jao-gnus-expirable
@@ -423,28 +420,17 @@
(gcc-self . nil)
(auto-expire . t)
(total-expire . t)
- (expiry-wait . 7)
+ (expiry-wait . 3)
(expiry-target . delete))
- ("^nnimap:feeds/podcasts"
+ ("^nnimap:feeds/.*"
+ (jao-gnus--archiving-group "nnimap:feeds/trove"))
+ ("^nnimap:feeds/trove"
(auto-expire . nil)
(total-expire . nil))
("^nnimap:feeds/\\(papers\\|math\\|physics\\)$"
- (expiry-wait . 30)
- (jao-gnus--archiving-group "nnimap:trove/sci"))
- ("^nnimap:feeds/\\(programming\\)$"
- (expiry-wait . 30)
- (jao-gnus--archiving-group "nnimap:trove/tech")
- (posting-style (address "jao@gnu.org")))
- ("^nnimap:jao/hacking$"
- (jao-gnus--archiving-group "nnimap:trove/tech"))
- ("^nnimap:jao/gnu$"
- (expiry-target . "nnimap:trove/gnu")
- (jao-gnus--archiving-group "nnimap:trove/gnu"))
- ("^nnimap:jao/bills$"
- (expiry-target . "nnimap:trove/bills")
- (jao-gnus--archiving-group "nnimap:trove/bills"))
+ (expiry-wait . 30))
("\\(gmane\\|gwene\\)\\..*"
- (jao-gnus--archiving-group "nnimap:trove/tech")
+ (jao-gnus--archiving-group "nnimap:feeds/trove")
(posting-style (address "jao@gnu.org")))))
#+end_src
* Summary buffer