Re: bbdb-mua-display-recipients keybinding in bbdb-gnus.el
Bob Newell <[email protected]> Fri, 7 Sep 2018 07:56:38 -1000
| Newsgroups | gmane.emacs.bbdb.user |
|---|---|
| Message-ID | <CADoYgq-orS6g3Arqna6upJHSyi4C3onQ68niNhGKTnGQ7w7XdA@mail.gmail.com> |
On Tue, Sep 4, 2018 at 10:33 PM, Gijs Hillenius <[email protected]> wrote: > I'm about to use/define a key to add an email address entry whenever I > write to someone who is not already in bbdb. I'm going back to your original question as quoted above. If your goal is to capture /outgoing/ addresses, this is now very easy in bbdb v3. For what it's worth, here is a fraction of my bbdb intialization that does what I /think/ you are asking. ======================================== ;;; Make bbdb work with all common mail modes. (bbdb-initialize 'gnus 'message 'mail) ;;; We want to do auto-capture of addresses to/from some mail. (bbdb-mua-auto-update-init 'gnus 'message 'mail) ;;; This can no longer be 't' as that over-rides ;;; bbdb-accept-message-alist. (setq bbdb-mua-auto-update-p 'bbdb-select-message) ;;; We also need to change the default update behavior. (setq bbdb-mua-update-interactive-p '(t . query)) (setq bbdb-update-records-p t) ============================================ In bbdb v2 it was harder, now it "just works" quite fine. -- Bob Newell Honolulu, Hawai`i Via Linux/Emacs/Gnus/BBDB.