vm looks for vcard-api-version - not defined
Mike Kupfer
mike.kupfer at xemacs.org
Sat Jun 19 18:56:51 EDT 2010
Mike Kupfer <mike.kupfer at xemacs.org> wrote:
> I've got on my to-do list to resolve the issues around the 2 versions of
> vcard.el, but it'll probably be another week or two before I can get to
> it.
I looked at the 2 different versions of vcard.el this afternoon. They
generally appear to be compatible, except that they have incompatible
APIs for displaying a vcard. The good news is that Gnus has code to
work with either one:
(if (fboundp 'vcard-pretty-print)
(vcard-pretty-print (mm-get-part handle))
(vcard-format-string
(vcard-parse-string (mm-get-part handle)
'vcard-standard-filter)))
(vcard-pretty-print is the new function, vcard-format-string is the old
one.)
The current MH-E package looks like it will work with the new vcard.el.
Nobody else seems to use vcard.el.
So I'm okay with upgrading vcard.el to the version that VM uses. It
seems like we should move it from gnus to mail-lib at the same time, but
I'm not sure how best to coordinate that. I guess I'll start by
figuring out how to test Gnus and MH-E with the new vcard.el, then
pinging Simon Josefsson (the maintainer of mail-lib)...
mike
More information about the XEmacs-Beta
mailing list