On Thu Feb 10 2011 Stefan Monnier wrote: > Since BBDB3 only works on Emacs 23, its completion could use > completion-at-point-functions and/or completion-in-region.
I looked into completion-in-region. Here the problem is that the completion done by bbdb-complete-name is not a comventional completion. If you type a name appearing in a BBDB record, bbdb-complete-name replaces this name by the email address for this record. Yet the name and the email address can be completely different. I have not yet looked into completion-at-point-functions whether it can handle this kind of unusual behavior. > > In any event, a simple "t" after (run-hooks 'bbdb-complete-mail-hook) > > does the trick, but it probably needs to be changed in some other > > places. > > Note also that I've already installed a hack in message.el (at least in > Emacs's trunk) that checks that the buffer really was not modified > before trusting a nil return value from bbdb, to work around > the problem. Thanks, that's good. Anyway, it might take more time till people might switch to BBDB 3 and the problem exists both with the old and the current BBDB. Roland ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/