On Wed May 11 2011 Roland Winkler wrote:
> So maybe it is better to put the extension we are thinking about
> into bbdb-merge-note:
> 
> - If its arg LABEL is either affix, aka, organization, or mail, this
>   function could add a new element to the list of values of the
>   respective field.
> 
> - IF LABEL is name (or firstname, lastname), phone or address, it
>   throws an error. (Unless someone has a great idea how to handle
>   these cases in a better way. Such things can always be extended
>   later. -- BBDB would get very confused if there were also note
>   subfields with such labels.)
> 
> - Any other value of LABEL should correspond to a proper note, so
>   that this function should keep doing what it is doing now.

One more thought: currently bbdb-merge-note will add the same VALUE
multiple times, even if it is already present. Is this useful?
I am thinking here in particular of bbdb-auto-notes which started
this thread.

It might be better if it checked whether VALUE was already present.
Only if not it merges old and new.

Roland

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to