1
0
Fork 0

Initial BBDB literate configuration

org
Mike Gerwitz 2015-08-27 23:20:18 -04:00
parent 20abb644f9
commit 525542efe7
1 changed files with 40 additions and 0 deletions

View File

@ -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=