emacs: update packages and add pass
[~bandali/configs] / .emacs.d / init.el
index e029be7..535e7c5 100644 (file)
@@ -1631,6 +1631,11 @@ For disabling the behaviour for certain buffers and/or modes."
    ("s-K" . windmove-swap-states-up)
    ("s-L" . windmove-swap-states-right)))
 
+(use-package pass
+  :commands pass
+  :bind ("C-c a p" . pass)
+  :hook (pass-mode . View-exit))
+
 \f
 ;;; Email (with Gnus)
 
@@ -1897,19 +1902,24 @@ For disabling the behaviour for certain buffers and/or modes."
 
 (use-feature gnus-msg
   :config
+  (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/~amin/")
   (defvar mab/uw-signature "Amin Bandali, MMath Student
 Cheriton School of Computer Science
 University of Waterloo
-https://shemshak.org/~amin")
+https://shemshak.org/~amin/")
   (defvar mab/csc-signature "Amin Bandali
 Termcom, Computer Science Club
 University of Waterloo
-https://shemshak.org/~amin")
+https://shemshak.org/~amin/")
   (setq gnus-posting-styles
         '((".*"
            (address "amin@shemshak.org")
            (body "\nBest,\n")
-           (eval (setq a/message-cite-say-hi t)))
+           (signature mab/signature)
+           (eval (setq mab/message-cite-say-hi t)))
           ("nnimap\\+gnu:.*"
            (address "mab@gnu.org")
            (organization "GNU Project")