Re: bbdb being too inquisitive

<[email protected]> Thu, 6 Jun 2019 15:52:26 +1000
Newsgroups gmane.emacs.bbdb.user
Message-ID <[email protected]>
For your information, I have figured out what happened and thought people might
be interested.

At the first invocation of bbdb-complete-mail, bbdbv3 starts to give me a long
list of warnings about duplicate entries e.g.

Duplicate BBDB record encountered: zoe

These go on for some minutes and then stop.

If I ctrl-g out of this listing process then bbdb-complete-mail no longer
works. But if I patiently wait for five minutes until it has completed listing
all the things that are wrong with my current .bbdb file then bbdb-complete-mail
works.

Setting bbdb-allow-duplicates to t tells bbdb3 to not give such warnings.

So my completion is now working, but now I just have to work through my .bbdb
file to get rid of duplicates :(

best wishes,
raj


On 6 June 2019 [email protected] ([email protected]) writes:
> 
> Please ignore my previous email, bbdb has made a liar out of me but I don't know
> how I managed to get completion to work, but that is almost certainly because I
> am being an idiot.
> 
> apologies for noise,
> raj
> 
> On 6 June 2019 [email protected] ([email protected]) writes:
> > 
> > Hi Roland,
> > 
> > I have upgraded to bbdb3 and am cleaning up my various customisation files but I
> > am not able to get bbdb-complete-mail to work (it used to work with the older
> > version of bbdb that I had).
> > 
> > Just to check bbdb-version gives me this:
> > BBDB version 3.1.2 (2015-10-28 17:19:27+00:00)
> > 
> > If I look inside my .bbdb I can find the following entry:
> > 
> > ["Roland" "Winkler" nil nil nil nil nil ("[email protected]") ((creation-date. "2019-06-04") (timestamp . "2019-06-04")) nil]
> > 
> > I fire up a composition buffer and type "winker" in the To field, ensure that
> > point is after "winkler" and then try to execute bbdb-complete-mail and it just
> > does nothing! No error but not completion either.
> > 
> > I read the manual a bit and so checked the value of the following variable:
> > 
> > bbdb-completion-list is a variable defined in `bbdb.el'.
> > Its value is t
> > 
> > The beginning of my cutomisation file contains these lines:
> > 
> > (require 'bbdb)
> > (bbdb-initialize 'vm) 
> > (setq bbdb-file "~/.bbdb")
> > (load-library "bbdb-spam.el")
> > (require 'bbdb-com)
> > 
> > So I am assuming that vm knows that my .bbdb file lives in ~/.bbdb
> > 
> > I am now stumped. Any help appreciated.
> > 
> > thanks,
> > raj
> > 
> > 
> > 

-- 
Rajeev Gore'             
Professor, Logic and Computation Group, and
Associate Director of Research,
Research School of Computer Science
ANU College of Engineering and Computer Science
The Australian National University
Canberra ACT 2601
Tel:   +61-2-61 25 86 03 
Fax:   +61-2-61 25 86 51  
Email: [email protected]
Web:   http://arp.anu.edu.au/~rpg
ANU CRICOS Provider Number - 00120C