On Mon May 19 2014 Eric Abrahamsen wrote:
> For a year or more I've been mildly curious about why mail aliases
> didn't work in BBDB -- nothing ever expanded. I finally tried to
> figure out why, and realized you have to manually call
> `bbdb-mail-aliases' in order to make it work.
> 
> It seems like this is something that should happen on
> (bbdb-initialize 'gnus), doesn't it? Inside `bbdb-insinuate-gnus'
> (or somewhere else appropriate) couldn't we check to see if any
> records have a "mail-alias" field, and automatically set up the
> mail aliases, if so? I'd be happy to provide a patch.

Thanks, I have never thought about this.  Already with BBDB v2 it
was necessary to initialize mail-aliases via a function to be put
into mail-setup-hook (then possily called differently from
bbdb-mail-aliases).

I guess this can be handled by bbdb-initialize.  But this feature
is really separate from the other ones handled by bbdb-initialize
and I am hesitant to provide "packaged solutions" where some
initialization intends to address several unrelated issues.

So probably this should be handled by a separate arg for
bbdb-initialize.

While there are lots of different and unrelated features that can be
initialized, it is probably good to provide one common way of
initializing them (and also documenting them in the docstring of
bbdb-initialize).  So it might also be good to make
bbdb-mua-auto-update-init obsolete, but instead handle all these
features by different args for bbdb-initialize.

Roland

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to