3 ms·
I'm a newb with the formatting here, but after installing the eudc-mab library, I do the following: (eval-after-load "message" '(define-key message-
by jfb 16y ago
I'm a newb with the formatting here, but after installing the eudc-mab library, I do the following:
(eval-after-load
"message"
'(define-key message-mode-map [(tab)] 'eudc-expand-inline))
(eval-after-load
"sendmail"
'(define-key mail-mode-map [(tab)] 'eudc-expand-inline))
(require 'eudcb-mab nil t)
(setq eudc-server "localhost"
eudc-protocol 'mab)
(eudc-protocol-set 'eudc-inline-query-format
'((name)
(email))
'mab)
(eudc-protocol-set 'eudc-inline-expansion-format
'("%s <%s>" name email)
'mab)
EDIT: Oh yeah, you need the 'contacts' utility somewhere.
http://gnufoo.org/contacts/ http://gnufoo.org/contacts/
- RBerenguel 16y agoI just tried eudc-bbdb, and it somehow works (oddly enough, it expands one contact but not another... I'll have to look at the configuration options). The eudc-mab solution looks better for my Mac, although I think bbdb can work better in the long run: I use a Macbook at home and a Linux netbook at work: I have my bbdb file in the Dropbox folder, thus I can have a nice cross-system contact file.
- jfb 16y agoYeah, you really want bi-directional syncing with the bbdb, because bbdb does nice autosnarfing and whatnot. That's a bit of a sticky wicket (understatement of the morning). It doesn't help that the bbdb code is largely incomprehensible.