dot/gnus-local.el.distorted: Move select methods after split rules.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 15 Apr 2020 16:48:27 +0000 (17:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 15 Apr 2020 17:07:34 +0000 (18:07 +0100)
There's going to be a data dependency here.

dot/gnus-local.el.distorted

index 39a90b9..74039bc 100644 (file)
             (nntp-authinfo-generic "md5cookie1way mdw")))
 
 ;;;--------------------------------------------------------------------------
-;;; Where we get mail from.
-
-;; Read mail on the IMAP server.
-(setq gnus-secondary-select-methods
-      '((nnimap "distorted"
-               (nnimap-address "mail.distorted.org.uk")
-               (nnimap-stream starttls)
-               (nnimap-inbox "INBOX")
-               (nnimap-unsplittable-articles (%Deleted)))
-       (nnimap "markw-distorted"
-               (nnimap-address "mail.distorted.org.uk")
-               (nnimap-stream starttls)
-               (nnimap-inbox "INBOX")
-               (nnimap-unsplittable-articles (%Deleted)))
-       (nnimap "mwooding-chiark"
-               (nnimap-address "imap.dovecot.chiark.greenend.org.uk")
-               (nnimap-stream starttls)
-               (starttls-extra-arguments ("--insecure"))
-               (nnimap-inbox "INBOX")
-               (nnimap-unsplittable-articles (%Deleted)))
-       (nnimap "google"
-               (nnimap-address "imap.gmail.com")
-               (nnimap-stream tls)
-               (nnimap-inbox "INBOX")
-               (nnimap-unsplittable-articles (%Deleted)))))
-
-;; Send sent mail back to me.
-(setq gnus-message-archive-method "mail"
-      gnus-gcc-mark-as-read t
-      gnus-message-archive-group "nnimap+distorted:mail.sent")
-
-;;;--------------------------------------------------------------------------
 ;;; Mail group configuration.
 
 ;; General splitting configuration.
          "mail.misc")
       nnimap-split-fancy nnmail-split-fancy)
 
+;;;--------------------------------------------------------------------------
+;;; Where we get mail from.
+
+;; Read mail on the IMAP server.
+(setq gnus-secondary-select-methods
+      '((nnimap "distorted"
+               (nnimap-address "mail.distorted.org.uk")
+               (nnimap-stream starttls)
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))
+       (nnimap "markw-distorted"
+               (nnimap-address "mail.distorted.org.uk")
+               (nnimap-stream starttls)
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))
+       (nnimap "mwooding-chiark"
+               (nnimap-address "imap.dovecot.chiark.greenend.org.uk")
+               (nnimap-stream starttls)
+               (starttls-extra-arguments ("--insecure"))
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))
+       (nnimap "google"
+               (nnimap-address "imap.gmail.com")
+               (nnimap-stream tls)
+               (nnimap-inbox "INBOX")
+               (nnimap-unsplittable-articles (%Deleted)))))
+
+;; Send sent mail back to me.
+(setq gnus-message-archive-method "mail"
+      gnus-gcc-mark-as-read t
+      gnus-message-archive-group "nnimap+distorted:mail.sent")
+
 ;;;----- That's all, folks --------------------------------------------------