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:32:54 -0700	[thread overview]
Message-ID: <1252002193-sup-3879@masanjin.net> (raw)
In-Reply-To: <1251323747-sup-1595@yoom.home.cworth.org>

Reformatted excerpts from Carl Worth's message of 2009-08-26:
> So what I want is for anytime a message is changed such that it no
> longer meets the current search criteria, it is immediately removed
> from the search results. I think that means simply implementing the
> is_relevant? method for SearcResultsMode

is_relevant? is currently only used for determining when to add messages
to a thread-index-mode (e.g. when a new message is picked up during a
poll). Determining whether to drop a message is currently done
"manually" by inbox-mode, and not at all by search-results-mode.

> That single-message index and search sounds exactly like what I want,
> and not insane at all.

Hm. Well, you could certainly try it. I've assumed it would be too slow,
but it's possible it'd be fast enough. I think it's the only option
though, if you want this to work with arbitrary queries.

> (In which case, I'll try, and I'll be glad for any pointers that
> anyone can give me on how to go about creating an in-memory index and
> searching on it.)

Excellent, ask Rich. :)

> The command I would find natural for putting a thread back into the
> inbox would be to simply add the inbox label to the thread. Oddly this
> is currently not allowed as "inbox" is a reserved label.

Yeah, there's no good reason for this. I was just being overly
protective. :)
-- 
William <wmorgan-sup at masanjin.net>


  parent reply	other threads:[~2009-09-03 18:32 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
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 [this message]
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=1252002193-sup-3879@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