Re: To-From-Newsgroup and BBDB

2013-04-18 Thread Roland Winkler
On Wed Apr 17 2013 Vincent Beffara wrote: Finally flet is deprecated, and the suggested replacement cl-flet does lexical rather than dynamical meaning that it cannot do what I want. For the public code of BBDB I have avoided cl completely. But for your personal customization that's fine as

Re: To-From-Newsgroup and BBDB

2013-04-17 Thread Vincent Beffara
(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

Re: To-From-Newsgroup and BBDB

2013-04-16 Thread Roland Winkler
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

Re: To-From-Newsgroup and BBDB

2013-04-16 Thread Vincent Beffara
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

Re: To-From-Newsgroup and BBDB

2013-04-16 Thread Roland Winkler
On Tue Apr 16 2013 Vincent Beffara wrote: (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)))

To-From-Newsgroup and BBDB

2013-04-15 Thread Vincent Beffara
Hi, 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) ? (using current bbdb from git, all the hacks I found were against bbdb2 ...) Thanks, /v -- Vincent Beffara

Re: To-From-Newsgroup and BBDB

2013-04-15 Thread Roland Winkler
On Mon Apr 15 2013 Vincent Beffara wrote: 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.