News for hackers. Stuff that matters.
Re:The emacs 30 Day Challenge: Using 'gnus' to read mail by RBerenguel on Saturday December 11, 2010 @03:03PM (#1995542)
Interesting. I'm considering running a local imap server (to speed up search), but so far bbdb looks fine for contact search. I'll look up some way to get contact autocompletion, I'll take a look at eudc (I found a small page about it in the emacswiki). Thanks for making me aware of it!
Re:The emacs 30 Day Challenge: Using 'gnus' to read mail by jfb on Saturday December 11, 2010 @03:11PM (#1995556)
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/

Re:The emacs 30 Day Challenge: Using 'gnus' to read mail by RBerenguel on Saturday December 11, 2010 @03:27PM (#1995590)
I 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.
Re:The emacs 30 Day Challenge: Using 'gnus' to read mail by jfb on Saturday December 11, 2010 @03:36PM (#1995607)
Yeah, 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.