contrib/lisp/org-contacts.el: Add a feature, which can ignore emails or phones with...
commitc81b905f44daed6146db96e230bbff3acee06b4e
authorFeng Shu <tumashu@gmail.com>
Wed, 29 May 2013 12:30:43 +0000 (29 20:30 +0800)
committerGrégoire Jadi <gregoire.jadi@gmail.com>
Thu, 30 May 2013 23:17:58 +0000 (31 01:17 +0200)
treec31deaa5d9a5f933cf2062a58500c83387c880e7
parentd9cfec3040e5d487d91336b9a643ad15d2fa5bec
contrib/lisp/org-contacts.el: Add a feature, which can ignore emails or phones with property

* contrib/lisp/org-contacts.el (org-contacts-ignore-property): New variable.
(org-contacts-remove-ignored-property-values): New function, which
remove all ignore-list's elements from list.
(org-contacts-complete-name): When completing, ignore the
values which has been included into the ignore property.
(org-contacts-vcard-format): Don't export the values which has
been included into the ignore property.

If emails or phones is included into the ignore property, they will
not show in complete buffer. When the contact is exported to vcard,
they will be ignored too.
contrib/lisp/org-contacts.el