From 1b959ae319cce672c942cf33558a87dd835355ea Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 1 Jan 2023 22:07:57 -0500 Subject: [PATCH] Remove gnus-alias config; it didn't seem to be helping --- .emacs.d/init.el | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0c53212..6ae0f78 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -910,32 +910,6 @@ ("k" . previous-line) ("N" . nm-sticky-tag-and-next)) :config - (use-package gnus-alias :ensure :demand - :hook (message-mode . gnus-alias-init) - :config - (defun ga-id (alias &rest args) - (list alias - (plist-get args :refers-to) - (plist-get args :from) - (plist-get args :organization) - (plist-get args :extra-headers) - (plist-get args :body) - (plist-get args :signature))) - (setq - gnus-alias-identity-alist - (list - (ga-id "main" :from "Adam Goldsmith ") - (ga-id "kc1gdw" :from "Adam Goldsmith ") - (ga-id "cms" :from "Adam Goldsmith ") - (ga-id "wpi" :from "Adam Goldsmith ") - (ga-id "gmail" :from "Adam Goldsmith "))) - (setq - gnus-alias-identity-rules - '(("tsrc" ("any" "tsrc\\@tsrc\\.groups\\.io" both) "kc1gdw") - ("kc1gdw" ("any" "kc1gdw\\@adamgoldsmith\\.name" both) "kc1gdw") - ("cms" ("any" "adam\\@claremontmakerspace\\.org" both) "cms") - ("WPI" ("any" ".*\\@wpi\\.edu" both) "wpi"))) - (setq gnus-alias-default-identity "main")) (defun nm-tag-and-next (tags) "Apply some changes to a message, then move to the next line"