Re: using bbdb with autocompletion
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 14 Apr 2012 21:13:46 +0000 (00:13 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:24 +0000 (09:46 -0800)
ff/0c41b6bec2e920c2c1221d0a02ff7b8426738c [new file with mode: 0644]

diff --git a/ff/0c41b6bec2e920c2c1221d0a02ff7b8426738c b/ff/0c41b6bec2e920c2c1221d0a02ff7b8426738c
new file mode 100644 (file)
index 0000000..4bb73b5
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 24F48431FAF\r
+       for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 14:13:54 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id l3tX1QW1HDv6 for <notmuch@notmuchmail.org>;\r
+       Sat, 14 Apr 2012 14:13:53 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
+       by olra.theworths.org (Postfix) with ESMTP id BFED0431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 14 Apr 2012 14:13:52 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+       id B106568055; Sun, 15 Apr 2012 00:13:46 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: David Belohrad <david@belohrad.ch>, notmuch@notmuchmail.org\r
+Subject: Re: using bbdb with autocompletion\r
+In-Reply-To: <87ehrt9xdp.fsf@beesknees.cern.ch>\r
+References: <87ehrt9xdp.fsf@beesknees.cern.ch>\r
+User-Agent: Notmuch/0.12+105~g6c84116 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sun, 15 Apr 2012 00:13:46 +0300\r
+Message-ID: <m2iph2qanp.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 14 Apr 2012 21:13:54 -0000\r
+\r
+On Thu, Apr 12 2012, David Belohrad <david@belohrad.ch> wrote:\r
+\r
+> Dear All,\r
+> before I was using gnus to read my emails. This was setup together with\r
+> bbdb such, that every email address I got an email delivered got stored\r
+> into the bbdb database. \r
+>\r
+> The config was following:\r
+>\r
+> ---------------------------\r
+> ;; IF USING GNUS TO FETCH MAIL:\r
+> (if (locate-library "bbdb")\r
+>     ;; bbdb to automatically create email address list\r
+>     (progn\r
+>       (require 'bbdb)\r
+>       (bbdb-initialize)\r
+>       (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)\r
+>       (add-hook 'gnus-startup-hook 'bbdb-insinuate-message)\r
+>       (add-hook 'message-setup-hook 'bbdb-define-all-aliases)\r
+>\r
+>       (setq bbdb/news-auto-create-p t)\r
+>       (setq bbdb-complete-name-allow-cycling t)\r
+>       (setq bbdb-complete-mail-allow-cycling t)\r
+>       (setq bbdb-complete-name-full-completion t)\r
+>       (setq bbdb-completion-type 'primary-or-name)\r
+>       (setq bbdb-use-pop-up nil)\r
+>       ;; set BBDB to AFS so we have the access from all computers to the same bbdb database!\r
+>       (setq bbdb-file "/afs/cern.ch/user/b/belohrad/private/bbdb")\r
+>       (setq bbdb-offer-save 1)\r
+>       (setq bbdb-electric-p t)\r
+>       (message "bbdb initialized")\r
+>       )\r
+>   (message "bbdb is missing: address lookup will not work"))\r
+> --------------------------\r
+>\r
+> The problem I have with this now is, that when using notmuch to read\r
+> emails, the email addresses do not automatically add to bbdb. So when I\r
+> write an email, I can only choose 'To:' email address, which is already\r
+> in the bbdb from the times I was using gnus. But all new addresses are\r
+> not added.\r
+>\r
+> How can I setup notmuch properly so with each email arrived it checks\r
+> against email address and stores it in the bbdb as in case of gnus?\r
+\r
+There is (too) brief notice about that in\r
+\r
+http://notmuchmail.org/emacstips/#index13h2\r
+\r
+There is just little bit more information in notmuch archives\r
+about that -- I did not dig deeper though.\r
+\r
+If you're interested you could figure that out and update the\r
+wiki page.\r
+\r
+I'm, using this: id:"m2ehtm1w7p.fsf@guru.guru-group.fi" :D\r
+\r
+(currently my last mail on nottoomuch-addresses.sh)\r
+\r
+> thanks for any help.\r
+>\r
+> -- \r
+> .david.\r
+\r
+Tomi\r