a7315c4c49642fd2236c54c44419d1ec1d63bdff
[~bandali/configs] / lisp / bandali-ebdb.el
1 ;;; bandali-ebdb.el --- bandali's EBDB configuration -*- lexical-binding: t; -*-
2
3 ;; Copyright (C) 2018-2020 Amin Bandali
4
5 ;; Author: Amin Bandali <bandali@gnu.org>
6 ;; Keywords: tools
7
8 ;; This program is free software; you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation, either version 3 of the License, or
11 ;; (at your option) any later version.
12
13 ;; This program is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
17
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with this program. If not, see <https://www.gnu.org/licenses/>.
20
21 ;;; Commentary:
22
23 ;; My EBDB setup.
24
25 ;;; Code:
26
27 (use-package ebdb
28 :demand
29 :after gnus
30 :bind (:map gnus-group-mode-map ("e" . ebdb))
31 :config
32 (setq ebdb-sources (b/var "ebdb"))
33 (with-eval-after-load 'swiper
34 (add-to-list 'swiper-font-lock-exclude 'ebdb-mode t)))
35
36 (use-package ebdb-com
37 :after ebdb)
38
39 (use-package ebdb-complete
40 :after ebdb
41 :config
42 ;; (setq ebdb-complete-mail 'capf)
43 (ebdb-complete-enable))
44
45 (use-package ebdb-message
46 :demand
47 :after ebdb)
48
49 ;; (use-package company-ebdb
50 ;; :config
51 ;; (defun company-ebdb--post-complete (_) nil))
52
53 (use-package ebdb-gnus
54 :demand
55 :after ebdb
56 :custom
57 (ebdb-gnus-window-size 0.3))
58
59 (use-package ebdb-mua
60 :demand
61 :after ebdb
62 :custom (ebdb-mua-pop-up t))
63
64 ;; (use-package ebdb-message
65 ;; :after ebdb)
66
67 ;; (use-package ebdb-vcard
68 ;; :after ebdb)
69
70 (provide 'bandali-ebdb)
71 ;;; bandali-ebdb.el ends here