From 11faf2c589af5c8c114dc5b1d627927173fb8224 Mon Sep 17 00:00:00 2001 Message-Id: <11faf2c589af5c8c114dc5b1d627927173fb8224.1718351450.git.mdw@distorted.org.uk> From: Mark Wooding Date: Mon, 21 Mar 2016 11:42:24 +0000 Subject: [PATCH] dot/emacs: Squish Debbugs-style email addresses to the submission address. Organization: Straylight/Edgeware From: Mark Wooding --- dot/emacs | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- [mdw]