From 6b842bfce733b128db97943e376ffda59f35ed09 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 24 Feb 2015 09:50:00 +0200 Subject: [PATCH] Re: [PATCH 5/5] completion: complete addresses in from:/to: search terms --- d9/515efc03603303ab471ada54e950d046b576f2 | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 d9/515efc03603303ab471ada54e950d046b576f2 diff --git a/d9/515efc03603303ab471ada54e950d046b576f2 b/d9/515efc03603303ab471ada54e950d046b576f2 new file mode 100644 index 000000000..929cbe0cf --- /dev/null +++ b/d9/515efc03603303ab471ada54e950d046b576f2 @@ -0,0 +1,85 @@ +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 5CD88431FC2 + for ; Mon, 23 Feb 2015 23:58:14 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 KNOZK+J-zgCh for ; + Mon, 23 Feb 2015 23:58:11 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 12426431FC0 + for ; Mon, 23 Feb 2015 23:58:11 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id E65E010019F; + Tue, 24 Feb 2015 09:50:00 +0200 (EET) +From: Tomi Ollila +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [PATCH 5/5] completion: complete addresses in from:/to: search + terms +In-Reply-To: <877fv7u5e9.fsf@nikula.org> +References: <1422388098-16333-1-git-send-email-jani@nikula.org> + <1422388098-16333-5-git-send-email-jani@nikula.org> + <877fv7u5e9.fsf@nikula.org> +User-Agent: Notmuch/0.19+53~gb45d2f9 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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: Tue, 24 Feb 2015 07:58:14 -0000 + +On Tue, Feb 24 2015, Jani Nikula wrote: + +> On Tue, 24 Feb 2015, Tomi Ollila wrote: +>> On Tue, Jan 27 2015, Jani Nikula wrote: +>> +>>> Use the new notmuch address command to do completion for addresses in +>>> from: and to:. +>>> +>>> --- +>>> +>>> This patch is more of an RFC. The to: completion is sloooow because +>>> typically there are more matches to begin with, and then producing the +>>> results requires reading the messages. Maybe it would be better to use +>>> the same mechanism as from: for both, even if it's not accurate for +>>> to:? +>> +>> Shameless marketing puff: Imagine how fast would it would be to use +>> nottoomuch-addresses -- the completions are there before one +>> sees TAB KeyRelease event... ;) +> +> Like this? ;) +> +> $ notmuch search to:tomiTABnottoomuch-addresses.sh: command not found + +Yes! ;) + +Tomi + +> I like the completion to be self contained. +> +> BR, +> Jani. -- 2.26.2