[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unable to update BBDB records on message send with gnus
From: |
Kostas Zorbadelos |
Subject: |
Unable to update BBDB records on message send with gnus |
Date: |
Wed, 16 Mar 2016 11:35:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello all,
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
Debugger entered--entering a function:
* bbdb-annotate-message(("Kostas Zorbadelos" "kzorba@<hidden1>" "From" sender
message) bbdb-query-create)
* byte-code("\204\n \304=\203 \305\n@\n\211A@\262\"\202;
\306=\203$\307\n\306\"\202; \310=\2031\307\n\311\"\202;
\312=\205;\307\n\312\"\313\207" [bbdb-read-only bbdb-update-records-p address
hits search bbdb-message-search update bbdb-annotate-message query
bbdb-query-create create nil] 4)
* 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
--
Kostas Zorbadelos http://gr.linkedin.com/in/kzorba
- Unable to update BBDB records on message send with gnus,
Kostas Zorbadelos <=