From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kostas Zorbadelos Newsgroups: gmane.emacs.help Subject: Unable to update BBDB records on message send with gnus Date: Wed, 16 Mar 2016 11:35:40 +0200 Organization: No affiliation Message-ID: <87a8lyu5n7.fsf@otenet.gr> Reply-To: kzorba@otenet.gr NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1458120974 11962 80.91.229.3 (16 Mar 2016 09:36:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2016 09:36:14 +0000 (UTC) Cc: winkler@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 16 10:36:02 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ag7s1-0004HV-HA for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Mar 2016 10:36:01 +0100 Original-Received: from localhost ([::1]:54155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag7s0-00024M-OH for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Mar 2016 05:36:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag7rp-00021g-2p for help-gnu-emacs@gnu.org; Wed, 16 Mar 2016 05:35:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ag7rk-00028Z-EK for help-gnu-emacs@gnu.org; Wed, 16 Mar 2016 05:35:48 -0400 Original-Received: from calypso.otenet.gr ([83.235.67.36]:50005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ag7rk-00028C-78; Wed, 16 Mar 2016 05:35:44 -0400 Original-Received: from otenet.gr (enigma.otenet.gr [212.205.221.10]) by calypso.otenet.gr (ESMTP) with ESMTPSA id 83B47138049; Wed, 16 Mar 2016 11:35:40 +0200 (EET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109594 Archived-At: 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 t= oo (setq bbdb-mua-auto-update-p 'query) ;; or 'create to create without aski= ng ; 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")))=20 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.=20 Sending a mail to 2 recipients, I managed to follow the execution until this point=20 Debugger entered--entering a function: * bbdb-annotate-message(("Kostas Zorbadelos" "kzorba@" "From" se= nder message) bbdb-query-create) * byte-code("=08\204\n \304=3D\203=00\305\n@\n\211A@\262\"\202; \306=3D\2= 03$\307\n\306\"\202; \310=3D\2031\307\n\311\"\202; \312=3D\205;\307\n\312= \"\313\207" [bbdb-read-only bbdb-update-records-p address hits search bbd= b-message-search update bbdb-annotate-message query bbdb-query-create cre= ate nil] 4) * bbdb-update-records((("Kostas Zorbadelos" "kzorba@" "From" sen= der message) (nil "@" "To" recipients message) (nil "@" "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.=20 I also opened a relevant item in BBDB project http://savannah.nongnu.org/support/index.php?108997 Any comments, solutions welcome. Thanks, Kostas --=20 Kostas Zorbadelos http://gr.linkedin.com/in/kzorba =09