Hi folks, seasons greetings and so forth. I've spent most of the day working on bbdb-complete-name, and I think I've managed to make some significant improvements:
* If there are multiple possible records for an expansion, you will get a *Completions* buffer to choose completions for. This includes the case where you've got duplicate records. This even works if you've got /identical/ duplicate records. The only thing that this is presently missing is the threshold variable that controls whether you get the full dwim-expanded completion to choose from, or just the shorter match-string. I'm unsure of the benefit of this feature, but since the code is there, I guess I'd better make sure it works... * If there are multiple completions to a single record, you get the primary OR best-match email address, which you can cycle through if you've enabled cycling * Cycling works at any point, including if you've typed the completion in by hand (i.e. I can type Ronan Waide <[EMAIL PROTECTED]> and then cycle the addresses on that) * The code is smaller - I've consolidated at least three different completion sections - and more commented, so it should be easier to work with in future. There's still one section that could probably do with some trimming - the branch of the cond where there is exactly one completion (i.e. you've found what you're looking for) I've tested with bbdb-completion-type set to nil, and with bbdb-completion-type set to 'name, which I think smoked out most if not all bugs. I'll finish testing it tomorrow evening, but if anyone finds anything in the meantime, please let me know. Also, if this cures the problems you've been having with completion order, let me know. With luck I'll find enough time in the next week - in between the Euro rollout stuff I'm working on - to squeeze out BBDB 2.34; fixing bbdb-complete-name properly is my one major goal for that release (other bugfixes and feature additions aside). So, feedback appreciated. Cheers, Waider. And a ho ho ho to you too! -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. Any sufficiently advanced bureaucracy is indistinguishible from chaos. _______________________________________________ [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/