From 525542efe778bbb361ddba2c44f08028152f3f66 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 27 Aug 2015 23:20:18 -0400 Subject: [PATCH] Initial BBDB literate configuration --- emacs.d/mail.org | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/emacs.d/mail.org b/emacs.d/mail.org index c272509..4614d11 100644 --- a/emacs.d/mail.org +++ b/emacs.d/mail.org @@ -542,6 +542,46 @@ to do so; I provide one via =gnus-summary-toggle-processable=: n) #+END_SRC +* Contacts +The majority of my online communication is done via e-mail. Over the +years---especially on mailing lists---it's easy to accumulate a lot of +contacts, and it's easy to forget who people are. So, I need the ability to +not only store names and e-mail addresses (and auto-complete them!), but +also notes about the person, so that I can remember who they are or other +useful information about them. + +Emacs comes with BBDB---the "Insidious" Big Brother Database---which keeps a +database of contacts. I won't pretend that I know how to use it very well, +but I'll do by best to learn. + +#+BEGIN_SRC emacs-lisp + (bbdb-initialize 'gnus 'message) + + ;; this is the key for fixing a brokern BBDB3+Gnus integration + (setq bbdb-mua-update-interactive-p + '(query . create)) +#+END_SRC + +In order to build a comprehensive database, I want contacts to be added with +ease; en masse if need be. + +#+BEGIN_SRC emacs-lisp + (bbdb-mua-auto-update-init 'gnus 'message) + + ;; return more than just the first address of a message + (setq bbdb-message-all-addresses t) +#+END_SRC + +BBDB displays a window ("popup") when adding/editing an entry, or visiting +articles with known entries, from Gnus (for any MUA it's initialized for, +for that matter). The default size shares window space evenly with all +others---far too large. + +#+BEGIN_SRC emacs-lisp + (setq bbdb-pop-up-window-size 0.15 + bbdb-mua-pop-up-window-size 0.15) +#+END_SRC + * Command Line I generally invoke Gnus in a fresh Emacs process, for various reasons that I won't get into here right now. To make this a bit easier, I add a =gnus=