dot/emacs: Use working `bbdb-extract-address-components-func'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 13 Apr 2016 16:19:33 +0000 (17:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 13 Apr 2016 16:19:33 +0000 (17:19 +0100)
The default, based on `mail-extract-address-components', is remarkably
bad: it mangles the user names in a really unpleasant way.  For some
reason, the working version isn't the default; use it anyway.

dot/emacs

index 40280de..3633219 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
     (trap (bbdb-initialize 'gnus 'sendmail 'message)))
 (setq bbdb-file "~/etc/brain/bbdb"
       bbdb-north-american-phone-numbers-p nil
+      bbdb-extract-address-components-func 'bbdb-extract-address-components
       bbdb/news-auto-create-p
       (lambda ()
        (let ((group gnus-newsgroup-name))