Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: marcus-sup@bar-coded.net (Marcus Williams)
Subject: [sup-talk] [PATCH] Added --search option to sup
Date: Sat, 03 Nov 2007 20:20:48 +0000	[thread overview]
Message-ID: <1194120151-sup-6999@tomsk> (raw)
In-Reply-To: <<35a8c9eb0016c658@IMSS-WIN>>

[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


  parent reply	other threads:[~2007-11-03 20:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16 11:03 Marcus Williams
2007-11-02 19:07 ` William Morgan
     [not found] ` <<35a8c9eb0016c658@IMSS-WIN>
2007-11-03 20:20   ` Marcus Williams [this message]
2007-11-03 21:17     ` William Morgan
2007-11-03 21:35       ` Marcus Williams
2007-11-03 22:12         ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1194120151-sup-6999@tomsk \
    --to=marcus-sup@bar-coded.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox