>>>>> "RW" == Ronan Waide <[EMAIL PROTECTED]> writes:

RW> [developer question, stop here if you're not familiar with bbdb
RW> internals!]  Anyone know offhand what I break by taking the
RW> company name out of BBDB's hashtable? 

    Well, I ran into this when doing the 'duplicate-record' stuff.
The hash table is also used to drive completion on bbdb-display.  So I
can do bbdb-display 'east<tab>' have it complete to Eastman Kodak.
Hit return and get a list of all people in bbdb that work at Eastman
Kodak.

RW> I can find one instance of setting it, and get-hash calls that
RW> read it are only used to tell you you've got a duplicate - which
RW> is wrong; A user named "Foo" and someone belonging to company
RW> "Foo" are two distinct things. 

    So you actually have someone with the same _complete_ name as a
Company?  Weird! :)

RW> The reason I ask is that it's currently causing BBDB to display
RW> the wrong record for me. It also seems to be the Wrong Thing in
RW> that many records can have a company name, but only one will
RW> actually end up in the hashtable, so there's no real practical use
RW> for it other than to say "do we have this company?".

    This used to be the case when the hashtable only stored one record
(before the duplicate record patch), now it stores a list, so the
company name hash entry contains all the records who work for that
company, I personally would consider this useful.  I must admit I
don't use it alot, but I have used it.


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

Reply via email to