Skip to content

Latest commit

 

History

History
71 lines (63 loc) · 2.17 KB

starter-kit-gnus.org

File metadata and controls

71 lines (63 loc) · 2.17 KB

Starter Kit Gnus

This is part of the Emacs Starter Kit.

Starter Kit Gnus

Configuration for the notoriously difficult to configure Gnus email client

Unlike 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.

Customizations

Once gnus is installed and working, here are some recommended Gnus customizations.

BBDB

BBDBThe 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
 )

More attractive Summary View

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)