Subject: Re: [sup-talk] Showing archived messages

From: Diego Joss <[email-masked]>
Date: Fri, 30 Sep 2011 00:32:33 +0200

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
> [email-masked]
> http://rubyforge.org/mailman/listinfo/sup-talk
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: David J. Hamilton <[email-masked]>
Date: Fri, 30 Sep 2011 08:51:36 -0700

> notmuch (http://notmuchmail.org/), which also uses xapian, it works.

Seems to work for me.  Thanks Diego.
-- 
med vänlig hälsning
David J. Hamilton
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: jomat <[email-masked]>
Date: Fri, 09 Sep 2011 17:35:30 +0000

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

---

From: David J. Hamilton <[email-masked]>
Date: Thu, 29 Sep 2011 14:06:29 -0700

to:me -label:inbox