Address completion
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Tue, 20 Apr 2010 21:33:11 +0000 (23:33 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:44 +0000 (09:36 -0800)
07/bc297ccfd1fec104dcbe110eb3cb779d3d7bc6 [new file with mode: 0644]

diff --git a/07/bc297ccfd1fec104dcbe110eb3cb779d3d7bc6 b/07/bc297ccfd1fec104dcbe110eb3cb779d3d7bc6
new file mode 100644 (file)
index 0000000..cb8cd80
--- /dev/null
@@ -0,0 +1,68 @@
+Return-Path: <Sebastian@SSpaeth.de>\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 678194196F2\r
+       for <notmuch@notmuchmail.org>; Tue, 20 Apr 2010 14:33:22 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.8\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8]\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 JpYCe+UXiO6b for <notmuch@notmuchmail.org>;\r
+       Tue, 20 Apr 2010 14:33:21 -0700 (PDT)\r
+Received: from homiemail-a17.g.dreamhost.com (caiajhbdcahe.dreamhost.com\r
+       [208.97.132.74])\r
+       by olra.theworths.org (Postfix) with ESMTP id 82FC0431FC1\r
+       for <notmuch@notmuchmail.org>; Tue, 20 Apr 2010 14:33:21 -0700 (PDT)\r
+Received: from sspaeth.de (unknown [195.190.188.219])\r
+       by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 929867A8063\r
+       for <notmuch@notmuchmail.org>; Tue, 20 Apr 2010 14:33:19 -0700 (PDT)\r
+Received: by sspaeth.de (sSMTP sendmail emulation);\r
+       Tue, 20 Apr 2010 23:33:11 +0200\r
+From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
+To: Notmuch development list <notmuch@notmuchmail.org>\r
+Subject: Address completion\r
+Date: Tue, 20 Apr 2010 23:33:11 +0200\r
+Message-ID: <87bpddg67c.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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: Tue, 20 Apr 2010 21:33:22 -0000\r
+\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
+It would be trivial to include cworth's 3rd pass (or rather the 1st one)\r
+of checking entries with an "address book" tag first. Which would\r
+satisfy his entry in the notmuch TODO :-). which tag would make most\r
+sense? And if a message had such a tag, would that mean the to: or the\r
+from: is in the address book? Carl? It's your idea :-)\r
+\r
+Sebastian\r