Following recent discussions with Sriram on this list, the patch below tries to avoid more carefully that text properties accidentally enter BBDB.
If users have their own code to feed BBDB, it is, however, their responsibility to ensure that text properties do not accidentally enter BBDB. 2013-02-02 Roland Winkler <wink...@gnu.org> * lisp/bbdb.el (bbdb-mail-user-agent): Use non-nil default taken from mail-user-agent. (bbdb-lastname-re, bbdb-lastname-suffix-re): New user variables. (bbdb-divide-name): Use them. Pass first and last name through bbdb-string-trim. * lisp/bbdb-mua.el (bbdb-canonicalize-mail): Always pass mail through bbdb-string-trim. (bbdb-canonicalize-mail-1): Always pass mail through bbdb-string-trim. (bbdb-canonical-hosts): Use regxp-opt instead of regexp-quote. (bbdb-message-clean-name-default): Re-arrange clean-up steps. Use substring-no-properties. BBDB is available at http://savannah.nongnu.org/projects/bbdb/ To check it out, use git clone git://git.savannah.nongnu.org/bbdb.git ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/