From: Gaute Hope <eg@gaute.vetsj.com>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Programmatically removing tags (:inbox)
Date: Fri, 25 Apr 2014 12:53:38 +0200 [thread overview]
Message-ID: <1398423008-sup-8801@qwerzila> (raw)
In-Reply-To: <1398345391-sup-8384@zoe>
Excerpts from Alexander Klink's message of 2014-04-24 15:17:56 +0200:
> Hi Matthieu,
>
> Excerpts from Matthieu Rakotojaona's message of 2014-04-23 20:11:28 +0200:
> > Excerpts from Alexander Klink's message of 2014-04-23 17:42:40 +0200:
> > > I am trying to archive all my existing mails in order to make a nicer
> > > workflow for myself (sort of a GTD thing with reading mails, either
> > > acting directly or tagging them with 'todo' or 'hold' depending on whether I
> > > have to do something or am waiting for someone to reply).
> >
> > bin/sup-tweak-labels was made for this :)
>
> Unfortunately, that fails completely for me:
>
> $ sup-tweak-labels -r inbox -v --all-sources
> [2014-04-24 15:15:50 +0200] WARNING: can't find character set by using locale, defaulting to utf-8
> Found 149439 documents across 453 sources. Scanning...
> 1-773309-5rGbUSNrGbUS9qb@example.com: {inbox,unread,spam} => {unread,spam}
> [2014-04-24 15:15:50 +0200] Flushing Xapian updates to disk. This may take a while...
> /home/alech/.rvm/gems/ruby-1.9.3-p194/gems/sup-0.17.0/lib/sup/index.rb:141:in `update_message_state': undefined method `[]' for #<Redwood::Message:0x000000029ebf68> (NoMethodError)
Could you check if #295 [0] solves this for you? --tweak-labels wasn't
updated for the latest Index api changes. You have to specify the
--sync-back option if you want message flags to be synced back to
maildir, this _ignores_ any source specific sync_back settings so use
sup-tweak-labels on only one source at the time if you need more fine
grained control.
Note that even though you do the changes in the console as suggested in
the earlier mails the index list in the open sup won't be updated before
you restart sup.
- gaute
[0] https://github.com/sup-heliotrope/sup/pull/295
next prev parent reply other threads:[~2014-04-25 10:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 15:42 Alexander Klink
2014-04-23 16:24 ` MaDhAt2r
2014-04-24 8:55 ` Alexander Klink
2014-04-23 18:11 ` Matthieu Rakotojaona
2014-04-24 13:17 ` Alexander Klink
2014-04-25 10:53 ` Gaute Hope [this message]
2014-05-02 9:08 ` Gaute Hope
2014-04-24 18:00 ` Devon Gleeson
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=1398423008-sup-8801@qwerzila \
--to=eg@gaute.vetsj.com \
--cc=sup-talk@rubyforge.org \
/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