From f9432a2dd31ca816aa439242f7d13c407e0cb221 Mon Sep 17 00:00:00 2001 From: Bert Burgemeister Date: Tue, 30 Mar 2010 14:08:14 +0200 Subject: [PATCH] Bugfix and some refactoring. Version 2.1 vCards are imported correctly now. --- README | 3 +- bbdb-vcard.el | 525 +++++++++++++++++++++++++---------------------------- test-bbdb-vcard.el | 8 +- 3 files changed, 254 insertions(+), 282 deletions(-) diff --git a/README b/README index 2c952dc..ef9171c 100644 --- a/README +++ b/README @@ -3,7 +3,8 @@ bbdb-vcard.el bbdb-vcard.el imports and exports vCards (version 3.0) as defined in RFC 2425 and RFC 2426 to/from The Insidious Big Brother Database -(BBDB). +(BBDB). Import of version 2.1 vCards is possible as well if an +external conversion tool (e.g. convcard) is available. On a file, a buffer or a region containing one or more vCards, use `bbdb-vcard-import-file', `bbdb-vcard-import-buffer', or diff --git a/bbdb-vcard.el b/bbdb-vcard.el index 7558dac..b8cffc6 100644 --- a/bbdb-vcard.el +++ b/bbdb-vcard.el @@ -132,8 +132,8 @@ ;; read by org-mode. ;; ;; All remaining vCard types that don't match the regexp in -;; `bbdb-vcard-skip' and that have a non-empty value are stored -;; unaltered in the BBDB Notes alist where, for instance, +;; `bbdb-vcard-skip-on-import' and that have a non-empty value are +;; stored unaltered in the BBDB Notes alist where, for instance, ;; `TZ;VALUE=text:-05:00' is stored as `(tz\;value=text . "-05:00")'. ;; From the BBDB data fields AKA, Phones, Addresses, Net Addresses, ;; and Notes, duplicates are removed, respectively. @@ -180,7 +180,7 @@ ;; | TEL;TYPE=x;TYPE=HOME | Phones