addressbook-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Addressbook-devel] treatment of the FN field


From: David A . Thompson
Subject: [Addressbook-devel] treatment of the FN field
Date: Fri, 19 Oct 2012 15:19:33 -0700
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.4 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

After encountering vcards which don't conform to the vCard 2.1 spec
(e.g., a card with a FN field but missing the N field), I found it
useful to modify addressbook so that it follows the vCard 2.1 spec
more closely, using the FN field when available (the 2.1 spec
indicates, for the FN field, that "[t]his is the way that the name is
to be displayed.").

Attached is a patch which modifies ABOOK-GET-CARD-FN so that the FN
field is preferred and deriving a value using the N field is used only
when the FN field doesn't provide a non-empty value.

Attachment: fn.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]