Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] On making inbox-mode and search-results-mode more similar
Date: Thu, 03 Sep 2009 11:39:58 -0700	[thread overview]
Message-ID: <1252003008-sup-8596@masanjin.net> (raw)
In-Reply-To: <1251327030-sup-7342@yoom.home.cworth.org>

Reformatted excerpts from Carl Worth's message of 2009-08-26:
> Excerpts from Carl Worth's message of Wed Aug 26 15:24:36 -0700 2009:
> > +    text = BufferManager.ask :search, "refine query: ", "label:inbox
> > -label:spam -label:deleted -label:killed "
> 
> Is that even the right syntax for searching for threads with the inbox
> label but excluding threades with the spam, deleted, or killed labels?

Instead of -label:killed, you want to specify :skip_killed to
#load_thread. Killed messages require special semantics.

> I took a guess at the syntax and I thought I saw it working, but it
> doesn't appear to be now. Can someone tell me the actual syntax? (Or
> better, is there a writeup somewhere of the general search syntax
> accepted by sup?)

There is not a consistent one, though there might be something useful on
the wiki. The general answer is, whatever Ferret/Xapian supports, plus
the tweaks in #parse_query.
-- 
William <wmorgan-sup at masanjin.net>


  reply	other threads:[~2009-09-03 18:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-26 22:24 Carl Worth
2009-08-26 22:52 ` Carl Worth
2009-09-03 18:39   ` William Morgan [this message]
2009-08-27  6:50 ` Rich Lane
2009-09-03 18:36   ` William Morgan
2009-09-03 18:44     ` Rich Lane
2009-09-03 18:50       ` William Morgan
2009-09-03 18:32 ` William Morgan
2009-10-06 17:30 ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1252003008-sup-8596@masanjin.net \
    --to=wmorgan-sup@masanjin.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox