Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Refreshing inbox & removing +inbox label
@ 2007-10-25  9:08 Alexander Panek
  2007-10-25  9:31 ` Alexander Panek
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alexander Panek @ 2007-10-25  9:08 UTC (permalink / raw)


Hello,

I've got two questions:

- Is there a way to refresh the inbox, so labels are re-read (removing
the +inbox label doesn't quite hide the threads from inbox - I have to
restart sup to make it work..)?

- Is there any easy way to hide threads from the inbox without removing
the inbox label on a per-thread basis? Something like "tag
all" threads in current view and making ";l" able to not only add, but
also remove tags would be sufficiant for me. 
That'd be very handy for high traffic accounts where you actually only
want to check occasionally, without having them flooding your inbox.

Thanks in advance!
-- 
Alexander Panek <alexander.panek at brainsware.org>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Refreshing inbox & removing +inbox label
  2007-10-25  9:08 [sup-talk] Refreshing inbox & removing +inbox label Alexander Panek
@ 2007-10-25  9:31 ` Alexander Panek
  2007-10-25 16:49 ` Christopher Warrington
  2007-10-30 21:41 ` William Morgan
  2 siblings, 0 replies; 8+ messages in thread
From: Alexander Panek @ 2007-10-25  9:31 UTC (permalink / raw)


On Thu, 25 Oct 2007 11:08:00 +0200
Alexander Panek <alexander.panek at brainsware.org> wrote:
> [...] Something like "tag
> all" threads in current view [...].

I've just seen there's another thread with a patch to achieve this. So
now the only thing left would be inbox/view reloading and removing
labels on all tagged threads.

-- 
Alexander Panek <alexander.panek at brainsware.org>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Refreshing inbox & removing +inbox label
  2007-10-25  9:08 [sup-talk] Refreshing inbox & removing +inbox label Alexander Panek
  2007-10-25  9:31 ` Alexander Panek
@ 2007-10-25 16:49 ` Christopher Warrington
  2007-10-30 21:41 ` William Morgan
  2 siblings, 0 replies; 8+ messages in thread
From: Christopher Warrington @ 2007-10-25 16:49 UTC (permalink / raw)


Excerpts from Alexander Panek's message of Thu Oct 25 04:08:00 -0500 2007:
> - Is there a way to refresh the inbox, so labels are re-read (removing
> the +inbox label doesn't quite hide the threads from inbox - I have to
> restart sup to make it work..)?

In SVN, pressing @ (in 0.1, I think is is D) when in an index-mode
re-executes the query. Any unsaved changes will be lost, so you probably
want to save them first with $.

-- 
Christopher Warrington <chrisw at rice.edu>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Refreshing inbox & removing +inbox label
  2007-10-25  9:08 [sup-talk] Refreshing inbox & removing +inbox label Alexander Panek
  2007-10-25  9:31 ` Alexander Panek
  2007-10-25 16:49 ` Christopher Warrington
@ 2007-10-30 21:41 ` William Morgan
  2 siblings, 0 replies; 8+ messages in thread
From: William Morgan @ 2007-10-30 21:41 UTC (permalink / raw)


Excerpts from Alexander Panek's message of Thu Oct 25 02:08:00 -0700 2007:
> - Is there a way to refresh the inbox, so labels are re-read (removing
> the +inbox label doesn't quite hide the threads from inbox - I have to
> restart sup to make it work..)?

'@' will refresh. Also, I assume you were changing the labels in
thread-view-mode, which was slightly broken until recently---this should
be fixed in SVN (0.2 has a bug, sigh), and everything you do in either
mode should be reflected immediately in all buffers.

> - Is there any easy way to hide threads from the inbox without
> removing the inbox label on a per-thread basis? Something like "tag
> all" threads in current view and making ";l" able to not only add, but
> also remove tags would be sufficiant for me.  That'd be very handy for
> high traffic accounts where you actually only want to check
> occasionally, without having them flooding your inbox.

I'm not entirely sure I understand what you mean. What label would you
remove, if you could remove from multiple threads?

High-traffic mail that you only want to check occasionally should be
handled by keeping them in an auto-archived source with an
automatically-applied label, and then selecting that label. I read
ruby-talk that way, for example.

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Refreshing inbox & removing +inbox label
  2007-10-25 12:57     ` vasudeva
@ 2007-10-30 21:54       ` William Morgan
  0 siblings, 0 replies; 8+ messages in thread
From: William Morgan @ 2007-10-30 21:54 UTC (permalink / raw)


Excerpts from vasudeva's message of Thu Oct 25 05:57:24 -0700 2007:
> That seems useful to me. Say you've got 3000 messages labeled, and now
> you want to change the label without painstakingly loading them all
> into your view.  Maybe you've just finished syncing ten trillion
> emails from your old mbox sources and realize you didn't plan your
> label strategy very well...

