Re: [PATCH] emacs: Add notmuch-address.el for address completion using notmuch
authorDavid Edmondson <dme@dme.org>
Mon, 26 Apr 2010 16:27:38 +0000 (17:27 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:55 +0000 (09:36 -0800)
81/4927d718c7f223d20f5912f06d0d77201c9989 [new file with mode: 0644]

diff --git a/81/4927d718c7f223d20f5912f06d0d77201c9989 b/81/4927d718c7f223d20f5912f06d0d77201c9989
new file mode 100644 (file)
index 0000000..77a05f6
--- /dev/null
@@ -0,0 +1,115 @@
+Return-Path: <dme@dme.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 F336B4196F2\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 09:27:34 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.89\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, 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 MlcuiWuJEnXV for <notmuch@notmuchmail.org>;\r
+       Mon, 26 Apr 2010 09:27:34 -0700 (PDT)\r
+Received: from mail-bw0-f210.google.com (mail-bw0-f210.google.com\r
+       [209.85.218.210])\r
+       by olra.theworths.org (Postfix) with ESMTP id EA747431FC1\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 09:27:33 -0700 (PDT)\r
+Received: by bwz2 with SMTP id 2so11327027bwz.30\r
+       for <notmuch@notmuchmail.org>; Mon, 26 Apr 2010 09:27:33 -0700 (PDT)\r
+Received: by 10.204.30.195 with SMTP id v3mr2771326bkc.3.1272299252866;\r
+       Mon, 26 Apr 2010 09:27:32 -0700 (PDT)\r
+Received: from ut.hh.sledj.net (host83-217-165-81.dsl.vispa.com\r
+       [83.217.165.81])\r
+       by mx.google.com with ESMTPS id 14sm1567544bwz.14.2010.04.26.09.27.31\r
+       (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+       Mon, 26 Apr 2010 09:27:31 -0700 (PDT)\r
+Received: by ut.hh.sledj.net (Postfix, from userid 1000)\r
+       id 84A3E59413B; Mon, 26 Apr 2010 17:27:42 +0100 (BST)\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Add notmuch-address.el for address completion\r
+       using notmuch\r
+In-Reply-To: <87eii2ck8g.fsf@yoom.home.cworth.org>\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
+User-Agent: Notmuch/0.2-200-gcc7098a (http://notmuchmail.org) Emacs/23.1.1\r
+       (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Mon, 26 Apr 2010 17:27:38 +0100\r
+Message-ID: <87k4ruch6t.fsf@ut.hh.sledj.net>\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 16:27:35 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Mon, 26 Apr 2010 08:21:51 -0700, Carl Worth <cworth@cworth.org> wrote:\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 a=\r
+nd\r
+> > > choose later matches?\r
+> >=20\r
+> > M-n to move forward in the list, M-p to move backwards (including into\r
+> > any history you have accrued).\r
+>=20\r
+> Ah-hah! Thanks for filling me in. I'm glad to finally have usable\r
+> notmuch-based address completion now.\r
+>=20\r
+>  Perhaps we could add a hint in the minibuffer prompt?\r
+>=20\r
+>      Address (+6 more): Name Here <address@example.com>\r
+\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
+\r
+       Address (7 match): Name Here <address@example.com>\r
+\r
+> I'd like to come up with something more specific in that hint, but it\r
+> gets a little long:\r
+>=20\r
+>      Address (Use M-n/M-p or arrow keys for 6 more):\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
+> I don't suppose it would be feasible to make Space and DEL navigate\r
+> through the list as well would it?\r
+\r
+Not with `completing-read', but I'll look at it after 0.3.\r
+\r
+dme.\r
+=2D-=20\r
+David Edmondson, http://dme.org\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iEYEARECAAYFAkvVvvsACgkQaezQq/BJZRakKQCfXY4/YXC6Vu3yaZuFZ5APBlq/\r
+KEAAnj5wSXsEloOXCqMqx5GmLdBhK67B\r
+=ogDS\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r