emacs: gnus: add ~sircmpwn/free-writers-club list
[~bandali/configs] / .emacs.d / init.el
index 371a9a3..8d4dfda 100644 (file)
@@ -1,6 +1,6 @@
 ;;; init.el --- Amin Bandali's Emacs config -*- lexical-binding: t -*-
 
-;; Copyright (C) 2018-2019  Amin Bandali <mab@gnu.org>
+;; Copyright (C) 2018-2019  Amin Bandali <bandali@gnu.org>
 
 ;; This program is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -74,7 +74,7 @@
 ;;; whoami
 
 (setq user-full-name "Amin Bandali"
-      user-mail-address "mab@shemshak.org")
+      user-mail-address "amin@shemshak.org")
 
 \f
 ;;; comment macro
@@ -1680,7 +1680,7 @@ For disabling the behaviour for certain buffers and/or modes."
             (nnimap-address "127.0.0.1")
             (nnimap-server-port 143)
             (nnimap-authenticator plain)
-            (nnimap-user "mab@shemshak.local"))
+            (nnimap-user "amin@shemshak.local"))
      (nnimap "gnu"
             (nnimap-stream plain)
             (nnimap-address "127.0.0.1")
@@ -1719,11 +1719,13 @@ For disabling the behaviour for certain buffers and/or modes."
                                  (list ".*haskell-art.we.lurk.org" "l.haskell.art")
                                  (list ".*haskell-cafe.haskell.org" "l.haskell.cafe")
                                  ;; other
+                                 (list ".*atreus.freelists.org" "l.atreus")
                                  (list ".*deepspec.lists.cs.princeton.edu" "l.deepspec")
                                  (list ".*notmuch.notmuchmail.org" "l.notmuch")
                                  (list ".*dev.lists.parabola.nu" "l.parabola.dev")
                                  ;; *@lists.sr.ht
                                  (list ".*~bandali/public-inbox@lists.sr.ht" "l.~bandali.public-inbox")
+                                 (list ".*~sircmpwn/free-writers-club@lists.sr.ht" "l.~sircmpwn.free-writers-club")
                                  (list ".*~sircmpwn/sr.ht-admins@lists.sr.ht" "l.~sircmpwn.srht.admins")
                                  (list ".*~sircmpwn/sr.ht-announce@lists.sr.ht" "l.~sircmpwn.srht.announce")
                                  (list ".*~sircmpwn/sr.ht-dev@lists.sr.ht" "l.~sircmpwn.srht.dev")
@@ -1752,7 +1754,10 @@ For disabling the behaviour for certain buffers and/or modes."
              (nnimap-user "abandali@csc.uw.local")))
    gnus-message-archive-group "nnimap+shemshak:Sent"
    gnus-parameters
-   '(("l\\.deepspec"
+   '(("l\\.atreus"
+      (to-address . "atreus@freelists.org")
+      (to-list    . "atreus@freelists.org"))
+     ("l\\.deepspec"
       (to-address . "deepspec@lists.cs.princeton.edu")
       (to-list    . "deepspec@lists.cs.princeton.edu")
       (list-identifier . "\\[deepspec\\]"))
@@ -1840,6 +1845,9 @@ For disabling the behaviour for certain buffers and/or modes."
      ("l\\.~bandali\\.public-inbox"
       (to-address . "~bandali/public-inbox@lists.sr.ht")
       (to-list    . "~bandali/public-inbox@lists.sr.ht"))
+     ("l\\.~sircmpwn\\.free-writers-club"
+      (to-address . "~sircmpwn/free-writers-club@lists.sr.ht")
+      (to-list    . "~sircmpwn/free-writers-club@lists.sr.ht"))
      ("l\\.~sircmpwn\\.srht\\.admins"
       (to-address . "~sircmpwn/sr.ht-admins@lists.sr.ht")
       (to-list    . "~sircmpwn/sr.ht-admins@lists.sr.ht"))
@@ -1926,23 +1934,23 @@ For disabling the behaviour for certain buffers and/or modes."
   (defvar mab/signature "Amin Bandali
 Free Software Activist | GNU Webmaster & Volunteer
 GPG: BE62 7373 8E61 6D6D 1B3A  08E8 A21A 0202 4881 6103
-https://shemshak.org/~mab")
+https://shemshak.org/~amin")
   (defvar mab/uw-signature "Amin Bandali, MMath Student
 Cheriton School of Computer Science
 University of Waterloo
-https://shemshak.org/~mab")
+https://shemshak.org/~amin")
   (defvar mab/csc-signature "Amin Bandali
 Termcom, Computer Science Club
 University of Waterloo
-https://shemshak.org/~mab")
+https://shemshak.org/~amin")
   (setq gnus-posting-styles
         '((".*"
-           (address "mab@shemshak.org")
+           (address "amin@shemshak.org")
            (body "\nBest,\n")
            (signature mab/signature)
            (eval (setq mab/message-cite-say-hi t)))
           ("nnimap\\+gnu:.*"
-           (address "mab@gnu.org")
+           (address "bandali@gnu.org")
            (organization "GNU Project")
            (eval (set (make-local-variable 'message-user-fqdn) "fencepost.gnu.org")))
           ((header "subject" "ThankCRM")
@@ -2030,7 +2038,7 @@ https://shemshak.org/~mab")
         message-subscribed-address-functions
         '(gnus-find-subscribed-addresses)
         message-dont-reply-to-names
-        "\\(\\(\\(mab\\|amin\\)@shemshak\\.org\\)\\|\\(amin@bndl\\.org\\)\\|\\(.*@aminb\\.org\\)\\|\\(\\(mab\\|bandali\\|aminb?\\)@gnu\\.org\\)\\|\\(a\\(min\\.\\)?bandali@uwaterloo\\.ca\\)\\|\\(abandali@csclub\\.uwaterloo\\.ca\\)\\)")
+        "\\(\\(\\(amin\\|mab\\)@shemshak\\.org\\)\\|\\(amin@bndl\\.org\\)\\|\\(.*@aminb\\.org\\)\\|\\(\\(bandali\\|mab\\|aminb?\\)@gnu\\.org\\)\\|\\(a\\(min\\.\\)?bandali@uwaterloo\\.ca\\)\\|\\(abandali@csclub\\.uwaterloo\\.ca\\)\\)")
   (require 'company-ebdb)
   :hook (;; (message-setup . mml-secure-message-sign-pgpmime)
          (message-mode . flyspell-mode)
@@ -2198,7 +2206,7 @@ https://shemshak.org/~mab")
   :after erc)
 
 (use-package znc
-  :straight (:host nil :repo "https://git.shemshak.org/mab/znc.el")
+  :straight (:host nil :repo "https://git.shemshak.org/amin/znc.el")
   :bind (("C-c a e e" . znc-erc)
          ("C-c a e a" . znc-all))
   :config
@@ -2208,11 +2216,11 @@ https://shemshak.org/~mab")
                 (t (funcall (plist-get (car auth) :secret)))))))
     (setq znc-servers
           `(("znc.shemshak.org" 1337 t
-             ((freenode "mab/freenode" ,pwd)))
+             ((freenode "amin/freenode" ,pwd)))
             ("znc.shemshak.org" 1337 t
-             ((moznet "mab/moznet" ,pwd)))
+             ((moznet "amin/moznet" ,pwd)))
             ("znc.shemshak.org" 1337 t
-             ((oftc "mab/oftc" ,pwd)))))))
+             ((oftc "amin/oftc" ,pwd)))))))
 
 \f
 ;;; Post initialization