diff options
author | fpi | 2020-05-09 13:36:19 +0200 |
---|---|---|
committer | fpi | 2020-05-09 13:50:06 +0200 |
commit | 6f0bcb50ae1e022651f909b758a1c26c0ad4feda (patch) | |
tree | 411d159b4c0fd176132399b7b6956e3a4d06d314 | |
parent | Disable accidental topic indentation with TAB (diff) |
Setup fancy imap mail splitting
-rw-r--r-- | emacs-private.el.gpg | bin | 1030 -> 1043 bytes | |||
-rw-r--r-- | gnus.org | 25 |
2 files changed, 20 insertions, 5 deletions
diff --git a/emacs-private.el.gpg b/emacs-private.el.gpg Binary files differindex 6b46930..4b638e1 100644 --- a/emacs-private.el.gpg +++ b/emacs-private.el.gpg @@ -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 |