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

Tomi Ollila tomi.ollila at iki.fi
Mon Feb 23 23:50:00 PST 2015


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

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


More information about the notmuch mailing list