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 5CDE24196F2 for ; Tue, 20 Apr 2010 20:49:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham 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 PhH42X+7roeV for ; Tue, 20 Apr 2010 20:49:02 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by olra.theworths.org (Postfix) with ESMTP id 33374431FC1 for ; Tue, 20 Apr 2010 20:49:02 -0700 (PDT) Received: from localhost ([::1] helo=x200.gr8dns.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1O4Qvt-0001to-4x; Wed, 21 Apr 2010 03:49:01 +0000 Received: by x200.gr8dns.org (Postfix, from userid 500) id 7EE2AC01C0; Tue, 20 Apr 2010 20:49:00 -0700 (PDT) From: Dirk Hohndel To: Sebastian Spaeth , Notmuch development list Subject: Re: Address completion In-Reply-To: <87bpddg67c.fsf@SSpaeth.de> References: <87bpddg67c.fsf@SSpaeth.de> Date: Tue, 20 Apr 2010 20:49:00 -0700 Message-ID: User-Agent: notmuch version 0.1-133-g9560703 (Emacs 23.1.1/i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html 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: Wed, 21 Apr 2010 03:49:03 -0000 On Tue, 20 Apr 2010 23:33:11 +0200, "Sebastian Spaeth" wrote: > Oh my goodness. I just tried > http://github.com/dme/notmuch/raw/dme-play/emacs/notmuch-address.el > together with the latest version of my "addrlookup" tool (which does the > same as jkr's notmuch_addresses.py) and it just works, even in current > cworth/master. > > Address completion for to: and cc: headers based on my notmuch database, > sweet! Thanks David. I only need to reverse the sort order of addrlookup > as this uses most-to-least likely (which is more intuitive than eudc's > least-to-most likely sort order). > > BTW, addrlookup now first tries to find matches that I previously sent > mails to and failing that it will try to find matches for all from: > addresses that match the search. BTW: your version fails badly with the "Last, First" (including quotes) names that Exchange produces... I get First" Not ideal :-) /D -- Dirk Hohndel Intel Open Source Technology Center