girzel / ebdb

An EIEIO port of BBDB, Emacs' contact-management package
67 stars 11 forks source link

A question about merge record #31

Closed tumashu closed 7 years ago

tumashu commented 7 years ago

When two record have same name, but it is not same person, How to deal with record merge?

girzel commented 7 years ago

Each record has a UUID, this is the only field that is considered when merging.

This means that, when you have have multiple databases, you can have one record saved to more than one database. At load time they will be automatically merged. I don't have much confidence in this process yet, though I've been using it for a while -- I haven't really stress-tested it yet.

tumashu commented 7 years ago

How to generate UUID?

girzel commented 7 years ago

You don't! It happens automatically when you add a record to a database. But ebdb-make-uuid will make one. Customize ebdb-uuid-function to change how that works.

tumashu commented 7 years ago

OK

girzel commented 7 years ago

Hit "T" on a record in the EBDB buffer to see the UUID. Also see ebdb-record-self.

Otherwise, I'll close this...

tumashu commented 7 years ago

OK