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