summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-05-09 13:36:19 +0200
committerfpi2020-05-09 13:50:06 +0200
commit6f0bcb50ae1e022651f909b758a1c26c0ad4feda (patch)
tree411d159b4c0fd176132399b7b6956e3a4d06d314
parentDisable accidental topic indentation with TAB (diff)
Setup fancy imap mail splitting
Diffstat (limited to '')
-rw-r--r--emacs-private.el.gpgbin1030 -> 1043 bytes
-rw-r--r--gnus.org25
2 files changed, 20 insertions, 5 deletions
diff --git a/emacs-private.el.gpg b/emacs-private.el.gpg
index 6b46930..4b638e1 100644
--- a/emacs-private.el.gpg
+++ b/emacs-private.el.gpg
Binary files differ
diff --git a/gnus.org b/gnus.org
index d799395..e50097a 100644
--- a/gnus.org
+++ b/gnus.org
@@ -14,11 +14,19 @@ Load private settings
#+begin_src emacs-lisp
;; (add-to-list 'gnus-secondary-select-methods
(setq gnus-select-method
- `(nnimap ,private/imap-name
- (nnimap-address ,private/imap-address)
- (nnimap-server-port 993)
- (nnimap-stream ssl)
- (nnir-search-engine imap)))
+ `(nnimap ,private/imap-name
+ (nnimap-address ,private/imap-address)
+ (nnimap-server-port 993)
+ (nnimap-stream ssl)
+ (nnir-search-engine imap)
+ (nnimap-inbox "INBOX")
+ (nnimap-split-methods 'nnimap-split-fancy)
+ (nnimap-split-fancy
+ (| (: nnmail-split-fancy-with-parent)
+ ,@private/imap-split-fancy
+ "INBOX"
+ ))
+ ))
#+end_src
Sort by newest first
#+begin_src emacs-lisp
@@ -36,6 +44,13 @@ Sending mail
smtpmail-smtp-service 587
starttls-use-gnutls t)
#+end_src
+Setup for fancy mail splitting. Also see the parameters in ~gnus-select-method~.
+#+begin_src emacs-lisp
+(setq nnmail-split-methods 'nnimap-split-fancy)
+
+(setq nnmail-cache-accepted-message-ids t)
+(setq nnmail-message-id-cache-length 10000)
+#+end_src
Load only groups with level < 2 for faster startup.
#+begin_src emacs-lisp