chiark / gitweb /
dot/emacs: Squish Debbugs-style email addresses to the submission address.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 21 Mar 2016 11:42:24 +0000 (11:42 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 21 Mar 2016 11:42:24 +0000 (11:42 +0000)
dot/emacs

index d6b437063228abcaed1adf69c4907b6f08542502..0ec4931fe8f2e17d1ab276006f5b7475209928b5 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
                                     "@\\(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.