On Thursday, February 8, 2007 at 00:19:12, Robert Widhopf wrote:
> Hi all,
> 
> we had a discussion on hierarchical mail aliases like in
> ~/.mailrc and there was a patch floating around, but aliases
> in BBDB are a bit different, i.e. the alias maps only to the
> first net of a record, not all of them.  Instead, multiple 
> record may have the same alias to get the same result.
> 
> Some years ago I have added `bbdb-define-all-aliases-mode' 
> in order to implicitly generate aliases for each net and all
> nets of a record.  E.g., if you have the alias "a", then
> "a1" will refer to the first net, "a2" to the second,
> ... and "a*" to all nets of a record.  Expansion of "a*",
> only worked in XEmacs.

This has been removed now ...

> In fact, this made bbdb-define-all-aliases kind of
> complicated and I never actually used the feature much
> ... to be honest it is a mess and I plan to remove it and
> replace it by explicit aliases.

... and `bbdb-define-all-aliases' has been rewritten.

> I just wonder if anyone except me ever used it?
> 
> So what comes next?

I call it magic aliases and nets.  It is not magic, just
elisp, but it sounds better when being called magic ;-)
and it has landed in CVS now.

It features:
 - Hierarchical aliases using ALIAS* and nets without @
   which exist as alias (except for the * it is similar to
   ~/.mailrc), i.e. define an record with an alias ending
   in "*" and having the other aliases as nets.
 - Magic nets which expand to the matching nets of other
   records, e.g. define a net "*/@some.org" and an alias for
   that record and it will expand to all nets matching
   "@some.org".  You might also exclude some nets or write
   your own handlers.

It is slightly different than sketched before ... see the
docs of `bbdb-define-all-aliases'.

Have fun with it,
Robert

PS: Hopefully there is some more feedback than on my first
    message on this topic ;-)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to