Re: Wanderlust and EBDB integration

Kazuhiro Ito <[email protected]>
Newsgroups gmane.mail.wanderlust.general.japanese
Message-ID <[email protected]>
Hi,

> The one thing I'm missing is a couple of functions for extracting the
> message body and message signature of the message currently being
> viewed. This is for the purpose of extracting contact information from
> the text: ie, if someone emails you someone else's name and email
> address, EBDB should be able to extract that automatically from the
> message and create a new contact.
> 
> The functions need to start in the summary buffer (`wl-summary-mode'),
> and do a save-excursion down to the message itself. One function returns
> the body of the message as a string, the other function returns the
> signature as a string.
> 
> Fifteen minutes with the WL codebase didn't reveal a succinct solution
> for this, can anyone point me in the right direction?

Unlike bbdb-wl.el bundled with BBDB 3.x, bbdb-wl.el for BBDB 2.x
(bundled with Wanderlut) and lsdb.el extract header field values from
original message buffer.  You can get message body with the same
approach, but you need to parse and decode it by yourself.

> Right now I've provided the
> option to override the TAB key to call `ebdb-complete-mail' instead of
> WL's own functions, but if there's a more graceful way of integrating
> EBDB mail completion, I would love to know about it.

Wanderlust does not assume user defined address completing function,
so you need to override keymap or function like other analogous
softwares.

-- 
Kazuhiro Ito
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.