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 long as you understand what you do. And this should remain fine for many more years, as cl has been around for so long. Your code looks fine to me, too (as a personal customization of gnus!). An alternative strategy would be to use the %u format specifier for this. But I do not know enough about gnus internal to see how involved that would be. Roland > A reasonable replacement is simply to overload the function > gnus-summary-extract-address-component globally, it is only used > in %f expansion. So, it might make sense to do this while > insinuating gnus: > > (require 'gnus-sum) > (defun gnus-summary-extract-address-component (x) > (bbdb-mua-summary-unify x)) > > and then using plain %f. There is also a gnus-extract-address-component > which is used much more globally, and it might make sense to tweak that > instead, but I'm a bit afraid of the unintented consequences and have > little time to test this. > > What do you think? ------------------------------------------------------------------------------ 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/