summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-26 20:32:08 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-26 20:32:08 -0500
commitf0d07afcb32a0b1e9314448779987d8664f6e4dc (patch)
tree2f05a338d16fa196ae85960a45d788f3d2e7d473
parent1eea0aec80cdffdf238cef55ef4596eccd8b22dd (diff)
downloadconfigs-f0d07afcb32a0b1e9314448779987d8664f6e4dc.tar.gz
configs-f0d07afcb32a0b1e9314448779987d8664f6e4dc.tar.xz
configs-f0d07afcb32a0b1e9314448779987d8664f6e4dc.zip
[emacs/ebdb] tweak when to load the various subpackages
Diffstat (limited to '')
-rw-r--r--init.org13
1 files changed, 6 insertions, 7 deletions
diff --git a/init.org b/init.org
index 7e82b73..6193a21 100644
--- a/init.org
+++ b/init.org
@@ -2187,7 +2187,11 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
gnus-save-newsrc-file nil
gnus-read-newsrc-file nil
gnus-interactive-exit nil
- gnus-gcc-mark-as-read t))
+ gnus-gcc-mark-as-read t)
+ :config
+ (require 'ebdb)
+ (require 'ebdb-mua)
+ (require 'ebdb-gnus))
(use-feature gnus-art
:config
@@ -2303,6 +2307,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
message-dont-reply-to-names
"\\(\\(.*@aminb\\.org\\)\\|\\(amin@bandali\\.me\\)\\|\\(\\(aminb?\\|mab\\|bandali\\)@gnu\\.org\\)\\|\\(\\(m\\|a\\(min\\.\\)?\\)bandali@uwaterloo\\.ca\\)\\)"
message-user-fqdn "aminb.org")
+ (require 'company-ebdb)
:hook (;; (message-setup . mml-secure-message-sign-pgpmime)
(message-mode . flyspell-mode)
(message-mode . (lambda ()
@@ -2350,7 +2355,6 @@ Convenient footnotes in =message-mode=.
#+begin_src emacs-lisp
(use-package ebdb
:straight (:host github :repo "girzel/ebdb")
- :defer 2
:after gnus
:bind (:map gnus-group-mode-map ("e" . ebdb))
:config
@@ -2367,14 +2371,11 @@ Convenient footnotes in =message-mode=.
;; (ebdb-complete-enable))
(use-package company-ebdb
- :defer 2
:config
(defun company-ebdb--post-complete (_) nil))
(use-feature ebdb-gnus
- :defer 3
:after ebdb
- :demand
:custom
(ebdb-gnus-window-configuration
'(article
@@ -2385,9 +2386,7 @@ Convenient footnotes in =message-mode=.
(ebdb-gnus 0.3))))))
(use-feature ebdb-mua
- :defer 3
:after ebdb
- :demand
;; :custom (ebdb-mua-pop-up nil)
)