On Monday, December 3, 2007 at 21:03:42, Ronan Waide wrote:
> I've accidentally deleted the thread this relates to, but rather
> than hacking directly on this function, which may do things people
> don't want or expect, why not provide a variable something like
> bbdb-dwim-net-address-format which has % escapes for fields like a
> format string? Ideally it would not have a % for every BBDB field,
> more like something along the lines of %B.FIELD which would look up
> FIELD in the bbdb record.

,---- There is now 
| (bbdb-dwim-net-address-title-field): New field controlling
| if a title is prepended to an email address.  The default
| value is 'title. 
`----

This is simpler and should satisfy most people, those which
would like to have really fancy control should do their
voodoo in an advice on `bbdb-dwim-net-address'. 

In fact I couldn't see a nice way to specify it by a format
string, it would have been more like a sexp to handle different
cases, e.g.

        (if mail-name
            mail-name
          (if title
              (concat title " " name)
            name))

and IMHO this is kind of over engineering.

Robert

PS: It is now in CVS.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to