This could be done fairly easily with the console (only in SVN right
now, but I could package it in the gems as well). Something like:

  $ sh devel/console.sh
  [Tue Oct 30 14:47:24 -0700 2007] loading index...
  [Tue Oct 30 14:47:24 -0700 2007] loaded index of 64258 messages
  >> Index.ferret.search_each("label:sup") do |id, score|
       m = Index.build_message id
       m.labels -= [:sup]
       m.labels += [:potato]
       Index.sync_message m
     end
  >> Index.ferret.optimize

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Refreshing inbox & removing +inbox label
       [not found]     ` <0b19eaf10004a252@IMSS-WIN>
@ 2007-10-26 10:13       ` Marcus Williams
  0 siblings, 0 replies; 8+ messages in thread
From: Marcus Williams @ 2007-10-26 10:13 UTC (permalink / raw)


On 25/10/2007 vasudeva wrote:
> Would it be desireable to be able to tag (or affect) threads *not*
> listed? 
> 
> That seems useful to me. Say you've got 3000 messages labeled, and
> now you want to change the label without painstakingly loading them
> all into your view.  Maybe you've just finished syncing ten trillion
> emails from your old mbox sources and realize you didn't plan your
> label strategy very well...

I think it would be useful to be able to rename labels but I guess only
as a separate tool. I've found I only tend to tag separate messages or a
smallish number like a set of search results (but large enough to make
my patch worth while to me), I rarely have to tag *all* messages.

Marcus




^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Refreshing inbox & removing +inbox label
  2007-10-25  9:49   ` Alexander Panek
@ 2007-10-25 12:57     ` vasudeva
  2007-10-30 21:54       ` William Morgan
       [not found]     ` <0b19eaf10004a252@IMSS-WIN>
  1 sibling, 1 reply; 8+ messages in thread
From: vasudeva @ 2007-10-25 12:57 UTC (permalink / raw)


* on 10-25-07, Alexander Panek wrote:
> On Thu, 25 Oct 2007 10:37:29 +0100
> Marcus Williams <marcus-sup at quintic.co.uk> wrote:
> 
> > Tag all was added by my recent patch but note that you have to have
> > all threads listed to tag as it only tags threads in the current
> > view. 

Would it be desireable to be able to tag (or affect) threads *not*
listed? 

That seems useful to me. Say you've got 3000 messages labeled, and
now you want to change the label without painstakingly loading them
all into your view.  Maybe you've just finished syncing ten trillion
emails from your old mbox sources and realize you didn't plan your
label strategy very well...

There's been mention of a separate tool to go through the ferret
index and strip out deleted items, which a quick skimming of the
ferret tutorial suggests may be part of the solution, since you
can't modify index documents but you can delete and re-add.



/></

--
linkswarm.com :: Collaborative Insolence
vasudeva.linkswarm.com/gallery :: For The Faint of Heart



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Refreshing inbox & removing +inbox label
       [not found] ` <472063D9.40704@quintic.co.uk>
@ 2007-10-25  9:49   ` Alexander Panek
  2007-10-25 12:57     ` vasudeva
       [not found]     ` <0b19eaf10004a252@IMSS-WIN>
  0 siblings, 2 replies; 8+ messages in thread
From: Alexander Panek @ 2007-10-25  9:49 UTC (permalink / raw)


On Thu, 25 Oct 2007 10:37:29 +0100
Marcus Williams <marcus-sup at quintic.co.uk> wrote:

> Tag all was added by my recent patch but note that you have to have
> all threads listed to tag as it only tags threads in the current
> view. 

Ay, as mentioned in my self-reply, I've seen that after sending the
initial message. 

> To remove a label with the 'l' command just delete it from the
> list it gives you.

AFAIK, this works only on a per-thread basis? (might be, that the
version I'm using is a tad outdated - I didn't manage to use the SVN
version yet. Having troubles installing it [rake install borks my
RubyGems installation ..somehow.])
-- 
Alexander Panek <alexander.panek at brainsware.org>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-10-30 21:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-25  9:08 [sup-talk] Refreshing inbox & removing +inbox label Alexander Panek
2007-10-25  9:31 ` Alexander Panek
2007-10-25 16:49 ` Christopher Warrington
2007-10-30 21:41 ` William Morgan
     [not found] <0a4e8b9700043d81@IMSS-WIN>
     [not found] ` <472063D9.40704@quintic.co.uk>
2007-10-25  9:49   ` Alexander Panek
2007-10-25 12:57     ` vasudeva
2007-10-30 21:54       ` William Morgan
     [not found]     ` <0b19eaf10004a252@IMSS-WIN>
2007-10-26 10:13       ` Marcus Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox