summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-22 22:30:29 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-22 22:30:29 -0500
commit490554d3c49e6a6fd5efb98e76b4e0be3d4101fd (patch)
tree259e32e408faed6762ac07c2215c27f8104989e7
parent673d5faae25967024eee99332d69208be127e291 (diff)
downloadconfigs-490554d3c49e6a6fd5efb98e76b4e0be3d4101fd.tar.gz
configs-490554d3c49e6a6fd5efb98e76b4e0be3d4101fd.tar.xz
configs-490554d3c49e6a6fd5efb98e76b4e0be3d4101fd.zip
[emacs] switch from bbdb to ebdb again
-rw-r--r--.gitmodules13
-rw-r--r--init.org54
m---------lib/company-ebdb0
m---------lib/ebdb0
m---------lib/ebdb-gnorb0
m---------lib/gnorb0
6 files changed, 66 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index 0d78b1b..b4eb1d4 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -35,6 +35,9 @@
[submodule "company"]
path = lib/company
url = git@github.com:company-mode/company-mode.git
+[submodule "company-ebdb"]
+ path = lib/company-ebdb
+ url = git@github.com:emacsmirror/company-ebdb.git
[submodule "crux"]
path = lib/crux
url = git@github.com:bbatsov/crux.git
@@ -55,6 +58,12 @@
[submodule "doom-themes"]
path = lib/doom-themes
url = git@github.com:hlissner/emacs-doom-themes.git
+[submodule "ebdb"]
+ path = lib/ebdb
+ url = git@github.com:emacsmirror/ebdb.git
+[submodule "ebdb-gnorb"]
+ path = lib/ebdb-gnorb
+ url = git@github.com:emacsmirror/ebdb-gnorb.git
[submodule "edit-indirect"]
path = lib/edit-indirect
url = git@github.com:Fanael/edit-indirect.git
@@ -109,6 +118,10 @@
[submodule "git-modes"]
path = lib/git-modes
url = git@github.com:magit/git-modes.git
+[submodule "gnorb"]
+ path = lib/gnorb
+ url = git@github.com:girzel/gnorb.git
+ no-byte-compile = gnorb-bbdb.el
[submodule "graphql"]
path = lib/graphql
url = git@github.com:vermiculus/graphql.el.git
diff --git a/init.org b/init.org
index ae458c7..eea005d 100644
--- a/init.org
+++ b/init.org
@@ -2229,7 +2229,59 @@ Convenient footnotes in =message-mode=.
footnote-style 'unicode))
#+end_src
-** bbdb
+** ebdb
+
+#+begin_src emacs-lisp
+(use-package ebdb
+ :defer 1
+ :bind (:map gnus-group-mode-map ("e" . ebdb))
+ :config
+ (setq ebdb-sources (no-littering-expand-var-file-name "ebdb"))
+ (after! swiper
+ (add-to-list 'swiper-font-lock-exclude 'ebdb-mode t)))
+
+(use-package ebdb-com
+ :after ebdb)
+
+;; (use-package ebdb-complete
+;; :after ebdb
+;; :config
+;; (ebdb-complete-enable))
+
+(use-package company-ebdb
+ :after (:all company message)
+ :config
+ (defun company-ebdb--post-complete (_) nil)
+ :hook
+ (message-mode . (lambda ()
+ (add-to-list (make-local-variable 'company-backends)
+ 'company-ebdb))))
+
+(use-package ebdb-gnus
+ :after ebdb
+ :custom
+ (ebdb-gnus-window-configuration
+ '(article
+ (vertical 1.0
+ (summary 0.25 point)
+ (horizontal 1.0
+ (article 1.0)
+ (ebdb-gnus 0.3))))))
+
+(use-package ebdb-mua
+ :after ebdb
+ ;; :custom (ebdb-mua-pop-up nil)
+ )
+
+;; (use-package ebdb-message
+;; :after ebdb)
+
+
+;; (use-package ebdb-vcard
+;; :after ebdb)
+#+end_src
+
+** COMMENT bbdb
Manually install bbdb (=lisp/bbdb= copied from an ELPA-based setup),
because installing it from source on Emacs 27 using the following
diff --git a/lib/company-ebdb b/lib/company-ebdb
new file mode 160000
+Subproject 692a272a47d4f48d0ea38ced4375f9eb2cd47ff
diff --git a/lib/ebdb b/lib/ebdb
new file mode 160000
+Subproject 44440310e739df9d46aaa38f9ac275199f25f43
diff --git a/lib/ebdb-gnorb b/lib/ebdb-gnorb
new file mode 160000
+Subproject 461a6b35dc9322d1ec59547ad845d26a6c65a69
diff --git a/lib/gnorb b/lib/gnorb
new file mode 160000
+Subproject 17fd6e9ca6f116e2d0d70ab1e9d7132b3a8bfd4