Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Showing archived messages
@ 2011-09-09 17:35 jomat
  2011-09-29 21:06 ` David J. Hamilton
  0 siblings, 1 reply; 4+ messages in thread
From: jomat @ 2011-09-09 17:35 UTC (permalink / raw)
  To: sup-talk

Hi,

I'm using the git version of sup, but could observe the same behavior in
0.11.

According to http://sup.rubyforge.org/NewUserGuide.txt, my inbox are all
mails with the label "inbox": "This means that your inbox is nothing
more than the result of the search for all messages with the label
"inbox".". If I press l (l : Edit or add labels for a thread) on a thread
in my inbox, there is no inbox label.
The new user guide also told me "Force non-occurrence by -, e.g.
-body:"hot soup"." for searches. Now I don't know if I didn't understand
it, but shouldn't a search for -label:inbox show my archive? At least, it
really should not show messages with the inbox label, but it does. If I
toggle the detailed header with h, Labels: inbox, ... is displayed.

What am I doing wrong and how do I display the archived messages?

Thanks,
jomat
_______________________________________________
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] Showing archived messages
  2011-09-09 17:35 [sup-talk] Showing archived messages jomat
@ 2011-09-29 21:06 ` David J. Hamilton
  2011-09-29 22:32   ` Diego Joss
  0 siblings, 1 reply; 4+ messages in thread
From: David J. Hamilton @ 2011-09-29 21:06 UTC (permalink / raw)
  To: sup-talk

Excerpts from jomat's message of Fri Sep 09 10:35:30 -0700 2011:
> Now I don't know if I didn't understand
> it, but shouldn't a search for -label:inbox show my archive?

I gather from experimentation (rather than documentation) that queries must have
at least one positive clause.  A query with a single negative clause is treated
as a positive clause.  I don't know of a way to search for “anything”, but
here's an example of a query that almost gets you what you want:

  to:me -label:inbox

I expect this is a bug and that `-label:inbox` is intended to work as you
expect.
-- 
med vänlig hälsning
David J. Hamilton
_______________________________________________
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] Showing archived messages
  2011-09-29 21:06 ` David J. Hamilton
@ 2011-09-29 22:32   ` Diego Joss
  2011-09-30 15:51     ` David J. Hamilton
  0 siblings, 1 reply; 4+ messages in thread
From: Diego Joss @ 2011-09-29 22:32 UTC (permalink / raw)
  To: sup-talk

Hi,

if I'm not mistaken, you can use the 'all' keyword to match all
messages. I haven't tested with sup, but sup is using xapian, and with
notmuch (http://notmuchmail.org/), which also uses xapian, it works.

thus try:
all -label:inbox

Diego

On Thu, Sep 29, 2011 at 02:06:29PM -0700, David J. Hamilton wrote:
> Excerpts from jomat's message of Fri Sep 09 10:35:30 -0700 2011:
> > Now I don't know if I didn't understand
> > it, but shouldn't a search for -label:inbox show my archive?
> 
> I gather from experimentation (rather than documentation) that queries must have
> at least one positive clause.  A query with a single negative clause is treated
> as a positive clause.  I don't know of a way to search for “anything”, but
> here's an example of a query that almost gets you what you want:
> 
>   to:me -label:inbox
> 
> I expect this is a bug and that `-label:inbox` is intended to work as you
> expect.
> -- 
> med vänlig hälsning
> David J. Hamilton
> _______________________________________________
> sup-talk mailing list
> sup-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
_______________________________________________
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] Showing archived messages
  2011-09-29 22:32   ` Diego Joss
@ 2011-09-30 15:51     ` David J. Hamilton
  0 siblings, 0 replies; 4+ messages in thread
From: David J. Hamilton @ 2011-09-30 15:51 UTC (permalink / raw)
  To: sup-talk

Excerpts from Diego Joss's message of Thu Sep 29 15:32:33 -0700 2011:
> Hi,
> 
> if I'm not mistaken, you can use the 'all' keyword to match all
> messages. I haven't tested with sup, but sup is using xapian, and with
> notmuch (http://notmuchmail.org/), which also uses xapian, it works.
> 
> thus try:
> all -label:inbox

Seems to work for me.  Thanks Diego.
-- 
med vänlig hälsning
David J. Hamilton
_______________________________________________
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:[~2011-09-30 16:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09 17:35 [sup-talk] Showing archived messages jomat
2011-09-29 21:06 ` David J. Hamilton
2011-09-29 22:32   ` Diego Joss
2011-09-30 15:51     ` David J. Hamilton

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