summaryrefslogtreecommitdiffstats
path: root/init.org
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-12-08 14:56:23 -0500
committerAmin Bandali <bandali@gnu.org>2018-12-08 14:56:23 -0500
commit1a5de666921e000b24ed02ffae5a03cc5caddc45 (patch)
tree6cb89634eb2d5218a04af71c47b50bda7460692f /init.org
parent17bbf85f47e0b02c250e112beb234653a7be57ab (diff)
downloadconfigs-1a5de666921e000b24ed02ffae5a03cc5caddc45.tar.gz
configs-1a5de666921e000b24ed02ffae5a03cc5caddc45.tar.xz
configs-1a5de666921e000b24ed02ffae5a03cc5caddc45.zip
[emacs] manually add bbdb into lisp/bbdb/
Diffstat (limited to '')
-rw-r--r--init.org20
1 files changed, 15 insertions, 5 deletions
diff --git a/init.org b/init.org
index 5157463..ced62ea 100644
--- a/init.org
+++ b/init.org
@@ -2391,23 +2391,33 @@ Convenient footnotes in =message-mode=.
;; :after ebdb)
#+end_src
-** COMMENT bbdb
+** bbdb
-#+begin_comment
+Manually install bbdb (=lisp/bbdb= copied from an ELPA-based setup),
+because installing it from source on Emacs 27 using the following
+submodule configuration for some reason doesn’t work and results in
+very strange errors when using any of the functions.
+
+#+begin_src conf :tangle no
[submodule "bbdb"]
path = lib/bbdb
url = https://git.savannah.nongnu.org/git/bbdb.git
- load-path = lisp/elisp
+ load-path = lisp
info-path = doc
build-step = ./autogen.sh
- build-step = ./configure --with-lispdir=elisp
+ build-step = ./configure
build-step = make
build-step = make install
-#+end_comment
+#+end_src
+
+I tried using =borg-elpa= instead of doing it like this, but it added
+2 seconds to my startup time, which is unacceptable to me.
#+begin_src emacs-lisp
(use-package bbdb
+ :load-path "lisp/bbdb"
:init
+ (load (expand-file-name "lisp/bbdb/bbdb-autoloads.el" user-emacs-directory))
(bbdb-mua-auto-update-init 'message)
(setq bbdb-mua-auto-update-p 'query)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus))