From mboxrd@z Thu Jan 1 00:00:00 1970 From: marcus-sup@bar-coded.net (Marcus Williams) Date: Sat, 03 Nov 2007 20:20:48 +0000 Subject: [sup-talk] [PATCH] Added --search option to sup In-Reply-To: <<35a8c9eb0016c658@IMSS-WIN>> References: <47149A98.1040800@quintic.co.uk> <<35a8c9eb0016c658@IMSS-WIN>> Message-ID: <1194120151-sup-6999@tomsk> [resubscribing under a different address, not sure if this will thread properly] On 2.11.2007, William Morgan wrote: > Interesting idea! What's your usage case: that you do the search, maybe > read some resulting messages, and then quit Sup? Or do you continue to > use Sup as normal? I.e. should we bother to even load the inbox? 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. Anyone who is into gtd could use this for contexts, my "todo" label is like a context. I can enter sup and deal with this and not get distracted by other stuff. It also means I can alias "todo" in my shell to "sup --search 'label:todo'" or something. In some cases I dont need the inbox at all like you say. I tried to add a --no-inbox flag to sup, but I couldnt get it to work. I think the buffer sizes screwed up somehow when I stopped the inbox mode from spawning. I must have missed something. 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. This would mean you could go in via --search and keep your inbox as normal. Or via --inbox and have a specialised inbox. Marcus