From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sat, 03 Nov 2007 14:17:27 -0700 Subject: [sup-talk] [PATCH] Added --search option to sup In-Reply-To: <1194120151-sup-6999@tomsk> References: <47149A98.1040800@quintic.co.uk> <<35a8c9eb0016c658@IMSS-WIN> <1194120151-sup-6999@tomsk> Message-ID: <1194124287-sup-468@south> 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