summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2021-01-04 15:50:51 +0100
committerfpi2022-03-17 14:37:56 +0100
commitff54dbbaa1087db7d45aaf5725801098eed20618 (patch)
tree3dcd60a7c86a6de3f59dc7e96e0db17ad5752bc7
parentUpdate exwm config & add .desktop entry, exwm-start (diff)
[WIP] Add local maildir
-rw-r--r--gnus.org27
1 files changed, 22 insertions, 5 deletions
diff --git a/gnus.org b/gnus.org
index d3dc7c3..6f069f8 100644
--- a/gnus.org
+++ b/gnus.org
@@ -55,19 +55,36 @@ Noweb the primary server settings together.
))
#+end_src
-Setup a secondary imap server and a local nntp server I use to fetch
-RSS/Atom Feeds asynchronously.
+To avoid confusion I enable namespaces for imap groups.
+#+begin_src emacs-lisp
+(setq nnimap-use-namespaces t)
+#+end_src
+*** Secondary servers
#+begin_src emacs-lisp
+<<secondary-select-methods>>
+#+end_src
+**** Personal mailbox
+#+begin_src emacs-lisp :tangle no :noweb-ref secondary-select-methods
(add-to-list 'gnus-secondary-select-methods `(nnimap ,@private/personal-imap-info
(nnimap-stream ssl)
(nnir-search-engine imap)
(nnimap-inbox "INBOX")))
+#+end_src
+**** RSS/Atom over nntp
+Setup a secondary imap server and a local nntp server I use to fetch
+RSS/Atom Feeds asynchronously.
+#+begin_src emacs-lisp :tangle no :noweb-ref secondary-select-methods
(add-to-list 'gnus-secondary-select-methods '(nntp "localhost" 4321))
-<<secondary-select-methods>>
#+end_src
-#+begin_src emacs-lisp
-(setq nnimap-use-namespaces t)
+**** Harddrive Maildir
+This is still WIP, because the =nnmaildir= backend sucks.
+#+begin_src emacs-lisp :tangle no
+(add-to-list 'gnus-secondary-select-methods
+ '(nnmaildir "Local Maildir"
+ (directory "~/.nnmaildir")
+ (gnus-search-engine gnus-search-notmuch
+ (config-file "~/.notmuch-config"))))
#+end_src
** Options
*** General