Re: notmuch-emacs and bbdb
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 12 Jul 2012 06:43:10 +0000 (23:43 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:11 +0000 (09:48 -0800)
05/5bfeac329c8475ef0b3949cafa875806944655 [new file with mode: 0644]

diff --git a/05/5bfeac329c8475ef0b3949cafa875806944655 b/05/5bfeac329c8475ef0b3949cafa875806944655
new file mode 100644 (file)
index 0000000..3b7df68
--- /dev/null
@@ -0,0 +1,120 @@
+Return-Path: <jrollins@finestructure.net>\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 43D72431FC7\r
+       for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 23:43:28 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 0PSRDP5XFWIV for <notmuch@notmuchmail.org>;\r
+       Wed, 11 Jul 2012 23:43:27 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 99321431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 11 Jul 2012 23:43:27 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 226DD66E02E7;\r
+       Wed, 11 Jul 2012 23:43:27 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (unknown [76.89.192.57])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id E966B66E0152;\r
+       Wed, 11 Jul 2012 23:43:18 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 44AA8318; Wed, 11 Jul 2012 23:43:13 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Daniel Bergey <bergey@alum.mit.edu>, notmuch@notmuchmail.org\r
+Subject: Re: notmuch-emacs and bbdb\r
+In-Reply-To: <878ver1jp0.fsf@wonderlust.lan>\r
+References: <878ver1jp0.fsf@wonderlust.lan>\r
+User-Agent: Notmuch/0.13.2+54~ga0426dc (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 11 Jul 2012 23:43:10 -0700\r
+Message-ID: <87mx35pji9.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Thu, 12 Jul 2012 06:43:28 -0000\r
+\r
+--=-=-=\r
+\r
+On Tue, Jul 10 2012, Daniel Bergey <bergey@alum.mit.edu> wrote:\r
+> As far as I can tell, notmuch doesn't integrate as smoothly with bbdb as older\r
+> emacs mailclients.  I'm especially looking for a snarf function that\r
+> distinguishes sender from recipient.\r
+>\r
+> How do other people use bbdb with notmuch?\r
+>\r
+> Does anyone have lisp code like that which ships with bbdb for other\r
+> clients?\r
+>\r
+> If I were to find time to write such code, what would you like it to do?\r
+\r
+Hey, Bergey.  This is something that I think needs improvement as well.\r
+I've been just manually constructing the bbdb entries myself.\r
+\r
+But what I've really been meaning to get going is address\r
+auto-completion from the database, which I'm pretty sure could obviate\r
+my need for bbdb altogether:\r
+\r
+http://notmuchmail.org/emacstips/#index13h2\r
+\r
+Getting it working seems more difficult than it should be, though, and\r
+the existing solutions seem a bit slower than they need to be [0].  So I\r
+think there's also room for improvement here.\r
+\r
+For instance, I think it would be rad if notmuch provided this\r
+functionality natively, in the CLI, or even in the library [1].  I think\r
+it's definitely doable, and it would be a nice little project.\r
+\r
+The emacs integration could be a bit smoother as well.  A single config\r
+option should either turn the functionality on or off.  That would be\r
+very convenient [2].\r
+\r
+jamie.\r
+\r
+[0] id:"87r4xur3rv.fsf@plc.plecavalier.com"\r
+[1] For what it's worth, I would prefer a solution that didn't involve\r
+    any caching of addresses outside of the database.\r
+[2] I also find it changes the behavior of the ido tab completion\r
+    interface that I'm used to using in message mode.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJP/nH/AAoJEO00zqvie6q8wm8P/3XqMKi5XVynHq7fYeWczAkE\r
+aT4PDRPTLBMiVZuEdhgtBV/6aXMvszX+Bh8uk8VrYoEO7/AijtGNosYIBTHAS/CV\r
+XU372xctZtCAFaySeM7+B711Smqlq1K8aA+n12SOruaPckF6Q001sP/FYN4/P3OO\r
+YtuqDS0ajH06zwgq62WWUioBItWXW1tvbFvH7f0o6PoSUuQfqelRyXNkTGTTZO4z\r
+/UBtd26y6gjTaX41lsd3udYKPmTzbK7VjKFih5EeO1Mj4/9ptPrfrO5gxABr/1XH\r
+0pBE5F/WUg4C3HZoCf+C7pZ0EaXeTmFnFDcQFTSTykEvPkKKiSPnheFire9Q8HGW\r
+r/rLih7V9Lte8VzjOqRTesxZwQyM5yqpIpqmY1NuqDemUj2kfoshGC+NdkDwEMkO\r
+sJ/+7aGWjeMP0IPFczeEbEK9s8r5eMQXiiiRKOOcx6vzY9KO+2kTzD+x2TlgrGkE\r
+KRco+tZqHXNPdOfODTDUFNFsGeW7Eh6WQVdOCqF71vcIHPz9iDh1/JkPttO1vyxh\r
+Fzk7z121MgxsBDYo9CIfA4XQjHYKes+SDOZHvfm4Udlc9OL2C5S2tnnR7wprYV4t\r
+/n88cTBItXlOC5zkmxTilQx9F4lBYc4cE+Ub7ktgx3OZLMHv/67WTP3LYCOwlbSz\r
+GjNm5o4htWIHNV76Phs0\r
+=hgJT\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r