Variable: eudc-ph-bbdb-conversion-alist

eudc-ph-bbdb-conversion-alist is a customizable variable defined in eudc-vars.el.gz.

This variable is obsolete since 25.1; the EUDC PH/QI backend is obsolete.

Value

((name . name) (net . email)
 (address eudc-bbdbify-address address "Address")
 (phone (eudc-bbdbify-phone phone "Phone")
	(eudc-bbdbify-phone office_phone "Office Phone")))

Documentation

A mapping from BBDB to PH/QI fields.

This is a list of cons cells (BBDB-FIELD . SPEC-OR-LIST) where BBDB-FIELD is the name of a field that must be defined in your BBDB environment (standard field names are name, company, net, phone, address and notes). SPEC-OR-LIST is either a single SPEC or a list of SPECs. Lists of specs are valid only for the phone and address BBDB fields. SPECs are sexps which are evaluated:
  a string evaluates to itself,
  a symbol evaluates to the symbol value. Symbols naming PH/QI fields
    present in the record evaluate to the value of the field in the record,
  a form is evaluated as a function. The argument list may contain PH/QI
    field names which eval to the corresponding values in the
    record. The form evaluation should return something appropriate for
    the particular BBDB-FIELD (see bbdb-create-internal).
    eudc-bbdbify-phone and eudc-bbdbify-address are provided as convenience
    functions to parse phones and addresses.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc-vars.el.gz
(defcustom eudc-ph-bbdb-conversion-alist
  '((name . name)
    (net . email)
    (address . (eudc-bbdbify-address address "Address"))
    (phone . ((eudc-bbdbify-phone phone "Phone")
	      (eudc-bbdbify-phone office_phone "Office Phone"))))
  "A mapping from BBDB to PH/QI fields.
This is a list of cons cells (BBDB-FIELD . SPEC-OR-LIST) where
BBDB-FIELD is the name of a field that must be defined in your BBDB
environment (standard field names are `name', `company', `net', `phone',
`address' and `notes').  SPEC-OR-LIST is either a single SPEC or a list
of SPECs.  Lists of specs are valid only for the `phone' and `address'
BBDB fields.  SPECs are sexps which are evaluated:
  a string evaluates to itself,
  a symbol evaluates to the symbol value.  Symbols naming PH/QI fields
    present in the record evaluate to the value of the field in the record,
  a form is evaluated as a function.  The argument list may contain PH/QI
    field names which eval to the corresponding values in the
    record.  The form evaluation should return something appropriate for
    the particular BBDB-FIELD (see `bbdb-create-internal').
    `eudc-bbdbify-phone' and `eudc-bbdbify-address' are provided as convenience
    functions to parse phones and addresses."
  :tag "BBDB to PH Field Name Mapping"
  :type '(repeat (cons :tag "Field Name"
		       (symbol :tag "BBDB Field")
		       (sexp :tag "Conversion Spec"))))