Andreas Fuchs <[EMAIL PROTECTED]> writes: >> When you want to add somebody's face, you must first use `t' to show >> the headers, and then stuff after the X-Face: header. > > Use this: > (add-to-list 'bbdb-auto-notes-alist > (list "x-face" > (list (concat "[ \t\n]*\\([^ \t\n]*\\)" > "\\([ \t\n]+\\([^ \t\n]+\\)\\)?" > "\\([ \t\n]+\\([^ \t\n]+\\)\\)?" > "\\([ \t\n]+\\([^ \t\n]+\\)\\)?" > ) > 'face > "\\1\\3\\5\\7")))
Hm, I played with this, too. I now use the following, which seems even smallert. Why do yoyu need this totally complex regexp -- to avoid including whitespace and newlines? Perhaps a solution that works with whitespace and newlines and some other delimiter works better? Anyway, I started to replace existing entries, because somehow BBDB did not recognize repeated faces and just kept adding to the list, which is rather useless. So I currently just use this: (add-hook 'bbdb-notice-hook 'bbdb-auto-notes-hook) (setq bbdb-auto-notes-alist '(("X-Face" (".+" face 0 'replace)))) BTW, my code is on the wiki, and therefore editable by all. http://www.emacswiki.org/cgi-bin/wiki.pl?BbdbFaces Alex. ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en _______________________________________________ [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/