emacs: add signatures for my gnu, uw, and csc addresses
authorAmin Bandali <bandali@gnu.org>
Sat, 18 May 2019 15:42:28 +0000 (11:42 -0400)
committerAmin Bandali <bandali@gnu.org>
Sat, 18 May 2019 21:52:10 +0000 (17:52 -0400)
.emacs.d/init.el

index 18c38fb..e52cb9b 100644 (file)
@@ -1672,6 +1672,15 @@ For disabling the behaviour for certain buffers and/or modes."
 
 (use-feature gnus-msg
   :config
+  (defvar a/gnu-signature "Amin Bandali | GNU Webmaster
+https://bandali.eu.org | https://gnu.org
+GPG Key: BE62 7373 8E61 6D6D 1B3A  08E8 A21A 0202 4881 6103")
+  (defvar a/uw-signature "Amin Bandali, MMath Student
+Cheriton School of Computer Science
+University of Waterloo
+https://bandali.eu.org")
+  (defvar a/csc-signature "Amin Bandali | Termcom, CSC
+https://csclub.uwaterloo.ca/~abandali/")
   (setq gnus-posting-styles
         '((".*"
            (address "amin@bndl.org")
@@ -1679,17 +1688,20 @@ For disabling the behaviour for certain buffers and/or modes."
            (eval (setq a/message-cite-say-hi t)))
           ("gnu.*"
            (address "bandali@gnu.org")
+           (signature a/gnu-signature)
            (eval (set (make-local-variable 'message-user-fqdn) "fencepost.gnu.org")))
           ((header "subject" "ThankCRM")
            (to "webmasters-comment@gnu.org")
            (body "Added  to 2019supporters.html.\n\nMoving to campaigns.\n\n-amin\n")
            (eval (setq a/message-cite-say-hi nil)))
           ("nnimap\\+uw:.*"
-           (address "abandali@uwaterloo.ca"))
+           (address "abandali@uwaterloo.ca")
+           (signature a/uw-signature))
           ("nnimap\\+uw:INBOX"
            (gcc "\"nnimap+uw:Sent Items\""))
           ("nnimap\\+csc:.*"
            (address "abandali@csclub.uwaterloo.ca")
+           (signature a/csc-signature)
            (gcc "nnimap+csc:Sent")))))
 
 (use-feature gnus-topic