From 1a5de666921e000b24ed02ffae5a03cc5caddc45 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 8 Dec 2018 14:56:23 -0500 Subject: [emacs] manually add bbdb into lisp/bbdb/ --- lisp/bbdb/bbdb-message.el | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 lisp/bbdb/bbdb-message.el (limited to 'lisp/bbdb/bbdb-message.el') diff --git a/lisp/bbdb/bbdb-message.el b/lisp/bbdb/bbdb-message.el new file mode 100644 index 0000000..75885ca --- /dev/null +++ b/lisp/bbdb/bbdb-message.el @@ -0,0 +1,56 @@ +;;; bbdb-message.el --- BBDB interface to Mail Composition Packages. -*- lexical-binding: t -*- + +;; Copyright (C) 2010-2017 Free Software Foundation, Inc. + +;; This file is part of the Insidious Big Brother Database (aka BBDB), + +;; BBDB is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; BBDB is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with BBDB. If not, see . + +;;; Commentary: +;;; This file contains the BBDB interface to Mail Composition Packages. +;;; See the BBDB info manual for documentation. + +;;; Code: + +(require 'bbdb) +(require 'message) +(require 'sendmail) + +;;;###autoload +(defun bbdb-insinuate-message () + "Hook BBDB into Message Mode. +Do not call this in your init file. Use `bbdb-initialize'." + ;; Suggestions welcome: What are good keybindings for the following + ;; commands that do not collide with existing bindings? + ;; (define-key message-mode-map "'" 'bbdb-mua-display-recipients) + ;; (define-key message-mode-map ";" 'bbdb-mua-edit-field-recipients) + ;; (define-key message-mode-map "/" 'bbdb) + (if bbdb-complete-mail + (define-key message-mode-map "\M-\t" 'bbdb-complete-mail))) + +;;;###autoload +(defun bbdb-insinuate-mail () + "Hook BBDB into Mail Mode. +Do not call this in your init file. Use `bbdb-initialize'." + ;; Suggestions welcome: What are good keybindings for the following + ;; commands that do not collide with existing bindings? + ;; (define-key mail-mode-map "'" 'bbdb-mua-display-recipients) + ;; (define-key mail-mode-map ";" 'bbdb-mua-edit-field-recipients) + ;; (define-key mail-mode-map "/" 'bbdb) + (if bbdb-complete-mail + (define-key mail-mode-map "\M-\t" 'bbdb-complete-mail))) + +(provide 'bbdb-message) + +;;; bbdb-message.el ends here -- cgit v1.2.3-60-g2f50