When searching for an email address, typically one enters the userid and
expects bbdb to do a string match to find the full address.  But if I'm
searching for the email address "ian", I don't want bbdb to return
"[EMAIL PROTECTED]" and "[EMAIL PROTECTED]".   

This patch "fixes" that problem.

Index: bbdb-com.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb-com.el,v
retrieving revision 1.107
diff -c -C0 -r1.107 bbdb-com.el
*** bbdb-com.el 2001/04/16 11:33:08     1.107
--- bbdb-com.el 2001/05/10 18:41:15
***************
*** 115 ****
!                           (setq done (string-match (, net) (car rest-of-nets))
--- 115 ----
!                           (setq done (string-match (concat "^" (, net)) (car 
rest-of-nets))


_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to