[RFC] Enhancements to address completion
authorservilio <servilio@gmail.com>
Mon, 14 Mar 2011 06:29:14 +0000 (02:29 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:59 +0000 (09:37 -0800)
f1/c16f21758428ce21534fa632ab13015afa0abc [new file with mode: 0644]

diff --git a/f1/c16f21758428ce21534fa632ab13015afa0abc b/f1/c16f21758428ce21534fa632ab13015afa0abc
new file mode 100644 (file)
index 0000000..9478ba1
--- /dev/null
@@ -0,0 +1,88 @@
+Return-Path: <servilio@gmail.com>\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 7F021431FD0\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Mar 2011 23:29:16 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 ZDAaZuzKv0uY for <notmuch@notmuchmail.org>;\r
+       Sun, 13 Mar 2011 23:29:15 -0700 (PDT)\r
+Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
+       [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A5E92431FB5\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Mar 2011 23:29:15 -0700 (PDT)\r
+Received: by fxm11 with SMTP id 11so2855941fxm.26\r
+       for <notmuch@notmuchmail.org>; Sun, 13 Mar 2011 23:29:14 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=domainkey-signature:mime-version:date:message-id:subject:from:to\r
+       :content-type; bh=Hebu0k/hKfzA4mej7KDnEXe6Ae+17fPsL3+LIZF/m4A=;\r
+       b=eWDdiidV1RqsoKkSFo6rgrBauqQzNVhATvv8bR+GsumOsEw2Dk1Twj0OX+G8A27l4N\r
+       HTULMBaaELJdUA7axexJ8Dv3KvUGlrrvl20cUHDE5NAhJgd2tJgDf6V/lvqynTpO/Raj\r
+       avl2cQIPD8y/rusakVKWHfn75QMxrj5KpvMw8=\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
+       h=mime-version:date:message-id:subject:from:to:content-type;\r
+       b=gWX1rUuqnhEw4zEj41eM4D28Fj68OZPNoLeYxmc3/cOKKIVUQzACkJso3AhMH6VeE5\r
+       loS+7vFjvPzGBsdbInBHNNiIISEnqIfSObvpHD2TL0oD/vxvBazRxgCxDjOOkbIBRsWn\r
+       amIFb0phc1Nz82rWIa+3CQcuB2T/Eby211Q6E=\r
+MIME-Version: 1.0\r
+Received: by 10.223.151.14 with SMTP id a14mr109177faw.134.1300084154332; Sun,\r
+       13 Mar 2011 23:29:14 -0700 (PDT)\r
+Received: by 10.223.102.73 with HTTP; Sun, 13 Mar 2011 23:29:14 -0700 (PDT)\r
+Date: Mon, 14 Mar 2011 02:29:14 -0400\r
+Message-ID: <AANLkTimp+DFDVABwpRvHks3OOFHppSQ9pEviJBD7knXd@mail.gmail.com>\r
+Subject: [RFC] Enhancements to address completion\r
+From: servilio <servilio@gmail.com>\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Content-Type: text/plain; charset=UTF-8\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, 14 Mar 2011 06:29:16 -0000\r
+\r
+I have been working in some enhancements to the emacs UI address\r
+completion, and this weekend I was able to find a way to finish the\r
+implementation to an acceptable (to me) state.\r
+\r
+The gist of it is allowing the completion in Emacs to match against\r
+any part of the addresses returned by the notmuch-addrlookup command.\r
+I could not find a way to have completing-read behave that way, the\r
+strategy of matching anchored to the beginning of strings is\r
+in-grained in its design for what I've seen.\r
+\r
+The current implementation uses Ido, included with Emacs at least in\r
+version 23, and is available at:\r
+\r
+git://git.latertulia.org/servilio/notmuch.git\r
+\r
+In the branch complete-name-and-address-v2. There is a web interface\r
+if you prefer to see the changes, just use "http" as the protocol in\r
+your web browser.\r
+\r
+The first few changes in the branch are fixes and small enhancements I\r
+found while working on this, and I have sent them as separate patches\r
+for acceptance as they are independent of this work. All of this has\r
+been in use (in the form of the branch without "-v2") for almost a\r
+year. I started a message in August but somehow successfully forgot\r
+completely about it.\r
+\r
+Regards,\r
+\r
+Servilio\r