Re: Address completion
authorDirk Hohndel <hohndel@infradead.org>
Wed, 21 Apr 2010 03:49:00 +0000 (20:49 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:44 +0000 (09:36 -0800)
af/3e5c591070176de9de753b5f3759486d7167a4 [new file with mode: 0644]

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