Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch
authorCarl Worth <cworth@cworth.org>
Sat, 24 Apr 2010 00:49:38 +0000 (17:49 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:51 +0000 (09:36 -0800)
0c/a03e294b1893fb9301b9e49be1a06728de8c08 [new file with mode: 0644]

diff --git a/0c/a03e294b1893fb9301b9e49be1a06728de8c08 b/0c/a03e294b1893fb9301b9e49be1a06728de8c08
new file mode 100644 (file)
index 0000000..8348885
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <cworth@cworth.org>\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 133984196F4\r
+       for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 17:49:40 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
+       tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
+       autolearn=ham\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 uQgFHSe1fAGM; Fri, 23 Apr 2010 17:49:39 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id F41994196F3;\r
+       Fri, 23 Apr 2010 17:49:38 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id A4751568DEC; Fri, 23 Apr 2010 17:49:38 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Add notmuch-address.el for address completion\r
+       using notmuch\r
+In-Reply-To: <1271927023-10103-1-git-send-email-dme@dme.org>\r
+References: <1271927023-10103-1-git-send-email-dme@dme.org>\r
+User-Agent: Notmuch/0.2-173-gbae184f (http://notmuchmail.org) Emacs/23.1.1\r
+       (i486-pc-linux-gnu)\r
+Date: Fri, 23 Apr 2010 17:49:38 -0700\r
+Message-ID: <87633hoesd.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; 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: Sat, 24 Apr 2010 00:49:40 -0000\r
+\r
+--=-=-=\r
+\r
+On Thu, 22 Apr 2010 10:03:43 +0100, David Edmondson <dme@dme.org> wrote:\r
+> A tool `notmuch-addresses' is required to produce addresses which\r
+> match a query string. An example of a suitable script can be found in\r
+> the git repository at\r
+>     http://jkr.acm.jhu.edu/git/notmuch_addresses.git\r
+> There are no doubt others.\r
+\r
+I applied this, but I've had some difficulty figuring out how to use it\r
+given just the above instructions.\r
+\r
+I did install the above-referenced python script[*] as notmuch-addresses\r
+on my path. And I tested it at the command line and it seemed to act\r
+reasonably.\r
+\r
+But hitting TAB in message-mode continued to frobnicate BBDB instead.\r
+\r
+I finally hit on doing (require 'notmuch-address) in .emacs. As noted\r
+previously, can we please make (require 'notmuch) pull in all notmuch\r
+functionality rather than having it separated like this?\r
+\r
+Finally, though, I haven't figured out how to get more than a single\r
+match from this. If the first match isn't what I want, how do I see and\r
+choose later matches?\r
+\r
+In the meantime, I've pushed this already.\r
+\r
+-Carl\r
+\r
+[*] Which also made me figure out how to install our python bindings. I\r
+found "sudo python ./setup.py install" eventually, but it would be quite\r
+nice if "sudo make install" took care of that.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFL0kAi6JDdNq8qSWgRAtqIAJ9Wrio/ItzhrrhucceJLBc/ivYvGgCeJROR\r
+DzfMg+eQtXNxDF0awkBmCd8=\r
+=iR/p\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r