From: Mark Wooding Date: Mon, 21 Mar 2016 11:42:24 +0000 (+0000) Subject: dot/emacs: Squish Debbugs-style email addresses to the submission address. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/11faf2c589af5c8c114dc5b1d627927173fb8224?ds=sidebyside dot/emacs: Squish Debbugs-style email addresses to the submission address. --- diff --git a/dot/emacs b/dot/emacs index d6b4370..0ec4931 100644 --- a/dot/emacs +++ b/dot/emacs @@ -207,6 +207,12 @@ "@\\(nationwide-communications\\.co\\.uk\\)") addr) (concat "nationwide@" (match-string 1 addr))) + ((string-match (concat "^[0-9]+@bugs\\." + "\\(" "debian\\.org" + "\\|" "distorted\\.org\\.uk" + "\\)") + addr) + (concat "submit@bugs." (match-string 1 addr))) (t addr)))) ;; Customization.