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
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
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 at rubyforge.org > http://rubyforge.org/mailman/listinfo/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:inboxSeems to work for me. Thanks Diego. -- med v?nlig h?lsning David J. Hamilton