diff options
author | Amin Bandali <bandali@gnu.org> | 2018-11-13 19:20:14 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-11-13 19:21:23 -0500 |
commit | 81ad062de322f5bb378f8a2e7b36ef7cd50ffeb9 (patch) | |
tree | b2c686f82ef7d4eff0fda070b7cf1a8070b188bb | |
parent | 7db2ffd1add1ed1b10f8944a5592a9aa5cc39a0c (diff) | |
download | configs-81ad062de322f5bb378f8a2e7b36ef7cd50ffeb9.tar.gz configs-81ad062de322f5bb378f8a2e7b36ef7cd50ffeb9.tar.xz configs-81ad062de322f5bb378f8a2e7b36ef7cd50ffeb9.zip |
[emacs] try out ebdb
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | init.org | 76 | ||||
m--------- | lib/ebdb | 0 |
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 1c5d913..914abe7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -57,6 +57,9 @@ [submodule "diff-hl"] path = lib/diff-hl url = git@github.com:dgutov/diff-hl.git +[submodule "ebdb"] + path = lib/ebdb + url = git@github.com:emacsmirror/ebdb.git [submodule "edit-indirect"] path = lib/edit-indirect url = git@github.com:Fanael/edit-indirect.git @@ -2032,6 +2032,82 @@ Convenient footnotes in =message-mode=. (add-hook 'mail-citation-hook 'sc-cite-original)) #+end_src +** 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"))) + +(use-package ebdb-com + :after ebdb) + +(use-package ebdb-complete + :after ebdb + :config + (ebdb-complete-enable)) + +(use-package ebdb-gnus + :after ebdb) + +(use-package ebdb-message + :after ebdb) + +;; (use-package ebdb-vcard +;; :after ebdb) +#+end_src + +** COMMENT bbdb + +#+begin_comment +[submodule "bbdb"] + path = lib/bbdb + url = https://git.savannah.nongnu.org/git/bbdb.git + load-path = lisp/elisp + info-path = doc + build-step = ./autogen.sh + build-step = ./configure --with-lispdir=elisp + build-step = make + build-step = make install +#+end_comment + +#+begin_src emacs-lisp +(use-package bbdb + :init + (bbdb-mua-auto-update-init 'message) + (setq bbdb-mua-auto-update-p 'query) + (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)) +#+end_src + +** COMMENT message-x + +#+begin_src emacs-lisp +(use-package message-x + :custom + (message-x-completion-alist + (quote + (("\\([rR]esent-\\|[rR]eply-\\)?[tT]o:\\|[bB]?[cC][cC]:" . gnus-harvest-find-address) + ((if + (boundp + (quote message-newgroups-header-regexp)) + message-newgroups-header-regexp message-newsgroups-header-regexp) + . message-expand-group))))) +#+end_src + +** COMMENT gnus-harvest + +#+begin_src emacs-lisp +(use-package gnus-harvest + :commands gnus-harvest-install + :demand t + :config + (if (featurep 'message-x) + (gnus-harvest-install 'message-x) + (gnus-harvest-install))) +#+end_src + ** COMMENT gnus-alias :ARCHIVE: #+begin_src emacs-lisp diff --git a/lib/ebdb b/lib/ebdb new file mode 160000 +Subproject 44440310e739df9d46aaa38f9ac275199f25f43 |