~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df38b85
)
dot/emacs: Squash away `blah+...@some.domain' suffixes for BBDB.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 24 Mar 2016 11:06:41 +0000
(11:06 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 25 Mar 2016 13:02:10 +0000
(13:02 +0000)
Some people have far too many suffixes.
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index
fe857bc
..
31cfd15
100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-213,6
+213,8
@@
"\\)")
addr)
(concat "submit@bugs." (match-string 1 addr)))
+ ((string-match "^\\([^@+]+\\)\\+[^@]*\\(@.*\\)$" addr)
+ (concat (match-string 1 addr) (match-string 2 addr)))
(t addr))))
;; Customization.