This is part of the Emacs Starter Kit.
Configuration for the notoriously difficult to configure Gnus email clientUnlike other starter-kit-*.org
files, the gnus files will never be
loaded by default. To use them, please copy either the Starter Kit
Gnus IMAP for IMAP configuration, or Starter Kit Gnus POP for POP
configuration into your user-specific directory, and then follow the
instructions therein.
BBDB – The Insidious Big Brother Database is Emacs’ contact manager which is very useful for keeping all of your contacts organized for use with gnus.
;;; bbdb
(require 'bbdb)
(require 'bbdb-autoloads)
(setq
bbdb-file "~/.bbdb"
bbdb-offer-save 'auto
bbdb-notice-auto-save-file t
bbdb-expand-mail-aliases t
bbdb-canonicalize-redundant-nets-p t
bbdb-always-add-addresses t
bbdb-complete-name-allow-cycling t
)
Thanks to Dan Davison.
;; http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/a673a74356e7141f
(when window-system
(setq gnus-sum-thread-tree-indent " ")
(setq gnus-sum-thread-tree-root "") ;; "● ")
(setq gnus-sum-thread-tree-false-root "") ;; "◯ ")
(setq gnus-sum-thread-tree-single-indent "") ;; "◎ ")
(setq gnus-sum-thread-tree-vertical "│")
(setq gnus-sum-thread-tree-leaf-with-other "├─► ")
(setq gnus-sum-thread-tree-single-leaf "╰─► "))
(setq gnus-summary-line-format
(concat
"%0{%U%R%z%}"
"%3{│%}" "%1{%d%}" "%3{│%}" ;; date
" "
"%4{%-20,20f%}" ;; name
" "
"%3{│%}"
" "
"%1{%B%}"
"%s\n"))
(setq gnus-summary-display-arrow t)