Mercurial > emacs
annotate lisp/net/eudcb-mab.el @ 109942:1b836ffdb0c6
* doc/emacs/misc.texi (Amusements): Mention bubbles and animate.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 20 Aug 2010 19:14:07 -0700 |
parents | 1d1d5d9bd884 |
children | 280c8ae2476d 376148b31b5e |
rev | line source |
---|---|
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
1 ;;; eudcb-mab.el --- Emacs Unified Directory Client - AddressBook backend |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
2 |
106815 | 3 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
94677
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
4 ;; Free Software Foundation, Inc. |
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
5 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
6 ;; Author: John Wiegley <johnw@newartisans.com> |
74624 | 7 ;; Maintainer: FSF |
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
8 ;; Keywords: comm |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
9 |
66648
3dbeee07bb77
Now part of GNU Emacs. Update FSF's address. Update copyright years.
Romain Francoise <romain@orebokech.com>
parents:
66623
diff
changeset
|
10 ;; This file is part of GNU Emacs. |
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
11 |
94677
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
12 ;; GNU Emacs is free software: you can redistribute it and/or modify |
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
13 ;; it under the terms of the GNU General Public License as published by |
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
14 ;; the Free Software Foundation, either version 3 of the License, or |
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
15 ;; (at your option) any later version. |
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
16 |
94677
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
17 ;; GNU Emacs is distributed in the hope that it will be useful, |
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
20 ;; GNU General Public License for more details. |
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
21 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
22 ;; You should have received a copy of the GNU General Public License |
94677
91e5880a36c1
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79714
diff
changeset
|
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
24 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
25 ;;; Commentary: |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
26 ;; This library provides an interface to use the Mac's AddressBook, |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
27 ;; by way of the "contacts" command-line utility which can be found |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
28 ;; by searching on the Net. |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
29 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
30 ;;; Code: |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
31 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
32 (require 'eudc) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
33 (require 'executable) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
34 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
35 ;;{{{ Internal cooking |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
36 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
37 (defvar eudc-mab-conversion-alist nil) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
38 (defvar eudc-buffer-time nil) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
39 (defvar eudc-contacts-file |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
40 "~/Library/Application Support/AddressBook/AddressBook.data") |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
41 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
42 (eudc-protocol-set 'eudc-query-function 'eudc-mab-query-internal 'mab) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
43 (eudc-protocol-set 'eudc-list-attributes-function nil 'mab) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
44 (eudc-protocol-set 'eudc-mab-conversion-alist nil 'mab) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
45 (eudc-protocol-set 'eudc-protocol-has-default-query-attributes nil 'mab) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
46 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
47 (defun eudc-mab-query-internal (query &optional return-attrs) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
48 "Query MAB with QUERY. |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
49 QUERY is a list of cons cells (ATTR . VALUE) where ATTRs should be valid |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
50 MAB attribute names. |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
51 RETURN-ATTRS is a list of attributes to return, defaulting to |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
52 `eudc-default-return-attributes'." |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
53 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
54 (let ((fmt-string "%ln:%fn:%p:%e") |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
55 (mab-buffer (get-buffer-create " *mab contacts*")) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
56 (modified (nth 5 (file-attributes eudc-contacts-file))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
57 result) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
58 (with-current-buffer mab-buffer |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
59 (make-local-variable 'eudc-buffer-time) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
60 (goto-char (point-min)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
61 (when (or (eobp) (time-less-p eudc-buffer-time modified)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
62 (erase-buffer) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
63 (call-process (executable-find "contacts") nil t nil |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
64 "-H" "-l" "-f" fmt-string) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
65 (setq eudc-buffer-time modified)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
66 (goto-char (point-min)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
67 (while (not (eobp)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
68 (let* ((args (split-string (buffer-substring (point) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
69 (line-end-position)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
70 "\\s-*:\\s-*")) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
71 (lastname (nth 0 args)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
72 (firstname (nth 1 args)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
73 (phone (nth 2 args)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
74 (mail (nth 3 args)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
75 (matched t)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
76 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
77 (if (string-match "\\s-+\\'" mail) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
78 (setq mail (replace-match "" nil nil mail))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
79 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
80 (dolist (term query) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
81 (cond |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
82 ((eq (car term) 'name) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
83 (unless (string-match (cdr term) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
84 (concat firstname " " lastname)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
85 (setq matched nil))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
86 ((eq (car term) 'email) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
87 (unless (string= (cdr term) mail) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
88 (setq matched nil))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
89 ((eq (car term) 'phone)))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
90 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
91 (when matched |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
92 (setq result |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
93 (cons `((firstname . ,firstname) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
94 (lastname . ,lastname) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
95 (name . ,(concat firstname " " lastname)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
96 (phone . ,phone) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
97 (email . ,mail)) result)))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
98 (forward-line))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
99 (if (null return-attrs) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
100 result |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
101 (let (eudc-result) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
102 (dolist (entry result) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
103 (let (entry-attrs abort) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
104 (dolist (attr entry) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
105 (when (memq (car attr) return-attrs) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
106 (if (= (length (cdr attr)) 0) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
107 (setq abort t) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
108 (setq entry-attrs |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
109 (cons attr entry-attrs))))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
110 (if (and entry-attrs (not abort)) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
111 (setq eudc-result |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
112 (cons entry-attrs eudc-result))))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
113 eudc-result)))) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
114 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
115 ;;}}} |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
116 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
117 ;;{{{ High-level interfaces (interactive functions) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
118 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
119 (defun eudc-mab-set-server (dummy) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
120 "Set the EUDC server to MAB." |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
121 (interactive) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
122 (eudc-set-server dummy 'mab) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
123 (message "MAB server selected")) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
124 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
125 ;;}}} |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
126 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
127 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
128 (eudc-register-protocol 'mab) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
129 |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
130 (provide 'eudcb-mab) |
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
131 |
66623 | 132 ;; arch-tag: 4bef8e65-f109-47c7-91b9-8a6ea3ed7bb1 |
66592
a30dfd31ff22
(eudc-mab-query-internal): Added backend support for OS/X's
John Wiegley <johnw@newartisans.com>
parents:
diff
changeset
|
133 ;;; eudcb-mab.el ends here |