Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Completion for search queries
@ 2009-10-22  8:26 Christopher Bertels
  2009-11-02 15:58 ` William Morgan
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Bertels @ 2009-10-22  8:26 UTC (permalink / raw)
  To: sup-talk


[-- Attachment #1.1: Type: text/plain, Size: 592 bytes --]

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.

Anyone else who would like to have this feature in sup?

Cheers,
Christopher.
-- 
================================
Christopher Bertels
http://www.adztec-independent.de
GPG Key ID: 0x2345b203

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 902 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] Completion for search queries
  2009-10-22  8:26 [sup-talk] Completion for search queries Christopher Bertels
@ 2009-11-02 15:58 ` William Morgan
  2009-11-03 16:31   ` Christopher Bertels
  0 siblings, 1 reply; 4+ messages in thread
From: William Morgan @ 2009-11-02 15:58 UTC (permalink / raw)
  To: sup-talk

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 <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] Completion for search queries
  2009-11-02 15:58 ` William Morgan
@ 2009-11-03 16:31   ` Christopher Bertels
  2009-11-03 17:35     ` William Morgan
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Bertels @ 2009-11-03 16:31 UTC (permalink / raw)
  To: sup-talk


[-- Attachment #1.1: Type: text/plain, Size: 507 bytes --]

Excerpts from William Morgan's message of Mo Nov 02 16:58:45 +0100 2009:
> 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.

Cool, anyone who knows how & wants to implement this? ;)
-- 
================================
Christopher Bertels
http://www.adztec-independent.de
GPG Key ID: 0x2345b203

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sup-talk] Completion for search queries
  2009-11-03 16:31   ` Christopher Bertels
@ 2009-11-03 17:35     ` William Morgan
  0 siblings, 0 replies; 4+ messages in thread
From: William Morgan @ 2009-11-03 17:35 UTC (permalink / raw)
  To: sup-talk

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 <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-03 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-22  8:26 [sup-talk] Completion for search queries Christopher Bertels
2009-11-02 15:58 ` William Morgan
2009-11-03 16:31   ` Christopher Bertels
2009-11-03 17:35     ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox