diff options
author | jao <jao@gnu.org> | 2021-11-09 02:12:25 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-11-09 02:12:25 +0000 |
commit | 1f53608d125ce6a257e43188a4c315183a3a20b5 (patch) | |
tree | c72fb9f2200bccd8907d51ceb14c6f7db4113e62 | |
parent | 5ad6c5c86f4281b2bee7cbecb8714df8d2afdd22 (diff) | |
download | elibs-1f53608d125ce6a257e43188a4c315183a3a20b5.tar.gz elibs-1f53608d125ce6a257e43188a4c315183a3a20b5.tar.bz2 |
gnus: (fancy) splitting in the face of mail-source(s)
-rw-r--r-- | gnus.org | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -185,7 +185,7 @@ nnmail-use-long-file-names t nnmail-crosspost t) - (setq nnmail-resplit-incoming nil + (setq nnmail-resplit-incoming t nnmail-mail-splitting-decodes t nnmail-split-methods 'nnmail-split-fancy) @@ -202,6 +202,11 @@ (mail-source . (maildir :path ,f))) t))) + (defvar jao-gnus-split-on-mail-source + '("X-Gnus-Mail-Source" + "maildir:.+/var/mail/\\([^/]+\\)/\\([^/]+\\).*" + "\\1.\\2")) + #+end_src *** maildirs #+begin_src emacs-lisp |