On Mon Apr 11 2011 Leo wrote:
> I am migrating my bbdb setup from 2.3x to 3.x today. I have noticed that
> 
>   (bbdb-initialize 'gnus 'message)
> 
> alone does not initialise bbdb-hashtable and thus there is no completion
> in muas such as gnus or message unless I M-x bbdb once.

As far as I can tell, the code was always such that initialization
of bbdb never reads in the database. This only happened if some
command tries to use the content of the database.

Yet I think that now I understand the problem. Internally, reading
the database is triggered by a call of bbdb-records, which was
missing in bbdb-complete-name. I have fixed this. 
(As far as I can tell, this bug must have been present in the old
bbdb, too; that is, something else in your initialization code must
have triggered the reading of the database at an early stage, so
that you did not notice this bug. In any case, this is hopefully
fixed by now.)

There might be other commands lacking such a call of bbdb-records.
Bug reports welcome.


2011-04-11  Roland Winkler  <wink...@gnu.org>
        * lisp/bbdb-com.el (bbdb-complete-mail): Ensure initialization of
        the database.

BBDB is avaiable at
http://git.savannah.nongnu.org/cgit/bbdb.git
To check it out, use
git clone git://git.savannah.nongnu.org/bbdb.git

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to