From 60dca5dea030b2d8126f2a4bc5748b6bd5299562 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Thu, 27 Jun 2013 14:45:43 -0400 Subject: BBDB configuration --- .vm | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.vm b/.vm index 55d23f9..ed396f5 100644 --- a/.vm +++ b/.vm @@ -172,9 +172,9 @@ ;;; BBDB (require 'bbdb-autoloads) (require 'bbdb) -(bbdb-initialize 'vm 'message 'sendmail) +(bbdb-initialize 'vm); 'mail 'message) ;; The following two lines have BBDB automatically add addresses -(bbdb-mua-auto-update-init 'vm 'message 'sendmail) +(bbdb-mua-auto-update-init 'vm); 'mail 'message) (setq bbdb-update-records-p 'create) (setq bbdb-mua-update-interactive-p '(create . create)) ;; Offer to save the database @@ -189,7 +189,7 @@ (setq bbdb-horiz-pop-up-window-size '(80 . 0.3)) ;; Don't add addresses matching the following regexp to our DB (setq bbdb-ignore-some-messages-alist - '((("From" "CC" "Reply-To") . ".*@bugs.(debian.org\\|launchpad.net)\\|.*@.*.launchpad.net\\|noreply") + '((("From" "CC" "Reply-To") . ".*@bugs.\\(debian.org\\|launchpad.net\\)\\|.*@.*.launchpad.net\\|noreply\\|.*facebook.com") (("To" "Sender") . "noreply"))) ;; (setq bbdb/mail-auto-create-p 'bbdb-ignore-some-messages-hook) ;; Add all addresses in an email @@ -201,14 +201,19 @@ ;; And track the following: (setq bbdb-auto-notes-rules (list - '("Organization" - (".*" organization "\\1" nil)) - '("User-Agent" - (".*" mailer identity nil)) - '("X-Mailer" - (".*" mailer identity nil)) - '("X-Newsreader" - (".*" mailer identity nil)))) + '("Organization" + (".*" organization "\\1" nil)) + '("User-Agent" + (".*" mailer identity nil)) + '("X-Mailer" + (".*" mailer identity nil)) + '("X-Newsreader" + (".*" mailer identity nil)))) +;; There is more than one John Smith in the world +(setq bbdb-allow-duplicates t) +;; Allow cycling and tab completion of emails when composing +;;(setq bbdb-complete-mail nil t) +(setq bbdb-complete-mail-allow-cycling t) ;; signature (setq mail-signature t) -- cgit v1.2.3