"Mark Warren 415-506-4639" ([EMAIL PROTECTED]) on October 04:
Does anyone have code for bbdb that would try to extract information
from peoples' signatures? Seems like this would be a real boon.
I would like to be able to update/create a bbdb record by fingering a
person's account. I am
Cengiz Alaettinoglu wrote:
P.S. IMHO, I think bbdb is missing a lisp function when passed an
alist like ((name . "Foo") (net . "foo@bar") ...) would create/update
the corresponding bbdb record.
That's what bbdb-create-internal is for.
Jamie Zawinski ([EMAIL PROTECTED]) on October 4:
Cengiz Alaettinoglu wrote:
P.S. IMHO, I think bbdb is missing a lisp function when passed an
alist like ((name . "Foo") (net . "foo@bar") ...) would create/update
the corresponding bbdb record.
That's what bbdb-create-internal is for.
Cengiz Alaettinoglu wrote:
It does not update the record if the record is in the database,
instead it signals an error.
Use bbdb-search-simple to see if the record is there; use bbdb-record-putprop
to change the non-builtin slots. Other than that, all you've got to work with
is
Jamie Zawinski ([EMAIL PROTECTED]) on October 4:
Use bbdb-search-simple to see if the record is there; use bbdb-record-putprop
to change the non-builtin slots. Other than that, all you've got to work with
is bbdb-record-edit-field-internal. But if you're down at that level, you'd
better
Cengiz Alaettinoglu wrote:
Thank you. I assume I would be safe (i.e. would not corrupt my
database) if I avoid updating the name and the net fields. Is this
right?
Yes, but if you use anything more primitive than I mentioned, then you have to
worry about keeping the in-memory data