Subject: Re: [sup-talk] Completion for search queries

From: William Morgan <[email-masked]>
Date: Mon, 02 Nov 2009 07:58:45 -0800

Reformatted excerpts from Christopher Bertels's message of 2009-10-22:
> Anyone else who would like to have this feature in sup?

Sounds good to me. Probably wouldn't be too hard since we have a fairly
general tab-completion mechanism in place already.
-- 
William <[email-masked]>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: William Morgan <[email-masked]>
Date: Tue, 03 Nov 2009 09:35:34 -0800

Reformatted excerpts from Christopher Bertels's message of 2009-11-03:
> Cool, anyone who knows how & wants to implement this? ;)

If anyone is interested, I would suggest this approach: have each index
(Ferret and Xapian) have a method that returns a list of query terms,
and then look at how BufferManager#ask_many_emails_with_completions
works, and implement something similar called ask_for_search_query or
the like. Then have bin/sup circa line 275 call that instead of #ask.
-- 
William <[email-masked]>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Christopher Bertels <[email-masked]>
Date: Thu, 22 Oct 2009 10:26:42 +0200

Hi,

I just came up with an idea (don't know if this has been requested
yet). What I'd really like to see is some kind of query-completion
when searching in sup. Often, when I want to search for messages, I
don't know all the supported query operators (like from:, +label:
etc.)

It would be super cool if you'd get some kind of completion (or even a
list of possible completions?) when hitting tab.

Cheers,
Christopher.
-- 
================================
Christopher Bertels
http://www.adztec-independent.de
GPG Key ID: 0x2345b203
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Christopher Bertels <[email-masked]>
Date: Tue, 03 Nov 2009 17:31:25 +0100