On Tue Apr 16 2013 Vincent Beffara wrote:
> For some reason this reply wont go through to the mailing list ... Maybe
> it will eventually and there will be 2 copies, sorry if that happens!
> 
> >> Is there a way to combine BBDB with the functionality of %f in summary
> >> buffers (displaying the recipient if the mail is from me, with a nice
> >> "-> " in front) ?
> >
> > What is BBDB supposed to contribute here? I do not understand what
> > you want to achieve.
> 
> Sorry for not being clear, let me provide some context here. In Gnus,
> summary buffers provide a list of messages in a given mailbox/feed and
> this is of course customizable. Typically, you would put the date, the
> subject, and the author of the message. But for your own messages, it is
> much more convenient to display the recipient instead, with some
> graphical indication that this is what is shown. Typically, this would
> be done by prefixing something like "-> " to the displayed name.
> 
> This is all done automatically by Gnus, the %f formatting code does
> exactly this, using a regexp match (gnus-ignored-from-addresses) to the
> From: field to determine whether you are the author.
> 
> OTOH, Gnus only uses information contained in the message. If the From:
> field contains no full name, for instance, the email address is
> displayed instead. This is where BBDB can help, by looking up the
> address and replacing it with the full name from the db - looks much
> neater this way. This is achieved by the %uB code. In addition, one gets
> an indicator of whether the author is in the db or not, typically a '+'
> in front of the name.
> 
> 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.

Roland

------------------------------------------------------------------------------
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
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to