From 577aa07fb89f8c0aa8ce1390e4e0134d26910e95 Mon Sep 17 00:00:00 2001 From: Daniel Bergey Date: Sun, 22 Jul 2012 20:24:52 +2000 Subject: [PATCH] Re: notmuch-emacs and bbdb --- eb/d505685383e3e6054cce494391f72943c00137 | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 eb/d505685383e3e6054cce494391f72943c00137 diff --git a/eb/d505685383e3e6054cce494391f72943c00137 b/eb/d505685383e3e6054cce494391f72943c00137 new file mode 100644 index 000000000..a4068831d --- /dev/null +++ b/eb/d505685383e3e6054cce494391f72943c00137 @@ -0,0 +1,98 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 33192431FAF + for ; Sat, 21 Jul 2012 17:24:55 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id NKrAvorShF+T for ; + Sat, 21 Jul 2012 17:24:54 -0700 (PDT) +Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com + [66.111.4.27]) + (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A23C5431FAE + for ; Sat, 21 Jul 2012 17:24:54 -0700 (PDT) +Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) + by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id B1B5720748; + Sat, 21 Jul 2012 20:24:53 -0400 (EDT) +Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) + by compute1.internal (MEProxy); Sat, 21 Jul 2012 20:24:53 -0400 +DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= + messagingengine.com; h=from:to:subject:in-reply-to:references + :date:message-id:mime-version:content-type; s=smtpout; bh=c5r5ry + 4Xc2rrb/wp34yN1noWykI=; b=eQly1nocnQA3Qh7/U/jP5Uf3VUeoJYzkircxNU + W9+6+gxdS44Wj0k0PMOepE49s+zwGyvh3W+XkgbHSAES8s/mM7ED0XJcB6yeSs83 + a6KWboxk0XDEft2M9pvgBIsxyJvmsD0IazsBqDIaHR7shVBBpDkMWNFFlEYbhjX9 + t4kY4= +X-Sasl-enc: HQ0xN+6kTTsuB3YaVGjHvTA4kQXAlqC4rve7gApADJyh 1342916693 +Received: from localhost (unknown [66.80.90.109]) + by mail.messagingengine.com (Postfix) with ESMTPA id 605268E01A6; + Sat, 21 Jul 2012 20:24:53 -0400 (EDT) +From: Daniel Bergey +To: Daniel Reusche , notmuch@notmuchmail.org +Subject: Re: notmuch-emacs and bbdb +In-Reply-To: <500B4290.70201@physik.tu-berlin.de> +References: <878ver1jp0.fsf@wonderlust.lan> + <87mx35pji9.fsf@servo.finestructure.net> + <87txxdytu1.fsf@wonderlust.lan> + <500B4290.70201@physik.tu-berlin.de> +User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1 + (i486-pc-linux-gnu) +Date: Sat, 21 Jul 2012 20:24:52 -0400 +Message-ID: <87a9ysskvf.fsf@wonderlust.lan> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Mailman-Approved-At: Mon, 23 Jul 2012 04:27:47 -0700 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 22 Jul 2012 00:24:55 -0000 + +Glad to hear I have another user! + +My function bbdb/notmuch-snarf-to doesn't work yet on more than one +recipient. Once I get that working, I'd like to do what you suggest, +and have some hook call bbdb/notmuch-snarf-to every time I send an +email. + +Probably not before late August, though. + +bergey + +Daniel Reusche writes: + +> On 12.07.2012 15:47, Daniel Bergey wrote: +>> I hacked together the attached elisp yesterday. It provides bindings to +>> put sender or recipients into bbdb. +> +> Awesome, thats just what I was looking for. +> +> Also on topic: I was working on a script (more a really long regex), to +> import all the mail addresses from the notmuch db to bbdb, but as I just +> started learning emacs lisp, it does not really work yet. +> +> The point you brought up there, with probably not wanting everyone in +> the database could be an issue though. +> Maybe some hook, that adds all the contacts to the bbdb that you replied +> to by hand? +> +> best, +> dan -- 2.26.2