Subject: [sup-talk] Searching message content

From: [email-masked] (fedzor)
Date: Mon, 14 Apr 2008 10:20:53 -0400

Is there a way (already) that I can search the body of my messages?  
Is this not feasible/practical/permitted-according-to-the-religious- 
doctrine-of-MUAs ?

I'd be glad to write something to get it to work, if need be.

-------------------------------------------------------|
~ Ari
seydar: it's like a crazy love triangle of Kernel commands and C code

---

From: [email-masked] (John Bent)
Date: Mon, 14 Apr 2008 08:45:47 -0600

> Is this not feasible/practical/permitted-according-to-the-religious- 
You can search the body of messages just by doing an unlabeled search.
Just hit \ and then type your search phrase and it will search the body
of messages.  Not sure whether it will also search subjects.  But you
can explicitly search them by doing subject:whatever search.

I don't know the full list of search categories (probably a quick code read
would find it), but here are several:

subject:
to:
from:
is: (e.g. is:unread)
on: (e.g. on:today)

Also, doing multiples (e.g. is:unread label:sent) does the logical AND.  Not
sure how to do OR though.

You can enclose search phrases in quotes and, like I said before, not 
specifying a category (and not doing a colon) searches message bodies.

John

---

From: [email-masked] (Nicolas Pouillard)
Date: Mon, 14 Apr 2008 16:46:57 +0200

> Is this not feasible/practical/permitted-according-to-the-religious- 

The  point  about  sup  is  too be able to practically have a working fulltext
search.

> I'd be glad to write something to get it to work, if need be.

Just  press  '\'  and  then your query (if you have an old version of Sup it's
'/' that is now dedicated to the in-buffer search).

Regards,

-- 
Nicolas Pouillard aka Ertai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20080414/3e92e99f/attachment.bin