Current File : //proc/self/root/kunden/usr/share/emacs/27.2/lisp/net/eudcb-bbdb.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\300\302\303\304#\210\300\305\303\304#\207" [require eudc bbdb nil t bbdb-com] 4)
(defvar eudc-bbdb-current-query nil)
(defvar eudc-bbdb-current-return-attributes nil)
#@120 Convert FIELD-SYMBOL so that it is recognized by the current BBDB version.
BBDB < 3 used `net'; BBDB >= 3 uses `mail'.
(defalias 'eudc-bbdb-field #[(field-symbol) "\301=\203
\302 \203
\303\207\304=\203 \302 \203 \305\207\207" [field-symbol net eudc--using-bbdb-3-or-newer-p mail company organization] 2 (#$ . 602)])
#@51 Alist mapping EUDC attribute names to BBDB names.
(defvar eudc-bbdb-attributes-translation-alist '((name . lastname) (email . net) (phone . phones)) (#$ . 931))
(byte-code "\300\301\302\303#\210\300\304\305\303#\210\300\306\307\303#\210\300\310\305\303#\210\300\311\305\303#\207" [eudc-protocol-set eudc-query-function eudc-bbdb-query-internal bbdb eudc-list-attributes-function nil eudc-protocol-attributes-translation-alist eudc-bbdb-attributes-translation-alist eudc-bbdb-conversion-alist eudc-protocol-has-default-query-attributes] 4)
#@66 Format a EUDC query alist into a list suitable to `bbdb-search'.
(defalias 'eudc-bbdb-format-query #[(query) "\301\236A\302\236A \203 \n\203 \306\nQ\206 \206 \n\304\236A\305\236A\307\236A\310\236A\f
\257.\207" [query firstname lastname name company net " " notes phone] 5 (#$ . 1476)])
#@71 Return RECORD if it matches `eudc-bbdb-current-query', nil otherwise.
(defalias 'eudc-bbdb-filter-non-matching-record #[(record) "\306\307!\210\3102w \311\211\203s \n@\211@ A\312\311\211\313>\203f \314\315\316\317\320!!P!\321D!\211<\203R \203H \314\322\323\324\"B!\202c
\227\323\325\"\235\202c \203^ \326
\"\202c
\227\227\230\204k \327\310\311\"\210,\nA\211\204 *0\207" [eudc-bbdb-current-query condition --dolist-tail-- bbdb-val case-fold-search val require bbdb unmatch nil t (firstname lastname aka company phones addresses net) eval intern "bbdb-record-" symbol-name eudc-bbdb-field record or mapcar #[(subval) "\302 \"\207" [val subval string-match] 3] downcase string-match throw attr eudc-bbdb-enable-substring-matches] 7 (#$ . 1796)])
(defalias 'eudc-bbdb-extract-phones #[(record) "\301\302!\210\303\304\305 \203 \306!\202 \307!\"\207" [record require bbdb mapcar #[(phone) "\203 \302\303 \203 \304 !\202 \305 !!\306 !B\207\307\310\311\303 \203'