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 E29D3431FC4 for ; Mon, 23 Feb 2015 23:44:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.738 X-Spam-Level: * X-Spam-Status: No, score=1.738 tagged_above=-999 required=5 tests=[DNS_FROM_AHBL_RHSBL=2.438, RCVD_IN_DNSWL_LOW=-0.7] 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 2dDQ82LdFgF8 for ; Mon, 23 Feb 2015 23:44:28 -0800 (PST) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id B8108431FC2 for ; Mon, 23 Feb 2015 23:44:27 -0800 (PST) Received: by wghl18 with SMTP id l18so3436124wgh.7 for ; Mon, 23 Feb 2015 23:36:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type; bh=VP2QIWjA5GMaFOSdNuVr+8Ao+qi6XAIFcrA4gnsftGA=; b=cabKhj2G24K8B1NUcD6f9wct7SiqL4HTGDu/o7rba9mZScAZk8ZW28zHtD9PD91IIW MV59WQDfDk4r1j6I1FPZbB212yM5cEidtcDSoLBjrnTjjZVDFjoWcrfT9AnWV19N7GtW CWy+seg1CcqJi26lvGI7xGE5RwExaWTZjjvcy5gfJ3V/YRKmDJpK5ibKFcLE4FfOJF2X xqg7v8pdo67enXtLRy9dXE9RndzMeqGpvkAh+ButDE7T/Ab+qAmPX6F8l4kZZC/uknsK WuEgSmKmbrTcf9VL1hKlZCoEvgFcY6euS8rJMvEOZM1u853cNz61GXPBu86uxq5TAqZo POiQ== X-Gm-Message-State: ALoCoQmaBI93fbIoU2WoOQCbTMoxs5VpeUzC4ffkyxxsuCshY3ymI+Fc2TCoSjYvm+NXOIkxfH2L X-Received: by 10.194.87.100 with SMTP id w4mr28882452wjz.65.1424763399566; Mon, 23 Feb 2015 23:36:39 -0800 (PST) Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3]) by mx.google.com with ESMTPSA id hs7sm19242242wib.4.2015.02.23.23.36.38 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 23 Feb 2015 23:36:38 -0800 (PST) From: Jani Nikula To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 5/5] completion: complete addresses in from:/to: search terms In-Reply-To: References: <1422388098-16333-1-git-send-email-jani@nikula.org> <1422388098-16333-5-git-send-email-jani@nikula.org> User-Agent: Notmuch/0.19+48~gb74ed1c (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Tue, 24 Feb 2015 08:37:18 +0100 Message-ID: <877fv7u5e9.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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:44:31 -0000 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 I like the completion to be self contained. BR, Jani.