Re: status of bbdb3 support in wl?
Randy Bush <[email protected]>
| Newsgroups | gmane.mail.wanderlust.general |
|---|---|
| Message-ID | <m2d1kid7un.wl-randy__14371.1821329363$1473067037$gmane$org@psg.com> |
well, stranger yet in a to: field, i type wifeTAB and, instead of Wife Name <[email protected]> it expands to Wife Name <[email protected]> which is not in the .bbdb file at all. though i think she may have used that address many a year ago. this is stealing your config cruft, only 1/3 of which i have sussed out so far randy (require 'bbdb) (require 'bbdb-mua) (require 'bbdb-anniv) ; If you don't use gnus etc. you can remove it (bbdb-initialize 'anniv 'sc 'wl) (bbdb-mua-auto-update-init) (setq bbdb-complete-mail-allow-cycling t) (setq bbdb-complete-name-allow-cycling t) (setq bbdb-completion-type 'primary-or-name) (setq bbdb-use-pop-up nil) (add-hook 'wl-message-redisplay-hook 'bbdb-mua-auto-update) (setq bbdb-mua-auto-update-p 'query) (setq bbdb-mua-update-interactive-p '(query query)) (setq bbdb-mua-mode-alist '((wl wl-summary-mode wl-draft-mode mime-view-mode) (vm vm-mode vm-virtual-mode vm-summary-mode vm-presentation-mode) (gnus gnus-summary-mode gnus-article-mode gnus-tree-mode) (rmail rmail-mode rmail-summary-mode) (mh mhe-mode mhe-summary-mode mh-folder-mode) (message message-mode) (mail mail-mode))) (add-hook 'wl-draft-mode-hook (lambda () (define-key wl-draft-mode-map "\C-i" 'hmw/complete-and-expand-mailabbrev))) ;; Add bbdb defined aliases to mail-aliases (eval-after-load "bbdb" '(bbdb-mail-aliases)) (add-hook 'wl-draft-mode-hook (lambda () (mail-abbrevs-setup))) ;; First try to expand a mail-alias, if that fails ;; use bbdb-complete-mail to grab an email address ;; from bbdb. (defun hmw/complete-and-expand-mailabbrev () "Complete the mailabbrev before point, and then expand it." (interactive "") (save-excursion) (or (expand-abbrev) (bbdb-complete-mail)))