Just for completeness and for anyone else who searches this, the issue
is fixed adding a

(setq bbdb-message-all-addresses t) 

see also

http://savannah.nongnu.org/support/index.php?108997

Regards,
Kostas

On Mon, Mar 21 2016 at 04:23:23 PM, Kostas Zorbadelos <kzo...@otenet.gr> wrote:

> Hello all, I initially sent this to help-gnu-emacs@, most probably this
> is a better list for the issue.
>
> I want to update BBDB records for all outgoing message recepients. I
> found a relevant post on stackexchange
>
> http://emacs.stackexchange.com/questions/164/automatically-add-recipients-mail-address-to-the-bbdb-database
>
> and based on that my relevant config is:
>
> .emacs
> ;; Activate bbdb contact manager
> (require 'bbdb)
> (bbdb-initialize 'gnus 'message)
> ; The following will parse fields in outgoing messages,
> ; and suggest creation of corresponding BBDB entries
> (bbdb-mua-auto-update-init 'message) ;; use 'gnus for incoming messages too
> (setq bbdb-mua-auto-update-p 'query) ;; or 'create to create without asking
> ; prevent a bbdb window pop-up in gnus
> (setq bbdb-mua-pop-up nil)
> ; cycle through bbdb contacts in mail completion
> (setq bbdb-complete-mail-allow-cycling t)
>
> versions
> ----------
> GNU Emacs 24.5.1
> BBDB version: 20151114.1541 (Melpa package)
> https://melpa.org - Corresponds to git HEAD (
> (bbdb
> :url "git://git.savannah.nongnu.org/bbdb.git"
> :fetcher git
> :files ("lisp/.el" "doc/*.texi"))) 
>
> When I edit a message with a few recipients I only get queried to update
> the record for the sender (me) in the first time. I get no query for
> recipient records updates or creations. 
>
> Sending a mail to 2 recipients, I managed to follow the execution until
> this point 
>
>
> * bbdb-annotate-message(("Kostas Zorbadelos" "kzorba@<hidden1>" "From" sender 
> message) bbdb-query-create)
> bbdb-update-records((("Kostas Zorbadelos" "kzorba@<hidden1>" "From"
> sender message) (nil "<user1>@<hidden2>" "To" recipients message) (nil
> "<user2>@<hidden3>" "To" recipients message)) query nil)
> bbdb-mua-update-records(nil query)
> bbdb-mua-auto-update()
> run-hooks(message-send-hook)
> message-send(nil)
> message-send-and-exit(nil)
> call-interactively(message-send-and-exit)
> ... 
>
> Seems bbdb-update-records only queries/updates the first record and
> disregards the rest. 
> I also opened a relevant item in BBDB project
>
> http://savannah.nongnu.org/support/index.php?108997
>
> Any comments, solutions welcome.
>
> Thanks,
> Kostas


------------------------------------------------------------------------------
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to