[sup-talk] [PATCH] Added --search option to sup
wmorgan-sup at masanjin.net
Sat Nov 3 17:17:27 EDT 2007
Excerpts from Marcus Williams's message of Sat Nov 03 13:20:48 -0700 2007:
> I use my email for all sorts, but one thing I do often is use it as a
> todo list. So I have a set of current todos (labeled todo). Its good
> to be able to bring up sup, with the todos only. Sometimes I'll stay
> in sup, sometimes not.
Very nice. One of the items on the TODO for quite a while has been to
add "notes" as a first-class object, which will be treated more or less
as draft emails are now, except they'll have no from/to/cc/etc, only a
body, and obviously can't be sent, just created, edited, and deleted.
These can be used as general notes, as todo items, and can be "attached"
to emails or other notes via the threading system. And of course the
full-text search and labeling can be used as normal.
Then all I have to do is add a web browser mode and a partial
implementation of lisp and sup will be feature complete!
> I spotted that the inbox is actually a search result whilst trawling
> the code so my idea is now that instead of a --no-inbox what you
> actually do is have another search argument --inbox that takes a
> search term This would set the search term for the inbox mode. That
> way you could go into sup and have your inbox mode permanently in
> whatever search term you entered.
The problem is that inbox-mode per se has some special functionality
that doesn't quite make sense unless it's applied to the search with
"label:inbox". We could force that to be prepended to any search phrase
passed in from the command line, I suppose.
For the time being, I'll apply the patch as is.
William <wmorgan-sup at masanjin.net>
More information about the sup-talk