Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch
[notmuch-archives.git] / d9 / 91063163ab16b4b9e9bd8dcac38a2e2b06b844
diff --git a/d9/91063163ab16b4b9e9bd8dcac38a2e2b06b844 b/d9/91063163ab16b4b9e9bd8dcac38a2e2b06b844
new file mode 100644 (file)
index 0000000..96596a9
--- /dev/null
@@ -0,0 +1,107 @@
+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 E37B3418C37\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 11:03:39 -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 4TWVsySd+NqU; Mon, 26 Apr 2010 11:03:39 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 13B3D418C36;\r
+       Mon, 26 Apr 2010 11:03:37 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id A3B41568DEC; Mon, 26 Apr 2010 11:03:36 -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: <87k4ruch6t.fsf@ut.hh.sledj.net>\r
+References: <1271927023-10103-1-git-send-email-dme@dme.org>\r
+       <87633hoesd.fsf@yoom.home.cworth.org>\r
+       <87k4ru5vzp.fsf@ut.hh.sledj.net>\r
+       <87eii2ck8g.fsf@yoom.home.cworth.org>\r
+       <87k4ruch6t.fsf@ut.hh.sledj.net>\r
+User-Agent: Notmuch/0.2-202-g01ec4d3 (http://notmuchmail.org) Emacs/23.1.1\r
+       (i486-pc-linux-gnu)\r
+Date: Mon, 26 Apr 2010 11:03:36 -0700\r
+Message-ID: <87zl0qccqv.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: Mon, 26 Apr 2010 18:03:40 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 26 Apr 2010 17:27:38 +0100, David Edmondson <dme@dme.org> wrote:\r
+> Patch is sent for this, though given that it's not easy to change the\r
+> prompt as you step through, it says:\r
+>=20\r
+>      Address (7 match): Name Here <address@example.com>\r
+\r
+Thanks. I've pushed this. Bonus points to someone who fixes it to avoid\r
+printing "1 matches".\r
+\r
+> Moving through potential completions is pretty standard Emacs UI stuff,\r
+> so I'm not sure if it's necessary to explain? (Of course, that you had\r
+> to ask suggests otherwise...)\r
+\r
+It is funny that I've used emacs for all these years without learning\r
+this.\r
+\r
+But in general, I have been trying to keep the notmuch interface fairly\r
+self-explanatory. I know that some people that have never used emacs at\r
+all are giving notmuch a try, just to see what it's like. And I'd like\r
+to help them have as positive experience as possible.\r
+\r
+> > I don't suppose it would be feasible to make Space and DEL navigate\r
+> > through the list as well would it?\r
+>=20\r
+> Not with `completing-read', but I'll look at it after 0.3.\r
+\r
+That's what I'd assumed. If we end up doing our own thing here, I'd even\r
+have a few more things on my wishlist. I think I'd like for matching\r
+addresses to start appearing in the minibuffer as I started typing,\r
+(even before hitting TAB).\r
+\r
+Of course, for that we're going to need a faster address completer,\r
+which will mean getting the actual addresses into the database. So I'll\r
+add that to my list of the many things I want to fix in the great\r
+database-schema-rewrite that's coming soon.\r
+\r
+=2DCarl\r
+\r
+=2D-=20\r
+carl.d.worth@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFL1dV46JDdNq8qSWgRAhyLAJ42/t22GGKegTpklgK9gZbzoti23gCeOSpn\r
+dTaPymo7cnv1AE2qWZJCm1A=\r
+=J7QI\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r