Re: Moving BBDB to Emacs core

Thomas Fitzsimmons <[email protected]>
Newsgroups gmane.emacs.bbdb.user
Message-ID <[email protected]>
Hi Roland,

"Roland Winkler" <[email protected]> writes:

[...]

> I noticed that the function eudc-bbdb-query-internal contains a
> comment complaining that bbdb-search ORs its query attributes while
> EUDC ANDs them.  Introducing uuids to BBDB required a change of the
> BBDB record structure that collided with the rather inflexible
> calling sequence of bbdb-search.  So I introduced a more robust
> calling sequence for bbdb-search that also allows one to choose OR
> or AND when combining search attributes.  (The old calling sequence
> is still supported but raises a warning.)
>
> So bbdb-search was another nuisance in the BBDB API, which hopefully
> is removed now.  Are there others?

[...]

> Otherwise, I agree with you that it will be nice to have at least
> the core of BBDB in Emacs itself (not in Elpa) so that other
> packages can interact with it.
>
> Coments welcome.

I've pushed a branch, scratch/eudc-bbdb-3, to emacs.git.  It includes
all of BBDB as it is currently in GNU ELPA, in the core of Emacs.  It
enables the EUDC BBDB backend by default.  Everything builds, with just
a few warnings in BBDB that I think you're addressing.

The integration is such that EUDC completions work "out of the box",
with no configuration, which was my motivation for putting BBDB into
Emacs.  I think the same will be possible for Org, Gnus and ERC, so that
BBDB provides the default "local personal information manager" for
Emacs.

The test I'm doing is bbdb-snarf of an email address then,
eudc-expand-inline the same address.  The completion works, but issues
the "Outdated usage of `bbdb-search'" message.  I'll look at updating
that usage next.

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.