Hi,
>> What would be wonderful would be to combine the two, i.e. first
>> determine if the message is from me or from somebody else like %f does,
>> and then once the correct address for display is chosen, look it up in
>> the db like %uB does.
>
> I am sorry, in BBDB v3 there is currently nothing beyond
> bbdb-mua-summary-unify and the customization that goes with it.
> You need to extend gnus-user-format-function-B defined in
> bbdb-insinuate-gnus. The code should be sufficiently modular for
> that.
Actually I went the other way, like this:
(defun gnus-user-format-function-f (header)
(flet ((gnus-summary-extract-address-component
(x) (bbdb-mua-summary-unify x)))
(gnus-summary-from-or-to-or-newsgroups
gnus-tmp-header gnus-tmp-from)))
It doesn't put the To: field through bbdb because of an 'inline' in the
gnus function, but that's basically fine, that field is generated from
the bbdb anyway most of the time.
Now I understand why lisp was a good choice :-)
Cheers,
/v
--
Vincent Beffara
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
[email protected]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/