Re: [PATCH 5/5] completion: complete addresses in from:/to: search terms

Subject: Re: [PATCH 5/5] completion: complete addresses in from:/to: search terms

Date: Tue, 24 Feb 2015 09:50:00 +0200

To: Jani Nikula, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Tue, Feb 24 2015, Jani Nikula <jani@nikula.org> wrote:

> On Tue, 24 Feb 2015, Tomi Ollila <tomi.ollila@iki.fi> wrote:
>> On Tue, Jan 27 2015, Jani Nikula <jani@nikula.org> 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.

Thread: