Reformatted excerpts from marianne.promberger+sup-talk's message of 2008-12-17:
> Thanks for writing such a powerful app! I'm new to sup and am
> wondering whether any of the following are possible:
Hi and welcome!
> (1) Automatically apply labels to incoming mail defined on search
> patterns?
Stuff like that is handled by Sup's hook system. The plus side is that
it's very flexible; the downside is that you have to write Ruby code. In
this case, check out the before-add-message hook. ("sup -l" will list
all the hooks and some brief documentation.)
In my case, I use something like:
to_string = message.recipients.map { |t| t.email }.join(" ")
case to_string
when /\[email protected]\b/
message.add_label :git
message.remove_label :inbox
when /\[email protected]\b/
message.add_label :sup
# etc...
> (2) Save search history across sup sessions, so that I can use
> up-arrow to access terms I searched for last time I read mail in sup?
Not implemented, but a good idea, and probably pretty easy!
> (3) Are there search patterns like the "~P" and "~p" in mutt, that is,
> matching everything from or to "me", as defined by the alternates in
> ~/.sup/config.yaml?
You can search for things like "from:me" or "to:me". That should work
with :alternates, but unfortunately doesn't work if you use :regexen.
> (4) Is there any way to send several drafts at once? (I'm assuming
> there is no way to postpone a message other than saving it as a
> draft?). Tagging them and then "enter" or "y" did not work.
Not implemented, but a good idea, and definitely easy to do.
--
William <[email protected]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk