Subject: [sup-talk] Refreshing inbox & removing +inbox label

From: [email-masked] (Alexander Panek)
Date: Thu, 25 Oct 2007 11:49:26 +0200

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>

---

From: [email-masked] (vasudeva)
Date: Thu, 25 Oct 2007 08:57:24 -0400

> > all threads listed to tag as it only tags threads in the current

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

---

From: [email-masked] (Marcus Williams)
Date: Fri, 26 Oct 2007 11:13:18 +0100

> 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

---

From: [email-masked] (William Morgan)
Date: Tue, 30 Oct 2007 14:54:36 -0700

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

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>