Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch
[notmuch-archives.git] / 0c / a03e294b1893fb9301b9e49be1a06728de8c08
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 133984196F4\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 17:49:40 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.89\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5\r
12         tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01]\r
13         autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id uQgFHSe1fAGM; Fri, 23 Apr 2010 17:49:39 -0700 (PDT)\r
17 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
18         by olra.theworths.org (Postfix) with ESMTP id F41994196F3;\r
19         Fri, 23 Apr 2010 17:49:38 -0700 (PDT)\r
20 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
21         id A4751568DEC; Fri, 23 Apr 2010 17:49:38 -0700 (PDT)\r
22 From: Carl Worth <cworth@cworth.org>\r
23 To: David Edmondson <dme@dme.org>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH] emacs: Add notmuch-address.el for address completion\r
25         using notmuch\r
26 In-Reply-To: <1271927023-10103-1-git-send-email-dme@dme.org>\r
27 References: <1271927023-10103-1-git-send-email-dme@dme.org>\r
28 User-Agent: Notmuch/0.2-173-gbae184f (http://notmuchmail.org) Emacs/23.1.1\r
29         (i486-pc-linux-gnu)\r
30 Date: Fri, 23 Apr 2010 17:49:38 -0700\r
31 Message-ID: <87633hoesd.fsf@yoom.home.cworth.org>\r
32 MIME-Version: 1.0\r
33 Content-Type: multipart/signed; boundary="=-=-=";\r
34         micalg=pgp-sha1; protocol="application/pgp-signature"\r
35 X-BeenThere: notmuch@notmuchmail.org\r
36 X-Mailman-Version: 2.1.13\r
37 Precedence: list\r
38 List-Id: "Use and development of the notmuch mail system."\r
39         <notmuch.notmuchmail.org>\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
43 List-Post: <mailto:notmuch@notmuchmail.org>\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
47 X-List-Received-Date: Sat, 24 Apr 2010 00:49:40 -0000\r
48 \r
49 --=-=-=\r
50 \r
51 On Thu, 22 Apr 2010 10:03:43 +0100, David Edmondson <dme@dme.org> wrote:\r
52 > A tool `notmuch-addresses' is required to produce addresses which\r
53 > match a query string. An example of a suitable script can be found in\r
54 > the git repository at\r
55 >     http://jkr.acm.jhu.edu/git/notmuch_addresses.git\r
56 > There are no doubt others.\r
57 \r
58 I applied this, but I've had some difficulty figuring out how to use it\r
59 given just the above instructions.\r
60 \r
61 I did install the above-referenced python script[*] as notmuch-addresses\r
62 on my path. And I tested it at the command line and it seemed to act\r
63 reasonably.\r
64 \r
65 But hitting TAB in message-mode continued to frobnicate BBDB instead.\r
66 \r
67 I finally hit on doing (require 'notmuch-address) in .emacs. As noted\r
68 previously, can we please make (require 'notmuch) pull in all notmuch\r
69 functionality rather than having it separated like this?\r
70 \r
71 Finally, though, I haven't figured out how to get more than a single\r
72 match from this. If the first match isn't what I want, how do I see and\r
73 choose later matches?\r
74 \r
75 In the meantime, I've pushed this already.\r
76 \r
77 -Carl\r
78 \r
79 [*] Which also made me figure out how to install our python bindings. I\r
80 found "sudo python ./setup.py install" eventually, but it would be quite\r
81 nice if "sudo make install" took care of that.\r
82 \r
83 --=-=-=\r
84 Content-Type: application/pgp-signature\r
85 \r
86 -----BEGIN PGP SIGNATURE-----\r
87 Version: GnuPG v1.4.10 (GNU/Linux)\r
88 \r
89 iD8DBQFL0kAi6JDdNq8qSWgRAtqIAJ9Wrio/ItzhrrhucceJLBc/ivYvGgCeJROR\r
90 DzfMg+eQtXNxDF0awkBmCd8=\r
91 =iR/p\r
92 -----END PGP SIGNATURE-----\r
93 --=-=-=--\r