Rudy’s OBTF Rudolf Adamkovič

Home / Emacs / Insidious Big Brother Database (BBDB)


Configure!

Make S-TAB go to the previous field, like DEL.

(with-eval-after-load 'bbdb
  (keymap-set bbdb-mode-map "<backtab>" #'bbdb-prev-field))

Install the package.

(with-eval-after-load 'package
  (add-to-list 'package-selected-packages 'bbdb))

Store contacts outside of the emacs.d directory.

(with-eval-after-load 'bbdb
  (setopt bbdb-file
          (file-name-concat org-directory
                            "contacts.bbdb")))

Show anniversaries, such as birthdays, in the Emacs Diary and thus the Emacs Calendar and thus the Org Agenda.

;; TODO with-eval-after-load 'bbdb?
(with-eval-after-load 'diary
  (bbdb-initialize 'anniv))

Complete mail addresses in the Message mode.

(add-hook 'message-mode
          (lambda ()
            (bbdb-initialize 'message)))

Enable case-insensitive search.

(with-eval-after-load 'bbdb
  (setopt bbdb-case-fold-search t))

Disable the North American Numbering Plan (NANP) for phone numbers.

(with-eval-after-load 'bbdb
  (setopt bbdb-phone-style nil))

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.