Re: [PATCH 5/5] completion: complete addresses in from:/to: search terms
authorJani Nikula <jani@nikula.org>
Tue, 24 Feb 2015 07:37:18 +0000 (08:37 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:48:10 +0000 (14:48 -0700)
d9/aa971849dbe2988fa55942f8cedd643c1fc4bd [new file with mode: 0644]

diff --git a/d9/aa971849dbe2988fa55942f8cedd643c1fc4bd b/d9/aa971849dbe2988fa55942f8cedd643c1fc4bd
new file mode 100644 (file)
index 0000000..33e84a0
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <jani@nikula.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 E29D3431FC4\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Feb 2015 23:44:30 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.738\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.738 tagged_above=-999 required=5\r
+       tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7]\r
+       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 2dDQ82LdFgF8 for <notmuch@notmuchmail.org>;\r
+       Mon, 23 Feb 2015 23:44:28 -0800 (PST)\r
+Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com\r
+ [74.125.82.41])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ B8108431FC2   for <notmuch@notmuchmail.org>; Mon, 23 Feb 2015 23:44:27 -0800\r
+ (PST)\r
+Received: by wghl18 with SMTP id l18so3436124wgh.7\r
+       for <notmuch@notmuchmail.org>; Mon, 23 Feb 2015 23:36:39 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+       :user-agent:date:message-id:mime-version:content-type;\r
+       bh=VP2QIWjA5GMaFOSdNuVr+8Ao+qi6XAIFcrA4gnsftGA=;\r
+       b=cabKhj2G24K8B1NUcD6f9wct7SiqL4HTGDu/o7rba9mZScAZk8ZW28zHtD9PD91IIW\r
+       MV59WQDfDk4r1j6I1FPZbB212yM5cEidtcDSoLBjrnTjjZVDFjoWcrfT9AnWV19N7GtW\r
+       CWy+seg1CcqJi26lvGI7xGE5RwExaWTZjjvcy5gfJ3V/YRKmDJpK5ibKFcLE4FfOJF2X\r
+       xqg7v8pdo67enXtLRy9dXE9RndzMeqGpvkAh+ButDE7T/Ab+qAmPX6F8l4kZZC/uknsK\r
+       WuEgSmKmbrTcf9VL1hKlZCoEvgFcY6euS8rJMvEOZM1u853cNz61GXPBu86uxq5TAqZo\r
+       POiQ==\r
+X-Gm-Message-State:\r
+ ALoCoQmaBI93fbIoU2WoOQCbTMoxs5VpeUzC4ffkyxxsuCshY3ymI+Fc2TCoSjYvm+NXOIkxfH2L\r
+X-Received: by 10.194.87.100 with SMTP id w4mr28882452wjz.65.1424763399566;\r
+       Mon, 23 Feb 2015 23:36:39 -0800 (PST)\r
+Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
+       by mx.google.com with ESMTPSA id hs7sm19242242wib.4.2015.02.23.23.36.38\r
+       (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
+       Mon, 23 Feb 2015 23:36:38 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 5/5] completion: complete addresses in from:/to:\r
+       search  terms\r
+In-Reply-To: <m2fv9vhjfr.fsf@guru.guru-group.fi>\r
+References: <1422388098-16333-1-git-send-email-jani@nikula.org>\r
+       <1422388098-16333-5-git-send-email-jani@nikula.org>\r
+       <m2fv9vhjfr.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 24 Feb 2015 08:37:18 +0100\r
+Message-ID: <877fv7u5e9.fsf@nikula.org>\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, 24 Feb 2015 07:44:31 -0000\r
+\r
+On Tue, 24 Feb 2015, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+> On Tue, Jan 27 2015, Jani Nikula <jani@nikula.org> wrote:\r
+>\r
+>> Use the new notmuch address command to do completion for addresses in\r
+>> from: and to:.\r
+>>\r
+>> ---\r
+>>\r
+>> This patch is more of an RFC. The to: completion is sloooow because\r
+>> typically there are more matches to begin with, and then producing the\r
+>> results requires reading the messages. Maybe it would be better to use\r
+>> the same mechanism as from: for both, even if it's not accurate for\r
+>> to:?\r
+>\r
+> Shameless marketing puff: Imagine how fast would it would be to use\r
+> nottoomuch-addresses -- the completions are there before one\r
+> sees TAB KeyRelease event... ;)\r
+\r
+Like this? ;)\r
+\r
+$ notmuch search to:tomiTABnottoomuch-addresses.sh: command not found\r
+\r
+I like the completion to be self contained.\r
+\r
+BR,\r
+Jani.\r