sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/

community/pipermail-archives/sup-talk/2009-10.txt (325942B) - raw

      1 From nicolas.pouillard@gmail.com  Thu Oct  1 03:36:00 2009
      2 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
      3 Date: Thu, 01 Oct 2009 09:36:00 +0200
      4 Subject: [sup-talk] Ignore killed messages in U screen
      5 In-Reply-To: <1254339746-sup-79@masanjin.net>
      6 References: <1251387376-sup-7180@javelin> <1252003380-sup-272@masanjin.net>
      7 	<1252004144-sup-6662@javelin> <1252004285-sup-476@masanjin.net>
      8 	<1252004504-sup-3189@javelin> <1254339746-sup-79@masanjin.net>
      9 Message-ID: <1254382434-sup-4435@peray>
     10 
     11 Excerpts from William Morgan's message of Wed Sep 30 21:56:55 +0200 2009:
     12 > Reformatted excerpts from Edward Z. Yang's message of 2009-09-03:
     13 > > > What if you just delete messages in the the third condition?
     14 > > 
     15 > > Then replies show up. :-)
     16 > 
     17 > I am still thinking about this, BTW. I think solution will either be:
     18 > treat deleted like killed for the purposes of inbox-mode (so a thread
     19 > with at least one deleted message will just never appear in inbox-mode),
     20 > or have a combined delete-and-kill command.
     21 > 
     22 > FWIW, I believe Gmail will pull a thread with a deleted message back
     23 > into the inbox if someone replies.
     24 
     25 Yes I think so (and merely hope so).
     26 
     27 Notice that while GMail do not have the kill thread feature, Google Wave does
     28 have a "mute this thread" button, that will cause these threads to no longer
     29 appear in the inbox, however you can still search for is:mute threads.
     30 
     31 -- 
     32 Nicolas Pouillard
     33 http://nicolaspouillard.fr
     34 
     35 From wmorgan-sup@masanjin.net  Thu Oct  1 09:34:50 2009
     36 From: wmorgan-sup@masanjin.net (William Morgan)
     37 Date: Thu, 01 Oct 2009 06:34:50 -0700
     38 Subject: [sup-talk] Ignore killed messages in U screen
     39 In-Reply-To: <1254382434-sup-4435@peray>
     40 References: <1251387376-sup-7180@javelin> <1252003380-sup-272@masanjin.net>
     41 	<1252004144-sup-6662@javelin> <1252004285-sup-476@masanjin.net>
     42 	<1252004504-sup-3189@javelin> <1254339746-sup-79@masanjin.net>
     43 	<1254382434-sup-4435@peray>
     44 Message-ID: <1254404057-sup-2374@masanjin.net>
     45 
     46 Reformatted excerpts from Nicolas Pouillard's message of 2009-10-01:
     47 > Notice that while GMail do not have the kill thread feature
     48 
     49 I think it does (but it didn't always). They also call it "mute".
     50 http://mail.google.com/support/bin/answer.py?hl=en&answer=47787
     51 -- 
     52 William <wmorgan-sup at masanjin.net>
     53 
     54 From wmorgan-sup@masanjin.net  Thu Oct  1 09:43:48 2009
     55 From: wmorgan-sup@masanjin.net (William Morgan)
     56 Date: Thu, 01 Oct 2009 06:43:48 -0700
     57 Subject: [sup-talk] Crash while scrolling
     58 In-Reply-To: <1254160696-sup-3522@ben-laptop>
     59 References: <20090911165830.GA11260@ben-laptop>
     60 	<1252773189-sup-246@masanjin.net>
     61 	<20090916172340.GA20566@ben-laptop>
     62 	<1253975267-sup-8308@masanjin.net> <1254160696-sup-3522@ben-laptop>
     63 Message-ID: <1254404181-sup-8448@masanjin.net>
     64 
     65 Reformatted excerpts from Ben Gamari's message of 2009-09-28:
     66 > This does raise one important question, however. It seems that
     67 > offlineimap will delete messages if they are found to have been
     68 > deleted in the remote respository. Is there any way that you know of
     69 > to disable this behavior, such that it will only drop new messages
     70 > into the local repository, thus making it somewhat compatible with
     71 > sup's add-only source requirement?
     72 
     73 Maybe someone who uses offlineimap can comment on this. In the worst
     74 case, I'm sure the patch wouldn't be too hard.
     75 
     76 > This actually brings up a larger question. How difficult would it be
     77 > to relax sup's assumption that sources are add-only?
     78 
     79 It's not difficult per se, it just requires scanning over the entire
     80 source, which is slow. Removing this assumption would be tantamount to
     81 running sup-sync -c every time you start up sup.
     82 
     83 Here's the idea: scanning over a mailstore is slow. Much of this
     84 slowness is due to Ruby. So let's rewrite this code in C. Then we would
     85 have something as fast as, say, Mutt. But Mutt bogs down on my mbox file
     86 because it's too big. So my *only* reasonable choice with a large
     87 mailstore is Sup and the assumption that the source is add only.
     88 -- 
     89 William <wmorgan-sup at masanjin.net>
     90 
     91 From wmorgan-sup@masanjin.net  Thu Oct  1 09:46:20 2009
     92 From: wmorgan-sup@masanjin.net (William Morgan)
     93 Date: Thu, 01 Oct 2009 06:46:20 -0700
     94 Subject: [sup-talk] [PATCH] xapian: do less work for update_message_state
     95 In-Reply-To: <1254341186-sup-4357@zyrg.net>
     96 References: <1252867449-30734-1-git-send-email-rlane@club.cc.cmu.edu>
     97 	<1254339542-sup-886@masanjin.net> <1254341186-sup-4357@zyrg.net>
     98 Message-ID: <1254404707-sup-9253@masanjin.net>
     99 
    100 Reformatted excerpts from Rich Lane's message of 2009-09-30:
    101 > They're about 3 times faster on my machine with this patch. An
    102 > optimization the Xapian devs have been planning to make (and that this
    103 > patch is necessary to take advantage of) should increase performance
    104 > much more.
    105 
    106 Awesome. Out of curiousity, what's the optimization?
    107 -- 
    108 William <wmorgan-sup at masanjin.net>
    109 
    110 From wmorgan-sup@masanjin.net  Thu Oct  1 09:49:54 2009
    111 From: wmorgan-sup@masanjin.net (William Morgan)
    112 Date: Thu, 01 Oct 2009 06:49:54 -0700
    113 Subject: [sup-talk] Bug: Converting the index to xapian fails with a
    114 	message with very old date
    115 In-Reply-To: <1254001080-sup-5742@midna.zekjur.net>
    116 References: <1253475875-sup-5119@midna.zekjur.net>
    117 	<1253973258-sup-3347@masanjin.net>
    118 	<1254001080-sup-5742@midna.zekjur.net>
    119 Message-ID: <1254404956-sup-6574@masanjin.net>
    120 
    121 Reformatted excerpts from Michael Stapelberg's message of 2009-09-26:
    122 > truncated date is Thu Jan 01 01:00:00 +0100 1970
    123 > date_value is "\200"
    124 > /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `_dump': year too big to marshal
    125 > (ArgumentError)
    126 >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `dump'
    127 >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `index_message'
    128 >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:124:in `sync_message'
    129 
    130 At this point I'm hoping that Rich will chime in. :)
    131 -- 
    132 William <wmorgan-sup at masanjin.net>
    133 
    134 From nicolas.pouillard@gmail.com  Thu Oct  1 10:07:01 2009
    135 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
    136 Date: Thu, 1 Oct 2009 16:07:01 +0200
    137 Subject: [sup-talk] Ignore killed messages in U screen
    138 In-Reply-To: <1254404057-sup-2374@masanjin.net>
    139 References: <1251387376-sup-7180@javelin> <1252003380-sup-272@masanjin.net>
    140 	<1252004144-sup-6662@javelin> <1252004285-sup-476@masanjin.net>
    141 	<1252004504-sup-3189@javelin> <1254339746-sup-79@masanjin.net>
    142 	<1254382434-sup-4435@peray> <1254404057-sup-2374@masanjin.net>
    143 Message-ID: <cd67f63a0910010707q620016bwb899095fb6a50765@mail.gmail.com>
    144 
    145 On Thu, Oct 1, 2009 at 3:34 PM, William Morgan <wmorgan-sup at masanjin.net> wrote:
    146 > Reformatted excerpts from Nicolas Pouillard's message of 2009-10-01:
    147 >> Notice that while GMail do not have the kill thread feature
    148 >
    149 > I think it does (but it didn't always). They also call it "mute".
    150 > http://mail.google.com/support/bin/answer.py?hl=en&answer=47787
    151 
    152 The name and semantics seems just great.
    153 
    154 -- 
    155 Nicolas Pouillard
    156 http://nicolaspouillard.fr
    157 
    158 From gregor@hoffleit.de  Thu Oct  1 11:47:17 2009
    159 From: gregor@hoffleit.de (Gregor Hoffleit)
    160 Date: Thu, 01 Oct 2009 17:47:17 +0200
    161 Subject: [sup-talk] Bug: store_message writes invalid From lines with
    162 	locales set
    163 Message-ID: <1254411555-sup-7650@sam>
    164 
    165 Obviously store_message uses the current locale settings to dump the
    166 date into the From line (loader.rb, line 179):
    167 
    168       f.puts "From #{from_email} #{date.utc}"
    169 
    170 The result: Using LANG=de_DE, sup crashed on me today when I had sent my
    171 first mail of October. Problem was that sup failed to grok the localized
    172 abbreviated month name ("Okt") in the From line:
    173 
    174     From gregor at hoffleit.de Do Okt 01 14:39:43 UTC 2009
    175 
    176 which in turn was written by loader.rb (eat your own food, you know).
    177 
    178 Everything worked fine for me in August and September, since those month
    179 names are spelled the same in German and English ;-).
    180 
    181 
    182 Regards,
    183     Gregor Hoffleit
    184 
    185 From wmorgan-sup@masanjin.net  Thu Oct  1 12:38:36 2009
    186 From: wmorgan-sup@masanjin.net (William Morgan)
    187 Date: Thu, 01 Oct 2009 09:38:36 -0700
    188 Subject: [sup-talk] Bug: store_message writes invalid From lines with
    189 	locales set
    190 In-Reply-To: <1254411555-sup-7650@sam>
    191 References: <1254411555-sup-7650@sam>
    192 Message-ID: <1254414095-sup-8087@masanjin.net>
    193 
    194 Reformatted excerpts from Gregor Hoffleit's message of 2009-10-01:
    195 >       f.puts "From #{from_email} #{date.utc}"
    196 
    197 Whoops. That should be date.rfc2822. I've fixed in git and this will go
    198 out in 0.9.
    199 
    200 > Everything worked fine for me in August and September, since those
    201 > month names are spelled the same in German and English ;-).
    202 
    203 You expect your email client to work for more than two months a year?
    204 -- 
    205 William <wmorgan-sup at masanjin.net>
    206 
    207 From wmorgan-sup@masanjin.net  Thu Oct  1 12:44:43 2009
    208 From: wmorgan-sup@masanjin.net (William Morgan)
    209 Date: Thu, 01 Oct 2009 09:44:43 -0700
    210 Subject: [sup-talk] i18n?
    211 In-Reply-To: <1254353101-sup-1021@thinkpad-ubuntu>
    212 References: <1254353101-sup-1021@thinkpad-ubuntu>
    213 Message-ID: <1254415145-sup-635@masanjin.net>
    214 
    215 Reformatted excerpts from Christopher Bertels's message of 2009-09-30:
    216 > are there any plans on doing some internationalization?  If not, would
    217 > people like to have something like this, now that I have mentioned it?
    218 
    219 I have no immediate plans personally, but I would love to have this in
    220 Sup.
    221 
    222 > I guess something yaml-based could work, there are some good libraries
    223 > out there afaik.
    224 
    225 There is a Ruby-Gettext package, which we already use for other reasons.
    226 I think this is probably the best thing to start with, unless it turns
    227 out to be too hard to use, in which case we could consider a custom
    228 solution.
    229 
    230 http://www.yotabanana.com/hiki/ruby-gettext.html
    231 
    232 > I could take care of some german translation (and I suppose I'm not
    233 > the only one on this list ;))
    234 
    235 I know we have a fair amount of German and French representation on the
    236 list, and that's probably representative of the user population in
    237 general. So you should have an appreciative audience.
    238 -- 
    239 William <wmorgan-sup at masanjin.net>
    240 
    241 From wmorgan-sup@masanjin.net  Thu Oct  1 12:53:15 2009
    242 From: wmorgan-sup@masanjin.net (William Morgan)
    243 Date: Thu, 01 Oct 2009 09:53:15 -0700
    244 Subject: [sup-talk] [PATCH] Handle added messages in label-list-mode
    245 In-Reply-To: <1252789445-30193-1-git-send-email-gigabo@gmail.com>
    246 References: <1252789445-30193-1-git-send-email-gigabo@gmail.com>
    247 Message-ID: <1254415913-sup-6275@masanjin.net>
    248 
    249 Reformatted excerpts from Bo Borgerson's message of 2009-09-12:
    250 > Register label-list-mode with the UpdateManager and handle added
    251 > updates with a reload to keep unread message counts up to date
    252 
    253 Branch label-list-mode-auto-update, merged into next. I'm a little
    254 concerned with performance, but we'll see how it goes.
    255 
    256 What do you think about handling labeled and deleted updates as well?
    257 -- 
    258 William <wmorgan-sup at masanjin.net>
    259 
    260 From wmorgan-sup@masanjin.net  Thu Oct  1 12:54:48 2009
    261 From: wmorgan-sup@masanjin.net (William Morgan)
    262 Date: Thu, 01 Oct 2009 09:54:48 -0700
    263 Subject: [sup-talk] [PATCH] Add command for polling unusual sources
    264 In-Reply-To: <1252852715-9601-1-git-send-email-gigabo@gmail.com>
    265 References: <1252852715-9601-1-git-send-email-gigabo@gmail.com>
    266 Message-ID: <1254416074-sup-7585@masanjin.net>
    267 
    268 Reformatted excerpts from Bo Borgerson's message of 2009-09-13:
    269 > bin/sup: Add new global key binding, '{', to poll unusual sources
    270 > (requires confirmation).  This allows update of unusual sources
    271 > without having to leave sup to run a sync.
    272 
    273 Branch poll-unusual, merged into next. Thanks!
    274 -- 
    275 William <wmorgan-sup at masanjin.net>
    276 
    277 From wmorgan-sup@masanjin.net  Thu Oct  1 12:58:16 2009
    278 From: wmorgan-sup@masanjin.net (William Morgan)
    279 Date: Thu, 01 Oct 2009 09:58:16 -0700
    280 Subject: [sup-talk] [PATCH] Add hooks to sort and format label-list-mode
    281 	display.
    282 In-Reply-To: <1253303493-sup-288@kronos>
    283 References: <1253303493-sup-288@kronos>
    284 Message-ID: <1254416245-sup-4497@masanjin.net>
    285 
    286 Hi William,
    287 
    288 Sorry for the delay. I like this patch but I can't get it to apply
    289 cleanly to master. git am -3 complains:
    290 
    291   Did you hand edit your patch?
    292   It does not apply to blobs recorded in its index.
    293   Cannot fall back to three-way merge.
    294   Patch failed at 0001.
    295 
    296 If you can resubmit against a recent master, I will apply it. Thanks!
    297 -- 
    298 William <wmorgan-sup at masanjin.net>
    299 
    300 From rlane@club.cc.cmu.edu  Thu Oct  1 13:02:18 2009
    301 From: rlane@club.cc.cmu.edu (Rich Lane)
    302 Date: Thu, 01 Oct 2009 13:02:18 -0400
    303 Subject: [sup-talk] [PATCH] xapian: do less work for update_message_state
    304 In-Reply-To: <1254404707-sup-9253@masanjin.net>
    305 References: <1252867449-30734-1-git-send-email-rlane@club.cc.cmu.edu>
    306 	<1254339542-sup-886@masanjin.net> <1254341186-sup-4357@zyrg.net>
    307 	<1254404707-sup-9253@masanjin.net>
    308 Message-ID: <1254416360-sup-8957@zyrg.net>
    309 
    310 Excerpts from William Morgan's message of Thu Oct 01 09:46:20 -0400 2009:
    311 > Reformatted excerpts from Rich Lane's message of 2009-09-30:
    312 > > They're about 3 times faster on my machine with this patch. An
    313 > > optimization the Xapian devs have been planning to make (and that this
    314 > > patch is necessary to take advantage of) should increase performance
    315 > > much more.
    316 > 
    317 > Awesome. Out of curiousity, what's the optimization?
    318 
    319 replace_document currently deletes all the old postings and inserts new
    320 ones. It can be optimized to make the minimal set of modifications.
    321 
    322 From wmorgan-sup@masanjin.net  Thu Oct  1 13:04:52 2009
    323 From: wmorgan-sup@masanjin.net (William Morgan)
    324 Date: Thu, 01 Oct 2009 10:04:52 -0700
    325 Subject: [sup-talk] [PATCH] Allow thread index view to sort oldest first
    326 In-Reply-To: <1253911610-sup-2052@yoom.home.cworth.org>
    327 References: <1253911610-sup-2052@yoom.home.cworth.org>
    328 Message-ID: <1254416597-sup-8156@masanjin.net>
    329 
    330 Hi Carl,
    331 
    332 I am interested in trying these changes but I think these patches were
    333 generated against a custom version of master (e.g. I see the inbox
    334 refine-search command in the context, which hasn't been published yet).
    335 Can you rebase them onto a recent non-modified master so that I can
    336 apply? Thanks!
    337 -- 
    338 William <wmorgan-sup at masanjin.net>
    339 
    340 From wmorgan-sup@masanjin.net  Thu Oct  1 13:07:20 2009
    341 From: wmorgan-sup@masanjin.net (William Morgan)
    342 Date: Thu, 01 Oct 2009 10:07:20 -0700
    343 Subject: [sup-talk] [PATCH] Add new :crypto_default configuration option.
    344 In-Reply-To: <1254178611-sup-369@yoom.home.cworth.org>
    345 References: <1254178611-sup-369@yoom.home.cworth.org>
    346 Message-ID: <1254416783-sup-5518@masanjin.net>
    347 
    348 I like the idea, but how about a hook instead? I think the reply-mode
    349 hook is exactly equivalent to this. (Which maybe I will one day rename
    350 to default-reply-mode.)
    351 
    352 I have a strong aversion to adding configuration options.
    353 -- 
    354 William <wmorgan-sup at masanjin.net>
    355 
    356 From wmorgan-sup@masanjin.net  Thu Oct  1 13:10:12 2009
    357 From: wmorgan-sup@masanjin.net (William Morgan)
    358 Date: Thu, 01 Oct 2009 10:10:12 -0700
    359 Subject: [sup-talk] [PATCH] When providing a wildcard as file for an
    360 	attachment, correctly expand it
    361 In-Reply-To: <1254343324-sup-7275@midna.zekjur.net>
    362 References: <1254343324-sup-7275@midna.zekjur.net>
    363 Message-ID: <1254416978-sup-2395@masanjin.net>
    364 
    365 Reformatted excerpts from Michael Stapelberg's message of 2009-09-30:
    366 > the attached patch will expand wildcards given as filename when adding
    367 > attachments to a message. Thus, you can now add ~/work/foo/* at once.
    368 
    369 Branch attach-wildcards, merged into next. Thanks! This is awesome.
    370 
    371 > As with the last patch, please review, test and merge.
    372 
    373 I changed one minor thing: Dir["#{fn}"] -> Dir[fn]. :)
    374 -- 
    375 William <wmorgan-sup at masanjin.net>
    376 
    377 From cworth@cworth.org  Thu Oct  1 13:13:47 2009
    378 From: cworth@cworth.org (Carl Worth)
    379 Date: Thu, 01 Oct 2009 10:13:47 -0700
    380 Subject: [sup-talk] Ignore killed messages in U screen
    381 In-Reply-To: <cd67f63a0910010707q620016bwb899095fb6a50765@mail.gmail.com>
    382 References: <1251387376-sup-7180@javelin> <1252003380-sup-272@masanjin.net>
    383 	<1252004144-sup-6662@javelin> <1252004285-sup-476@masanjin.net>
    384 	<1252004504-sup-3189@javelin> <1254339746-sup-79@masanjin.net>
    385 	<1254382434-sup-4435@peray> <1254404057-sup-2374@masanjin.net>
    386 	<cd67f63a0910010707q620016bwb899095fb6a50765@mail.gmail.com>
    387 Message-ID: <1254417174-sup-3659@yoom.home.cworth.org>
    388 
    389 Excerpts from Nicolas Pouillard's message of Thu Oct 01 07:07:01 -0700 2009:
    390 > On Thu, Oct 1, 2009 at 3:34 PM, William Morgan <wmorgan-sup at masanjin.net> wrote:
    391 > > Reformatted excerpts from Nicolas Pouillard's message of 2009-10-01:
    392 > >> Notice that while GMail do not have the kill thread feature
    393 > >
    394 > > I think it does (but it didn't always). They also call it "mute".
    395 > > http://mail.google.com/support/bin/answer.py?hl=en&answer=47787
    396 > 
    397 > The name and semantics seems just great.
    398 
    399 It seems a simple, little thing. But I'm all in favor of non-violent
    400 metaphors in the interfaces of programs I use.
    401 
    402 -Carl
    403 -------------- next part --------------
    404 A non-text attachment was scrubbed...
    405 Name: signature.asc
    406 Type: application/pgp-signature
    407 Size: 190 bytes
    408 Desc: not available
    409 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/d6d54b07/attachment.bin>
    410 
    411 From michael+sup@stapelberg.de  Thu Oct  1 13:27:40 2009
    412 From: michael+sup@stapelberg.de (Michael Stapelberg)
    413 Date: Thu, 01 Oct 2009 19:27:40 +0200
    414 Subject: [sup-talk] [PATCH] more inline GPG madness
    415 In-Reply-To: <1254348163-sup-6170@midna.zekjur.net>
    416 References: <1254348163-sup-6170@midna.zekjur.net>
    417 Message-ID: <1254417896-sup-2359@midna.zekjur.net>
    418 
    419 Hi,
    420 
    421 Excerpts from Michael Stapelberg's message of Do Okt 01 00:08:39 +0200 2009:
    422 > Attached comes a patch which fixes the behaviour. However (!) the patch is not
    423 > well aligned, the error case (else) is untested and should probably be handled
    424 > differently and the old_charset line can probably be written more elegantly in
    425 > ruby. By the way, the charset stuff is necessary to get the correct character
    426 > set for messages which are sent inline. I really start to dislike Thunderbird
    427 > and other crappy software for that :-\.
    428 
    429 I am sorry for the confusion. Please do not merge this patch without close
    430 review if these PGP headers are valid at all. Turns out the headers were
    431 produced by a custom procmail rule I had forgotton about.
    432 
    433 I will instead implement support for "correct" inline GPG.
    434 
    435 Best regards,
    436 Michael
    437 
    438 From cworth@cworth.org  Thu Oct  1 13:31:00 2009
    439 From: cworth@cworth.org (Carl Worth)
    440 Date: Thu, 01 Oct 2009 10:31:00 -0700
    441 Subject: [sup-talk] [PATCH] Add new :crypto_default configuration option.
    442 In-Reply-To: <1254416783-sup-5518@masanjin.net>
    443 References: <1254178611-sup-369@yoom.home.cworth.org>
    444 	<1254416783-sup-5518@masanjin.net>
    445 Message-ID: <1254417826-sup-6584@yoom.home.cworth.org>
    446 
    447 Excerpts from William Morgan's message of Thu Oct 01 10:07:20 -0700 2009:
    448 > I like the idea, but how about a hook instead? I think the reply-mode
    449 > hook is exactly equivalent to this. (Which maybe I will one day rename
    450 > to default-reply-mode.)
    451 > 
    452 > I have a strong aversion to adding configuration options.
    453 
    454 I'm intrigued.
    455 
    456 What makes a hook preferable over a configuration option?
    457 
    458 I've been getting concerned watching the number of hooks in sup grow
    459 as each creates a maintenance burden. Either:
    460 
    461 1. All hooks are supported forever with consistent
    462    arguments/semantics, (which may make it more difficult to make
    463    changes in sup than it would be otherwise)
    464 
    465 OR:
    466 
    467 2. Hooks are not supported forever, in which case users may find that
    468    things just start working when upgrading.
    469 
    470 Neither of those seem options look nice to me, and both seem easy to
    471 avoid with configuration options.
    472 
    473 If the plan is to go with (1) I'm concerned that I don't see sup
    474 shipping documentation for the current possible hooks. (This applies
    475 to configuration options too though. I think the maintainer should
    476 reject patches that add either without also adding documentation to
    477 the standard list.[*])
    478 
    479 [*] Assuming the pre-condition of such documentation existing of
    480 course.
    481 
    482 On the other hand, I also dislike configuration options (and hooks,
    483 equally), to the extent that they might be used as an excuse to avoid
    484 putting the most sane and useful default functionality into sup
    485 itself. Obviously, this can be complicated by some people not agreeing
    486 on what the most sane and useful behavior is.
    487 
    488 -Carl
    489 -------------- next part --------------
    490 A non-text attachment was scrubbed...
    491 Name: signature.asc
    492 Type: application/pgp-signature
    493 Size: 190 bytes
    494 Desc: not available
    495 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/55fc7ab2/attachment.bin>
    496 
    497 From wmorgan-sup@masanjin.net  Thu Oct  1 13:37:06 2009
    498 From: wmorgan-sup@masanjin.net (William Morgan)
    499 Date: Thu, 01 Oct 2009 10:37:06 -0700
    500 Subject: [sup-talk] [PATCH] Save all attachments to a folder
    501 In-Reply-To: <1254340829-sup-2273@midna.zekjur.net>
    502 References: <1254340829-sup-2273@midna.zekjur.net>
    503 Message-ID: <1254418612-sup-4759@masanjin.net>
    504 
    505 Reformatted excerpts from Michael Stapelberg's message of 2009-09-30:
    506 > I finally implemented saving all attachments of a message to a folder.
    507 > Please review and test this patch, I would be happy if we could merge
    508 > it into mainline.
    509 
    510 Branch save-all-attachments, merged into next.
    511 -- 
    512 William <wmorgan-sup at masanjin.net>
    513 
    514 From ezyang@MIT.EDU  Thu Oct  1 13:38:27 2009
    515 From: ezyang@MIT.EDU (Edward Z. Yang)
    516 Date: Thu, 01 Oct 2009 13:38:27 -0400
    517 Subject: [sup-talk] Bugfix for custom-search
    518 Message-ID: <1254418685-sup-6611@javelin>
    519 
    520 I think there's a slight bug in the custom-search implementation.
    521 Patch is here:
    522 
    523 >From cea17180933469570e9502ffa7bf67ccaa8ccfc7 Mon Sep 17 00:00:00 2001
    524 From: Edward Z. Yang <edwardzyang at thewritingpot.com>
    525 Date: Wed, 10 Jun 2009 01:42:50 -0400
    526 Subject: [PATCH] Fix bug in which custom-search substitutions are not used.
    527 
    528 Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
    529 ---
    530  lib/sup/ferret_index.rb |    2 +-
    531  lib/sup/xapian_index.rb |    2 +-
    532  2 files changed, 2 insertions(+), 2 deletions(-)
    533 
    534 diff --git a/lib/sup/ferret_index.rb b/lib/sup/ferret_index.rb
    535 index d605e8d..34dff87 100644
    536 --- a/lib/sup/ferret_index.rb
    537 +++ b/lib/sup/ferret_index.rb
    538 @@ -340,7 +340,7 @@ EOS
    539      query = {}
    540  
    541      subs = HookManager.run("custom-search", :subs => s) || s
    542 -    subs = s.gsub(/\b(to|from):(\S+)\b/) do
    543 +    subs = subs.gsub(/\b(to|from):(\S+)\b/) do
    544        field, name = $1, $2
    545        if(p = ContactManager.contact_for(name))
    546          [field, p.email]
    547 diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb
    548 index ab25ea0..e1cfe65 100644
    549 --- a/lib/sup/xapian_index.rb
    550 +++ b/lib/sup/xapian_index.rb
    551 @@ -193,7 +193,7 @@ EOS
    552      query = {}
    553  
    554      subs = HookManager.run("custom-search", :subs => s) || s
    555 -    subs = s.gsub(/\b(to|from):(\S+)\b/) do
    556 +    subs = subs.gsub(/\b(to|from):(\S+)\b/) do
    557        field, name = $1, $2
    558        if(p = ContactManager.contact_for(name))
    559          [field, p.email]
    560 -- 
    561 1.6.4.4
    562 
    563 From cworth@cworth.org  Thu Oct  1 13:43:25 2009
    564 From: cworth@cworth.org (Carl Worth)
    565 Date: Thu, 01 Oct 2009 10:43:25 -0700
    566 Subject: [sup-talk] [PATCH] Allow thread index view to sort oldest first
    567 In-Reply-To: <1254416597-sup-8156@masanjin.net>
    568 References: <1253911610-sup-2052@yoom.home.cworth.org>
    569 	<1254416597-sup-8156@masanjin.net>
    570 Message-ID: <1254418822-sup-7654@yoom.home.cworth.org>
    571 
    572 Excerpts from William Morgan's message of Thu Oct 01 10:04:52 -0700 2009:
    573 > I am interested in trying these changes but I think these patches were
    574 > generated against a custom version of master (e.g. I see the inbox
    575 > refine-search command in the context, which hasn't been published yet).
    576 
    577 Guilty as charged.
    578 
    579 > Can you rebase them onto a recent non-modified master so that I can
    580 > apply? Thanks!
    581 
    582 See the attached patches.
    583 
    584 And as before, the behavior is split into two commits so that you can
    585 decide whether to change the default or not.
    586 
    587 And there's still the one minor bug that the oldest-first mode doesn't
    588 actually guarantee that the oldest message is displayed first when
    589 newer messages arrive for an old thread.
    590 
    591 -Carl
    592 -------------- next part --------------
    593 A non-text attachment was scrubbed...
    594 Name: 0001-Allow-thread-index-view-to-sort-oldest-first.patch
    595 Type: application/octet-stream
    596 Size: 7502 bytes
    597 Desc: not available
    598 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/ec87d014/attachment.obj>
    599 -------------- next part --------------
    600 A non-text attachment was scrubbed...
    601 Name: 0002-Change-the-default-sort-for-inbox-mode-to-be-oldest-.patch
    602 Type: application/octet-stream
    603 Size: 777 bytes
    604 Desc: not available
    605 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/ec87d014/attachment-0001.obj>
    606 -------------- next part --------------
    607 A non-text attachment was scrubbed...
    608 Name: signature.asc
    609 Type: application/pgp-signature
    610 Size: 190 bytes
    611 Desc: not available
    612 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/ec87d014/attachment.bin>
    613 
    614 From bgamari.foss@gmail.com  Thu Oct  1 13:44:19 2009
    615 From: bgamari.foss@gmail.com (Ben Gamari)
    616 Date: Thu, 01 Oct 2009 13:44:19 -0400
    617 Subject: [sup-talk] Crash while scrolling
    618 In-Reply-To: <1254404181-sup-8448@masanjin.net>
    619 References: <20090911165830.GA11260@ben-laptop>
    620 	<1252773189-sup-246@masanjin.net>
    621 	<20090916172340.GA20566@ben-laptop>
    622 	<1253975267-sup-8308@masanjin.net> <1254160696-sup-3522@ben-laptop>
    623 	<1254404181-sup-8448@masanjin.net>
    624 Message-ID: <1254418089-sup-5800@ben-laptop>
    625 
    626 Excerpts from William Morgan's message of Thu Oct 01 09:43:48 -0400 2009:
    627 > Reformatted excerpts from Ben Gamari's message of 2009-09-28:
    628 > > This actually brings up a larger question. How difficult would it be
    629 > > to relax sup's assumption that sources are add-only?
    630 > 
    631 > It's not difficult per se, it just requires scanning over the entire
    632 > source, which is slow. Removing this assumption would be tantamount to
    633 > running sup-sync -c every time you start up sup.
    634 > 
    635 > Here's the idea: scanning over a mailstore is slow. Much of this
    636 > slowness is due to Ruby. So let's rewrite this code in C. Then we would
    637 > have something as fast as, say, Mutt. But Mutt bogs down on my mbox file
    638 > because it's too big. So my *only* reasonable choice with a large
    639 > mailstore is Sup and the assumption that the source is add only.
    640 
    641 It seems that C would definitely be a good start (or perhaps C++ would
    642 be a better idea as that is the language in which Xapian is written).
    643 However, I think one of the real issues is the exclusive nature of index
    644 access.  In fact, this is one of my primary gripes with the sup
    645 workflow. After processing a large number of messages, the write-out
    646 time can be quite substantial upon killing the buffer. This can be a
    647 noticeable interruption to workflow. It seems to me that index access
    648 should be asynchronous at least.
    649 
    650 If this were the case, then we could get support for mutable sources for
    651 free, as we could synchronize against sources without interrupting
    652 workflow (although keeping the view in sync with the backend would be a
    653 bit tricky).
    654 
    655 As an aside, it would be quite nice if one could run multiple
    656 simultaneous instances of sup. It seems that if one only held write access
    657 to the index during writes (is this the case presently?), there should
    658 be nothing preventing this from being possible.
    659 
    660 Correct me if I'm wrong in any part of my above assessment. Hope things
    661 are going well,
    662 
    663 - Ben
    664 
    665 From ezyang@MIT.EDU  Thu Oct  1 13:56:12 2009
    666 From: ezyang@MIT.EDU (Edward Z. Yang)
    667 Date: Thu, 01 Oct 2009 13:56:12 -0400
    668 Subject: [sup-talk] Configurable poll time
    669 Message-ID: <1254419578-sup-5569@javelin>
    670 
    671 Hey all,
    672 
    673 I know William is generally opposed to configuration values, but
    674 I think I've found one that would be good to do: DELAY in poll.rb.
    675 I specifically have had to reduce this value in order to prevent
    676 a naughty IMAP server from silently dropping the connection (and
    677 causing sup to consequently hang).
    678 
    679 I'll cook up a patch if people are receptive.
    680 
    681 Cheers,
    682 Edward
    683 
    684 From mailinglist@flasht.de  Thu Oct  1 14:15:50 2009
    685 From: mailinglist@flasht.de (Christopher Bertels)
    686 Date: Thu, 01 Oct 2009 20:15:50 +0200
    687 Subject: [sup-talk] i18n?
    688 In-Reply-To: <1254415145-sup-635@masanjin.net>
    689 References: <1254353101-sup-1021@thinkpad-ubuntu>
    690 	<1254415145-sup-635@masanjin.net>
    691 Message-ID: <1254420802-sup-3742@thinkpad-ubuntu>
    692 
    693 Excerpts from William Morgan's message of Do Okt 01 18:44:43 +0200 2009:
    694 > I have no immediate plans personally, but I would love to have this in
    695 > Sup.
    696 
    697 Alright, good to know.
    698 
    699 > There is a Ruby-Gettext package, which we already use for other reasons.
    700 > I think this is probably the best thing to start with, unless it turns
    701 > out to be too hard to use, in which case we could consider a custom
    702 > solution.
    703 > 
    704 > http://www.yotabanana.com/hiki/ruby-gettext.html
    705 
    706 Cool, I'll have a look at it.
    707 
    708 Another reason for adding this would be that for example gpg's output
    709 is different for me (in german) than what sup expects. So trust-paths
    710 for example aren't recognized by default, since the regular expression
    711 in crypto.rb only looks for english output. I fixed this for myself
    712 but I figured it would make more sense to put this kind of stuff to a
    713 central location.
    714 -- 
    715 ================================
    716 Christopher Bertels
    717 http://www.adztec-independent.de
    718 GPG Key ID: 0x2345b203
    719 -------------- next part --------------
    720 A non-text attachment was scrubbed...
    721 Name: signature.asc
    722 Type: application/pgp-signature
    723 Size: 835 bytes
    724 Desc: not available
    725 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/cf2f42a4/attachment.bin>
    726 
    727 From mailinglist@flasht.de  Thu Oct  1 14:21:48 2009
    728 From: mailinglist@flasht.de (Christopher Bertels)
    729 Date: Thu, 01 Oct 2009 20:21:48 +0200
    730 Subject: [sup-talk] i18n?
    731 In-Reply-To: <1254415145-sup-635@masanjin.net>
    732 References: <1254353101-sup-1021@thinkpad-ubuntu>
    733 	<1254415145-sup-635@masanjin.net>
    734 Message-ID: <1254421306-sup-8840@thinkpad-ubuntu>
    735 
    736 Excerpts from William Morgan's message of Do Okt 01 18:44:43 +0200 2009:
    737 > I have no immediate plans personally, but I would love to have this in
    738 > Sup.
    739 
    740 Ok, great!
    741 
    742 > There is a Ruby-Gettext package, which we already use for other reasons.
    743 > I think this is probably the best thing to start with, unless it turns
    744 > out to be too hard to use, in which case we could consider a custom
    745 > solution.
    746 > 
    747 > http://www.yotabanana.com/hiki/ruby-gettext.html
    748 
    749 Thanks, I'll have a look at it.
    750 
    751 Btw, another reason for adding something like this would be that sup
    752 depends on an english version of gpg. For checking a trust-path, for
    753 example, it uses a regular expression that checks for a certain output
    754 of gpg (in english).  Since I have a german version, this obviously
    755 doesn't work (I had to patch it for my needs).  I guess there probably
    756 are more things where different languages could play a role, so
    757 putting it in a central, well-defined location makes sense.
    758 -- 
    759 ================================
    760 Christopher Bertels
    761 http://www.adztec-independent.de
    762 GPG Key ID: 0x2345b203
    763 
    764 From wmorgan-sup@masanjin.net  Thu Oct  1 14:22:44 2009
    765 From: wmorgan-sup@masanjin.net (William Morgan)
    766 Date: Thu, 01 Oct 2009 11:22:44 -0700
    767 Subject: [sup-talk] Configurable poll time
    768 In-Reply-To: <1254419578-sup-5569@javelin>
    769 References: <1254419578-sup-5569@javelin>
    770 Message-ID: <1254421340-sup-4697@masanjin.net>
    771 
    772 Reformatted excerpts from Edward Z. Yang's message of 2009-10-01:
    773 > I know William is generally opposed to configuration values, but I
    774 > think I've found one that would be good to do: DELAY in poll.rb.  I
    775 > specifically have had to reduce this value in order to prevent a
    776 > naughty IMAP server from silently dropping the connection (and causing
    777 > sup to consequently hang).
    778 
    779 I'd be fine with this one, especially if it were a per-source
    780 configuration that lived in sources.yaml.
    781 -- 
    782 William <wmorgan-sup at masanjin.net>
    783 
    784 From wmorgan-sup@masanjin.net  Thu Oct  1 14:24:57 2009
    785 From: wmorgan-sup@masanjin.net (William Morgan)
    786 Date: Thu, 01 Oct 2009 11:24:57 -0700
    787 Subject: [sup-talk] i18n?
    788 In-Reply-To: <1254420802-sup-3742@thinkpad-ubuntu>
    789 References: <1254353101-sup-1021@thinkpad-ubuntu>
    790 	<1254415145-sup-635@masanjin.net>
    791 	<1254420802-sup-3742@thinkpad-ubuntu>
    792 Message-ID: <1254421405-sup-8083@masanjin.net>
    793 
    794 Reformatted excerpts from Christopher Bertels's message of 2009-10-01:
    795 > Another reason for adding this would be that for example gpg's output
    796 > is different for me (in german) than what sup expects. So trust-paths
    797 > for example aren't recognized by default, since the regular expression
    798 > in crypto.rb only looks for english output.
    799 
    800 It will be interesting to see how gettext handles the case of regular
    801 expressions (which is also probably what you want for the "attachment"
    802 detector). If it's not natural to wedge regexen into gettext, we should
    803 consider a custom solution.
    804 -- 
    805 William <wmorgan-sup at masanjin.net>
    806 
    807 From wmorgan-sup@masanjin.net  Thu Oct  1 14:31:20 2009
    808 From: wmorgan-sup@masanjin.net (William Morgan)
    809 Date: Thu, 01 Oct 2009 11:31:20 -0700
    810 Subject: [sup-talk] Crash while scrolling
    811 In-Reply-To: <1254418089-sup-5800@ben-laptop>
    812 References: <20090911165830.GA11260@ben-laptop>
    813 	<1252773189-sup-246@masanjin.net>
    814 	<20090916172340.GA20566@ben-laptop>
    815 	<1253975267-sup-8308@masanjin.net> <1254160696-sup-3522@ben-laptop>
    816 	<1254404181-sup-8448@masanjin.net> <1254418089-sup-5800@ben-laptop>
    817 Message-ID: <1254421545-sup-8303@masanjin.net>
    818 
    819 Reformatted excerpts from Ben Gamari's message of 2009-10-01:
    820 > It seems that C would definitely be a good start (or perhaps C++ would
    821 > be a better idea as that is the language in which Xapian is written).
    822 
    823 I was proposing that as a strawman argument. C does not solve my
    824 problem.
    825 
    826 > However, I think one of the real issues is the exclusive nature of
    827 > index access.  In fact, this is one of my primary gripes with the sup
    828 > workflow. After processing a large number of messages, the write-out
    829 > time can be quite substantial upon killing the buffer.
    830 
    831 It is possible to address this in a variety of ways, many of which have
    832 been discussed over the years, but yes, I agree that a delay is
    833 nonideal.
    834 
    835 > If this were the case, then we could get support for mutable sources
    836 > for free, as we could synchronize against sources without interrupting
    837 > workflow (although keeping the view in sync with the backend would be
    838 > a bit tricky).
    839 
    840 Making message state saving fast, or backgrounded, is a different beast
    841 from scanning over a mailstore.
    842 
    843 I have been working on a Sup server for quite some time that would
    844 address many of these problems, but progress is slow.
    845 
    846 > As an aside, it would be quite nice if one could run multiple
    847 > simultaneous instances of sup. It seems that if one only held write
    848 > access to the index during writes (is this the case presently?), there
    849 > should be nothing preventing this from being possible.
    850 
    851 It might be possible to do this with Xapian, especially if there were no
    852 expectation of updates being transmitted across processes. With Ferret,
    853 if it is possible, it's only with a tremendous amount of effort.
    854 
    855 -- 
    856 William <wmorgan-sup at masanjin.net>
    857 
    858 From mailinglist@flasht.de  Thu Oct  1 14:33:03 2009
    859 From: mailinglist@flasht.de (Christopher Bertels)
    860 Date: Thu, 01 Oct 2009 20:33:03 +0200
    861 Subject: [sup-talk] i18n?
    862 In-Reply-To: <1254415145-sup-635@masanjin.net>
    863 References: <1254353101-sup-1021@thinkpad-ubuntu>
    864 	<1254415145-sup-635@masanjin.net>
    865 Message-ID: <1254421963-sup-7532@thinkpad-ubuntu>
    866 
    867 Please excuse my double posting. Sup crashed after sending a message.
    868 I have the exception log attached.
    869 Seems like it has a problem with the sent.mbox and wants me to 
    870       sup-sync --changed sup://sent
    871 
    872 I switched from ferret to xapian today and the error clearly happens there.
    873 -- 
    874 ================================
    875 Christopher Bertels
    876 http://www.adztec-independent.de
    877 GPG Key ID: 0x2345b203
    878 -------------- next part --------------
    879 An embedded and charset-unspecified text was scrubbed...
    880 Name: exception-log.txt
    881 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/8366e0e9/attachment.txt>
    882 
    883 From cworth@cworth.org  Thu Oct  1 14:41:59 2009
    884 From: cworth@cworth.org (Carl Worth)
    885 Date: Thu, 01 Oct 2009 11:41:59 -0700
    886 Subject: [sup-talk] Writing time-sensitive portions of sup in C
    887 In-Reply-To: <1254418089-sup-5800@ben-laptop>
    888 References: <20090911165830.GA11260@ben-laptop>
    889 	<1252773189-sup-246@masanjin.net>
    890 	<20090916172340.GA20566@ben-laptop>
    891 	<1253975267-sup-8308@masanjin.net> <1254160696-sup-3522@ben-laptop>
    892 	<1254404181-sup-8448@masanjin.net> <1254418089-sup-5800@ben-laptop>
    893 Message-ID: <1254421959-sup-9506@yoom.home.cworth.org>
    894 
    895 Excerpts from Ben Gamari's message of Thu Oct 01 10:44:19 -0700 2009:
    896 > Excerpts from William Morgan's message of Thu Oct 01 09:43:48 -0400 2009:
    897 > > Here's the idea: scanning over a mailstore is slow. Much of this
    898 > > slowness is due to Ruby. So let's rewrite this code in C. Then we would
    899 > > have something as fast as, say, Mutt. But Mutt bogs down on my mbox file
    900 > > because it's too big. So my *only* reasonable choice with a large
    901 > > mailstore is Sup and the assumption that the source is add only.
    902 > 
    903 > It seems that C would definitely be a good start (or perhaps C++ would
    904 > be a better idea as that is the language in which Xapian is written).
    905 
    906 I've started some experiments along these lines, (basically just
    907 writing C code (with C++ where necessary) using the Xapian tutorial
    908 and little peeks into sup/xapian-index.rb to get the right prefix
    909 values, etc.).
    910 
    911 > However, I think one of the real issues is the exclusive nature of index
    912 > access.  In fact, this is one of my primary gripes with the sup
    913 > workflow. After processing a large number of messages, the write-out
    914 > time can be quite substantial upon killing the buffer. This can be a
    915 > noticeable interruption to workflow. It seems to me that index access
    916 > should be asynchronous at least.
    917 
    918 What I'm hoping to end up with is a C library that provides
    919 asynchronous access to a sup-compatible index. I'll keep you posted if
    920 I make any actual progress on this front.
    921 
    922 -Carl
    923 -------------- next part --------------
    924 A non-text attachment was scrubbed...
    925 Name: signature.asc
    926 Type: application/pgp-signature
    927 Size: 190 bytes
    928 Desc: not available
    929 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091001/89e0a628/attachment.bin>
    930 
    931 From wmorgan-sup@masanjin.net  Thu Oct  1 14:43:49 2009
    932 From: wmorgan-sup@masanjin.net (William Morgan)
    933 Date: Thu, 01 Oct 2009 11:43:49 -0700
    934 Subject: [sup-talk] [ANN] Sup 0.9 released
    935 Message-ID: <1254422532-sup-9948@masanjin.net>
    936 
    937 I'm pleased to announce the release of Sup 0.9.
    938 
    939 Sup is a console-based email client for people with a lot of email.
    940 It supports tagging, very fast full-text search, automatic contact-
    941 list management, and more. If you're the type of person who treats
    942 email as an extension of your long-term memory, Sup is for you.
    943 
    944 Get it: gem install sup
    945 Learn it: http://sup.rubyforge.org
    946 Love it: sup-talk at rubyforge.org
    947 
    948 Excitement in 0.9:
    949 * Experimental Xapian backend to replace Ferret. Not everything works with it,
    950   but it's fast and less likely to barf. See release notes.
    951 * New keybinding: "G" for reply-all.
    952 * New hook: custom-search, for adding your own query expansions.
    953 * Better preemptive thread loading.
    954 * Random UI tweaks: display labels before subjects, change thread-view-mode's
    955   'n' and 'p' commands slightly
    956 * Better killing of other Sup processes.
    957 * Die gracefully upon SIGKILL.
    958 * Finally figure out the curses+ruby magic to make SIGWINCH (i.e. xterm
    959   resizing) work correctly.
    960 * Add a console mode (press ~) for interactively playing with the index.
    961 * Finally figure out the curses magic to stop the weird keyboard behavior after
    962   leaving the editor.
    963 * Improved logging. Logging now supports SUP_LOG_LEVEL environment variable.
    964   Set this to "debug" for verbiage.
    965 * As always, many bugfixes and tweaks.
    966 
    967 Release notes:
    968 
    969 There's a new Xapian backend as an alternative to the Ferret one. It's still in
    970 a beta stage. It's much faster and much less prone to the random crashes than
    971 Ferret, but certain things don't work yet, most noticeably the unread message
    972 counts in label-list-mode.
    973 
    974 You can switch back and forth between both indexes without harm, *except* any
    975 new messages added to the one index won't be picked up by the other. Follow
    976 these instructions:
    977 
    978 To TRY the Xapian index, without screwing Ferret up:
    979 
    980 1. sup-dump > dump                              # takes a while
    981 2. export SUP_INDEX=xapian                      # or however you do it in your shell
    982 3. sup-sync --all --all-sources --restore dump  # takes a long time
    983 4. sup -n                # -n ensures that no polling is done. don't hit 'P' either
    984 
    985 Step 1 will take a long time, and step 3 will take a very long time.
    986 
    987 At this point, whenever you run Sup, the SUP_INDEX environment variable will
    988 determine which index you use. If it's unset, or "ferret", you will use the
    989 ferret index. If it's "xapian", the Xapian index. Make sure when you run sup
    990 with the Xapian index, you use -n and don't hit 'P', to avoid loading new
    991 messages into it.
    992 
    993 If you want to switch to Xapian permanently, you can then:
    994 
    995 1. rm -rf ~/.sup/ferret
    996 2. permanently set SUP_INDEX=xapian according to your shell
    997 3. Run sup as normal, i.e. without -n.
    998 
    999 If you want to go back to Ferret, you can just rm -rf ~/.sup/xapian and make
   1000 sure your SUP_INDEX environment variable is unset.
   1001 
   1002 -- 
   1003 William <wmorgan-sup at masanjin.net>
   1004 
   1005 From rlane@club.cc.cmu.edu  Thu Oct  1 14:47:44 2009
   1006 From: rlane@club.cc.cmu.edu (Rich Lane)
   1007 Date: Thu, 01 Oct 2009 14:47:44 -0400
   1008 Subject: [sup-talk] i18n?
   1009 In-Reply-To: <1254421963-sup-7532@thinkpad-ubuntu>
   1010 References: <1254353101-sup-1021@thinkpad-ubuntu>
   1011 	<1254415145-sup-635@masanjin.net>
   1012 	<1254421963-sup-7532@thinkpad-ubuntu>
   1013 Message-ID: <1254422768-sup-4646@zyrg.net>
   1014 
   1015 Excerpts from Christopher Bertels's message of Thu Oct 01 14:33:03 -0400 2009:
   1016 > undefined method `[]' for nil:NilClass
   1017 > /home/bakkdoor/projekte/ruby/sup/lib/sup/xapian_index.rb:558:in `mkterm'
   1018 
   1019 What commit is your tree at?
   1020 
   1021 From bgamari.foss@gmail.com  Thu Oct  1 14:45:20 2009
   1022 From: bgamari.foss@gmail.com (Ben Gamari)
   1023 Date: Thu, 01 Oct 2009 14:45:20 -0400
   1024 Subject: [sup-talk] Crash while loading thread index buffer
   1025 Message-ID: <1254422128-sup-970@ben-laptop>
   1026 
   1027 I just had this[1] crash while loading a buffer with has:lkml.
   1028 Crash occurs in,
   1029 
   1030       @threads = @ts.threads.select { |t| !@hidden_threads[t] }.sort_by { |t| [t.date, t.first.id] }.reverse
   1031 
   1032 Is this perhaps the result of an index inconsistency? It seems to me
   1033 that t.first should never be nil. Seems like sup is very susceptible to
   1034 these nils slipping in unexpectedly. Is there perhaps a better way to
   1035 deal with it other than crashing the client? Seems like a pretty extreme
   1036 measure (although granted, it's a pretty serious issue as well)
   1037 
   1038 - Ben
   1039 
   1040 
   1041 [1] Exception log
   1042 
   1043 --- RuntimeError from thread: load threads for thread-index-mode
   1044 wrong id called on nil
   1045 /opt/exp/sup/lib/sup.rb:17:in `id'
   1046 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   1047 /opt/exp/sup/lib/sup/hook.rb:121:in `sort_by'
   1048 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `each'
   1049 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   1050 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   1051 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   1052 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `update'
   1053 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:637:in `__unprotected_load_n_threads'
   1054 (eval):12:in `load_n_threads'
   1055 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   1056 /opt/exp/sup/lib/sup.rb:77:in `reporting_thread'
   1057 /opt/exp/sup/lib/sup.rb:75:in `initialize'
   1058 /opt/exp/sup/lib/sup.rb:75:in `new'
   1059 /opt/exp/sup/lib/sup.rb:75:in `reporting_thread'
   1060 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   1061 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   1062 (eval):12:in `load_threads'
   1063 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:33:in `spawn_nicely'
   1064 /opt/exp/sup/lib/sup/modes/label-list-mode.rb:93:in `select_label'
   1065 /opt/exp/sup/lib/sup/mode.rb:51:in `send'
   1066 /opt/exp/sup/lib/sup/mode.rb:51:in `handle_input'
   1067 /opt/exp/sup/lib/sup/buffer.rb:267:in `handle_input'
   1068 /usr/bin/sup:238
   1069 
   1070 From bgamari.foss@gmail.com  Thu Oct  1 15:01:35 2009
   1071 From: bgamari.foss@gmail.com (Ben Gamari)
   1072 Date: Thu, 01 Oct 2009 15:01:35 -0400
   1073 Subject: [sup-talk] Crash while scrolling
   1074 In-Reply-To: <1254421545-sup-8303@masanjin.net>
   1075 References: <20090911165830.GA11260@ben-laptop>
   1076 	<1252773189-sup-246@masanjin.net>
   1077 	<20090916172340.GA20566@ben-laptop>
   1078 	<1253975267-sup-8308@masanjin.net> <1254160696-sup-3522@ben-laptop>
   1079 	<1254404181-sup-8448@masanjin.net> <1254418089-sup-5800@ben-laptop>
   1080 	<1254421545-sup-8303@masanjin.net>
   1081 Message-ID: <1254422805-sup-9288@ben-laptop>
   1082 
   1083 Excerpts from William Morgan's message of Thu Oct 01 14:31:20 -0400 2009:
   1084 > Reformatted excerpts from Ben Gamari's message of 2009-10-01:
   1085 > > It seems that C would definitely be a good start (or perhaps C++ would
   1086 > > be a better idea as that is the language in which Xapian is written).
   1087 > 
   1088 > I was proposing that as a strawman argument. C does not solve my
   1089 > problem.
   1090 
   1091 Certainly, you will never be able to write a message indexer fast enough
   1092 to index a source instantly. That is why we have an index to begin with.
   1093 That being said, I think we can do substantially better than we are
   1094 currently doing in a lower-level language. With mutt, I can come close
   1095 to saturating my drive bandwidth while loading a folder. While
   1096 synchronizing in sup, I am lucky to get a few hundred kilobytes/second.
   1097 Certainly a large amount of that difference has to do with the amount of
   1098 processing done by each, but even adjusting for this it seems to me that
   1099 we should still be I/O bound (or at least close to it).
   1100 
   1101 > 
   1102 > > However, I think one of the real issues is the exclusive nature of
   1103 > > index access.  In fact, this is one of my primary gripes with the sup
   1104 > > workflow. After processing a large number of messages, the write-out
   1105 > > time can be quite substantial upon killing the buffer.
   1106 > 
   1107 > It is possible to address this in a variety of ways, many of which have
   1108 > been discussed over the years, but yes, I agree that a delay is
   1109 > nonideal.
   1110 
   1111 Glad we agree.
   1112 
   1113 > 
   1114 > Making message state saving fast, or backgrounded, is a different beast
   1115 > from scanning over a mailstore.
   1116 
   1117 If we are unable to update the index while the client is active,
   1118 rescanning sources would destroy usability. I would argue that
   1119 asynchronous writeout is very much a prerequisite for mutable sources.
   1120 
   1121 > 
   1122 > I have been working on a Sup server for quite some time that would
   1123 > address many of these problems, but progress is slow.
   1124 
   1125 This was largely what I had in mind. It seems like moving index
   1126 manipulation out-of-process might be best, ultimately.
   1127 
   1128 > 
   1129 > > As an aside, it would be quite nice if one could run multiple
   1130 > > simultaneous instances of sup. It seems that if one only held write
   1131 > > access to the index during writes (is this the case presently?), there
   1132 > > should be nothing preventing this from being possible.
   1133 > 
   1134 > It might be possible to do this with Xapian, especially if there were no
   1135 > expectation of updates being transmitted across processes.
   1136 
   1137 I think initially no updates between processes would be fine.
   1138 > With Ferret,
   1139 > if it is possible, it's only with a tremendous amount of effort.
   1140 
   1141 Is ferret even going to be supported after the Xapian backend
   1142 stabilizes?
   1143 
   1144 Thanks for the comments and sup.
   1145 
   1146 - Ben
   1147 
   1148 From mailinglist@flasht.de  Thu Oct  1 20:19:35 2009
   1149 From: mailinglist@flasht.de (Christopher Bertels)
   1150 Date: Fri, 02 Oct 2009 02:19:35 +0200
   1151 Subject: [sup-talk] i18n?
   1152 In-Reply-To: <1254421405-sup-8083@masanjin.net>
   1153 References: <1254353101-sup-1021@thinkpad-ubuntu>
   1154 	<1254415145-sup-635@masanjin.net>
   1155 	<1254420802-sup-3742@thinkpad-ubuntu>
   1156 	<1254421405-sup-8083@masanjin.net>
   1157 Message-ID: <1254442420-sup-3771@thinkpad-ubuntu>
   1158 
   1159 Excerpts from William Morgan's message of Do Okt 01 20:24:57 +0200 2009:
   1160 > It will be interesting to see how gettext handles the case of regular
   1161 > expressions (which is also probably what you want for the "attachment"
   1162 > detector). If it's not natural to wedge regexen into gettext, we should
   1163 > consider a custom solution.
   1164 
   1165 Hmm. Well I started working on something simple based on yaml files.
   1166 I looked at gettext but that seemed a little weird to me.  Since
   1167 Ruby's yaml module supports regular expressions, this is a plus point,
   1168 I guess. It worked with the attachments example.
   1169 -- 
   1170 ================================
   1171 Christopher Bertels
   1172 http://www.adztec-independent.de
   1173 GPG Key ID: 0x2345b203
   1174 -------------- next part --------------
   1175 A non-text attachment was scrubbed...
   1176 Name: signature.asc
   1177 Type: application/pgp-signature
   1178 Size: 902 bytes
   1179 Desc: not available
   1180 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091002/9c56d49e/attachment.bin>
   1181 
   1182 From olly@survex.com  Fri Oct  2 03:57:55 2009
   1183 From: olly@survex.com (Olly Betts)
   1184 Date: Fri, 2 Oct 2009 07:57:55 +0000 (UTC)
   1185 Subject: [sup-talk] [PATCH] xapian: do less work for update_message_state
   1186 References: <1252867449-30734-1-git-send-email-rlane@club.cc.cmu.edu>
   1187 	<1254339542-sup-886@masanjin.net> <1254341186-sup-4357@zyrg.net>
   1188 	<1254404707-sup-9253@masanjin.net> <1254416360-sup-8957@zyrg.net>
   1189 Message-ID: <slrnhcbck3.5ah.olly@msgid.survex.com>
   1190 
   1191 On 2009-10-01, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1192 > Excerpts from William Morgan's message of Thu Oct 01 09:46:20 -0400 2009:
   1193 >> Reformatted excerpts from Rich Lane's message of 2009-09-30:
   1194 >> > They're about 3 times faster on my machine with this patch. An
   1195 >> > optimization the Xapian devs have been planning to make (and that this
   1196 >> > patch is necessary to take advantage of) should increase performance
   1197 >> > much more.
   1198 >> 
   1199 >> Awesome. Out of curiousity, what's the optimization?
   1200 >
   1201 > replace_document currently deletes all the old postings and inserts new
   1202 > ones. It can be optimized to make the minimal set of modifications.
   1203 
   1204 This is the ticket for it:
   1205 
   1206 http://trac.xapian.org/ticket/250
   1207 
   1208 Cheers,
   1209     Olly
   1210 
   1211 
   1212 From gregor@hoffleit.de  Fri Oct  2 05:25:04 2009
   1213 From: gregor@hoffleit.de (Gregor Hoffleit)
   1214 Date: Fri, 02 Oct 2009 11:25:04 +0200
   1215 Subject: [sup-talk] Bug: store_message writes invalid From lines with
   1216 	locales set
   1217 In-Reply-To: <1254414095-sup-8087@masanjin.net>
   1218 References: <1254411555-sup-7650@sam> <1254414095-sup-8087@masanjin.net>
   1219 Message-ID: <1254475145-sup-5397@sam>
   1220 
   1221 * William Morgan <wmorgan-sup at masanjin.net> [Thu Oct 01 18:38:36 +0200 2009]
   1222 > > Everything worked fine for me in August and September, since those
   1223 > > month names are spelled the same in German and English ;-).
   1224 > 
   1225 > You expect your email client to work for more than two months a year?
   1226 
   1227 Ok. I admit the right way to fix this would have been to take a time of
   1228 absence in the months of March, May, October and December. Should have
   1229 thought about that before complaining ;-).
   1230 
   1231 Thanks for the quick fix,
   1232     Gregor
   1233 
   1234 From mailinglist@flasht.de  Fri Oct  2 08:52:47 2009
   1235 From: mailinglist@flasht.de (Christopher Bertels)
   1236 Date: Fri, 02 Oct 2009 14:52:47 +0200
   1237 Subject: [sup-talk] i18n?
   1238 In-Reply-To: <1254442420-sup-3771@thinkpad-ubuntu>
   1239 References: <1254353101-sup-1021@thinkpad-ubuntu>
   1240 	<1254415145-sup-635@masanjin.net>
   1241 	<1254420802-sup-3742@thinkpad-ubuntu>
   1242 	<1254421405-sup-8083@masanjin.net>
   1243 	<1254442420-sup-3771@thinkpad-ubuntu>
   1244 Message-ID: <1254487575-sup-5468@thinkpad-ubuntu>
   1245 
   1246 I've uploaded what I've done so far to
   1247 http://www.gitorious.org/~bakkdoor/sup/bakkdoors-clone/trees/i18n 
   1248 You can get it via git here:
   1249 git://gitorious.org/~bakkdoor/sup/bakkdoors-clone.git (branch: i18n)
   1250 
   1251 Please tell me what you think. I know it's pretty simple but for now I
   1252 guess that's all we need. Or am I missing something?  
   1253 
   1254 One thing I wanted to add as well is, that if there is no translation
   1255 found for a different language, it will default to the english version
   1256 (instead of returning nil).
   1257 -- 
   1258 ================================
   1259 Christopher Bertels
   1260 http://www.adztec-independent.de
   1261 GPG Key ID: 0x2345b203
   1262 
   1263 From rlane@club.cc.cmu.edu  Fri Oct  2 16:35:42 2009
   1264 From: rlane@club.cc.cmu.edu (Rich Lane)
   1265 Date: Fri, 02 Oct 2009 16:35:42 -0400
   1266 Subject: [sup-talk] Bug: Converting the index to xapian fails with a
   1267 	message with very old date
   1268 In-Reply-To: <1254404956-sup-6574@masanjin.net>
   1269 References: <1253475875-sup-5119@midna.zekjur.net>
   1270 	<1253973258-sup-3347@masanjin.net>
   1271 	<1254001080-sup-5742@midna.zekjur.net>
   1272 	<1254404956-sup-6574@masanjin.net>
   1273 Message-ID: <1254513417-sup-8419@zyrg.net>
   1274 
   1275 Excerpts from William Morgan's message of Thu Oct 01 09:49:54 -0400 2009:
   1276 > Reformatted excerpts from Michael Stapelberg's message of 2009-09-26:
   1277 > > truncated date is Thu Jan 01 01:00:00 +0100 1970
   1278 > > date_value is "\200"
   1279 > > /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `_dump': year too big to marshal
   1280 > > (ArgumentError)
   1281 > >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `dump'
   1282 > >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:536:in `index_message'
   1283 > >         from /usr/lib/ruby/1.8/sup/xapian_index.rb:124:in `sync_message'
   1284 > 
   1285 > At this point I'm hoping that Rich will chime in. :)
   1286 
   1287 This strikes me as a bug in Marshal.dump - it should be able to handle
   1288 arbitrary dates. I've never messed with custom marshalling functions
   1289 before, but monkey patching one in could be a workaround. Or we could
   1290 just truncate the dates before putting them in the index entry.
   1291 
   1292 From stettberger@dokucode.de  Fri Oct  2 16:48:24 2009
   1293 From: stettberger@dokucode.de (Christian Dietrich)
   1294 Date: Fri, 02 Oct 2009 22:48:24 +0200
   1295 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   1296 In-Reply-To: <1254334371-sup-5145@masanjin.net>
   1297 References: <1254247706-sup-2745@peer.zerties.org>
   1298 	<1254334371-sup-5145@masanjin.net>
   1299 Message-ID: <1254516195-sup-4619@peer.zerties.org>
   1300 
   1301 Excerpts from William Morgan's message of Mi Sep 30 20:17:55 +0200 2009:
   1302 > Cool idea. I'd like to see how this looks.
   1303 > 
   1304 > > I tried to implement the feature by my self, but the mapping beetween
   1305 > > `curpos' and `@threads' in modes/thread-index-mode.rb made this a
   1306 > > little bit hard, and i didn't know how to solve this problem without
   1307 > > breaking sup. Perhaps you can give me a hint, how this problem with
   1308 > > the direct mapping can be solved.
   1309 > 
   1310 > If you look at #regen_text, @text and @lines are the two variables that
   1311 > control the display. @text is an array of the GUI elements for each line
   1312 > of the display. Right now it's just set to one line for each thread. You
   1313 > want to add one additional element at the appropriate position. for each
   1314 > date line. GUI elements are represented as arrays of [color, text]
   1315 > pairs; you can look at #text_for_thread_at for an example.
   1316 > 
   1317 > Then, you want to make sure that @lines is set correctly. @lines is a
   1318 > map (hash) from line number to thread (so that when the user presses a
   1319 > key, we know which thread the cursor is resting on).
   1320 
   1321 Thank you, that helped a much. I implemented the feature, it is
   1322 available at git://github.com/stettberger/sup-mail.git
   1323 branch time_marks, it is one commit ahead of next. It is enabled
   1324 with setting the config option ":time_markers_in_index_mode: true"
   1325 At runtime it can be toggled via '%' (just randomly choosen by me)
   1326 
   1327 greetz didi
   1328 -- 
   1329 No documentation is better than bad documentation
   1330 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   1331 
   1332 From eg@gaute.vetsj.com  Sat Oct  3 06:36:39 2009
   1333 From: eg@gaute.vetsj.com (gauteh)
   1334 Date: Sat, 3 Oct 2009 03:36:39 -0700 (PDT)
   1335 Subject: [sup-talk]  Bug: Xapian exception after having polled
   1336 Message-ID: <25727581.post@talk.nabble.com>
   1337 
   1338 
   1339 Greetings,
   1340 
   1341 Sup fails with the attached backtrace right after having polled the
   1342 messages. The messages show up in the inbox before it fails, possibly
   1343 failing before they are shown, but they then show up the next time, before
   1344 the same exception happens again. It doesn't matter if I have new messages
   1345 or not.
   1346 
   1347 This happenes both in f6873cee9960 and newest; 93b5552730c1
   1348 
   1349 I keep my messages in maildir, synced with offlineimap on a Gmail account.
   1350 
   1351 - gaute
   1352 
   1353 http://www.nabble.com/file/p25727581/exception-log.txt exception-log.txt 
   1354 -- 
   1355 View this message in context: http://www.nabble.com/Bug%3A-Xapian-exception-after-having-polled-tp25727581p25727581.html
   1356 Sent from the SUP Talk mailing list archive at Nabble.com.
   1357 
   1358 
   1359 From tarko@lanparty.ee  Sat Oct  3 06:31:16 2009
   1360 From: tarko@lanparty.ee (Tarko Tikan)
   1361 Date: Sat, 03 Oct 2009 13:31:16 +0300
   1362 Subject: [sup-talk] labels-before-subject and ask_for_contacts config knobs
   1363 Message-ID: <1254565800-sup-5590@lanparty.ee>
   1364 
   1365 hey,
   1366 
   1367 First, 0.9 is nice, thanks for that.
   1368 
   1369 I want to ask the list about a thing (2 things actually, since 0.9) that has been bugging me.
   1370 
   1371 ask_for_contacts is loading 10 contacts from index, imho this doesn't make a sane default (it's too low). I've always patched this to 500 on my end - yes, it takes a second or two to load that many contacts from index but this doesn't bug me as much as first looking up the person and then composing to him.
   1372 
   1373 second, since labels-before-subject was integrated, it's hard to follow thread index on small screen. Most of my inbox is tagged with 3 labels, mailing-list could be tagged with up to 5 labels. The problem is especially bad on very small screens (like mobiles with ssh clients).
   1374 
   1375 I'm tempted to submit a patch that enables to tune these behaviors via config. I don't find these hook-worthy as first is just a integer (default must stay reasonably low for people with slower computers) and second only makes sense together with full thread-index line customization (I'm not sure about the performance impact or complexity it might bring).
   1376 
   1377 Anyone else sharing my view or I just keep patching on my end? :)
   1378 
   1379 -- 
   1380 tarko
   1381 
   1382 From rlane@club.cc.cmu.edu  Sat Oct  3 14:19:57 2009
   1383 From: rlane@club.cc.cmu.edu (Rich Lane)
   1384 Date: Sat,  3 Oct 2009 11:19:57 -0700
   1385 Subject: [sup-talk] [PATCH] don't downcase a nil content-type
   1386 Message-ID: <1254593997-32634-1-git-send-email-rlane@club.cc.cmu.edu>
   1387 
   1388 ---
   1389  lib/sup/message.rb |    2 +-
   1390  1 files changed, 1 insertions(+), 1 deletions(-)
   1391 
   1392 diff --git a/lib/sup/message.rb b/lib/sup/message.rb
   1393 index 979597a..cbedb33 100644
   1394 --- a/lib/sup/message.rb
   1395 +++ b/lib/sup/message.rb
   1396 @@ -501,7 +501,7 @@ private
   1397          # Lowercase the filename because searches are easier that way 
   1398          @attachments.push filename.downcase unless filename =~ /^sup-attachment-/
   1399          add_label :attachment unless filename =~ /^sup-attachment-/
   1400 -        content_type = m.header.content_type.downcase || "application/unknown" # sometimes RubyMail gives us nil
   1401 +        content_type = (m.header.content_type || "application/unknown").downcase # sometimes RubyMail gives us nil
   1402          [Chunk::Attachment.new(content_type, filename, m, sibling_types)]
   1403  
   1404        ## otherwise, it's body text
   1405 -- 
   1406 1.6.4.2
   1407 
   1408 
   1409 From rlane@club.cc.cmu.edu  Sat Oct  3 14:22:34 2009
   1410 From: rlane@club.cc.cmu.edu (Rich Lane)
   1411 Date: Sat, 03 Oct 2009 14:22:34 -0400
   1412 Subject: [sup-talk] Bug: Xapian exception after having polled
   1413 In-Reply-To: <25727581.post@talk.nabble.com>
   1414 References: <25727581.post@talk.nabble.com>
   1415 Message-ID: <1254594099-sup-719@zyrg.net>
   1416 
   1417 Apply the attached patch and let us know what the new backtrace is.
   1418 -------------- next part --------------
   1419 A non-text attachment was scrubbed...
   1420 Name: nil-msgid-asserts.patch
   1421 Type: application/octet-stream
   1422 Size: 1254 bytes
   1423 Desc: not available
   1424 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091003/1c9febbc/attachment.obj>
   1425 
   1426 From guillaume.quintard@gmail.com  Sat Oct  3 16:04:14 2009
   1427 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   1428 Date: Sat, 3 Oct 2009 22:04:14 +0200
   1429 Subject: [sup-talk] Crash, bad index, and ensuing misery
   1430 Message-ID: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1431 
   1432 Hi, I crash my computer with sup running, and it seems the index
   1433 didn't really like. sup-sync -a didn't help, what can I do?
   1434 
   1435 --- RuntimeError from thread: load threads for thread-index-mode
   1436 DocNotFoundError: Document 2461178145 not found.
   1437 ./lib/sup/xapian_index.rb:132:in `document'
   1438 ./lib/sup/xapian_index.rb:132:in `each_message_in_thread_for'
   1439 ./lib/sup/xapian_index.rb:132:in `map'
   1440 ./lib/sup/xapian_index.rb:132:in `each_message_in_thread_for'
   1441 ./lib/sup/thread.rb:341:in `load_thread_for_message'
   1442 ./lib/sup/thread.rb:333:in `load_n_threads'
   1443 ./lib/sup/xapian_index.rb:117:in `each_id_by_date'
   1444 ./lib/sup/xapian_index.rb:110:in `each_id'
   1445 ./lib/sup/xapian_index.rb:110:in `each'
   1446 ./lib/sup/xapian_index.rb:110:in `each_id'
   1447 ./lib/sup/xapian_index.rb:117:in `each_id_by_date'
   1448 ./lib/sup/thread.rb:328:in `load_n_threads'
   1449 ./lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads'
   1450 (eval):12:in `load_n_threads'
   1451 ./lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   1452 ./lib/sup.rb:77:in `reporting_thread'
   1453 ./lib/sup.rb:75:in `initialize'
   1454 ./lib/sup.rb:75:in `new'
   1455 ./lib/sup.rb:75:in `reporting_thread'
   1456 ./lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   1457 ./lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   1458 (eval):12:in `load_threads'
   1459 bin/sup:197
   1460 
   1461 -- 
   1462 Guillaume
   1463 
   1464 From rlane@club.cc.cmu.edu  Sat Oct  3 16:17:54 2009
   1465 From: rlane@club.cc.cmu.edu (Rich Lane)
   1466 Date: Sat, 03 Oct 2009 16:17:54 -0400
   1467 Subject: [sup-talk] Crash, bad index, and ensuing misery
   1468 In-Reply-To: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1469 References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1470 Message-ID: <1254600926-sup-5190@zyrg.net>
   1471 
   1472 Excerpts from Guillaume Quintard's message of Sat Oct 03 16:04:14 -0400 2009:
   1473 > Hi, I crash my computer with sup running, and it seems the index
   1474 > didn't really like. sup-sync -a didn't help, what can I do?
   1475 
   1476 I'd hoped this kind of corruption wouldn't be possible with newer
   1477 xapian-index versions. What sup commit are you on? What version of
   1478 Xapian are you using? Which Xapian backend, Flint or Chert?
   1479 
   1480 From marco-oweber@gmx.de  Sat Oct  3 16:49:40 2009
   1481 From: marco-oweber@gmx.de (Marc Weber)
   1482 Date: Sat, 03 Oct 2009 22:49:40 +0200
   1483 Subject: [sup-talk] next search in buffer view..
   1484 Message-ID: <1254602805-sup-2900@nixos>
   1485 
   1486 
   1487 buffer.rb
   1488 
   1489   def handle_input c
   1490     if @focus_buf
   1491       if @focus_buf.mode.in_search? && c != CONTINUE_IN_BUFFER_SEARCH_KEY[0]
   1492         @focus_buf.mode.cancel_search!
   1493         @focus_buf.mark_dirty
   1494       end
   1495       @focus_buf.mode.handle_input c
   1496     end
   1497   end
   1498 
   1499 Why is the search canceled when typing any other char?
   1500 
   1501 That's really annoying because there are some mails I have to use the
   1502 same search multiple times. However I also have to scroll up /down to
   1503 see enough context.
   1504 
   1505 So why has this been implemented? Is it safe to remove that if
   1506 statement?
   1507 Seems to work for me.
   1508 
   1509 
   1510 It would be better if the next search would continue from the current
   1511 line rather than the last search result.
   1512 
   1513 I'd like to see 'N' (search backward) as well.
   1514 
   1515 If you like these ideas I'm going to supply a patch.
   1516 
   1517 Comments?
   1518 
   1519 Marc Weber
   1520 
   1521 From guillaume.quintard@gmail.com  Sat Oct  3 17:06:36 2009
   1522 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   1523 Date: Sat, 3 Oct 2009 23:06:36 +0200
   1524 Subject: [sup-talk] Crash, bad index, and ensuing misery
   1525 In-Reply-To: <1254600926-sup-5190@zyrg.net>
   1526 References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1527 	<1254600926-sup-5190@zyrg.net>
   1528 Message-ID: <1e5fdab70910031406x713fad49ubb42b42463899c87@mail.gmail.com>
   1529 
   1530 On Sat, Oct 3, 2009 at 10:17 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1531 > I'd hoped this kind of corruption wouldn't be possible with newer
   1532 > xapian-index versions. What sup commit are you on? What version of
   1533 > Xapian are you using? Which Xapian backend, Flint or Chert?
   1534 >
   1535 
   1536 ubuntu 9.10
   1537 libxapian-ruby1.8    1.0.14-1
   1538 I'd say flink since I often have to remove flintlock after sup
   1539 commiting suicide.
   1540 
   1541 and git status says
   1542 # On branch next
   1543 # Your branch is ahead of 'origin/next' by 6 commits.
   1544 
   1545 (ahead?)
   1546 
   1547 -- 
   1548 Guillaume
   1549 
   1550 From rlane@club.cc.cmu.edu  Sat Oct  3 17:39:42 2009
   1551 From: rlane@club.cc.cmu.edu (Rich Lane)
   1552 Date: Sat, 03 Oct 2009 17:39:42 -0400
   1553 Subject: [sup-talk] Crash, bad index, and ensuing misery
   1554 In-Reply-To: <1e5fdab70910031406x713fad49ubb42b42463899c87@mail.gmail.com>
   1555 References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1556 	<1254600926-sup-5190@zyrg.net>
   1557 	<1e5fdab70910031406x713fad49ubb42b42463899c87@mail.gmail.com>
   1558 Message-ID: <1254605615-sup-5636@zyrg.net>
   1559 
   1560 Excerpts from Guillaume Quintard's message of Sat Oct 03 17:06:36 -0400 2009:
   1561 > On Sat, Oct 3, 2009 at 10:17 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1562 > > I'd hoped this kind of corruption wouldn't be possible with newer
   1563 > > xapian-index versions. What sup commit are you on? What version of
   1564 > > Xapian are you using? Which Xapian backend, Flint or Chert?
   1565 > >
   1566 > 
   1567 > ubuntu 9.10
   1568 > libxapian-ruby1.8    1.0.14-1
   1569 > I'd say flink since I often have to remove flintlock after sup
   1570 > commiting suicide.
   1571 > 
   1572 > and git status says
   1573 > # On branch next
   1574 > # Your branch is ahead of 'origin/next' by 6 commits.
   1575 > 
   1576 > (ahead?)
   1577 > 
   1578 
   1579 Please post the output of "git log --pretty=oneline 'origin/next^'.."
   1580 
   1581 From guillaume.quintard@gmail.com  Sat Oct  3 17:54:28 2009
   1582 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   1583 Date: Sat, 3 Oct 2009 23:54:28 +0200
   1584 Subject: [sup-talk] Crash, bad index, and ensuing misery
   1585 In-Reply-To: <1254605615-sup-5636@zyrg.net>
   1586 References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1587 	<1254600926-sup-5190@zyrg.net>
   1588 	<1e5fdab70910031406x713fad49ubb42b42463899c87@mail.gmail.com>
   1589 	<1254605615-sup-5636@zyrg.net>
   1590 Message-ID: <1e5fdab70910031454n28c57ae5m1f33f10f4e4acaab@mail.gmail.com>
   1591 
   1592 On Sat, Oct 3, 2009 at 11:39 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1593 > Please post the output of "git log --pretty=oneline 'origin/next^'.."
   1594 >
   1595 here you go
   1596 80789d873ac555bb1979f7734e95f104d848007e Merge branch 'next' of
   1597 git://gitorious.org/sup/mainline into next
   1598 0eee0973223b625b66e30c196ccd45d2f7bf358b Merge branch 'master' into next
   1599 93b5552730c10e2a352bd33f5ee98800bcd8679e more release-script updates
   1600 d1eabf9cb21940b933464ab3efc25df3c1a5f7e1 Merge branch 'next' of
   1601 git://gitorious.org/sup/mainline into next
   1602 df96980d0573cf91742a8f9ae5e8a49366d338b8 Merge branch 'next' of
   1603 git://gitorious.org/sup/mainline into next
   1604 a6dcb02dda7dd8bb1742890d460b1b0abfc28454 Merge branch 'next' of
   1605 git://gitorious.org/sup/mainline into next
   1606 823148627f554fbf5a7fb13379567276eeee14c7 Merge branch 'next' of
   1607 git://gitorious.org/sup/mainline into next
   1608 40ecc407a8aacf16d7f9f104501311cfd1fb2eb7 Revert "Merge branch
   1609 'after-add-message-hook' into next"
   1610 
   1611 
   1612 
   1613 -- 
   1614 Guillaume
   1615 
   1616 From rlane@club.cc.cmu.edu  Sat Oct  3 18:25:19 2009
   1617 From: rlane@club.cc.cmu.edu (Rich Lane)
   1618 Date: Sat, 03 Oct 2009 18:25:19 -0400
   1619 Subject: [sup-talk] Crash, bad index, and ensuing misery
   1620 In-Reply-To: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1621 References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   1622 Message-ID: <1254607735-sup-864@zyrg.net>
   1623 
   1624 Excerpts from Guillaume Quintard's message of Sat Oct 03 16:04:14 -0400 2009:
   1625 > --- RuntimeError from thread: load threads for thread-index-mode
   1626 > DocNotFoundError: Document 2461178145 not found.
   1627 > ./lib/sup/xapian_index.rb:132:in `document'
   1628 
   1629 The relevant line:
   1630 docs = term_docids(mkterm(:thread, thread_id)).map { |x| @xapian.document x }
   1631 
   1632 Basically expands to:
   1633 @xapian.postlist(term).map { |x| @xapian.document x.docid }
   1634 
   1635 So, Xapian is giving us docids it can't turn into documents. At this
   1636 point I think you should just do a sup-dump (which might still work),
   1637 move the old xapian directory out of the way, and re-sync. You can try
   1638 running xapian-check on the corrupted version to see if it finds
   1639 anything interesting.
   1640 
   1641 From nicolas.pouillard@gmail.com  Sun Oct  4 08:36:02 2009
   1642 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   1643 Date: Sun, 04 Oct 2009 14:36:02 +0200
   1644 Subject: [sup-talk] Simple E-Mail Delaying
   1645 Message-ID: <1254659599-sup-7377@peray>
   1646 
   1647 Hi all,
   1648 
   1649 I've written a blog post about improving my email experience. And since it
   1650 interacts nicely with sup it may be of some interest for you.
   1651 
   1652 Best Regards,
   1653 
   1654 -- 
   1655 Nicolas Pouillard
   1656 http://nicolaspouillard.fr
   1657 
   1658 From marcus-sup@bar-coded.net  Sun Oct  4 10:42:37 2009
   1659 From: marcus-sup@bar-coded.net (Marcus Williams)
   1660 Date: Sun, 04 Oct 2009 15:42:37 +0100
   1661 Subject: [sup-talk] labels-before-subject and ask_for_contacts config
   1662 	knobs
   1663 In-Reply-To: <1254565800-sup-5590@lanparty.ee>
   1664 References: <1254565800-sup-5590@lanparty.ee>
   1665 Message-ID: <1254667184-sup-153@bar-coded.net>
   1666 
   1667 On 3.10.2009, Tarko Tikan wrote:
   1668 > second, since labels-before-subject was integrated, it's hard to follow thread
   1669 > index on small screen. Most of my inbox is tagged with 3 labels, mailing-list
   1670 > could be tagged with up to 5 labels. The problem is especially bad on very
   1671 > small screens (like mobiles with ssh clients).
   1672 
   1673 If you search through the archives you should find a patch I submitted
   1674 for an alternate view. The default alternate view I find very good on
   1675 smaller devices and its configurable via a hook if you want anything
   1676 more. Not sure if its going to get integrated into sup though
   1677 (Any thoughts William? - I can resubmit if necessary)
   1678 
   1679 You would need to change the keypress from "~" to something that isnt
   1680 taken (currently thats taken as a console view).
   1681 
   1682 HTH
   1683 
   1684 Marcus
   1685 
   1686 From sgoldman@tower-research.com  Sun Oct  4 10:46:40 2009
   1687 From: sgoldman@tower-research.com (Steve Goldman)
   1688 Date: Sun, 04 Oct 2009 10:46:40 -0400
   1689 Subject: [sup-talk] Simple E-Mail Delaying
   1690 In-Reply-To: <1254659599-sup-7377@peray>
   1691 References: <1254659599-sup-7377@peray>
   1692 Message-ID: <1254667426-sup-9509@sgoldmanlinux.tower-research.com>
   1693 
   1694 Excerpts from Nicolas Pouillard's message of Sun Oct 04 08:36:02 -0400 2009:
   1695 > Hi all,
   1696 > 
   1697 > I've written a blog post about improving my email experience. And since it
   1698 > interacts nicely with sup it may be of some interest for you.
   1699 > 
   1700 > Best Regards,
   1701 > 
   1702 
   1703 This is brilliant.
   1704 
   1705 Can you help me get it work?
   1706 
   1707 What defines FULLEMAIL?  I can't get the script past that.
   1708 
   1709 (I'm not on the latest sup checkout, but i grepped the next branch for
   1710 FULLEMAIL and didn't see anything.)
   1711 
   1712 Thanks.
   1713 -- 
   1714 
   1715 Steve Goldman
   1716 sgoldman at tower-research.com
   1717 
   1718 T: 212.219.6014
   1719 F: 212.219.6007
   1720 
   1721 Tower Research Capital, LLC
   1722 377 Broadway, 11th Fl.
   1723 New York, NY 10013
   1724 
   1725 From web-sup@superscript.com  Sun Oct  4 11:51:51 2009
   1726 From: web-sup@superscript.com (William Baxter)
   1727 Date: Sun, 04 Oct 2009 11:51:51 -0400
   1728 Subject: [sup-talk] Simple E-Mail Delaying
   1729 In-Reply-To: <1254659599-sup-7377@peray>
   1730 References: <1254659599-sup-7377@peray>
   1731 Message-ID: <1254671303-sup-2911@kronos>
   1732 
   1733 Excerpts from Nicolas Pouillard's message of Sun Oct 04 08:36:02 -0400 2009:
   1734 > I've written a blog post about improving my email experience. And since it
   1735 > interacts nicely with sup it may be of some interest for you.
   1736 
   1737 I also employ a tickler system in sup, one that relies exclusively on labels.
   1738 To mark a thread for review on day DD of the month, label it with #DD.
   1739 Obviously this extends forward only one month.  I have not found that
   1740 problematic.  I also use #E to indicate the need to reply, #W as waiting for
   1741 something, #A for action required, etc.
   1742 
   1743 The choice of # came from two considerations.  First, it sorts before letters.
   1744 Second, it does not require quoting in searches.  The date labels could do
   1745 without the prefix, but I began with the #<letter> labels, and like the way
   1746 that the common prefix sets these elements apart in label-list-mode.
   1747 
   1748 Cheers, W.
   1749 
   1750 From gigabo@gmail.com  Sun Oct  4 12:23:17 2009
   1751 From: gigabo@gmail.com (Bo Borgerson)
   1752 Date: Sun, 04 Oct 2009 12:23:17 -0400
   1753 Subject: [sup-talk] [PATCH] Handle added messages in label-list-mode
   1754 In-Reply-To: <1254415913-sup-6275@masanjin.net>
   1755 References: <1252789445-30193-1-git-send-email-gigabo@gmail.com>
   1756 	<1254415913-sup-6275@masanjin.net>
   1757 Message-ID: <1254669536-sup-2700@longword>
   1758 
   1759 Excerpts from William Morgan's message of Thu Oct 01 12:53:15 -0400 2009:
   1760 > Reformatted excerpts from Bo Borgerson's message of 2009-09-12:
   1761 > > Register label-list-mode with the UpdateManager and handle added
   1762 > > updates with a reload to keep unread message counts up to date
   1763 > 
   1764 > Branch label-list-mode-auto-update, merged into next.
   1765 > 
   1766 
   1767 Hi William.  Thanks for looking at this.
   1768 
   1769 > I'm a little concerned with performance, but we'll see how it goes.
   1770 > 
   1771 
   1772 Yeah, I think I might be spoiled by my relatively few messages / labels.  If it
   1773 turns out to be an issue maybe it could be made toggle-able with a key-press?
   1774 (Default off / configurable)?
   1775 
   1776 I actually use the label-list-mode as my "home" screen.  I like it to stay
   1777 up-to-date so I can quickly scan which labels have new messages.
   1778 
   1779 Incidentally the recent discussion in another thread about making the inbox
   1780 more like other labels resonates with me.  My workflow for all other labels is
   1781 just to 'x' out when I'm done, but with the inbox I have to '$'ave and
   1782 'B'uffer-switch.
   1783 
   1784 > What do you think about handling labeled and deleted updates as well?
   1785 
   1786 Is there a way to label or delete threads without leaving the label-list-mode?
   1787 There's already a refresh when switching back to the label-list-mode from
   1788 elsewhere, I think, so any changes that are $aved should be reflected
   1789 immediately when you get back.  Labels added automatically in a
   1790 before-add-message hook should already be present when the 'added' update event
   1791 is received, right?
   1792 
   1793 I'm not trying to argue against adding handlers for labeled and deleted
   1794 updates.  I just want to make sure I understand the use cases so I know how to
   1795 test.
   1796 
   1797 Thanks,
   1798 
   1799 Bo
   1800 
   1801 From rlane@club.cc.cmu.edu  Sun Oct  4 14:45:55 2009
   1802 From: rlane@club.cc.cmu.edu (Rich Lane)
   1803 Date: Sun, 04 Oct 2009 14:45:55 -0400
   1804 Subject: [sup-talk] Bug: Xapian exception after having polled
   1805 In-Reply-To: <20091004101550.GA7330@qwerzila.bluecom.no>
   1806 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   1807 	<20091004101550.GA7330@qwerzila.bluecom.no>
   1808 Message-ID: <1254681739-sup-4089@zyrg.net>
   1809 
   1810 Ok, I've attached a patch with more assertions. Also, can you try with a clean
   1811 checkout of next and see if the problem still occurs?
   1812 -------------- next part --------------
   1813 A non-text attachment was scrubbed...
   1814 Name: 0001-more-id-assertions.patch
   1815 Type: application/octet-stream
   1816 Size: 1695 bytes
   1817 Desc: not available
   1818 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091004/6622c53c/attachment.obj>
   1819 
   1820 From eg@gaute.vetsj.com  Sun Oct  4 14:56:31 2009
   1821 From: eg@gaute.vetsj.com (Gaute Hope)
   1822 Date: Sun, 4 Oct 2009 20:56:31 +0200
   1823 Subject: [sup-talk] Bug: Xapian exception after having polled
   1824 In-Reply-To: <1254681739-sup-4089@zyrg.net>
   1825 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   1826 	<20091004101550.GA7330@qwerzila.bluecom.no>
   1827 	<1254681739-sup-4089@zyrg.net>
   1828 Message-ID: <5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   1829 
   1830 Still having problems, but got a bit more output, see attached exception.log
   1831 
   1832 [sup.git](next) $ git log --oneline -6
   1833 a209178 more id assertions
   1834 0eee097 Merge branch 'master' into next
   1835 93b5552 more release-script updates
   1836 f56badb Merge branch 'master' into next
   1837 b9071e5 change date for 0.9 release
   1838 9a5c0d1 Merge branch 'save-all-attachments' into next
   1839 
   1840 - gaute
   1841 
   1842 On Sun, Oct 4, 2009 at 8:45 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1843 > Ok, I've attached a patch with more assertions. Also, can you try with a clean
   1844 > checkout of next and see if the problem still occurs?
   1845 >
   1846 -------------- next part --------------
   1847 --- RuntimeError from thread: main
   1848 @id nil
   1849 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:342:in `build_from_source'
   1850 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:160:in `each_message_from'
   1851 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:160:in `each'
   1852 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `upto'
   1853 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `each'
   1854 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
   1855 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
   1856 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
   1857 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:154:in `each_message_from'
   1858 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:108:in `do_poll'
   1859 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `each'
   1860 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `do_poll'
   1861 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `synchronize'
   1862 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `do_poll'
   1863 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   1864 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   1865 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/poll-mode.rb:15:in `poll'
   1866 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:47:in `poll_with_sources'
   1867 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:62:in `poll'
   1868 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   1869 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   1870 /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   1871 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:73:in `reporting_thread'
   1872 /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   1873 /home/gaute/.gem/ruby/1.8/bin/sup:19:in `load'
   1874 /home/gaute/.gem/ruby/1.8/bin/sup:19
   1875 
   1876 From rlane@club.cc.cmu.edu  Sun Oct  4 15:03:51 2009
   1877 From: rlane@club.cc.cmu.edu (Rich Lane)
   1878 Date: Sun, 04 Oct 2009 15:03:51 -0400
   1879 Subject: [sup-talk] Bug: Xapian exception after having polled
   1880 In-Reply-To: <5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   1881 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   1882 	<20091004101550.GA7330@qwerzila.bluecom.no>
   1883 	<1254681739-sup-4089@zyrg.net>
   1884 	<5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   1885 Message-ID: <1254682966-sup-6629@zyrg.net>
   1886 
   1887 Oops, sorry, bad assertions. Please move the two in
   1888 self.build_from_source to the end of load_from_source!.
   1889 
   1890 Excerpts from Gaute Hope's message of Sun Oct 04 14:56:31 -0400 2009:
   1891 > Still having problems, but got a bit more output, see attached exception.log
   1892 > 
   1893 > [sup.git](next) $ git log --oneline -6
   1894 > a209178 more id assertions
   1895 > 0eee097 Merge branch 'master' into next
   1896 > 93b5552 more release-script updates
   1897 > f56badb Merge branch 'master' into next
   1898 > b9071e5 change date for 0.9 release
   1899 > 9a5c0d1 Merge branch 'save-all-attachments' into next
   1900 > 
   1901 > - gaute
   1902 > 
   1903 > On Sun, Oct 4, 2009 at 8:45 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1904 > > Ok, I've attached a patch with more assertions. Also, can you try with a clean
   1905 > > checkout of next and see if the problem still occurs?
   1906 > >
   1907 > --- RuntimeError from thread: main
   1908 > @id nil
   1909 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:342:in
   1910 > `build_from_source'
   1911 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:160:in
   1912 > `each_message_from'
   1913 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:160:in `each'
   1914 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `upto'
   1915 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `each'
   1916 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
   1917 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
   1918 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
   1919 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:154:in
   1920 > `each_message_from'
   1921 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:108:in `do_poll'
   1922 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `each'
   1923 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `do_poll'
   1924 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `synchronize'
   1925 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `do_poll'
   1926 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   1927 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   1928 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/poll-mode.rb:15:in `poll'
   1929 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:47:in `poll_with_sources'
   1930 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:62:in `poll'
   1931 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   1932 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   1933 > /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   1934 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:73:in `reporting_thread'
   1935 > /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   1936 > /home/gaute/.gem/ruby/1.8/bin/sup:19:in `load'
   1937 > /home/gaute/.gem/ruby/1.8/bin/sup:19
   1938 
   1939 From eg@gaute.vetsj.com  Sun Oct  4 15:20:50 2009
   1940 From: eg@gaute.vetsj.com (Gaute Hope)
   1941 Date: Sun, 4 Oct 2009 21:20:50 +0200
   1942 Subject: [sup-talk] Bug: Xapian exception after having polled
   1943 In-Reply-To: <1254682966-sup-6629@zyrg.net>
   1944 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   1945 	<20091004101550.GA7330@qwerzila.bluecom.no>
   1946 	<1254681739-sup-4089@zyrg.net>
   1947 	<5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   1948 	<1254682966-sup-6629@zyrg.net>
   1949 Message-ID: <5a5b14cf0910041220p26a4c830va172df0e33542480@mail.gmail.com>
   1950 
   1951 Still the same..
   1952 
   1953 (run without '-n' then P this time, thats the reason for the longer exception..)
   1954 
   1955 [sup.git](next-nil) $ git log --oneline -4
   1956 7e99810 for your confirmation..
   1957 eafea2b more id assertions
   1958 0eee097 Merge branch 'master' into next
   1959 93b5552 more release-script updates
   1960 
   1961 - gaute
   1962 
   1963 On Sun, Oct 4, 2009 at 9:03 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1964 > Oops, sorry, bad assertions. Please move the two in
   1965 > self.build_from_source to the end of load_from_source!.
   1966 >
   1967 > Excerpts from Gaute Hope's message of Sun Oct 04 14:56:31 -0400 2009:
   1968 >> Still having problems, but got a bit more output, see attached exception.log
   1969 >>
   1970 >> [sup.git](next) $ git log --oneline -6
   1971 >> a209178 more id assertions
   1972 >> 0eee097 Merge branch 'master' into next
   1973 >> 93b5552 more release-script updates
   1974 >> f56badb Merge branch 'master' into next
   1975 >> b9071e5 change date for 0.9 release
   1976 >> 9a5c0d1 Merge branch 'save-all-attachments' into next
   1977 >>
   1978 >> - gaute
   1979 >>
   1980 >> On Sun, Oct 4, 2009 at 8:45 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   1981 >> > Ok, I've attached a patch with more assertions. Also, can you try with a clean
   1982 >> > checkout of next and see if the problem still occurs?
   1983 >> >
   1984 >> --- RuntimeError from thread: main
   1985 >> @id nil
   1986 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:342:in
   1987 >> `build_from_source'
   1988 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:160:in
   1989 >> `each_message_from'
   1990 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:160:in `each'
   1991 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `upto'
   1992 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `each'
   1993 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
   1994 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
   1995 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
   1996 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:154:in
   1997 >> `each_message_from'
   1998 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:108:in `do_poll'
   1999 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `each'
   2000 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `do_poll'
   2001 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `synchronize'
   2002 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `do_poll'
   2003 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2004 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2005 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/poll-mode.rb:15:in `poll'
   2006 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:47:in `poll_with_sources'
   2007 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:62:in `poll'
   2008 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2009 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2010 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   2011 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:73:in `reporting_thread'
   2012 >> /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   2013 >> /home/gaute/.gem/ruby/1.8/bin/sup:19:in `load'
   2014 >> /home/gaute/.gem/ruby/1.8/bin/sup:19
   2015 >
   2016 -------------- next part --------------
   2017 --- RuntimeError from thread: poll after loading inbox
   2018 @id nil
   2019 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:254:in `load_from_source!'
   2020 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:342:in `build_from_source'
   2021 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:160:in `each_message_from'
   2022 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/source.rb:104:in `each'
   2023 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
   2024 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
   2025 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
   2026 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:154:in `each_message_from'
   2027 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:108:in `do_poll'
   2028 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `each'
   2029 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `do_poll'
   2030 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `synchronize'
   2031 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `do_poll'
   2032 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2033 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2034 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/poll-mode.rb:15:in `poll'
   2035 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:47:in `poll_with_sources'
   2036 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:62:in `poll'
   2037 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2038 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2039 /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:197
   2040 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:77:in `reporting_thread'
   2041 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `initialize'
   2042 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `new'
   2043 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `reporting_thread'
   2044 /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:197
   2045 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:669:in `call'
   2046 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:669:in `__unprotected_load_threads'
   2047 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:610:in `call'
   2048 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:610:in `load_n_threads_background'
   2049 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:77:in `reporting_thread'
   2050 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `initialize'
   2051 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `new'
   2052 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `reporting_thread'
   2053 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   2054 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   2055 (eval):12:in `load_threads'
   2056 /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:197
   2057 /home/gaute/.gem/ruby/1.8/bin/sup:19:in `load'
   2058 /home/gaute/.gem/ruby/1.8/bin/sup:19
   2059 -------------- next part --------------
   2060 A non-text attachment was scrubbed...
   2061 Name: 0001-for-your-confirmation.patch
   2062 Type: text/x-patch
   2063 Size: 1346 bytes
   2064 Desc: not available
   2065 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091004/385603f1/attachment.bin>
   2066 
   2067 From guillaume.quintard@gmail.com  Sun Oct  4 15:59:44 2009
   2068 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   2069 Date: Sun, 4 Oct 2009 21:59:44 +0200
   2070 Subject: [sup-talk] Crash while scrolling
   2071 In-Reply-To: <20090911165830.GA11260@ben-laptop>
   2072 References: <20090911165830.GA11260@ben-laptop>
   2073 Message-ID: <1e5fdab70910041259j40ceaaeue4473d17136a5efc@mail.gmail.com>
   2074 
   2075 On Fri, Sep 11, 2009 at 6:58 PM, Ben Gamari <bgamari.foss at gmail.com> wrote:
   2076 
   2077 > I can also produce a very similar crash[2] by attempting to load all
   2078 > threads. Thanks,
   2079 
   2080 I get the same thing when loading all the threads. Index has just been
   2081 rebuilt, and I'm using an mbox file.
   2082 
   2083 -- 
   2084 Guillaume
   2085 
   2086 From marco-oweber@gmx.de  Sun Oct  4 16:55:42 2009
   2087 From: marco-oweber@gmx.de (Marc Weber)
   2088 Date: Sun, 04 Oct 2009 22:55:42 +0200
   2089 Subject: [sup-talk] next search in buffer view..
   2090 In-Reply-To: <1254602805-sup-2900@nixos>
   2091 References: <1254602805-sup-2900@nixos>
   2092 Message-ID: <1254689522-sup-2800@nixos>
   2093 
   2094 Mmh. Maybe its not that a bad idea to keep the search mode.
   2095 
   2096 However it would be nice to provide the last search term as default.
   2097 
   2098 This minimal patch adds this feature.
   2099 However the search_query_input should be global. So where is the place
   2100 to add this "last-search-term" ? Isn't it already present in the ask
   2101 history? Can you give me a hint to find it faster?
   2102 
   2103 Marc Weber
   2104 
   2105 diff --git a/lib/sup/modes/scroll-mode.rb b/lib/sup/modes/scroll-mode.rb
   2106 index c131425..a97f13c 100644
   2107 --- a/lib/sup/modes/scroll-mode.rb
   2108 +++ b/lib/sup/modes/scroll-mode.rb
   2109 @@ -35,6 +35,7 @@ class ScrollMode < Mode
   2110      @slip_rows = opts[:slip_rows] || 0 # when we pgup/pgdown,
   2111                                         # how many lines do we keep?
   2112      @twiddles = opts.member?(:twiddles) ? opts[:twiddles] : true
   2113 +    @search_query_input = ""
   2114      @search_query = nil
   2115      @search_line = nil
   2116      @status = ""
   2117 @@ -81,9 +82,10 @@ class ScrollMode < Mode
   2118    end
   2119  
   2120    def search_in_buffer
   2121 -    query = BufferManager.ask :search, "search in buffer: "
   2122 +    query = BufferManager.ask :search, "search in buffer: ", @search_query_input
   2123      return if query.nil? || query.empty?
   2124      @search_query = Regexp.escape query
   2125 +    @search_query_input = query
   2126      continue_search_in_buffer
   2127    end
   2128  
   2129 
   2130 From nicolas.pouillard@gmail.com  Mon Oct  5 03:55:09 2009
   2131 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   2132 Date: Mon, 05 Oct 2009 09:55:09 +0200
   2133 Subject: [sup-talk] Simple E-Mail Delaying
   2134 In-Reply-To: <1254667426-sup-9509@sgoldmanlinux.tower-research.com>
   2135 References: <1254659599-sup-7377@peray>
   2136 	<1254667426-sup-9509@sgoldmanlinux.tower-research.com>
   2137 Message-ID: <1254728881-sup-3528@peray>
   2138 
   2139 Excerpts from Steve Goldman's message of Sun Oct 04 16:46:40 +0200 2009:
   2140 > Excerpts from Nicolas Pouillard's message of Sun Oct 04 08:36:02 -0400 2009:
   2141 > > Hi all,
   2142 > > 
   2143 > > I've written a blog post about improving my email experience. And since it
   2144 > > interacts nicely with sup it may be of some interest for you.
   2145 > > 
   2146 > > Best Regards,
   2147 > > 
   2148 > 
   2149 > This is brilliant.
   2150 > 
   2151 > Can you help me get it work?
   2152 
   2153 Of course.
   2154 
   2155 > What defines FULLEMAIL?  I can't get the script past that.
   2156 
   2157 I defined it in my shell profile (.zshrc actually),
   2158 
   2159 export FULLEMAIL="Nicolas Pouillard <nicolas.pouillard at gmail.com>"
   2160 
   2161 I know that is not standard, and I can be easily convinced to support
   2162 something more portable.
   2163 
   2164 In my .zshrc I have $EMAIL, $MAILADDR as well. 
   2165 
   2166 -- 
   2167 Nicolas Pouillard
   2168 http://nicolaspouillard.fr
   2169 
   2170 From nicolas.pouillard@gmail.com  Mon Oct  5 03:59:45 2009
   2171 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   2172 Date: Mon, 05 Oct 2009 09:59:45 +0200
   2173 Subject: [sup-talk] Simple E-Mail Delaying
   2174 In-Reply-To: <1254671303-sup-2911@kronos>
   2175 References: <1254659599-sup-7377@peray> <1254671303-sup-2911@kronos>
   2176 Message-ID: <1254729313-sup-1910@peray>
   2177 
   2178 Excerpts from William Baxter's message of Sun Oct 04 17:51:51 +0200 2009:
   2179 > Excerpts from Nicolas Pouillard's message of Sun Oct 04 08:36:02 -0400 2009:
   2180 > > I've written a blog post about improving my email experience. And since it
   2181 > > interacts nicely with sup it may be of some interest for you.
   2182 > 
   2183 > I also employ a tickler system in sup, one that relies exclusively on labels.
   2184 > To mark a thread for review on day DD of the month, label it with #DD.
   2185 > Obviously this extends forward only one month.  I have not found that
   2186 > problematic.  I also use #E to indicate the need to reply, #W as waiting for
   2187 > something, #A for action required, etc.
   2188 > 
   2189 > The choice of # came from two considerations.  First, it sorts before letters.
   2190 > Second, it does not require quoting in searches.  The date labels could do
   2191 > without the prefix, but I began with the #<letter> labels, and like the way
   2192 > that the common prefix sets these elements apart in label-list-mode.
   2193 
   2194 Thanks for the tip!
   2195 
   2196 I already use a "pending" label for a mix of "waiting",
   2197 "need to reply", and "action required". I'm thinking about switching to
   2198 shorter and more distinct naming like yours.
   2199 
   2200 However I like the system proposed because it is event based and can be more
   2201 fine grained than "a day of the month".
   2202 
   2203 Best regards,
   2204 
   2205 -- 
   2206 Nicolas Pouillard
   2207 http://nicolaspouillard.fr
   2208 
   2209 From mailinglist@flasht.de  Mon Oct  5 12:00:25 2009
   2210 From: mailinglist@flasht.de (Christopher Bertels)
   2211 Date: Mon, 05 Oct 2009 18:00:25 +0200
   2212 Subject: [sup-talk] i18n?
   2213 In-Reply-To: <1254487575-sup-5468@thinkpad-ubuntu>
   2214 References: <1254353101-sup-1021@thinkpad-ubuntu>
   2215 	<1254415145-sup-635@masanjin.net>
   2216 	<1254420802-sup-3742@thinkpad-ubuntu>
   2217 	<1254421405-sup-8083@masanjin.net>
   2218 	<1254442420-sup-3771@thinkpad-ubuntu>
   2219 	<1254487575-sup-5468@thinkpad-ubuntu>
   2220 Message-ID: <1254758256-sup-7400@thinkpad-ubuntu>
   2221 
   2222 I think I've translated most of sup's UI-related part (translating
   2223 error messages doesn't seem like a good idea, since we really don't
   2224 want multilingual bug-reports and exception logs...) I'd like to hear
   2225 some feedback and/or opinions/suggestions and would like to see it
   2226 integrated into sup. I'll add more translations, if I find anything I
   2227 havent missed yet and that is part of the user interface.
   2228 
   2229 Cheers,
   2230 Christopher.
   2231 -- 
   2232 ================================
   2233 Christopher Bertels
   2234 http://www.adztec-independent.de
   2235 GPG Key ID: 0x2345b203
   2236 
   2237 From eg@gaute.vetsj.com  Mon Oct  5 18:01:18 2009
   2238 From: eg@gaute.vetsj.com (Gaute Hope)
   2239 Date: Tue, 06 Oct 2009 00:01:18 +0200
   2240 Subject: [sup-talk] Bug: Xapian exception after having polled
   2241 In-Reply-To: <5a5b14cf0910041220p26a4c830va172df0e33542480@mail.gmail.com>
   2242 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   2243 	<20091004101550.GA7330@qwerzila.bluecom.no>
   2244 	<1254681739-sup-4089@zyrg.net>
   2245 	<5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   2246 	<1254682966-sup-6629@zyrg.net>
   2247 	<5a5b14cf0910041220p26a4c830va172df0e33542480@mail.gmail.com>
   2248 Message-ID: <1254780036-sup-3214@qwerzila>
   2249 
   2250 Did a 'sup-sync --changed -o' and the problem seems to be gone. 
   2251 
   2252 - gaute
   2253 
   2254 Excerpts from Gaute Hope's message of su. okt. 04 21:20:50 +0200 2009:
   2255 > Still the same..
   2256 > 
   2257 > (run without '-n' then P this time, thats the reason for the longer exception..)
   2258 > 
   2259 > [sup.git](next-nil) $ git log --oneline -4
   2260 > 7e99810 for your confirmation..
   2261 > eafea2b more id assertions
   2262 > 0eee097 Merge branch 'master' into next
   2263 > 93b5552 more release-script updates
   2264 > 
   2265 > - gaute
   2266 > 
   2267 > On Sun, Oct 4, 2009 at 9:03 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   2268 > > Oops, sorry, bad assertions. Please move the two in
   2269 > > self.build_from_source to the end of load_from_source!.
   2270 > >
   2271 > > Excerpts from Gaute Hope's message of Sun Oct 04 14:56:31 -0400 2009:
   2272 > >> Still having problems, but got a bit more output, see attached exception.log
   2273 > >>
   2274 > >> [sup.git](next) $ git log --oneline -6
   2275 > >> a209178 more id assertions
   2276 > >> 0eee097 Merge branch 'master' into next
   2277 > >> 93b5552 more release-script updates
   2278 > >> f56badb Merge branch 'master' into next
   2279 > >> b9071e5 change date for 0.9 release
   2280 > >> 9a5c0d1 Merge branch 'save-all-attachments' into next
   2281 > >>
   2282 > >> - gaute
   2283 > >>
   2284 > >> On Sun, Oct 4, 2009 at 8:45 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   2285 > >> > Ok, I've attached a patch with more assertions. Also, can you try with a clean
   2286 > >> > checkout of next and see if the problem still occurs?
   2287 > >> >
   2288 > >> --- RuntimeError from thread: main
   2289 > >> @id nil
   2290 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:342:in
   2291 > >> `build_from_source'
   2292 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:160:in
   2293 > >> `each_message_from'
   2294 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:160:in `each'
   2295 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `upto'
   2296 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/maildir.rb:157:in `each'
   2297 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
   2298 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
   2299 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
   2300 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:154:in
   2301 > >> `each_message_from'
   2302 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:108:in `do_poll'
   2303 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `each'
   2304 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `do_poll'
   2305 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `synchronize'
   2306 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `do_poll'
   2307 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2308 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2309 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/poll-mode.rb:15:in `poll'
   2310 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:47:in `poll_with_sources'
   2311 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:62:in `poll'
   2312 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2313 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2314 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   2315 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:73:in `reporting_thread'
   2316 > >> /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:287
   2317 > >> /home/gaute/.gem/ruby/1.8/bin/sup:19:in `load'
   2318 > >> /home/gaute/.gem/ruby/1.8/bin/sup:19
   2319 > >
   2320 > --- RuntimeError from thread: poll after loading inbox
   2321 > @id nil
   2322 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:254:in
   2323 > `load_from_source!'
   2324 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:342:in
   2325 > `build_from_source'
   2326 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:160:in
   2327 > `each_message_from'
   2328 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/source.rb:104:in `each'
   2329 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
   2330 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
   2331 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
   2332 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:154:in
   2333 > `each_message_from'
   2334 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:108:in `do_poll'
   2335 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `each'
   2336 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:96:in `do_poll'
   2337 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `synchronize'
   2338 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:95:in `do_poll'
   2339 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2340 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2341 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/poll-mode.rb:15:in `poll'
   2342 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:47:in `poll_with_sources'
   2343 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:62:in `poll'
   2344 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   2345 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   2346 > /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:197
   2347 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:77:in `reporting_thread'
   2348 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `initialize'
   2349 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `new'
   2350 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `reporting_thread'
   2351 > /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:197
   2352 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:669:in
   2353 >  `call'
   2354 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:669:in
   2355 >  `__unprotected_load_threads'
   2356 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:610:in
   2357 >  `call'
   2358 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:610:in
   2359 >  `load_n_threads_background'
   2360 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:77:in `reporting_thread'
   2361 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `initialize'
   2362 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `new'
   2363 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup.rb:75:in `reporting_thread'
   2364 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:608:in
   2365 >  `load_n_threads_background'
   2366 > /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:679:in
   2367 >  `__unprotected_load_threads'
   2368 > (eval):12:in `load_threads'
   2369 > /home/gaute/.gem/ruby/1.8/gems/sup-999/bin/sup:197
   2370 > /home/gaute/.gem/ruby/1.8/bin/sup:19:in `load'
   2371 > /home/gaute/.gem/ruby/1.8/bin/sup:19
   2372 
   2373 From nicolas.pouillard@gmail.com  Mon Oct  5 18:11:17 2009
   2374 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   2375 Date: Tue, 06 Oct 2009 00:11:17 +0200
   2376 Subject: [sup-talk] Simple E-Mail Delaying
   2377 In-Reply-To: <1254728881-sup-3528@peray>
   2378 References: <1254659599-sup-7377@peray>
   2379 	<1254667426-sup-9509@sgoldmanlinux.tower-research.com>
   2380 	<1254728881-sup-3528@peray>
   2381 Message-ID: <1254780524-sup-6949@peray>
   2382 
   2383 Excerpts from Nicolas Pouillard's message of Mon Oct 05 09:55:09 +0200 2009:
   2384 > Excerpts from Steve Goldman's message of Sun Oct 04 16:46:40 +0200 2009:
   2385 > > Excerpts from Nicolas Pouillard's message of Sun Oct 04 08:36:02 -0400 2009:
   2386 > > > Hi all,
   2387 > > > 
   2388 > > > I've written a blog post about improving my email experience. And since it
   2389 > > > interacts nicely with sup it may be of some interest for you.
   2390 > > > 
   2391 > > > Best Regards,
   2392 > > > 
   2393 > > 
   2394 > > This is brilliant.
   2395 > > 
   2396 > > Can you help me get it work?
   2397 > 
   2398 > Of course.
   2399 > 
   2400 > > What defines FULLEMAIL?  I can't get the script past that.
   2401 > 
   2402 > I defined it in my shell profile (.zshrc actually),
   2403 > 
   2404 > export FULLEMAIL="Nicolas Pouillard <nicolas.pouillard at gmail.com>"
   2405 > 
   2406 > I know that is not standard, and I can be easily convinced to support
   2407 > something more portable.
   2408 > 
   2409 > In my .zshrc I have $EMAIL, $MAILADDR as well. 
   2410 
   2411 I have updated my gist [1], to reflect two changes the first is to set the
   2412 date at the sending time (not when running email-reminder) and the second is
   2413 to use $EMAIL and $REALNAME which are a bit more self-explanatory.
   2414 
   2415 [1]: http://gist.github.com/199197
   2416 
   2417 -- 
   2418 Nicolas Pouillard
   2419 http://nicolaspouillard.fr
   2420 
   2421 From guillaume.quintard@gmail.com  Tue Oct  6 06:14:43 2009
   2422 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   2423 Date: Tue, 6 Oct 2009 12:14:43 +0200
   2424 Subject: [sup-talk] Bug: Xapian exception after having polled
   2425 In-Reply-To: <1254780036-sup-3214@qwerzila>
   2426 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   2427 	<20091004101550.GA7330@qwerzila.bluecom.no>
   2428 	<1254681739-sup-4089@zyrg.net>
   2429 	<5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   2430 	<1254682966-sup-6629@zyrg.net>
   2431 	<5a5b14cf0910041220p26a4c830va172df0e33542480@mail.gmail.com>
   2432 	<1254780036-sup-3214@qwerzila>
   2433 Message-ID: <1e5fdab70910060314i6a4cce5ck92e7605ec54f98a1@mail.gmail.com>
   2434 
   2435 On Tue, Oct 6, 2009 at 12:01 AM, Gaute Hope <eg at gaute.vetsj.com> wrote:
   2436 > Did a 'sup-sync --changed -o' and the problem seems to be gone.
   2437 
   2438 It doesn't for me. During sup-sync I get this:
   2439 
   2440 [Tue Oct 06 11:22:55 +0200 2009] hook: error running hook: cannot
   2441 generate tempfile `/tmp/12016-9-attachments/389068.html'
   2442 [Tue Oct 06 11:22:55 +0200 2009] hook:
   2443 /usr/lib/ruby/1.8/tempfile.rb:52:in `initialize'
   2444 ./lib/sup/message-chunks.rb:149:in `new'
   2445 ./lib/sup/message-chunks.rb:149:in `write_to_disk'
   2446 ./lib/sup/message-chunks.rb:105:in `initialize'
   2447 ./lib/sup/hook.rb:51:in `call'
   2448 ./lib/sup/hook.rb:51:in `filename'
   2449 /home/shivan/.sup/hooks/mime-decode.rb:4:in `__run'
   2450 ./lib/sup/hook.rb:42:in `__run'
   2451 ./lib/sup/hook.rb:82:in `run'
   2452 ./lib/sup/util.rb:520:in `send'
   2453 ./lib/sup/util.rb:520:in `method_missing'
   2454 ./lib/sup/message-chunks.rb:104:in `initialize'
   2455 ./lib/sup/message.rb:503:in `new'
   2456 ./lib/sup/message.rb:503:in `message_to_chunks'
   2457 ./lib/sup/message.rb:435:in `message_to_chunks'
   2458 ./lib/sup/message.rb:435:in `map'
   2459 ./lib/sup/message.rb:435:in `message_to_chunks'
   2460 ./lib/sup/message.rb:239:in `load_from_source!'
   2461 ./lib/sup/message.rb:335:in `build_from_source'
   2462 ./lib/sup/poll.rb:160:in `each_message_from'
   2463 ./lib/sup/source.rb:104:in `each'
   2464 ./lib/sup/util.rb:560:in `send'
   2465 ./lib/sup/util.rb:560:in `__pass'
   2466 ./lib/sup/util.rb:547:in `method_missing'
   2467 ./lib/sup/poll.rb:154:in `each_message_from'
   2468 ./lib/sup/util.rb:520:in `send'
   2469 ./lib/sup/util.rb:520:in `method_missing'
   2470 bin/sup-sync:146
   2471 bin/sup-sync:141:in `each'
   2472 bin/sup-sync:141
   2473 
   2474 I got rid of the hooks, ran sup-sync again, the message goes away, but
   2475 I still get:
   2476 
   2477 --- RuntimeError from thread: load threads for thread-index-mode
   2478 wrong id called on nil
   2479 ./lib/sup.rb:17:in `id'
   2480 ./lib/sup/modes/thread-index-mode.rb:225:in `update'
   2481 ./lib/sup/hook.rb:121:in `sort_by'
   2482 ./lib/sup/modes/thread-index-mode.rb:225:in `each'
   2483 ./lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   2484 ./lib/sup/modes/thread-index-mode.rb:225:in `update'
   2485 ./lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   2486 ./lib/sup/modes/thread-index-mode.rb:223:in `update'
   2487 ./lib/sup/modes/thread-index-mode.rb:637:in `__unprotected_load_n_threads'
   2488 (eval):12:in `load_n_threads'
   2489 ./lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   2490 ./lib/sup.rb:77:in `reporting_thread'
   2491 ./lib/sup.rb:75:in `initialize'
   2492 ./lib/sup.rb:75:in `new'
   2493 ./lib/sup.rb:75:in `reporting_thread'
   2494 ./lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   2495 ./lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   2496 (eval):12:in `load_threads'
   2497 bin/sup:197
   2498 
   2499 upon loading
   2500 
   2501 -- 
   2502 Guillaume
   2503 
   2504 From olly@survex.com  Tue Oct  6 08:40:25 2009
   2505 From: olly@survex.com (Olly Betts)
   2506 Date: Tue, 6 Oct 2009 12:40:25 +0000 (UTC)
   2507 Subject: [sup-talk] Crash, bad index, and ensuing misery
   2508 References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   2509 	<1254600926-sup-5190@zyrg.net>
   2510 	<1e5fdab70910031406x713fad49ubb42b42463899c87@mail.gmail.com>
   2511 Message-ID: <loom.20091006T143016-56@post.gmane.org>
   2512 
   2513 Guillaume Quintard writes:
   2514 > On Sat, Oct 3, 2009 at 10:17 PM, Rich Lane <rlane <at> club.cc.cmu.edu> wrote:
   2515 > > I'd hoped this kind of corruption wouldn't be possible with newer
   2516 > > xapian-index versions. What sup commit are you on? What version of
   2517 > > Xapian are you using? Which Xapian backend, Flint or Chert?
   2518 > 
   2519 > ubuntu 9.10
   2520 > libxapian-ruby1.8    1.0.14-1
   2521 > I'd say flink since I often have to remove flintlock after sup
   2522 > commiting suicide.
   2523 
   2524 NEVER EVER remove the flintlock file.  It's not the presence of the file which
   2525 determines the lock, but rather whether there's an fcntl() lock on it, so
   2526 removing it smashes any lock which is currently held, but leaves the process
   2527 which held it thinking it still has exclusive write access to the database,
   2528 which will likely quickly lead to a corrupt database, especially if you're
   2529 doing so because Xapian says the database is already locked.  If Xapian says
   2530 that, then there really is a process which still has the database open for
   2531 writing.
   2532 
   2533 My guess is that removing the flintlock file is the cause of the corruption
   2534 you're seeing.  Can you reproduce it on a database where you haven't removed
   2535 this file?
   2536 
   2537 Also, both chert and flint use the same locking approach with a file called
   2538 flintlock, so that doesn't discriminate between them.  The easy way to tell
   2539 which you have is whether there's a file called "iamflint" or "iamchert" in
   2540 the database directory.
   2541 
   2542 Cheers,
   2543     Olly
   2544 
   2545 
   2546 From guillaume.quintard@gmail.com  Tue Oct  6 09:10:44 2009
   2547 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   2548 Date: Tue, 6 Oct 2009 15:10:44 +0200
   2549 Subject: [sup-talk] Crash, bad index, and ensuing misery
   2550 In-Reply-To: <loom.20091006T143016-56@post.gmane.org>
   2551 References: <1e5fdab70910031304g255a9d13v4dc99400def375a5@mail.gmail.com>
   2552 	<1254600926-sup-5190@zyrg.net>
   2553 	<1e5fdab70910031406x713fad49ubb42b42463899c87@mail.gmail.com>
   2554 	<loom.20091006T143016-56@post.gmane.org>
   2555 Message-ID: <1e5fdab70910060610n7486dc1bi27b07c4f5f51faa6@mail.gmail.com>
   2556 
   2557 On Tue, Oct 6, 2009 at 2:40 PM, Olly Betts <olly at survex.com> wrote:
   2558 > NEVER EVER remove the flintlock file.
   2559 Ooops, didn't know, won't do it again.
   2560 
   2561 > My guess is that removing the flintlock file is the cause of the corruption
   2562 > you're seeing. ?Can you reproduce it on a database where you haven't removed
   2563 > this file?
   2564 Unfortunately, no
   2565 
   2566 
   2567 > which you have is whether there's a file called "iamflint" or "iamchert" in
   2568 Flint then
   2569 
   2570 
   2571 -- 
   2572 Guillaume
   2573 
   2574 From eg@gaute.vetsj.com  Tue Oct  6 09:34:51 2009
   2575 From: eg@gaute.vetsj.com (Gaute Hope)
   2576 Date: Tue, 06 Oct 2009 15:34:51 +0200
   2577 Subject: [sup-talk] Bug: Xapian exception after having polled
   2578 In-Reply-To: <1e5fdab70910060314i6a4cce5ck92e7605ec54f98a1@mail.gmail.com>
   2579 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   2580 	<20091004101550.GA7330@qwerzila.bluecom.no>
   2581 	<1254681739-sup-4089@zyrg.net>
   2582 	<5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   2583 	<1254682966-sup-6629@zyrg.net>
   2584 	<5a5b14cf0910041220p26a4c830va172df0e33542480@mail.gmail.com>
   2585 	<1254780036-sup-3214@qwerzila>
   2586 	<1e5fdab70910060314i6a4cce5ck92e7605ec54f98a1@mail.gmail.com>
   2587 Message-ID: <1254835794-sup-6000@qwerzila>
   2588 
   2589 Excerpts from Guillaume Quintard's message of ty. okt. 06 12:14:43 +0200 2009:
   2590 > On Tue, Oct 6, 2009 at 12:01 AM, Gaute Hope <eg at gaute.vetsj.com> wrote:
   2591 > > Did a 'sup-sync --changed -o' and the problem seems to be gone.
   2592 
   2593 > --- RuntimeError from thread: load threads for thread-index-mode
   2594 > wrong id called on nil
   2595 > ./lib/sup.rb:17:in `id'
   2596 
   2597 I was getting a slightly different error:
   2598 
   2599 --- RuntimeError from thread: poll after loading inbox
   2600 @id nil
   2601 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:254:in
   2602 `load_from_source!'
   2603 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/message.rb:342:in
   2604 `build_from_source'
   2605 /home/gaute/.gem/ruby/1.8/gems/sup-999/lib/sup/poll.rb:160:in
   2606 `each_message_from'
   2607 
   2608 - gaute
   2609 -------------- next part --------------
   2610 A non-text attachment was scrubbed...
   2611 Name: signature.asc
   2612 Type: application/pgp-signature
   2613 Size: 198 bytes
   2614 Desc: not available
   2615 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091006/07fdbfd2/attachment.bin>
   2616 
   2617 From wmorgan-sup@masanjin.net  Tue Oct  6 10:59:07 2009
   2618 From: wmorgan-sup@masanjin.net (William Morgan)
   2619 Date: Tue, 06 Oct 2009 07:59:07 -0700
   2620 Subject: [sup-talk] Bug: Xapian exception after having polled
   2621 In-Reply-To: <1e5fdab70910060314i6a4cce5ck92e7605ec54f98a1@mail.gmail.com>
   2622 References: <25727581.post@talk.nabble.com> <1254594099-sup-719@zyrg.net>
   2623 	<20091004101550.GA7330@qwerzila.bluecom.no>
   2624 	<1254681739-sup-4089@zyrg.net>
   2625 	<5a5b14cf0910041156q7e755931w4fb75ce57f9f4339@mail.gmail.com>
   2626 	<1254682966-sup-6629@zyrg.net>
   2627 	<5a5b14cf0910041220p26a4c830va172df0e33542480@mail.gmail.com>
   2628 	<1254780036-sup-3214@qwerzila>
   2629 	<1e5fdab70910060314i6a4cce5ck92e7605ec54f98a1@mail.gmail.com>
   2630 Message-ID: <1254840860-sup-2494@masanjin.net>
   2631 
   2632 Reformatted excerpts from Guillaume Quintard's message of 2009-10-06:
   2633 > [Tue Oct 06 11:22:55 +0200 2009] hook: error running hook: cannot
   2634 > generate tempfile `/tmp/12016-9-attachments/389068.html'
   2635 > [Tue Oct 06 11:22:55 +0200 2009] hook:
   2636 > /usr/lib/ruby/1.8/tempfile.rb:52:in `initialize'
   2637 > ./lib/sup/message-chunks.rb:149:in `new'
   2638 > ./lib/sup/message-chunks.rb:149:in `write_to_disk'
   2639 > ./lib/sup/message-chunks.rb:105:in `initialize'
   2640 > ./lib/sup/hook.rb:51:in `call'
   2641 > ./lib/sup/hook.rb:51:in `filename'
   2642 > /home/shivan/.sup/hooks/mime-decode.rb:4:in `__run'
   2643 
   2644 I think that's an unrelated issue, but it's weird that it couldn't
   2645 create that file in /tmp. Are you out of disk space, missing a /tmp
   2646 directory, or something weird like that?
   2647 -- 
   2648 William <wmorgan-sup at masanjin.net>
   2649 
   2650 From wmorgan-sup@masanjin.net  Tue Oct  6 11:38:39 2009
   2651 From: wmorgan-sup@masanjin.net (William Morgan)
   2652 Date: Tue, 06 Oct 2009 08:38:39 -0700
   2653 Subject: [sup-talk] i18n?
   2654 In-Reply-To: <1254758256-sup-7400@thinkpad-ubuntu>
   2655 References: <1254353101-sup-1021@thinkpad-ubuntu>
   2656 	<1254415145-sup-635@masanjin.net>
   2657 	<1254420802-sup-3742@thinkpad-ubuntu>
   2658 	<1254421405-sup-8083@masanjin.net>
   2659 	<1254442420-sup-3771@thinkpad-ubuntu>
   2660 	<1254487575-sup-5468@thinkpad-ubuntu>
   2661 	<1254758256-sup-7400@thinkpad-ubuntu>
   2662 Message-ID: <1254842820-sup-9099@masanjin.net>
   2663 
   2664 Hi Christopher,
   2665 
   2666 Reformatted excerpts from Christopher Bertels's message of 2009-10-05:
   2667 > I'd like to hear some feedback and/or opinions/suggestions and would
   2668 > like to see it integrated into sup. I'll add more translations, if I
   2669 > find anything I havent missed yet and that is part of the user
   2670 > interface.
   2671 
   2672 This looks great. A couple comments:
   2673 
   2674 1. I would prefer that uppercase substitution symbols made lowercase.
   2675 The uppercase seems weird and un-Rubyish to me.
   2676 
   2677 2. I think it would be nice to have a simple module along the lines of:
   2678 
   2679   module M17n
   2680     def m s, o={}; I18n[m, o] end
   2681   end
   2682 
   2683 and to have that be the primary entry point when you want a translated
   2684 string. Then classes can include that module if they want m17n support,
   2685 and instead of writing
   2686 
   2687   I18n["text", { :var => value }]
   2688 
   2689 you can have
   2690 
   2691   m("text", :var => value)
   2692 
   2693 which is a little easier to read, IMO.
   2694 
   2695 3. Should we call it m17n instead of i18n? I think that might be a
   2696 little more accurate. Perhaps too nitpicky. What do you think?
   2697 
   2698 4. A finishing touch would be to have sup-config ask the user what
   2699 language they are interested in.
   2700 -- 
   2701 William <wmorgan-sup at masanjin.net>
   2702 
   2703 From bgamari.foss@gmail.com  Tue Oct  6 11:53:18 2009
   2704 From: bgamari.foss@gmail.com (Ben Gamari)
   2705 Date: Tue, 06 Oct 2009 11:53:18 -0400
   2706 Subject: [sup-talk] Crash while in thread-view-mode
   2707 In-Reply-To: <1254844050-sup-4148@ben-laptop>
   2708 References: <1254844050-sup-4148@ben-laptop>
   2709 Message-ID: <1254844166-sup-1028@ben-laptop>
   2710 
   2711 Well, it seems like whatever caused the crash earlier did something to
   2712 my index. Now any attempt to open a thread-index-mode of my LKML label
   2713 (which I was viewing in the earlier crash) causes the client to
   2714 immediately crash.
   2715 
   2716 Do any of the sup utilities have any sort of index sanity checker to
   2717 find potential causes of this sort of issue? Thanks,
   2718 
   2719 - Ben
   2720 
   2721 
   2722 --- RuntimeError from thread: load threads for thread-index-mode
   2723 wrong id called on nil
   2724 /opt/exp/sup/lib/sup.rb:17:in `id'
   2725 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   2726 /usr/lib64/ruby/1.8/rubygems/custom_require.rb:31:in `sort_by'
   2727 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `each'
   2728 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   2729 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   2730 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   2731 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `update'
   2732 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:628:in `__unprotected_load_n_threads'
   2733 /opt/exp/sup/lib/sup/thread.rb:334:in `load_n_threads'
   2734 /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date'
   2735 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id'
   2736 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each'
   2737 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id'
   2738 /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date'
   2739 /opt/exp/sup/lib/sup/thread.rb:328:in `load_n_threads'
   2740 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads'
   2741 (eval):12:in `load_n_threads'
   2742 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   2743 /opt/exp/sup/lib/sup.rb:77:in `reporting_thread'
   2744 /opt/exp/sup/lib/sup.rb:75:in `initialize'
   2745 /opt/exp/sup/lib/sup.rb:75:in `new'
   2746 /opt/exp/sup/lib/sup.rb:75:in `reporting_thread'
   2747 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   2748 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   2749 (eval):12:in `load_threads'
   2750 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:33:in `spawn_nicely'
   2751 /opt/exp/sup/lib/sup/modes/label-list-mode.rb:103:in `select_label'
   2752 /opt/exp/sup/lib/sup/mode.rb:51:in `send'
   2753 /opt/exp/sup/lib/sup/mode.rb:51:in `handle_input'
   2754 /opt/exp/sup/lib/sup/buffer.rb:267:in `handle_input'
   2755 /usr/bin/sup:239
   2756 
   2757 
   2758 Excerpts from Ben Gamari's message of Tue Oct 06 11:47:34 -0400 2009:
   2759 > I just had sup crash on me while reading a thread. Not really sure what
   2760 > to make of the backtrace. Looks like it failed during polling but who
   2761 > knows why. Thanks,
   2762 > 
   2763 > - Ben
   2764 > 
   2765 
   2766 From bgamari.foss@gmail.com  Tue Oct  6 11:47:34 2009
   2767 From: bgamari.foss@gmail.com (Ben Gamari)
   2768 Date: Tue, 06 Oct 2009 11:47:34 -0400
   2769 Subject: [sup-talk] Crash while in thread-view-mode
   2770 Message-ID: <1254844050-sup-4148@ben-laptop>
   2771 
   2772 I just had sup crash on me while reading a thread. Not really sure what
   2773 to make of the backtrace. Looks like it failed during polling but who
   2774 knows why. Thanks,
   2775 
   2776 - Ben
   2777 
   2778 
   2779 --- RuntimeError from thread: periodic poll
   2780 wrong id called on nil
   2781 /opt/exp/sup/lib/sup.rb:17:in `id'
   2782 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   2783 /opt/exp/sup/lib/sup/xapian_index.rb:325:in `sort_by'
   2784 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `each'
   2785 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   2786 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   2787 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   2788 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `update'
   2789 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:702:in `add_or_unhide'
   2790 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:188:in `handle_added_update'
   2791 /opt/exp/sup/lib/sup/update.rb:26:in `send'
   2792 /opt/exp/sup/lib/sup/update.rb:26:in `relay'
   2793 /opt/exp/sup/lib/sup/update.rb:26:in `each'
   2794 /opt/exp/sup/lib/sup/update.rb:26:in `relay'
   2795 /opt/exp/sup/lib/sup/util.rb:520:in `send'
   2796 /opt/exp/sup/lib/sup/util.rb:520:in `method_missing'
   2797 /opt/exp/sup/lib/sup/poll.rb:181:in `add_new_message'
   2798 /opt/exp/sup/lib/sup/poll.rb:124:in `do_poll'
   2799 /opt/exp/sup/lib/sup/poll.rb:166:in `each_message_from'
   2800 /opt/exp/sup/lib/sup/maildir.rb:160:in `each'
   2801 /opt/exp/sup/lib/sup/maildir.rb:157:in `upto'
   2802 /opt/exp/sup/lib/sup/maildir.rb:157:in `each'
   2803 /opt/exp/sup/lib/sup/util.rb:560:in `send'
   2804 /opt/exp/sup/lib/sup/util.rb:560:in `__pass'
   2805 /opt/exp/sup/lib/sup/util.rb:547:in `method_missing'
   2806 /opt/exp/sup/lib/sup/poll.rb:154:in `each_message_from'
   2807 /opt/exp/sup/lib/sup/poll.rb:108:in `do_poll'
   2808 /opt/exp/sup/lib/sup/poll.rb:96:in `each'
   2809 /opt/exp/sup/lib/sup/poll.rb:96:in `do_poll'
   2810 /opt/exp/sup/lib/sup/poll.rb:95:in `synchronize'
   2811 /opt/exp/sup/lib/sup/poll.rb:95:in `do_poll'
   2812 /opt/exp/sup/lib/sup/util.rb:520:in `send'
   2813 /opt/exp/sup/lib/sup/util.rb:520:in `method_missing'
   2814 /opt/exp/sup/lib/sup/modes/poll-mode.rb:15:in `poll'
   2815 /opt/exp/sup/lib/sup/poll.rb:47:in `poll_with_sources'
   2816 /opt/exp/sup/lib/sup/poll.rb:62:in `poll'
   2817 /opt/exp/sup/lib/sup/poll.rb:80:in `start'
   2818 /opt/exp/sup/lib/sup.rb:77:in `reporting_thread'
   2819 /opt/exp/sup/lib/sup.rb:75:in `initialize'
   2820 /opt/exp/sup/lib/sup.rb:75:in `new'
   2821 /opt/exp/sup/lib/sup.rb:75:in `reporting_thread'
   2822 /opt/exp/sup/lib/sup/poll.rb:77:in `start'
   2823 /opt/exp/sup/lib/sup/util.rb:520:in `send'
   2824 /opt/exp/sup/lib/sup/util.rb:520:in `method_missing'
   2825 /usr/bin/sup:204
   2826 
   2827 From bgamari.foss@gmail.com  Tue Oct  6 12:15:46 2009
   2828 From: bgamari.foss@gmail.com (Ben Gamari)
   2829 Date: Tue, 06 Oct 2009 12:15:46 -0400
   2830 Subject: [sup-talk] Crash while in thread-view-mode
   2831 In-Reply-To: <1254844166-sup-1028@ben-laptop>
   2832 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   2833 Message-ID: <1254845543-sup-9458@ben-laptop>
   2834 
   2835 Excerpts from Ben Gamari's message of Tue Oct 06 11:53:18 -0400 2009:
   2836 > Well, it seems like whatever caused the crash earlier did something to
   2837 > my index. Now any attempt to open a thread-index-mode of my LKML label
   2838 > (which I was viewing in the earlier crash) causes the client to
   2839 > immediately crash.
   2840 > 
   2841 
   2842 Hmm, it seems like the problem is spreading. I now come to find out that
   2843 another label triggers this same crash (although I guess it's possible
   2844 that the intersection of the two labels is non-nil). I tried running a
   2845 sup-sync -oc on the relevant sources to no avail. I really don't have
   2846 time to devote to debugging this at the moment so it looks like I might
   2847 need to take another hiatus from sup. Just as I was starting to get used
   2848 to it... sigh. Anyways, if anyone has any ideas for improving things,
   2849 let me know. Thanks!
   2850 
   2851 - Ben
   2852 
   2853 From wmorgan-sup@masanjin.net  Tue Oct  6 12:35:36 2009
   2854 From: wmorgan-sup@masanjin.net (William Morgan)
   2855 Date: Tue, 06 Oct 2009 09:35:36 -0700
   2856 Subject: [sup-talk] next search in buffer view..
   2857 In-Reply-To: <1254689522-sup-2800@nixos>
   2858 References: <1254602805-sup-2900@nixos> <1254689522-sup-2800@nixos>
   2859 Message-ID: <1254846869-sup-9463@masanjin.net>
   2860 
   2861 Reformatted excerpts from Marc Weber's message of 2009-10-04:
   2862 > However the search_query_input should be global. So where is the place
   2863 > to add this "last-search-term" ? Isn't it already present in the ask
   2864 > history? Can you give me a hint to find it faster?
   2865 
   2866 Probably the best place is to make it a class variable, i.e.
   2867 @@search_query_input. Then it will be shared across all buffers with
   2868 modes that have search functionality.
   2869 -- 
   2870 William <wmorgan-sup at masanjin.net>
   2871 
   2872 From marka@pobox.com  Tue Oct  6 12:39:08 2009
   2873 From: marka@pobox.com (Mark Alexander)
   2874 Date: Tue, 06 Oct 2009 12:39:08 -0400
   2875 Subject: [sup-talk] Crash while in thread-view-mode
   2876 In-Reply-To: <1254845543-sup-9458@ben-laptop>
   2877 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   2878 	<1254845543-sup-9458@ben-laptop>
   2879 Message-ID: <1254846746-sup-1820@r50p>
   2880 
   2881 > I really don't have
   2882 > time to devote to debugging this at the moment so it looks like I might
   2883 > need to take another hiatus from sup.
   2884 
   2885 You could try running an older version.  I've been using 0.8 at
   2886 work, and a May 20 snapshot of next at home, and both have been very
   2887 solid.  They're good enough, in fact, that I don't feel the need to
   2888 upgrade.  Maybe after the dust settles from all the recent code
   2889 churn...
   2890 
   2891 From wmorgan-sup@masanjin.net  Tue Oct  6 13:11:06 2009
   2892 From: wmorgan-sup@masanjin.net (William Morgan)
   2893 Date: Tue, 06 Oct 2009 10:11:06 -0700
   2894 Subject: [sup-talk] Ignore killed messages in U screen
   2895 In-Reply-To: <1254417174-sup-3659@yoom.home.cworth.org>
   2896 References: <1251387376-sup-7180@javelin> <1252003380-sup-272@masanjin.net>
   2897 	<1252004144-sup-6662@javelin> <1252004285-sup-476@masanjin.net>
   2898 	<1252004504-sup-3189@javelin> <1254339746-sup-79@masanjin.net>
   2899 	<1254382434-sup-4435@peray> <1254404057-sup-2374@masanjin.net>
   2900 	<cd67f63a0910010707q620016bwb899095fb6a50765@mail.gmail.com>
   2901 	<1254417174-sup-3659@yoom.home.cworth.org>
   2902 Message-ID: <1254849015-sup-5884@masanjin.net>
   2903 
   2904 Reformatted excerpts from Carl Worth's message of 2009-10-01:
   2905 > It seems a simple, little thing. But I'm all in favor of non-violent
   2906 > metaphors in the interfaces of programs I use.
   2907 
   2908 I will accept a patch that renames this and adds "M" as an additional
   2909 command.
   2910 -- 
   2911 William <wmorgan-sup at masanjin.net>
   2912 
   2913 From wmorgan-sup@masanjin.net  Tue Oct  6 13:16:20 2009
   2914 From: wmorgan-sup@masanjin.net (William Morgan)
   2915 Date: Tue, 06 Oct 2009 10:16:20 -0700
   2916 Subject: [sup-talk] [PATCH] Add new :crypto_default configuration option.
   2917 In-Reply-To: <1254417826-sup-6584@yoom.home.cworth.org>
   2918 References: <1254178611-sup-369@yoom.home.cworth.org>
   2919 	<1254416783-sup-5518@masanjin.net>
   2920 	<1254417826-sup-6584@yoom.home.cworth.org>
   2921 Message-ID: <1254849104-sup-6471@masanjin.net>
   2922 
   2923 Reformatted excerpts from Carl Worth's message of 2009-10-01:
   2924 > What makes a hook preferable over a configuration option?
   2925 
   2926 I would like to support everyone's crazy desires, and a hook is worth a
   2927 thousand configuration options.
   2928 
   2929 In this case, I'm sure it's only a matter of time before someone wants
   2930 to automatically determine the crypto setting based on the recipient, or
   2931 based on the message body. A hook would allow that.
   2932 
   2933 > 2. Hooks are not supported forever, in which case users may find that
   2934 > things just start working when upgrading.
   2935 
   2936 I am fine with this. Users be damned! (Or at least, required to read the
   2937 changelog.)
   2938 
   2939 > Neither of those seem options look nice to me, and both seem easy to
   2940 > avoid with configuration options.
   2941 
   2942 How so? Configuration options can change just as easily.
   2943 
   2944 > If the plan is to go with (1) I'm concerned that I don't see sup
   2945 > shipping documentation for the current possible hooks. (This applies
   2946 > to configuration options too though. I think the maintainer should
   2947 > reject patches that add either without also adding documentation to
   2948 > the standard list.[*])
   2949 
   2950 sup -l is supposed to produce all the hook documentation you'd need,
   2951 assuming a reasonable knowledge of Ruby.
   2952 -- 
   2953 William <wmorgan-sup at masanjin.net>
   2954 
   2955 From wmorgan-sup@masanjin.net  Tue Oct  6 13:30:09 2009
   2956 From: wmorgan-sup@masanjin.net (William Morgan)
   2957 Date: Tue, 06 Oct 2009 10:30:09 -0700
   2958 Subject: [sup-talk] On making inbox-mode and search-results-mode more
   2959 	similar
   2960 In-Reply-To: <1251323747-sup-1595@yoom.home.cworth.org>
   2961 References: <1251323747-sup-1595@yoom.home.cworth.org>
   2962 Message-ID: <1254850185-sup-1817@masanjin.net>
   2963 
   2964 Reformatted excerpts from Carl Worth's message of 2009-08-26:
   2965 > This is just a copy of SearchResultsMode's refine_search command.  A
   2966 > much cleaner, but more involved, approach would be to rework InboxMode
   2967 > to derive from SearchResultsMode in the first place.
   2968 
   2969 Branch refine-inbox-mode, merged into next. Sorry for the long delay.
   2970 -- 
   2971 William <wmorgan-sup at masanjin.net>
   2972 
   2973 From mailinglist@flasht.de  Tue Oct  6 16:35:46 2009
   2974 From: mailinglist@flasht.de (Christopher Bertels)
   2975 Date: Tue, 06 Oct 2009 22:35:46 +0200
   2976 Subject: [sup-talk] i18n?
   2977 In-Reply-To: <1254842820-sup-9099@masanjin.net>
   2978 References: <1254353101-sup-1021@thinkpad-ubuntu>
   2979 	<1254415145-sup-635@masanjin.net>
   2980 	<1254420802-sup-3742@thinkpad-ubuntu>
   2981 	<1254421405-sup-8083@masanjin.net>
   2982 	<1254442420-sup-3771@thinkpad-ubuntu>
   2983 	<1254487575-sup-5468@thinkpad-ubuntu>
   2984 	<1254758256-sup-7400@thinkpad-ubuntu>
   2985 	<1254842820-sup-9099@masanjin.net>
   2986 Message-ID: <1254861112-sup-590@thinkpad-ubuntu>
   2987 
   2988 Excerpts from William Morgan's message of Di Okt 06 17:38:39 +0200 2009:
   2989 > This looks great. A couple comments:
   2990 
   2991 Cool, good to know you like it!
   2992 
   2993 > 1. I would prefer that uppercase substitution symbols made lowercase.
   2994 > The uppercase seems weird and un-Rubyish to me.
   2995 
   2996 Ok, sounds good. I thought making them uppercase to let them be more
   2997 distict from the rest of the string but since we surround them by #{}
   2998 as in Ruby, you're making a good point here. I'll change that.
   2999 
   3000 > 2. I think it would be nice to have a simple module along the lines of:
   3001 > 
   3002 >   module M17n
   3003 >     def m s, o={}; I18n[m, o] end
   3004 >   end
   3005 > 
   3006 > and to have that be the primary entry point when you want a translated
   3007 > string. Then classes can include that module if they want m17n support,
   3008 > and instead of writing
   3009 > 
   3010 >   I18n["text", { :var => value }]
   3011 > 
   3012 > you can have
   3013 > 
   3014 >   m("text", :var => value)
   3015 > 
   3016 > which is a little easier to read, IMO.
   3017 
   3018 Same here. Think this is nicer, too.
   3019 
   3020 > 3. Should we call it m17n instead of i18n? I think that might be a
   3021 > little more accurate. Perhaps too nitpicky. What do you think?
   3022 
   3023 I couldn't care less about the name - but I guess m17n fits better,
   3024 since it's just multilingualization. :)
   3025 
   3026 > 4. A finishing touch would be to have sup-config ask the user what
   3027 > language they are interested in.
   3028 
   3029 Alright, cool. I'll add that as well, once I have the rest changed & working.
   3030 
   3031 Cheers,
   3032 Christopher.
   3033 -- 
   3034 ================================
   3035 Christopher Bertels
   3036 http://www.adztec-independent.de
   3037 GPG Key ID: 0x2345b203
   3038 -------------- next part --------------
   3039 A non-text attachment was scrubbed...
   3040 Name: signature.asc
   3041 Type: application/pgp-signature
   3042 Size: 835 bytes
   3043 Desc: not available
   3044 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091006/d19a9780/attachment.bin>
   3045 
   3046 From mailinglist@flasht.de  Tue Oct  6 17:56:19 2009
   3047 From: mailinglist@flasht.de (Christopher Bertels)
   3048 Date: Tue, 06 Oct 2009 23:56:19 +0200
   3049 Subject: [sup-talk] i18n?
   3050 In-Reply-To: <1254861112-sup-590@thinkpad-ubuntu>
   3051 References: <1254353101-sup-1021@thinkpad-ubuntu>
   3052 	<1254415145-sup-635@masanjin.net>
   3053 	<1254420802-sup-3742@thinkpad-ubuntu>
   3054 	<1254421405-sup-8083@masanjin.net>
   3055 	<1254442420-sup-3771@thinkpad-ubuntu>
   3056 	<1254487575-sup-5468@thinkpad-ubuntu>
   3057 	<1254758256-sup-7400@thinkpad-ubuntu>
   3058 	<1254842820-sup-9099@masanjin.net>
   3059 	<1254861112-sup-590@thinkpad-ubuntu>
   3060 Message-ID: <1254866136-sup-6974@thinkpad-ubuntu>
   3061 
   3062 OK, I've changed it as mentioned.
   3063 See my previously mentioned gitorious branch.
   3064 
   3065 Cheers,
   3066 Christopher.
   3067 -- 
   3068 ================================
   3069 Christopher Bertels
   3070 http://www.adztec-independent.de
   3071 GPG Key ID: 0x2345b203
   3072 
   3073 From ezyang@MIT.EDU  Tue Oct  6 18:44:09 2009
   3074 From: ezyang@MIT.EDU (Edward Z. Yang)
   3075 Date: Tue, 06 Oct 2009 18:44:09 -0400
   3076 Subject: [sup-talk] Bugfix for custom-search
   3077 In-Reply-To: <1254418685-sup-6611@javelin>
   3078 References: <1254418685-sup-6611@javelin>
   3079 Message-ID: <1254869038-sup-9250@javelin>
   3080 
   3081 Excerpts from Edward Z. Yang's message of Thu Oct 01 13:38:27 -0400 2009:
   3082 > I think there's a slight bug in the custom-search implementation.
   3083 
   3084 Any comments?
   3085 
   3086 Cheers,
   3087 Edward
   3088 
   3089 From rlane@club.cc.cmu.edu  Wed Oct  7 02:44:34 2009
   3090 From: rlane@club.cc.cmu.edu (Rich Lane)
   3091 Date: Wed, 07 Oct 2009 02:44:34 -0400
   3092 Subject: [sup-talk] Crash while in thread-view-mode
   3093 In-Reply-To: <1254845543-sup-9458@ben-laptop>
   3094 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   3095 	<1254845543-sup-9458@ben-laptop>
   3096 Message-ID: <1254896214-sup-5969@zyrg.net>
   3097 
   3098 Excerpts from Ben Gamari's message of Tue Oct 06 12:15:46 -0400 2009:
   3099 > Excerpts from Ben Gamari's message of Tue Oct 06 11:53:18 -0400 2009:
   3100 > > Well, it seems like whatever caused the crash earlier did something to
   3101 > > my index. Now any attempt to open a thread-index-mode of my LKML label
   3102 > > (which I was viewing in the earlier crash) causes the client to
   3103 > > immediately crash.
   3104 > > 
   3105 > 
   3106 > Hmm, it seems like the problem is spreading. I now come to find out that
   3107 > another label triggers this same crash (although I guess it's possible
   3108 > that the intersection of the two labels is non-nil). I tried running a
   3109 > sup-sync -oc on the relevant sources to no avail. I really don't have
   3110 > time to devote to debugging this at the moment so it looks like I might
   3111 > need to take another hiatus from sup. Just as I was starting to get used
   3112 > to it... sigh. Anyways, if anyone has any ideas for improving things,
   3113 > let me know. Thanks!
   3114 
   3115 I've been seeing this crash for a long time. I think it's a race between
   3116 the poll thread / load-more-threads thread and the rest of the UI in the
   3117 main thread. Basically any operation on a thread object in
   3118 ThreadIndexMode needs to be protected against ThreadSet#add_message (and
   3119 probably other ThreadSet methods) because add_message can remove
   3120 containers from the thread tree, leaving you with an empty thread whose
   3121 "date" method returns nil.
   3122 
   3123 You could try running sup with the -n flag to disable threading. The
   3124 major downside is that you have to hit P to poll manually.
   3125 
   3126 I look forward to having a sup-server - I plan on writing a little
   3127 android client in Scala using actors. Almost no mutable state and
   3128 absolutely no ncurses.
   3129 
   3130 From guillaume.quintard@gmail.com  Wed Oct  7 04:48:56 2009
   3131 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   3132 Date: Wed, 7 Oct 2009 10:48:56 +0200
   3133 Subject: [sup-talk] Crash while in thread-view-mode
   3134 In-Reply-To: <1254896214-sup-5969@zyrg.net>
   3135 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   3136 	<1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net>
   3137 Message-ID: <1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   3138 
   3139 On Wed, Oct 7, 2009 at 8:44 AM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   3140 > You could try running sup with the -n flag to disable threading. The
   3141 > major downside is that you have to hit P to poll manually.
   3142 
   3143 That "solves" the problem for me.
   3144 
   3145 -- 
   3146 Guillaume
   3147 
   3148 From guillaume.quintard@gmail.com  Wed Oct  7 05:07:47 2009
   3149 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   3150 Date: Wed, 7 Oct 2009 11:07:47 +0200
   3151 Subject: [sup-talk] Crash while in thread-view-mode
   3152 In-Reply-To: <1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   3153 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   3154 	<1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net>
   3155 	<1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   3156 Message-ID: <1e5fdab70910070207q3aada8d7y2e2482e0dbbe8bd2@mail.gmail.com>
   3157 
   3158 On Wed, Oct 7, 2009 at 10:48 AM, Guillaume Quintard
   3159 <guillaume.quintard at gmail.com> wrote:
   3160 > That "solves" the problem for me.
   3161 
   3162 Scratch that, I just relaunched sup, and I still get the wrong id
   3163 called on nil error.
   3164 
   3165 -- 
   3166 Guillaume
   3167 
   3168 From gregor@hoffleit.de  Wed Oct  7 06:52:34 2009
   3169 From: gregor@hoffleit.de (Gregor Hoffleit)
   3170 Date: Wed, 07 Oct 2009 12:52:34 +0200
   3171 Subject: [sup-talk] [PATCH] Attachment filenames: RFC2184 and extension
   3172 	guessing
   3173 Message-ID: <1254912361-sup-5340@sam.mediasupervision.de>
   3174 
   3175 I noticed sup has trouble handling attachments sent by Roundcube
   3176 webmail. Somehow, those mails use an alternative encoding of filenames,
   3177 specified in RFC2184:
   3178 
   3179     Content-Transfer-Encoding: base64
   3180     Content-Type: image/jpeg;
   3181      name*="UTF-8''20090912-i004232-gr000.jpg"; 
   3182     Content-Disposition: attachment;
   3183      filename*="UTF-8''20090912-i004232-gr000.jpg"; 
   3184 
   3185 Bugs:
   3186 
   3187 1. Sup fails to detect these filenames.
   3188 
   3189 2. When trying to save these attachements, the filenames generated by
   3190    sup have a trailing semicolon.
   3191 
   3192 The attached patch is a quick and dirty fix for these specific problems.
   3193 There's probably a better way to implement this.
   3194 
   3195 Regards,
   3196     Gregor Hoffleit
   3197 -------------- next part --------------
   3198 A non-text attachment was scrubbed...
   3199 Name: rfc2184.diff
   3200 Type: application/octet-stream
   3201 Size: 954 bytes
   3202 Desc: not available
   3203 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091007/636afab0/attachment.obj>
   3204 
   3205 From bgamari.foss@gmail.com  Wed Oct  7 18:42:09 2009
   3206 From: bgamari.foss@gmail.com (Ben Gamari)
   3207 Date: Wed, 07 Oct 2009 18:42:09 -0400
   3208 Subject: [sup-talk] Fwd: Re:  Crash while in thread-view-mode
   3209 Message-ID: <1254955312-sup-7085@ben-laptop>
   3210 
   3211 Excerpts from Guillaume Quintard's message of Wed Oct 07 04:48:56 -0400 2009:
   3212 > On Wed, Oct 7, 2009 at 8:44 AM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   3213 > > You could try running sup with the -n flag to disable threading. The
   3214 > > major downside is that you have to hit P to poll manually.
   3215 > 
   3216 > That "solves" the problem for me.
   3217 > 
   3218 
   3219 After going through the process of rebuilding my index (again), things
   3220 seem to be more stable (for now). I understand that designing software around a
   3221 contingency like this might not be the best practice, but the frequency
   3222 with which I've needed to rebuild really does make me think that ruby
   3223 isn't the best language for the indexer.
   3224 
   3225 This is easily the fifth time I've needed to rebuild and each time it
   3226 has taken over 30 minutes for 1.5 GB of mail. That's substantially less than
   3227 1MB/second for what should be an I/O bound operation. Ouch. It'll be
   3228 really interesting to see how Carl's work comes out.
   3229 
   3230 - Ben
   3231 
   3232 From bgamari.foss@gmail.com  Wed Oct  7 18:46:39 2009
   3233 From: bgamari.foss@gmail.com (Ben Gamari)
   3234 Date: Wed, 07 Oct 2009 18:46:39 -0400
   3235 Subject: [sup-talk] Crash while in thread-view-mode
   3236 In-Reply-To: <1254945119-sup-3401@ben-laptop>
   3237 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   3238 	<1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net>
   3239 	<1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   3240 	<1254945119-sup-3401@ben-laptop>
   3241 Message-ID: <1254955351-sup-5944@ben-laptop>
   3242 
   3243 Excerpts from Ben Gamari's message of Wed Oct 07 15:56:43 -0400 2009:
   3244 > After going through the process of rebuilding my index (again), things
   3245 > seem to be more stable (for now). 
   3246 
   3247 Well, this was true for a while. Unfortunately, it seems that my LKML
   3248 label is yet again crashing sup. The exception is very similar to that
   3249 which I experienced prior to rebuilding. It's quite reproducible, always
   3250 crashing after loading a few hundred messages or so. There must be a
   3251 better way to deal with these invalid ids than crashing. Is there any
   3252 reason this needs to be a show-stopping event? Thanks,
   3253 
   3254 - Ben
   3255 
   3256 
   3257 --- RuntimeError from thread: load threads for thread-index-mode
   3258 wrong id called on nil
   3259 /opt/exp/sup/lib/sup.rb:17:in `id'
   3260 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   3261 /opt/exp/sup/lib/sup/hook.rb:121:in `sort_by'
   3262 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `each'
   3263 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   3264 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   3265 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   3266 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `update'
   3267 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:628:in `__unprotected_load_n_threads'
   3268 /opt/exp/sup/lib/sup/thread.rb:334:in `load_n_threads'
   3269 /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date'
   3270 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id'
   3271 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each'
   3272 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id'
   3273 /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date'
   3274 /opt/exp/sup/lib/sup/thread.rb:328:in `load_n_threads'
   3275 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads'
   3276 (eval):12:in `load_n_threads'
   3277 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   3278 /opt/exp/sup/lib/sup.rb:77:in `reporting_thread'
   3279 /opt/exp/sup/lib/sup.rb:75:in `initialize'
   3280 /opt/exp/sup/lib/sup.rb:75:in `new'
   3281 /opt/exp/sup/lib/sup.rb:75:in `reporting_thread'
   3282 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   3283 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   3284 (eval):12:in `load_threads'
   3285 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:81:in `initialize'
   3286 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `call'
   3287 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `initialize'
   3288 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `each'
   3289 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `initialize'
   3290 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:19:in `new'
   3291 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:19:in `initialize'
   3292 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:54:in `initialize'
   3293 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:9:in `initialize'
   3294 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `new'
   3295 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `spawn_nicely'
   3296 /opt/exp/sup/lib/sup/buffer.rb:350:in `spawn_unless_exists'
   3297 /opt/exp/sup/lib/sup/util.rb:520:in `send'
   3298 /opt/exp/sup/lib/sup/util.rb:520:in `method_missing'
   3299 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `spawn_nicely'
   3300 /opt/exp/sup/lib/sup/modes/label-list-mode.rb:103:in `select_label'
   3301 /opt/exp/sup/lib/sup/mode.rb:51:in `send'
   3302 /opt/exp/sup/lib/sup/mode.rb:51:in `handle_input'
   3303 /opt/exp/sup/lib/sup/buffer.rb:267:in `handle_input'
   3304 /usr/bin/sup:239
   3305 
   3306 From stettberger@dokucode.de  Thu Oct  8 03:05:47 2009
   3307 From: stettberger@dokucode.de (Christian Dietrich)
   3308 Date: Thu, 08 Oct 2009 09:05:47 +0200
   3309 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3310 In-Reply-To: <1254516195-sup-4619@peer.zerties.org>
   3311 References: <1254247706-sup-2745@peer.zerties.org>
   3312 	<1254334371-sup-5145@masanjin.net>
   3313 	<1254516195-sup-4619@peer.zerties.org>
   3314 Message-ID: <1254985425-sup-2303@peer.zerties.org>
   3315 
   3316 Excerpts from Christian Dietrich's message of Fr Okt 02 22:48:24 +0200 2009:
   3317 > Thank you, that helped a much. I implemented the feature, it is
   3318 > available at git://github.com/stettberger/sup-mail.git
   3319 > branch time_marks, it is one commit ahead of next. It is enabled
   3320 > with setting the config option ":time_markers_in_index_mode: true"
   3321 > At runtime it can be toggled via '%' (just randomly choosen by me)
   3322 
   3323 Ok now i did a little bit of reworking the code (don't make it sup
   3324 crash :-) and added a little bit color). The is now
   3325 :time_marker_color. I attached a screenshot of the time_marks.
   3326 
   3327 greetz didi
   3328 -- 
   3329 No documentation is better than bad documentation
   3330 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   3331 -------------- next part --------------
   3332 A non-text attachment was scrubbed...
   3333 Name: sup-time-mark.png
   3334 Type: image/png
   3335 Size: 38362 bytes
   3336 Desc: not available
   3337 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/89c94173/attachment.png>
   3338 
   3339 From mailinglist@flasht.de  Thu Oct  8 08:31:24 2009
   3340 From: mailinglist@flasht.de (Christopher Bertels)
   3341 Date: Thu, 08 Oct 2009 14:31:24 +0200
   3342 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3343 In-Reply-To: <1254985425-sup-2303@peer.zerties.org>
   3344 References: <1254247706-sup-2745@peer.zerties.org>
   3345 	<1254334371-sup-5145@masanjin.net>
   3346 	<1254516195-sup-4619@peer.zerties.org>
   3347 	<1254985425-sup-2303@peer.zerties.org>
   3348 Message-ID: <1255005056-sup-7120@thinkpad-ubuntu>
   3349 
   3350 Excerpts from Christian Dietrich's message of Do Okt 08 09:05:47 +0200 2009:
   3351 > Ok now i did a little bit of reworking the code (don't make it sup
   3352 > crash :-) and added a little bit color). The is now
   3353 > :time_marker_color. I attached a screenshot of the time_marks.
   3354 
   3355 Looks really cool, I'll give it a try :)
   3356 -- 
   3357 ================================
   3358 Christopher Bertels
   3359 http://www.adztec-independent.de
   3360 GPG Key ID: 0x2345b203
   3361 -------------- next part --------------
   3362 A non-text attachment was scrubbed...
   3363 Name: signature.asc
   3364 Type: application/pgp-signature
   3365 Size: 835 bytes
   3366 Desc: not available
   3367 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/91e8eba7/attachment.bin>
   3368 
   3369 From mailinglist@flasht.de  Thu Oct  8 08:44:32 2009
   3370 From: mailinglist@flasht.de (Christopher Bertels)
   3371 Date: Thu, 08 Oct 2009 14:44:32 +0200
   3372 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3373 In-Reply-To: <1255005056-sup-7120@thinkpad-ubuntu>
   3374 References: <1254247706-sup-2745@peer.zerties.org>
   3375 	<1254334371-sup-5145@masanjin.net>
   3376 	<1254516195-sup-4619@peer.zerties.org>
   3377 	<1254985425-sup-2303@peer.zerties.org>
   3378 	<1255005056-sup-7120@thinkpad-ubuntu>
   3379 Message-ID: <1255005777-sup-7020@thinkpad-ubuntu>
   3380 
   3381 Ok, I like it so far. But what would really rock (IMO) would be the
   3382 possibility to collapse all messages, that are from yesterday or 2
   3383 weeks ago etc.
   3384 What do you think?
   3385 -- 
   3386 ================================
   3387 Christopher Bertels
   3388 http://www.adztec-independent.de
   3389 GPG Key ID: 0x2345b203
   3390 -------------- next part --------------
   3391 A non-text attachment was scrubbed...
   3392 Name: signature.asc
   3393 Type: application/pgp-signature
   3394 Size: 835 bytes
   3395 Desc: not available
   3396 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/88002eca/attachment.bin>
   3397 
   3398 From stettberger@dokucode.de  Thu Oct  8 14:28:59 2009
   3399 From: stettberger@dokucode.de (Christian Dietrich)
   3400 Date: Thu, 08 Oct 2009 20:28:59 +0200
   3401 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3402 In-Reply-To: <1255005777-sup-7020@thinkpad-ubuntu>
   3403 References: <1254247706-sup-2745@peer.zerties.org>
   3404 	<1254334371-sup-5145@masanjin.net>
   3405 	<1254516195-sup-4619@peer.zerties.org>
   3406 	<1254985425-sup-2303@peer.zerties.org>
   3407 	<1255005056-sup-7120@thinkpad-ubuntu>
   3408 	<1255005777-sup-7020@thinkpad-ubuntu>
   3409 Message-ID: <1255026503-sup-3624@peer.zerties.org>
   3410 
   3411 Excerpts from Christopher Bertels's message of Do Okt 08 14:44:32 +0200 2009:
   3412 > Ok, I like it so far. But what would really rock (IMO) would be the
   3413 > possibility to collapse all messages, that are from yesterday or 2
   3414 > weeks ago etc.
   3415 > What do you think?
   3416 
   3417 Yeah thats cool, i implemented it, just type <Enter> on a Time Mark
   3418 (after pulling)
   3419 
   3420 greetz didi
   3421 -- 
   3422 No documentation is better than bad documentation
   3423 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   3424 
   3425 From nicolas.pouillard@gmail.com  Thu Oct  8 15:24:21 2009
   3426 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   3427 Date: Thu, 08 Oct 2009 21:24:21 +0200
   3428 Subject: [sup-talk] Ruby 1.9 status?
   3429 Message-ID: <1255029826-sup-8182@peray>
   3430 
   3431 Hi all,
   3432 
   3433 I would like to know what is the sup status w.r.t ruby 1.9?
   3434 
   3435 
   3436 -- 
   3437 Nicolas Pouillard
   3438 http://nicolaspouillard.fr
   3439 
   3440 From mailinglist@flasht.de  Thu Oct  8 15:33:44 2009
   3441 From: mailinglist@flasht.de (Christopher Bertels)
   3442 Date: Thu, 08 Oct 2009 21:33:44 +0200
   3443 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3444 In-Reply-To: <1255026503-sup-3624@peer.zerties.org>
   3445 References: <1254247706-sup-2745@peer.zerties.org>
   3446 	<1254334371-sup-5145@masanjin.net>
   3447 	<1254516195-sup-4619@peer.zerties.org>
   3448 	<1254985425-sup-2303@peer.zerties.org>
   3449 	<1255005056-sup-7120@thinkpad-ubuntu>
   3450 	<1255005777-sup-7020@thinkpad-ubuntu>
   3451 	<1255026503-sup-3624@peer.zerties.org>
   3452 Message-ID: <1255030392-sup-1135@thinkpad-ubuntu>
   3453 
   3454 Excerpts from Christian Dietrich's message of Do Okt 08 20:28:59 +0200 2009:
   3455 > Yeah thats cool, i implemented it, just type <Enter> on a Time Mark
   3456 > (after pulling)
   3457 
   3458 Indeed, very nice. Thanks :)
   3459 I'd like to see this in sup's mainline, btw :)
   3460 -- 
   3461 ================================
   3462 Christopher Bertels
   3463 http://www.adztec-independent.de
   3464 GPG Key ID: 0x2345b203
   3465 -------------- next part --------------
   3466 A non-text attachment was scrubbed...
   3467 Name: signature.asc
   3468 Type: application/pgp-signature
   3469 Size: 969 bytes
   3470 Desc: not available
   3471 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/1e566f11/attachment.bin>
   3472 
   3473 From eg@gaute.vetsj.com  Thu Oct  8 15:44:30 2009
   3474 From: eg@gaute.vetsj.com (Gaute Hope)
   3475 Date: Thu, 08 Oct 2009 21:44:30 +0200
   3476 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3477 In-Reply-To: <1255030392-sup-1135@thinkpad-ubuntu>
   3478 References: <1254247706-sup-2745@peer.zerties.org>
   3479 	<1254334371-sup-5145@masanjin.net>
   3480 	<1254516195-sup-4619@peer.zerties.org>
   3481 	<1254985425-sup-2303@peer.zerties.org>
   3482 	<1255005056-sup-7120@thinkpad-ubuntu>
   3483 	<1255005777-sup-7020@thinkpad-ubuntu>
   3484 	<1255026503-sup-3624@peer.zerties.org>
   3485 	<1255030392-sup-1135@thinkpad-ubuntu>
   3486 Message-ID: <1255031039-sup-4070@qwerzila>
   3487 
   3488 Excerpts from Christopher Bertels's message of to. okt. 08 21:33:44 +0200 2009:
   3489 > Excerpts from Christian Dietrich's message of Do Okt 08 20:28:59 +0200 2009:
   3490 > > Yeah thats cool, i implemented it, just type <Enter> on a Time Mark
   3491 > > (after pulling)
   3492 > 
   3493 > Indeed, very nice. Thanks :)
   3494 > I'd like to see this in sup's mainline, btw :)
   3495 
   3496 +1 ! Looks great!
   3497 
   3498 - gaute
   3499 -------------- next part --------------
   3500 A non-text attachment was scrubbed...
   3501 Name: signature.asc
   3502 Type: application/pgp-signature
   3503 Size: 198 bytes
   3504 Desc: not available
   3505 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/e0c720ab/attachment.bin>
   3506 
   3507 From benoit.pierre@gmail.com  Thu Oct  8 16:04:10 2009
   3508 From: benoit.pierre@gmail.com (=?utf-8?q?Beno=C3=AEt_PIERRE?=)
   3509 Date: Thu, 08 Oct 2009 22:04:10 +0200
   3510 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3511 In-Reply-To: <1255026503-sup-3624@peer.zerties.org>
   3512 References: <1254247706-sup-2745@peer.zerties.org>
   3513 	<1254334371-sup-5145@masanjin.net>
   3514 	<1254516195-sup-4619@peer.zerties.org>
   3515 	<1254985425-sup-2303@peer.zerties.org>
   3516 	<1255005056-sup-7120@thinkpad-ubuntu>
   3517 	<1255005777-sup-7020@thinkpad-ubuntu>
   3518 	<1255026503-sup-3624@peer.zerties.org>
   3519 Message-ID: <1255032019-sup-3406@localdomain>
   3520 
   3521 Excerpts from Christian Dietrich's message of Thu Oct 08 20:28:59 +0200 2009:
   3522 > Excerpts from Christopher Bertels's message of Do Okt 08 14:44:32 +0200 2009:
   3523 > > Ok, I like it so far. But what would really rock (IMO) would be the
   3524 > > possibility to collapse all messages, that are from yesterday or 2
   3525 > > weeks ago etc.
   3526 > > What do you think?
   3527 > 
   3528 > Yeah thats cool, i implemented it, just type <Enter> on a Time Mark
   3529 > (after pulling)
   3530 
   3531 This is great, I love it. Attached 2 small patches:
   3532 - fix a warning (space before opening parenthesis in function call)
   3533 - fix a bug with thread selection when time marks are not visible
   3534 
   3535 Cheers,
   3536 -- 
   3537 A: Because it destroys the flow of conversation.
   3538 Q: Why is top posting dumb?
   3539 -------------- next part --------------
   3540 A non-text attachment was scrubbed...
   3541 Name: 0001-warning-fix.patch
   3542 Type: application/octet-stream
   3543 Size: 770 bytes
   3544 Desc: not available
   3545 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/1336c51c/attachment.obj>
   3546 -------------- next part --------------
   3547 A non-text attachment was scrubbed...
   3548 Name: 0002-fix-selection-when-time-marks-are-disabled.patch
   3549 Type: application/octet-stream
   3550 Size: 1114 bytes
   3551 Desc: not available
   3552 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/1336c51c/attachment-0001.obj>
   3553 -------------- next part --------------
   3554 A non-text attachment was scrubbed...
   3555 Name: signature.asc
   3556 Type: application/pgp-signature
   3557 Size: 243 bytes
   3558 Desc: not available
   3559 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/1336c51c/attachment.bin>
   3560 
   3561 From eg@gaute.vetsj.com  Thu Oct  8 16:12:31 2009
   3562 From: eg@gaute.vetsj.com (Gaute Hope)
   3563 Date: Thu, 08 Oct 2009 22:12:31 +0200
   3564 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3565 In-Reply-To: <1255031039-sup-4070@qwerzila>
   3566 References: <1254247706-sup-2745@peer.zerties.org>
   3567 	<1254334371-sup-5145@masanjin.net>
   3568 	<1254516195-sup-4619@peer.zerties.org>
   3569 	<1254985425-sup-2303@peer.zerties.org>
   3570 	<1255005056-sup-7120@thinkpad-ubuntu>
   3571 	<1255005777-sup-7020@thinkpad-ubuntu>
   3572 	<1255026503-sup-3624@peer.zerties.org>
   3573 	<1255030392-sup-1135@thinkpad-ubuntu>
   3574 	<1255031039-sup-4070@qwerzila>
   3575 Message-ID: <1255032615-sup-8961@qwerzila>
   3576 
   3577 Excerpts from Gaute Hope's message of to. okt. 08 21:44:30 +0200 2009:
   3578 > Excerpts from Christopher Bertels's message of to. okt. 08 21:33:44 +0200 2009:
   3579 > > Excerpts from Christian Dietrich's message of Do Okt 08 20:28:59 +0200 2009:
   3580 > > > Yeah thats cool, i implemented it, just type <Enter> on a Time Mark
   3581 > > > (after pulling)
   3582 
   3583 Would be nice if the '1' keybinding would select the first message and
   3584 not the first line. Possibly another binding to collapse the current day when
   3585 a message is selected (maybe h or E to keep things similar to the
   3586 message view)?
   3587 
   3588 - gaute
   3589 -------------- next part --------------
   3590 A non-text attachment was scrubbed...
   3591 Name: signature.asc
   3592 Type: application/pgp-signature
   3593 Size: 198 bytes
   3594 Desc: not available
   3595 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/814823ee/attachment.bin>
   3596 
   3597 From benoit.pierre@gmail.com  Thu Oct  8 16:26:12 2009
   3598 From: benoit.pierre@gmail.com (=?utf-8?q?Beno=C3=AEt_PIERRE?=)
   3599 Date: Thu, 08 Oct 2009 22:26:12 +0200
   3600 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3601 In-Reply-To: <1255032615-sup-8961@qwerzila>
   3602 References: <1254247706-sup-2745@peer.zerties.org>
   3603 	<1254334371-sup-5145@masanjin.net>
   3604 	<1254516195-sup-4619@peer.zerties.org>
   3605 	<1254985425-sup-2303@peer.zerties.org>
   3606 	<1255005056-sup-7120@thinkpad-ubuntu>
   3607 	<1255005777-sup-7020@thinkpad-ubuntu>
   3608 	<1255026503-sup-3624@peer.zerties.org>
   3609 	<1255030392-sup-1135@thinkpad-ubuntu>
   3610 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3611 Message-ID: <1255033079-sup-8556@localdomain>
   3612 
   3613 Excerpts from Gaute Hope's message of Thu Oct 08 22:12:31 +0200 2009:
   3614 > Excerpts from Gaute Hope's message of to. okt. 08 21:44:30 +0200 2009:
   3615 > > Excerpts from Christopher Bertels's message of to. okt. 08 21:33:44 +0200 2009:
   3616 > > > Excerpts from Christian Dietrich's message of Do Okt 08 20:28:59 +0200 2009:
   3617 > > > > Yeah thats cool, i implemented it, just type <Enter> on a Time Mark
   3618 > > > > (after pulling)
   3619 > 
   3620 > Would be nice if the '1' keybinding would select the first message and
   3621 > not the first line. Possibly another binding to collapse the current day when
   3622 > a message is selected (maybe h or E to keep things similar to the
   3623 > message view)?
   3624 
   3625 And 't' should select the next thread, not the next line. 'a' and 'A'
   3626 too, in fact a time tag should only be selectable manually, using
   3627 Up/Down or 'j'/'k'. Or never if collapsing/expending is possible with a
   3628 mapping (my vote goes to 'E').
   3629 
   3630 Cheers,
   3631 -- 
   3632 A: Because it destroys the flow of conversation.
   3633 Q: Why is top posting dumb?
   3634 -------------- next part --------------
   3635 A non-text attachment was scrubbed...
   3636 Name: signature.asc
   3637 Type: application/pgp-signature
   3638 Size: 197 bytes
   3639 Desc: not available
   3640 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091008/ab965140/attachment.bin>
   3641 
   3642 From stettberger@dokucode.de  Thu Oct  8 16:50:07 2009
   3643 From: stettberger@dokucode.de (Christian Dietrich)
   3644 Date: Thu, 08 Oct 2009 22:50:07 +0200
   3645 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3646 In-Reply-To: <1255032615-sup-8961@qwerzila>
   3647 References: <1254247706-sup-2745@peer.zerties.org>
   3648 	<1254334371-sup-5145@masanjin.net>
   3649 	<1254516195-sup-4619@peer.zerties.org>
   3650 	<1254985425-sup-2303@peer.zerties.org>
   3651 	<1255005056-sup-7120@thinkpad-ubuntu>
   3652 	<1255005777-sup-7020@thinkpad-ubuntu>
   3653 	<1255026503-sup-3624@peer.zerties.org>
   3654 	<1255030392-sup-1135@thinkpad-ubuntu>
   3655 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3656 Message-ID: <1255034958-sup-5628@peer.zerties.org>
   3657 
   3658 > Would be nice if the '1' keybinding would select the first message and
   3659 > not the first line. Possibly another binding to collapse the current day when
   3660 > a message is selected (maybe h or E to keep things similar to the
   3661 > message view)?
   3662 
   3663 Yeah, implemented that, and the other two patches in the branch,
   3664 like the idea.
   3665 
   3666 greetz didi
   3667 -- 
   3668 No documentation is better than bad documentation
   3669 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   3670 
   3671 From stettberger@dokucode.de  Fri Oct  9 03:19:30 2009
   3672 From: stettberger@dokucode.de (Christian Dietrich)
   3673 Date: Fri, 09 Oct 2009 09:19:30 +0200
   3674 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3675 In-Reply-To: <1255033079-sup-8556@localdomain>
   3676 References: <1254247706-sup-2745@peer.zerties.org>
   3677 	<1254334371-sup-5145@masanjin.net>
   3678 	<1254516195-sup-4619@peer.zerties.org>
   3679 	<1254985425-sup-2303@peer.zerties.org>
   3680 	<1255005056-sup-7120@thinkpad-ubuntu>
   3681 	<1255005777-sup-7020@thinkpad-ubuntu>
   3682 	<1255026503-sup-3624@peer.zerties.org>
   3683 	<1255030392-sup-1135@thinkpad-ubuntu>
   3684 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3685 	<1255033079-sup-8556@localdomain>
   3686 Message-ID: <1255072730-sup-9414@peer.zerties.org>
   3687 
   3688 > And 't' should select the next thread, not the next line. 'a' and 'A'
   3689 > too, in fact a time tag should only be selectable manually, using
   3690 > Up/Down or 'j'/'k'. Or never if collapsing/expending is possible with a
   3691 > mapping (my vote goes to 'E').
   3692 
   3693 Jep thats right, i fixed that. Please pull.
   3694 
   3695 greetz didi
   3696 -- 
   3697 No documentation is better than bad documentation
   3698 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   3699 
   3700 From eg@gaute.vetsj.com  Fri Oct  9 03:31:38 2009
   3701 From: eg@gaute.vetsj.com (Gaute Hope)
   3702 Date: Fri, 09 Oct 2009 09:31:38 +0200
   3703 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3704 In-Reply-To: <1255034958-sup-5628@peer.zerties.org>
   3705 References: <1254247706-sup-2745@peer.zerties.org>
   3706 	<1254334371-sup-5145@masanjin.net>
   3707 	<1254516195-sup-4619@peer.zerties.org>
   3708 	<1254985425-sup-2303@peer.zerties.org>
   3709 	<1255005056-sup-7120@thinkpad-ubuntu>
   3710 	<1255005777-sup-7020@thinkpad-ubuntu>
   3711 	<1255026503-sup-3624@peer.zerties.org>
   3712 	<1255030392-sup-1135@thinkpad-ubuntu>
   3713 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3714 	<1255034958-sup-5628@peer.zerties.org>
   3715 Message-ID: <1255073126-sup-6984@qwerzila>
   3716 
   3717 Excerpts from Christian Dietrich's message of to. okt. 08 22:50:07 +0200 2009:
   3718 > > Would be nice if the '1' keybinding would select the first message and
   3719 > > not the first line. Possibly another binding to collapse the current day when
   3720 > > a message is selected (maybe h or E to keep things similar to the
   3721 > > message view)?
   3722 > 
   3723 > Yeah, implemented that, and the other two patches in the branch,
   3724 > like the idea.
   3725 
   3726 This doesn't work for me: '1'/'^' just makes the view scroll one down; hiding the
   3727 Today marker (same as hitting 'J' one time). 0 works like expected.
   3728 
   3729 a/A/&/d/S/t and E seems to be working alright.
   3730 
   3731 - gaute
   3732 -------------- next part --------------
   3733 A non-text attachment was scrubbed...
   3734 Name: signature.asc
   3735 Type: application/pgp-signature
   3736 Size: 198 bytes
   3737 Desc: not available
   3738 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091009/0258c39f/attachment.bin>
   3739 
   3740 From stettberger@dokucode.de  Fri Oct  9 03:44:02 2009
   3741 From: stettberger@dokucode.de (Christian Dietrich)
   3742 Date: Fri, 09 Oct 2009 09:44:02 +0200
   3743 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3744 In-Reply-To: <1255073126-sup-6984@qwerzila>
   3745 References: <1254247706-sup-2745@peer.zerties.org>
   3746 	<1254334371-sup-5145@masanjin.net>
   3747 	<1254516195-sup-4619@peer.zerties.org>
   3748 	<1254985425-sup-2303@peer.zerties.org>
   3749 	<1255005056-sup-7120@thinkpad-ubuntu>
   3750 	<1255005777-sup-7020@thinkpad-ubuntu>
   3751 	<1255026503-sup-3624@peer.zerties.org>
   3752 	<1255030392-sup-1135@thinkpad-ubuntu>
   3753 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3754 	<1255034958-sup-5628@peer.zerties.org>
   3755 	<1255073126-sup-6984@qwerzila>
   3756 Message-ID: <1255074206-sup-7503@peer.zerties.org>
   3757 
   3758 Excerpts from Gaute Hope's message of Fr Okt 09 09:31:38 +0200 2009:
   3759 > This doesn't work for me: '1'/'^' just makes the view scroll one down; hiding
   3760 > the
   3761 > Today marker (same as hitting 'J' one time). 0 works like expected.
   3762 > 
   3763 > a/A/&/d/S/t and E seems to be working alright.
   3764 
   3765 Yeah ok, that should be fixed now. (I didn't even now about this
   3766 keystroke before...)
   3767 
   3768 greetz didi
   3769 -- 
   3770 No documentation is better than bad documentation
   3771 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   3772 
   3773 From eg@gaute.vetsj.com  Fri Oct  9 05:45:13 2009
   3774 From: eg@gaute.vetsj.com (Gaute Hope)
   3775 Date: Fri, 09 Oct 2009 11:45:13 +0200
   3776 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3777 In-Reply-To: <1255074206-sup-7503@peer.zerties.org>
   3778 References: <1254247706-sup-2745@peer.zerties.org>
   3779 	<1254334371-sup-5145@masanjin.net>
   3780 	<1254516195-sup-4619@peer.zerties.org>
   3781 	<1254985425-sup-2303@peer.zerties.org>
   3782 	<1255005056-sup-7120@thinkpad-ubuntu>
   3783 	<1255005777-sup-7020@thinkpad-ubuntu>
   3784 	<1255026503-sup-3624@peer.zerties.org>
   3785 	<1255030392-sup-1135@thinkpad-ubuntu>
   3786 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3787 	<1255034958-sup-5628@peer.zerties.org>
   3788 	<1255073126-sup-6984@qwerzila>
   3789 	<1255074206-sup-7503@peer.zerties.org>
   3790 Message-ID: <1255081131-sup-7915@qwerzila>
   3791 
   3792 Excerpts from Christian Dietrich's message of fr. okt. 09 09:44:02 +0200 2009:
   3793 > Excerpts from Gaute Hope's message of Fr Okt 09 09:31:38 +0200 2009:
   3794 > > This doesn't work for me: '1'/'^' just makes the view scroll one down; hiding
   3795 > > the
   3796 > > Today marker (same as hitting 'J' one time). 0 works like expected.
   3797 > > 
   3798 > > a/A/&/d/S/t and E seems to be working alright.
   3799 > 
   3800 > Yeah ok, that should be fixed now. (I didn't even now about this
   3801 > keystroke before...)
   3802 
   3803 Just discovered a weird bug.. when this thread got polled and updated
   3804 the message count, in this case (13), got attached to the thread
   3805 beneath, which only had one message, and appeared where it shouldn't be
   3806 anything.. the top thread didn't have any post count. It seemed to only
   3807 have affected the top two messages, as the count on the third one seemed
   3808 normal.
   3809 
   3810 Not entierly sure what caused it since I can't really reproduce it by
   3811 sending myself emails.. if it happens again ill post screenshot.
   3812 
   3813 Im using time_marker branch rebased ontop of origin/next.
   3814 
   3815 - gaute
   3816 -------------- next part --------------
   3817 A non-text attachment was scrubbed...
   3818 Name: signature.asc
   3819 Type: application/pgp-signature
   3820 Size: 198 bytes
   3821 Desc: not available
   3822 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091009/8bac691b/attachment.bin>
   3823 
   3824 From eg@gaute.vetsj.com  Fri Oct  9 06:12:21 2009
   3825 From: eg@gaute.vetsj.com (Gaute Hope)
   3826 Date: Fri, 09 Oct 2009 12:12:21 +0200
   3827 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3828 In-Reply-To: <1255081131-sup-7915@qwerzila>
   3829 References: <1254247706-sup-2745@peer.zerties.org>
   3830 	<1254334371-sup-5145@masanjin.net>
   3831 	<1254516195-sup-4619@peer.zerties.org>
   3832 	<1254985425-sup-2303@peer.zerties.org>
   3833 	<1255005056-sup-7120@thinkpad-ubuntu>
   3834 	<1255005777-sup-7020@thinkpad-ubuntu>
   3835 	<1255026503-sup-3624@peer.zerties.org>
   3836 	<1255030392-sup-1135@thinkpad-ubuntu>
   3837 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3838 	<1255034958-sup-5628@peer.zerties.org>
   3839 	<1255073126-sup-6984@qwerzila>
   3840 	<1255074206-sup-7503@peer.zerties.org>
   3841 	<1255081131-sup-7915@qwerzila>
   3842 Message-ID: <1255083021-sup-226@qwerzila>
   3843 
   3844 Excerpts from Gaute Hope's message of fr. okt. 09 11:45:13 +0200 2009:
   3845 > Not entierly sure what caused it since I can't really reproduce it by
   3846 > sending myself emails.. if it happens again ill post screenshot.
   3847 > 
   3848 > Im using time_marker branch rebased ontop of origin/next.
   3849 
   3850 Ok.. now the top message count just got copied down to the line
   3851 beneath (which should be empty). Sup had just been running for a while,
   3852 no new messages, didn't happen on first pool..
   3853 
   3854 - gaute
   3855 -------------- next part --------------
   3856 A non-text attachment was scrubbed...
   3857 Name: 2009-10-09-120801_634x755_scrot.png
   3858 Type: image/png
   3859 Size: 29135 bytes
   3860 Desc: not available
   3861 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091009/58f1eb31/attachment.png>
   3862 -------------- next part --------------
   3863 A non-text attachment was scrubbed...
   3864 Name: signature.asc
   3865 Type: application/pgp-signature
   3866 Size: 198 bytes
   3867 Desc: not available
   3868 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091009/58f1eb31/attachment.bin>
   3869 
   3870 From stettberger@dokucode.de  Fri Oct  9 06:39:27 2009
   3871 From: stettberger@dokucode.de (Christian Dietrich)
   3872 Date: Fri, 09 Oct 2009 12:39:27 +0200
   3873 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3874 In-Reply-To: <1255083021-sup-226@qwerzila>
   3875 References: <1254247706-sup-2745@peer.zerties.org>
   3876 	<1254334371-sup-5145@masanjin.net>
   3877 	<1254516195-sup-4619@peer.zerties.org>
   3878 	<1254985425-sup-2303@peer.zerties.org>
   3879 	<1255005056-sup-7120@thinkpad-ubuntu>
   3880 	<1255005777-sup-7020@thinkpad-ubuntu>
   3881 	<1255026503-sup-3624@peer.zerties.org>
   3882 	<1255030392-sup-1135@thinkpad-ubuntu>
   3883 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3884 	<1255034958-sup-5628@peer.zerties.org>
   3885 	<1255073126-sup-6984@qwerzila>
   3886 	<1255074206-sup-7503@peer.zerties.org>
   3887 	<1255081131-sup-7915@qwerzila> <1255083021-sup-226@qwerzila>
   3888 Message-ID: <1255084730-sup-671@peer.zerties.org>
   3889 
   3890 Excerpts from Gaute Hope's message of Fr Okt 09 12:12:21 +0200 2009:
   3891 > Excerpts from Gaute Hope's message of fr. okt. 09 11:45:13 +0200 2009:
   3892 > > Not entierly sure what caused it since I can't really reproduce it by
   3893 > > sending myself emails.. if it happens again ill post screenshot.
   3894 > > 
   3895 > > Im using time_marker branch rebased ontop of origin/next.
   3896 > 
   3897 > Ok.. now the top message count just got copied down to the line
   3898 > beneath (which should be empty). Sup had just been running for a while,
   3899 > no new messages, didn't happen on first pool..
   3900 
   3901 I have no idea whats causing this, seems like the data of two
   3902 threads is mixed together?
   3903 
   3904 greetz didi
   3905 -- 
   3906 No documentation is better than bad documentation
   3907 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   3908 
   3909 From eg@gaute.vetsj.com  Fri Oct  9 07:00:19 2009
   3910 From: eg@gaute.vetsj.com (Gaute Hope)
   3911 Date: Fri, 09 Oct 2009 13:00:19 +0200
   3912 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   3913 In-Reply-To: <1255084730-sup-671@peer.zerties.org>
   3914 References: <1254247706-sup-2745@peer.zerties.org>
   3915 	<1254334371-sup-5145@masanjin.net>
   3916 	<1254516195-sup-4619@peer.zerties.org>
   3917 	<1254985425-sup-2303@peer.zerties.org>
   3918 	<1255005056-sup-7120@thinkpad-ubuntu>
   3919 	<1255005777-sup-7020@thinkpad-ubuntu>
   3920 	<1255026503-sup-3624@peer.zerties.org>
   3921 	<1255030392-sup-1135@thinkpad-ubuntu>
   3922 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   3923 	<1255034958-sup-5628@peer.zerties.org>
   3924 	<1255073126-sup-6984@qwerzila>
   3925 	<1255074206-sup-7503@peer.zerties.org>
   3926 	<1255081131-sup-7915@qwerzila> <1255083021-sup-226@qwerzila>
   3927 	<1255084730-sup-671@peer.zerties.org>
   3928 Message-ID: <1255085867-sup-8410@qwerzila>
   3929 
   3930 Excerpts from Christian Dietrich's message of fr. okt. 09 12:39:27 +0200 2009:
   3931 > Excerpts from Gaute Hope's message of Fr Okt 09 12:12:21 +0200 2009:
   3932 > > Excerpts from Gaute Hope's message of fr. okt. 09 11:45:13 +0200 2009:
   3933 > > > Not entierly sure what caused it since I can't really reproduce it by
   3934 > > > sending myself emails.. if it happens again ill post screenshot.
   3935 > > > 
   3936 > > > Im using time_marker branch rebased ontop of origin/next.
   3937 > > 
   3938 > > Ok.. now the top message count just got copied down to the line
   3939 > > beneath (which should be empty). Sup had just been running for a while,
   3940 > > no new messages, didn't happen on first pool..
   3941 > 
   3942 > I have no idea whats causing this, seems like the data of two
   3943 > threads is mixed together?
   3944 
   3945 Or the thread count isn't aware of the Today mark and still thinks line
   3946 2 is thread 2? Don't really know anything about the implementation.
   3947 
   3948 When it happens it doesn't dissapear before I do a M or there is a pull
   3949 that redraws the screen.. just pressing Ctrl+L or opening/closing a
   3950 thread doesn't remove it.
   3951 
   3952 As said earlier it only seems to affect the top two threads.
   3953 
   3954 - gaute
   3955 -------------- next part --------------
   3956 A non-text attachment was scrubbed...
   3957 Name: signature.asc
   3958 Type: application/pgp-signature
   3959 Size: 198 bytes
   3960 Desc: not available
   3961 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091009/de9efe70/attachment.bin>
   3962 
   3963 From tero@tilus.net  Sat Oct 10 03:21:33 2009
   3964 From: tero@tilus.net (Tero Tilus)
   3965 Date: Sat, 10 Oct 2009 10:21:33 +0300
   3966 Subject: [sup-talk] [PATCH] moved deriving the cmd for bouncing to Account
   3967 	and fixed a bug in it
   3968 Message-ID: <1255159160-sup-8754@tilus.net>
   3969 
   3970 The default sendmail command used for bouncing mail was derived from
   3971 Account#sendmail in ThreadViewMode#bounce.  Moved it to
   3972 Account#bounce_sendmail.  Part of work towards more DRY mail bouncing
   3973 within mark-as-spam hook. The code also had a bug, "$1" (instead of $1
   3974 or "#{$1}").  Fixed it.
   3975 
   3976 Signed-off-by: Tero Tilus <tero at tilus.net>
   3977 ---
   3978  lib/sup/account.rb                |   11 +++++++++++
   3979  lib/sup/modes/thread-view-mode.rb |    7 +------
   3980  2 files changed, 12 insertions(+), 6 deletions(-)
   3981 
   3982 diff --git a/lib/sup/account.rb b/lib/sup/account.rb
   3983 index eed2794..bf8a8a0 100644
   3984 --- a/lib/sup/account.rb
   3985 +++ b/lib/sup/account.rb
   3986 @@ -10,6 +10,17 @@ class Account < Person
   3987      @sendmail = h[:sendmail]
   3988      @signature = h[:signature]
   3989    end
   3990 +
   3991 +  # Default sendmail command for bouncing mail,
   3992 +  # deduced from #sendmail
   3993 +  def bounce_sendmail
   3994 +    sendmail.sub(/\s(\-(ti|it|t))\b/) do |match|
   3995 +      case $1
   3996 +      when '-t' then ''
   3997 +      else ' -i'
   3998 +      end
   3999 +    end
   4000 +  end
   4001  end
   4002  
   4003  class AccountManager
   4004 diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
   4005 index 81197c2..e7f4a4f 100644
   4006 --- a/lib/sup/modes/thread-view-mode.rb
   4007 +++ b/lib/sup/modes/thread-view-mode.rb
   4008 @@ -202,12 +202,7 @@ EOS
   4009      m = @message_lines[curpos] or return
   4010      to = BufferManager.ask_for_contacts(:people, "Bounce To: ") or return
   4011  
   4012 -    defcmd = AccountManager.default_account.sendmail.sub(/\s(\-(ti|it|t))\b/) do |match|
   4013 -      case "$1"
   4014 -        when '-t' then ''
   4015 -        else ' -i'
   4016 -      end
   4017 -    end
   4018 +    defcmd = AccountManager.default_account.bounce_sendmail
   4019  
   4020      cmd = case (hookcmd = HookManager.run "bounce-command", :from => m.from, :to => to)
   4021            when nil, /^$/ then defcmd
   4022 -- 
   4023 1.5.6.5
   4024 
   4025 -- 
   4026 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   4027 
   4028 From sven.schober@uni-ulm.de  Sat Oct 10 08:01:14 2009
   4029 From: sven.schober@uni-ulm.de (Sven Schober)
   4030 Date: Sat, 10 Oct 2009 14:01:14 +0200
   4031 Subject: [sup-talk] pinentry-curses messes up sup
   4032 Message-ID: <1255175624-sup-8207@hysbald>
   4033 
   4034 Hi Suppers!
   4035 
   4036 First of all, let me say i really enjoy using sup :) Thanks for the
   4037 great mua!
   4038 
   4039 No to my problem: I'm experiencing the problem described by Nicolas
   4040 Pouillard, here [1]. After using pinentry-curses to enter my gpg
   4041 passphrase sup seems to be a little messed up, as the arrow keys
   4042 won't work any more, or at least, not as expected (pressing left has
   4043 horrendous consequences as its control sequence seems to be ^[[D,
   4044 which caused some major mail deletion for me *g*).
   4045 
   4046 As that thread is rather old, i would like to now if there's been
   4047 some development on this? Are there any console alternatives to
   4048 pinentry-curses?
   4049 
   4050 
   4051 Keep up the good work!
   4052 
   4053 Cheers,
   4054  Sven
   4055 
   4056 
   4057 [1]:<http://rubyforge.org/pipermail/sup-talk/2008-January/000959.html>
   4058 -- 
   4059 Sven Schober, sven.schober at uni-ulm.de                    |UNI ULM
   4060 http://www-vs.informatik.uni-ulm.de/dept/staff/schober/  |DISTRIBUTED
   4061 Room O27-346, Phone: +49-731-5024146 [+49-179-5060182]   |SYSTEMS LAB
   4062 -------------- next part --------------
   4063 A non-text attachment was scrubbed...
   4064 Name: signature.asc
   4065 Type: application/pgp-signature
   4066 Size: 198 bytes
   4067 Desc: not available
   4068 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091010/fa2d56e4/attachment.bin>
   4069 
   4070 From mailinglist@flasht.de  Sat Oct 10 10:41:29 2009
   4071 From: mailinglist@flasht.de (Christopher Bertels)
   4072 Date: Sat, 10 Oct 2009 16:41:29 +0200
   4073 Subject: [sup-talk] show labels of polled messages
   4074 Message-ID: <1255184817-sup-1561@thinkpad-ubuntu>
   4075 
   4076 Hi,
   4077 
   4078 I always thought it would be nice to see to which labels new polled
   4079 messages have been added. Usually, when I see new messages arrived,
   4080 most of them aren't in my inbox, since I archive the messages of most
   4081 of my sources (e.g. mailinglists like this one).
   4082 
   4083 Then, I usually go and look at the labels-list-mode to see where new
   4084 messages got added. I've attached a patch that displays the labels of
   4085 newly polled messages at the bottom, next to the amount of total
   4086 messages added from polling. The patch is based on my i18n branch, but
   4087 it should be easy to rebase it on next or master.
   4088 
   4089 What do you think of it?
   4090 
   4091 Cheers,
   4092 Christopher.
   4093 -- 
   4094 ================================
   4095 Christopher Bertels
   4096 http://www.adztec-independent.de
   4097 GPG Key ID: 0x2345b203
   4098 -------------- next part --------------
   4099 A non-text attachment was scrubbed...
   4100 Name: label_notification.patch
   4101 Type: application/octet-stream
   4102 Size: 3505 bytes
   4103 Desc: not available
   4104 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091010/ee06edf8/attachment.obj>
   4105 -------------- next part --------------
   4106 A non-text attachment was scrubbed...
   4107 Name: signature.asc
   4108 Type: application/pgp-signature
   4109 Size: 835 bytes
   4110 Desc: not available
   4111 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091010/ee06edf8/attachment.bin>
   4112 
   4113 From kevinr@free-dissociation.com  Sat Oct 10 16:56:46 2009
   4114 From: kevinr@free-dissociation.com (Kevin Riggle)
   4115 Date: Sat, 10 Oct 2009 16:56:46 -0400
   4116 Subject: [sup-talk] Exception in thread-view-mode
   4117 Message-ID: <1255208137-sup-835@black-opal.mit.edu>
   4118 
   4119 I ran a search, I hit enter to load a message, I changed my mind and 'x'ed out
   4120 before the message finished loading, and Sup crashed with:
   4121 
   4122 --- NoMethodError from thread: load messages for thread-view-mode
   4123 undefined method `content_width' for nil:NilClass
   4124 ./lib/sup/modes/thread-index-mode.rb:882:in `from_width'
   4125 ./lib/sup/modes/thread-index-mode.rb:807:in `text_for_thread_at'
   4126 ./lib/sup/hook.rb:122:in `each_with_index'
   4127 ./lib/sup/modes/thread-index-mode.rb:806:in `each'
   4128 ./lib/sup/modes/thread-index-mode.rb:806:in `each_with_index'
   4129 ./lib/sup/modes/thread-index-mode.rb:806:in `text_for_thread_at'
   4130 ./lib/sup/modes/thread-index-mode.rb:751:in `update_text_for_line'
   4131 ./lib/sup/modes/thread-index-mode.rb:119:in `select'
   4132 ./lib/sup.rb:77:in `reporting_thread'
   4133 ./lib/sup.rb:75:in `initialize'
   4134 ./lib/sup.rb:75:in `new'
   4135 ./lib/sup.rb:75:in `reporting_thread'
   4136 ./lib/sup/modes/thread-index-mode.rb:101:in `select'
   4137 ./lib/sup/mode.rb:51:in `send'
   4138 ./lib/sup/mode.rb:51:in `handle_input'
   4139 ./lib/sup/buffer.rb:267:in `handle_input'
   4140 bin/sup:239
   4141 
   4142 - Kevin
   4143 -- 
   4144 Kevin Riggle (kevinr at free-dissociation.com) 
   4145 http://free-dissociation.com
   4146 
   4147 From wmorgan-sup@masanjin.net  Sun Oct 11 16:25:33 2009
   4148 From: wmorgan-sup@masanjin.net (William Morgan)
   4149 Date: Sun, 11 Oct 2009 13:25:33 -0700
   4150 Subject: [sup-talk] pinentry-curses messes up sup
   4151 In-Reply-To: <1255175624-sup-8207@hysbald>
   4152 References: <1255175624-sup-8207@hysbald>
   4153 Message-ID: <1255292709-sup-2216@masanjin.net>
   4154 
   4155 Reformatted excerpts from Sven Schober's message of 2009-10-10:
   4156 > As that thread is rather old, i would like to now if there's been some
   4157 > development on this? Are there any console alternatives to
   4158 > pinentry-curses?
   4159 
   4160 I think I've fixed this in git next. Please try that.
   4161 -- 
   4162 William <wmorgan-sup at masanjin.net>
   4163 
   4164 From wmorgan-sup@masanjin.net  Sun Oct 11 16:28:48 2009
   4165 From: wmorgan-sup@masanjin.net (William Morgan)
   4166 Date: Sun, 11 Oct 2009 13:28:48 -0700
   4167 Subject: [sup-talk] Fwd: Re: Crash while in thread-view-mode
   4168 In-Reply-To: <1254955312-sup-7085@ben-laptop>
   4169 References: <1254955312-sup-7085@ben-laptop>
   4170 Message-ID: <1255292742-sup-3957@masanjin.net>
   4171 
   4172 Reformatted excerpts from Ben Gamari's message of 2009-10-07:
   4173 > I understand that designing software around a contingency like this
   4174 > might not be the best practice, but the frequency with which I've
   4175 > needed to rebuild really does make me think that ruby isn't the best
   4176 > language for the indexer.
   4177 
   4178 The indexer isn't in Ruby, it's written in C++ in the case of Xapian and
   4179 C in the case of Ferret.
   4180 
   4181 > This is easily the fifth time I've needed to rebuild and each time it
   4182 > has taken over 30 minutes for 1.5 GB of mail. That's substantially
   4183 > less than 1MB/second for what should be an I/O bound operation. Ouch.
   4184 
   4185 I think this isn't the indexer's fault so much as the mbox parsing,
   4186 which is Ruby.
   4187 
   4188 I'm sorry you've had to rebuild the index so many times. The Xapian side
   4189 of things is very new, and I think you've had a run of bad luck. But I
   4190 am personally not motivated to improve index time performance, because
   4191 that's not a common event. At least, it shouldn't be.
   4192 -- 
   4193 William <wmorgan-sup at masanjin.net>
   4194 
   4195 From wmorgan-sup@masanjin.net  Sun Oct 11 16:30:08 2009
   4196 From: wmorgan-sup@masanjin.net (William Morgan)
   4197 Date: Sun, 11 Oct 2009 13:30:08 -0700
   4198 Subject: [sup-talk] curses exception
   4199 In-Reply-To: <ed5557340910061533w7854510tabe9bb2fc864db09@mail.gmail.com>
   4200 References: <ed5557340910061533w7854510tabe9bb2fc864db09@mail.gmail.com>
   4201 Message-ID: <1255292940-sup-5558@masanjin.net>
   4202 
   4203 Reformatted excerpts from Dan Falcone's message of 2009-10-06:
   4204 > I'm trying to get sup running on my work machine, which is unfortunately a
   4205 > windows box.  I have cygwin installed, along with the cygwin packages for
   4206 > ruby and ncurses.  Here's the contents of ~/.sup/exception-log.txt:
   4207 > 
   4208 > --- ArgumentError from thread: main
   4209 > couldn't initialize curses color pair 4, -1 (key 1)
   4210 > /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/colormap.rb:133:in `color_for'
   4211 
   4212 Weird. We've had other people get it working on Cygwin before, I
   4213 believe. Are you running this within Cygwin's rxvt?
   4214 
   4215 What if you modify lib/sup/colormap.rb so that NUM_COLORS=15?
   4216 -- 
   4217 William <wmorgan-sup at masanjin.net>
   4218 
   4219 From wmorgan-sup@masanjin.net  Sun Oct 11 16:31:49 2009
   4220 From: wmorgan-sup@masanjin.net (William Morgan)
   4221 Date: Sun, 11 Oct 2009 13:31:49 -0700
   4222 Subject: [sup-talk] Crash while scrolling
   4223 In-Reply-To: <1254422805-sup-9288@ben-laptop>
   4224 References: <20090911165830.GA11260@ben-laptop>
   4225 	<1252773189-sup-246@masanjin.net>
   4226 	<20090916172340.GA20566@ben-laptop>
   4227 	<1253975267-sup-8308@masanjin.net> <1254160696-sup-3522@ben-laptop>
   4228 	<1254404181-sup-8448@masanjin.net> <1254418089-sup-5800@ben-laptop>
   4229 	<1254421545-sup-8303@masanjin.net> <1254422805-sup-9288@ben-laptop>
   4230 Message-ID: <1255293077-sup-9788@masanjin.net>
   4231 
   4232 Reformatted excerpts from Ben Gamari's message of 2009-10-01:
   4233 > Is ferret even going to be supported after the Xapian backend
   4234 > stabilizes?
   4235 
   4236 No, I'm going to drop it at some point. I barely have enough time or
   4237 energy for Sup's current set of problems as is. :)
   4238 -- 
   4239 William <wmorgan-sup at masanjin.net>
   4240 
   4241 From bgamari.foss@gmail.com  Sun Oct 11 17:04:53 2009
   4242 From: bgamari.foss@gmail.com (Ben Gamari)
   4243 Date: Sun, 11 Oct 2009 17:04:53 -0400
   4244 Subject: [sup-talk] Fwd: Re: Crash while in thread-view-mode
   4245 In-Reply-To: <1255292742-sup-3957@masanjin.net>
   4246 References: <1254955312-sup-7085@ben-laptop> <1255292742-sup-3957@masanjin.net>
   4247 Message-ID: <1255294905-sup-8@ben-laptop>
   4248 
   4249 Excerpts from William Morgan's message of Sun Oct 11 16:28:48 -0400 2009:
   4250 > Reformatted excerpts from Ben Gamari's message of 2009-10-07:
   4251 > > I understand that designing software around a contingency like this
   4252 > > might not be the best practice, but the frequency with which I've
   4253 > > needed to rebuild really does make me think that ruby isn't the best
   4254 > > language for the indexer.
   4255 > 
   4256 > The indexer isn't in Ruby, it's written in C++ in the case of Xapian and
   4257 > C in the case of Ferret.
   4258 
   4259 Sorry, I was referring to the mail indexer (i.e. message,
   4260 mbox/maildir parser), not the backend indexing engine (e.g. Xapian).
   4261 Should have been more specific. 
   4262 
   4263 
   4264 > 
   4265 > > This is easily the fifth time I've needed to rebuild and each time it
   4266 > > has taken over 30 minutes for 1.5 GB of mail. That's substantially
   4267 > > less than 1MB/second for what should be an I/O bound operation. Ouch.
   4268 > 
   4269 > I think this isn't the indexer's fault so much as the mbox parsing,
   4270 > which is Ruby.
   4271 
   4272 Exactly. This is where I think C++ is probably appropriate.
   4273 > 
   4274 > I'm sorry you've had to rebuild the index so many times. The Xapian side
   4275 > of things is very new, and I think you've had a run of bad luck. But I
   4276 > am personally not motivated to improve index time performance, because
   4277 > that's not a common event. At least, it shouldn't be.
   4278 
   4279 Completely understandable. I really don't have a right to complain. It
   4280 does work a large majority of the time, after all. Just figured I'd let
   4281 you know of problems as they happen. Thanks for the awesome client.
   4282 
   4283 - Ben
   4284 
   4285 From stettberger@dokucode.de  Mon Oct 12 03:11:35 2009
   4286 From: stettberger@dokucode.de (Christian Dietrich)
   4287 Date: Mon, 12 Oct 2009 09:11:35 +0200
   4288 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   4289 In-Reply-To: <1255085867-sup-8410@qwerzila>
   4290 References: <1254247706-sup-2745@peer.zerties.org>
   4291 	<1254334371-sup-5145@masanjin.net>
   4292 	<1254516195-sup-4619@peer.zerties.org>
   4293 	<1254985425-sup-2303@peer.zerties.org>
   4294 	<1255005056-sup-7120@thinkpad-ubuntu>
   4295 	<1255005777-sup-7020@thinkpad-ubuntu>
   4296 	<1255026503-sup-3624@peer.zerties.org>
   4297 	<1255030392-sup-1135@thinkpad-ubuntu>
   4298 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   4299 	<1255034958-sup-5628@peer.zerties.org>
   4300 	<1255073126-sup-6984@qwerzila>
   4301 	<1255074206-sup-7503@peer.zerties.org>
   4302 	<1255081131-sup-7915@qwerzila> <1255083021-sup-226@qwerzila>
   4303 	<1255084730-sup-671@peer.zerties.org>
   4304 	<1255085867-sup-8410@qwerzila>
   4305 Message-ID: <1255331296-sup-5993@peer.zerties.org>
   4306 
   4307 Excerpts from Gaute Hope's message of Fr Okt 09 13:00:19 +0200 2009:
   4308 > Or the thread count isn't aware of the Today mark and still thinks line
   4309 > 2 is thread 2? Don't really know anything about the implementation.
   4310 > 
   4311 > When it happens it doesn't dissapear before I do a M or there is a pull
   4312 > that redraws the screen.. just pressing Ctrl+L or opening/closing a
   4313 > thread doesn't remove it.
   4314 > 
   4315 > As said earlier it only seems to affect the top two threads.
   4316 
   4317 Hi,
   4318 i also experienced now this Problem, but can't see were this problem
   4319 is located, because i don't touch the internal states of the
   4320 threads. There must be one @thread[curpos] left, which causes this
   4321 Problem.
   4322 
   4323 greetz didi
   4324 -- 
   4325 No documentation is better than bad documentation
   4326 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   4327 
   4328 From wmorgan-sup@masanjin.net  Mon Oct 12 08:14:42 2009
   4329 From: wmorgan-sup@masanjin.net (William Morgan)
   4330 Date: Mon, 12 Oct 2009 05:14:42 -0700
   4331 Subject: [sup-talk] Ruby 1.9 status?
   4332 In-Reply-To: <1255029826-sup-8182@peray>
   4333 References: <1255029826-sup-8182@peray>
   4334 Message-ID: <1255349584-sup-5924@masanjin.net>
   4335 
   4336 Reformatted excerpts from Nicolas Pouillard's message of 2009-10-08:
   4337 > I would like to know what is the sup status w.r.t ruby 1.9?
   4338 
   4339 The code is syntactically ready for 1.9. There's a Ferret 1.9 gem as of
   4340 recently, which you can try. Someone wrote a blog post here:
   4341 
   4342 http://trickyco.de/2009/09/24/installing-the-sup-mua-on-64bit-arch-linux
   4343 
   4344 And made some patches, which I haven't had a chance to review yet.
   4345 
   4346 At some point I tried Xapian with 1.9 and ran into some weird errors. If
   4347 you search the mailing list, you should find it.
   4348 -- 
   4349 William <wmorgan-sup at masanjin.net>
   4350 
   4351 From wmorgan-sup@masanjin.net  Mon Oct 12 08:48:50 2009
   4352 From: wmorgan-sup@masanjin.net (William Morgan)
   4353 Date: Mon, 12 Oct 2009 05:48:50 -0700
   4354 Subject: [sup-talk] [PATCH] Allow thread index view to sort oldest first
   4355 In-Reply-To: <1253911610-sup-2052@yoom.home.cworth.org>
   4356 References: <1253911610-sup-2052@yoom.home.cworth.org>
   4357 Message-ID: <1255350472-sup-5679@masanjin.net>
   4358 
   4359 Hi Carl & Keith,
   4360 
   4361 Reformatted excerpts from Carl Worth's message of 2009-09-25:
   4362 > The below patches are a first cut at implementing this.
   4363 
   4364 I've finally gotten a chance to look at this. It looks good so far. I
   4365 would like to merge this in in such a way that it doesn't change
   4366 behavior for anyone who doesn't want it.
   4367 
   4368 So I definitely don't want the second patch which changes the default
   4369 order. The configuration boolean is fine. (And if you want to add a
   4370 question to sup-config, that's icing on the cake.)
   4371 
   4372 I would also like to disable forcing the loading of all messages.
   4373 Personalyl, I follow the inbox 30,000 philosophy. The 'o' keybinding is
   4374 cool, but if I scroll down then suddenly the thread loading goes crazy.
   4375 For those who have inboxes that are small enough to load but bigger than
   4376 one screen (the "reverse inbox 50" crowd), I don't think that pressing
   4377 !! is too onerous.
   4378 
   4379 > 1. When doing oldest-first searching, it wasn't obvious if it's even
   4380 >    possible to query for only the N oldest messages (to lazily load
   4381 >    new threads while navigating as sup currently does). So the patch
   4382 >    currently loads all threads when in oldest-first mode.
   4383 
   4384 It is possible in Ferret: remove the DESC in ferret_index.rb line 160.
   4385 It is also possible in Xapian, but we're building the Xapian index to
   4386 optimize newest-first access. (Of course that would also be possible to
   4387 change, but then we're talking about a total index rebuild.)
   4388 
   4389 If you wanted to tweak that, the load-all-threads wouldn't be necessary.
   4390 
   4391 Either way, I'm happy to merge the first patch with the "n = -1" thing
   4392 removed.
   4393 
   4394 > 2. Currently sup uses the date of the newest message in a thread as
   4395 >    the key for sorting that message. This is correct for newest-first
   4396 >    sorting. But when doing the new oldest-first sorting, the patch
   4397 >    really should be augmented to instead use the date of the oldest
   4398 >    message in a thread that matches the current search criteria.
   4399 > 
   4400 >    We haven't looked yet into how hard this would be to fix. (And we'd
   4401 >    of course be glad for any help or pointers.)
   4402 
   4403 Pretty easy to change. In thread.rb, there's a date method which takes a
   4404 max; you can make it take a min instead.
   4405 
   4406 The hard work for both of these things is wiring this option through.
   4407 Although $config is a global variable, I don't really want to use it
   4408 directly in e.g. thread.rb.
   4409 
   4410 > PS. We're still total ruby newbies, so please point out any silly
   4411 > mistakes we're missing with respect to ruby idioms.
   4412 
   4413 Everything looks good. The only slgihtly non-idiomatic thing is using
   4414 "if !x" instead of "unless x".
   4415 -- 
   4416 William <wmorgan-sup at masanjin.net>
   4417 
   4418 From wmorgan-sup@masanjin.net  Mon Oct 12 09:30:21 2009
   4419 From: wmorgan-sup@masanjin.net (William Morgan)
   4420 Date: Mon, 12 Oct 2009 06:30:21 -0700
   4421 Subject: [sup-talk] [PATCH] Add hooks to sort and format label-list-mode
   4422 	display.
   4423 In-Reply-To: <1254418284-sup-3486@kronos>
   4424 References: <1253303493-sup-288@kronos> <1254416245-sup-4497@masanjin.net>
   4425 	<1254418284-sup-3486@kronos>
   4426 Message-ID: <1255354211-sup-1536@masanjin.net>
   4427 
   4428 Branch label-list-mode-hooks, merged into next. Thanks!
   4429 -- 
   4430 William <wmorgan-sup at masanjin.net>
   4431 
   4432 From wmorgan-sup@masanjin.net  Mon Oct 12 09:31:21 2009
   4433 From: wmorgan-sup@masanjin.net (William Morgan)
   4434 Date: Mon, 12 Oct 2009 06:31:21 -0700
   4435 Subject: [sup-talk] [PATCH] don't downcase a nil content-type
   4436 In-Reply-To: <1254593997-32634-1-git-send-email-rlane@club.cc.cmu.edu>
   4437 References: <1254593997-32634-1-git-send-email-rlane@club.cc.cmu.edu>
   4438 Message-ID: <1255354267-sup-3594@masanjin.net>
   4439 
   4440 Applied directly to master. Thanks!
   4441 -- 
   4442 William <wmorgan-sup at masanjin.net>
   4443 
   4444 From wmorgan-sup@masanjin.net  Mon Oct 12 09:42:10 2009
   4445 From: wmorgan-sup@masanjin.net (William Morgan)
   4446 Date: Mon, 12 Oct 2009 06:42:10 -0700
   4447 Subject: [sup-talk] labels-before-subject and ask_for_contacts config
   4448 	knobs
   4449 In-Reply-To: <1254565800-sup-5590@lanparty.ee>
   4450 References: <1254565800-sup-5590@lanparty.ee>
   4451 Message-ID: <1255354888-sup-8991@masanjin.net>
   4452 
   4453 Reformatted excerpts from Tarko Tikan's message of 2009-10-03:
   4454 > ask_for_contacts is loading 10 contacts from index, imho this doesn't
   4455 > make a sane default (it's too low). I've always patched this to 500 on
   4456 > my end - yes, it takes a second or two to load that many contacts from
   4457 > index but this doesn't bug me as much as first looking up the person
   4458 > and then composing to him.
   4459 
   4460 Yeah, this number should be increased. Unfortunately the time required
   4461 is tied to your index size and your machine, and 500 is way too slow for
   4462 me.
   4463 
   4464 There are actually two numbers: the number of initial contacts, and the
   4465 number that gets added when you press "M". I've changed the first to (2
   4466 * # of screen rows) and the second to 100.  Hopefully that's a little
   4467 more usable to you.
   4468 -- 
   4469 William <wmorgan-sup at masanjin.net>
   4470 
   4471 From wmorgan-sup@masanjin.net  Mon Oct 12 09:43:48 2009
   4472 From: wmorgan-sup@masanjin.net (William Morgan)
   4473 Date: Mon, 12 Oct 2009 06:43:48 -0700
   4474 Subject: [sup-talk] labels-before-subject and ask_for_contacts config
   4475 	knobs
   4476 In-Reply-To: <1254667184-sup-153@bar-coded.net>
   4477 References: <1254565800-sup-5590@lanparty.ee>
   4478 	<1254667184-sup-153@bar-coded.net>
   4479 Message-ID: <1255354943-sup-8569@masanjin.net>
   4480 
   4481 Reformatted excerpts from Marcus Williams's message of 2009-10-04:
   4482 > If you search through the archives you should find a patch I submitted
   4483 > for an alternate view. The default alternate view I find very good on
   4484 > smaller devices and its configurable via a hook if you want anything
   4485 > more. Not sure if its going to get integrated into sup though (Any
   4486 > thoughts William? - I can resubmit if necessary)
   4487 
   4488 I'm a little wary of starting down the slippery slope of a million
   4489 different screen configurations, but maybe it's ok to have a "small
   4490 screen mode". Is that what the alternate view is for?
   4491 -- 
   4492 William <wmorgan-sup at masanjin.net>
   4493 
   4494 From wmorgan-sup@masanjin.net  Mon Oct 12 09:46:44 2009
   4495 From: wmorgan-sup@masanjin.net (William Morgan)
   4496 Date: Mon, 12 Oct 2009 06:46:44 -0700
   4497 Subject: [sup-talk] [PATCH] Handle added messages in label-list-mode
   4498 In-Reply-To: <1254669536-sup-2700@longword>
   4499 References: <1252789445-30193-1-git-send-email-gigabo@gmail.com>
   4500 	<1254415913-sup-6275@masanjin.net> <1254669536-sup-2700@longword>
   4501 Message-ID: <1255355098-sup-4003@masanjin.net>
   4502 
   4503 Reformatted excerpts from Bo Borgerson's message of 2009-10-04:
   4504 > Is there a way to label or delete threads without leaving the
   4505 > label-list-mode?  There's already a refresh when switching back to the
   4506 > label-list-mode from elsewhere, I think, so any changes that are $aved
   4507 > should be reflected immediately when you get back.
   4508 
   4509 That's a good point. Yeah, this is unnecessary until we make some major
   4510 interface redesigns.
   4511 -- 
   4512 William <wmorgan-sup at masanjin.net>
   4513 
   4514 From wmorgan-sup@masanjin.net  Mon Oct 12 09:51:31 2009
   4515 From: wmorgan-sup@masanjin.net (William Morgan)
   4516 Date: Mon, 12 Oct 2009 06:51:31 -0700
   4517 Subject: [sup-talk] Bugfix for custom-search
   4518 In-Reply-To: <1254869038-sup-9250@javelin>
   4519 References: <1254418685-sup-6611@javelin> <1254869038-sup-9250@javelin>
   4520 Message-ID: <1255355369-sup-9880@masanjin.net>
   4521 
   4522 Reformatted excerpts from Edward Z. Yang's message of 2009-10-06:
   4523 > Any comments?
   4524 
   4525 Sorry about the delay. Applied directly to master. I was sure I had done
   4526 this right, but somehow it was only reflected in next, not in master. Oh
   4527 well. Thanks!
   4528 -- 
   4529 William <wmorgan-sup at masanjin.net>
   4530 
   4531 From wmorgan-sup@masanjin.net  Mon Oct 12 09:54:06 2009
   4532 From: wmorgan-sup@masanjin.net (William Morgan)
   4533 Date: Mon, 12 Oct 2009 06:54:06 -0700
   4534 Subject: [sup-talk] [PATCH] more inline GPG madness
   4535 In-Reply-To: <1254417896-sup-2359@midna.zekjur.net>
   4536 References: <1254348163-sup-6170@midna.zekjur.net>
   4537 	<1254417896-sup-2359@midna.zekjur.net>
   4538 Message-ID: <1255355627-sup-2988@masanjin.net>
   4539 
   4540 Reformatted excerpts from Michael Stapelberg's message of 2009-10-01:
   4541 > I will instead implement support for "correct" inline GPG.
   4542 
   4543 I've reworked this code a bit in recent commits, so make sure you have
   4544 an up-to-date copy.
   4545 -- 
   4546 William <wmorgan-sup at masanjin.net>
   4547 
   4548 From marcus-sup@bar-coded.net  Mon Oct 12 12:35:48 2009
   4549 From: marcus-sup@bar-coded.net (Marcus Williams)
   4550 Date: Mon, 12 Oct 2009 17:35:48 +0100
   4551 Subject: [sup-talk] labels-before-subject and ask_for_contacts config
   4552 	knobs
   4553 In-Reply-To: <1255354943-sup-8569@masanjin.net>
   4554 References: <1254565800-sup-5590@lanparty.ee>
   4555 	<1254667184-sup-153@bar-coded.net>
   4556 	<1255354943-sup-8569@masanjin.net>
   4557 Message-ID: <1255365030-sup-4877@bar-coded.net>
   4558 
   4559 On 12.10.2009, William Morgan wrote:
   4560 > I'm a little wary of starting down the slippery slope of a million
   4561 > different screen configurations, but maybe it's ok to have a "small
   4562 > screen mode". Is that what the alternate view is for?
   4563 
   4564 Thats certainly what I use it for. The default "alternative" is just
   4565 to strip authors/dates from the index view (see screenshot). A hook
   4566 allows you to do what you want with it (like remove the labels). Its
   4567 only toggleable via a keypress currently, but I find it useful on a
   4568 smaller screen.
   4569 
   4570 If you're happy with it I might change the default alternative view to
   4571 not include labels (or maybe move them to the end of the subject)
   4572 before resubmission. My hooked version doesnt bother displaying the
   4573 labels at all.
   4574 
   4575 Marcus
   4576 -------------- next part --------------
   4577 A non-text attachment was scrubbed...
   4578 Name: sup.jpg
   4579 Type: image/jpeg
   4580 Size: 187012 bytes
   4581 Desc: not available
   4582 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091012/bef721fc/attachment.jpg>
   4583 
   4584 From stettberger@dokucode.de  Mon Oct 12 15:23:48 2009
   4585 From: stettberger@dokucode.de (Christian Dietrich)
   4586 Date: Mon, 12 Oct 2009 21:23:48 +0200
   4587 Subject: [sup-talk] Feature Request: Collecting Lines in Index Mode
   4588 In-Reply-To: <1255331296-sup-5993@peer.zerties.org>
   4589 References: <1254247706-sup-2745@peer.zerties.org>
   4590 	<1254334371-sup-5145@masanjin.net>
   4591 	<1254516195-sup-4619@peer.zerties.org>
   4592 	<1254985425-sup-2303@peer.zerties.org>
   4593 	<1255005056-sup-7120@thinkpad-ubuntu>
   4594 	<1255005777-sup-7020@thinkpad-ubuntu>
   4595 	<1255026503-sup-3624@peer.zerties.org>
   4596 	<1255030392-sup-1135@thinkpad-ubuntu>
   4597 	<1255031039-sup-4070@qwerzila> <1255032615-sup-8961@qwerzila>
   4598 	<1255034958-sup-5628@peer.zerties.org>
   4599 	<1255073126-sup-6984@qwerzila>
   4600 	<1255074206-sup-7503@peer.zerties.org>
   4601 	<1255081131-sup-7915@qwerzila> <1255083021-sup-226@qwerzila>
   4602 	<1255084730-sup-671@peer.zerties.org>
   4603 	<1255085867-sup-8410@qwerzila>
   4604 	<1255331296-sup-5993@peer.zerties.org>
   4605 Message-ID: <1255375298-sup-2024@peer.zerties.org>
   4606 
   4607 Excerpts from Christian Dietrich's message of Mo Okt 12 09:11:35 +0200 2009:
   4608 > Excerpts from Gaute Hope's message of Fr Okt 09 13:00:19 +0200 2009:
   4609 > > Or the thread count isn't aware of the Today mark and still thinks line
   4610 > > 2 is thread 2? Don't really know anything about the implementation.
   4611 > > 
   4612 > > When it happens it doesn't dissapear before I do a M or there is a pull
   4613 > > that redraws the screen.. just pressing Ctrl+L or opening/closing a
   4614 > > thread doesn't remove it.
   4615 > > 
   4616 > > As said earlier it only seems to affect the top two threads.
   4617 > 
   4618 > Hi,
   4619 > i also experienced now this Problem, but can't see were this problem
   4620 > is located, because i don't touch the internal states of the
   4621 > threads. There must be one @thread[curpos] left, which causes this
   4622 > Problem.
   4623 > 
   4624 > greetz didi
   4625 
   4626 Hi,
   4627 i think i've fixed the problem now, it was a wrong mapping in
   4628 update_text_for_line, now the situation that caused the error before
   4629 succeeds. There was a misguiding declaration of @size_widgets in the
   4630 init function.
   4631 
   4632 @size_widgets isn't a Hash, mapping line numbers to a size_widget,
   4633 it is the same index as in @threads for the specific thread.
   4634 
   4635 greetz didi
   4636 
   4637 PS: please pull :-)
   4638 -- 
   4639 No documentation is better than bad documentation
   4640 -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
   4641 
   4642 From tero@tilus.net  Mon Oct 12 17:50:20 2009
   4643 From: tero@tilus.net (Tero Tilus)
   4644 Date: Tue, 13 Oct 2009 00:50:20 +0300
   4645 Subject: [sup-talk] Oddities of marking spam
   4646 Message-ID: <20091012215020.GA31940@tilus.net>
   4647 
   4648 First of all, Sup is a mindblowing experience!  Really.  Right after
   4649 first trial I decided it will (no ifs) replace mutt as my primary MUA.
   4650 I'll do whatever it takes to make this one work for me too.  It almost
   4651 does already.
   4652 
   4653 In between tuning other things I made a couple of observations (branch
   4654 next).  Sorry about not having a patch (not working on this, right now
   4655 I'm trying to make Xapian eat my 100k+ mails).
   4656 
   4657 Marking spam in thread-view-mode does not run mark-as-spam hook.  This
   4658 isn't intentional?
   4659 
   4660 If I look at spam (L, 'spam', ret) and then decide there's a false
   4661 positive and hit S, spam-tag is removed but thread will not disappear
   4662 from the view.  If I then view the thread, hit .s spam label is
   4663 correctly added to the thread but at the same time it is _removed_
   4664 from the previously mentioned spam list.  The same happens if I don't
   4665 view the thread but hit S again.  Pressing M doesn't bring the
   4666 re-spammed thread back to the label search view showing spam.  Killing
   4667 the buffer and doing L, 'spam', ret again does.
   4668 
   4669 -- 
   4670 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   4671 
   4672 From tero@tilus.net  Mon Oct 12 18:34:49 2009
   4673 From: tero@tilus.net (Tero Tilus)
   4674 Date: Tue, 13 Oct 2009 01:34:49 +0300
   4675 Subject: [sup-talk] Xapian: Term too long
   4676 Message-ID: <20091012223449.GB31940@tilus.net>
   4677 
   4678 sup-sync blows up like this
   4679 
   4680 /home/terotil/src/sup/lib/sup/xapian_index.rb:446:in `replace_document': InvalidArgumentError: Term too long (> 245): Lfwd: =?iso-8859-1?q?tekij=e4n_oikeudet=5d?= (ArgumentError)
   4681 x-enigmail-version: 0.92.0.0
   4682 content-type: multipart/mixed;
   4683  boundary="------------010606010007070802040301"
   4684 x-virus-scanned: amavisd-new at cc.jyu.fi
   4685 x-spam-status: no, hits=-2.373 required=5 tests=[awl=0.226, bayes_00=-2.599
   4686         from /home/terotil/src/sup/lib/sup/xapian_index.rb:446:in `sync_message'
   4687         from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   4688         from /home/terotil/src/sup/lib/sup/xapian_index.rb:363:in `synchronize'
   4689         from /home/terotil/src/sup/lib/sup/xapian_index.rb:440:in `sync_message'
   4690         from /home/terotil/src/sup/lib/sup/xapian_index.rb:92:in `add_message'
   4691         from /home/terotil/src/sup/bin/sup-sync:211
   4692 	...
   4693 
   4694 Relevant part of the problematic mail looks like this
   4695 
   4696 User-Agent: Debian Thunderbird 1.0.6 (X11/20050802)
   4697 X-Accept-Language: en-us, en
   4698 MIME-Version: 1.0
   4699 To: mutikainen at iki.fi
   4700 Subject: [Fwd: =?ISO-8859-1?Q?tekij=E4n_oikeudet=5D?=
   4701 X-Enigmail-Version: 0.92.0.0
   4702 Content-Type: multipart/mixed;
   4703  boundary="------------010606010007070802040301"
   4704 X-Virus-Scanned: amavisd-new at cc.jyu.fi
   4705 X-Spam-Status: No, hits=-2.373 required=5 tests=[AWL=0.226, BAYES_00=-2.599]
   4706 X-Spam-Level: 
   4707 X-Sorted: Whitelist
   4708 Content-Length: 11892
   4709 
   4710 This is how I solved it for me, for now
   4711 
   4712 diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb
   4713 index ad45b0e..d3b3e25 100644
   4714 --- a/lib/sup/xapian_index.rb
   4715 +++ b/lib/sup/xapian_index.rb
   4716 @@ -443,7 +443,11 @@ EOS
   4717          warn "docid underflow, dropping #{m.id.inspect}"
   4718          return
   4719        end
   4720 -      @xapian.replace_document docid, doc
   4721 +      begin
   4722 +        @xapian.replace_document docid, doc
   4723 +      rescue StandardError => err
   4724 +        warn "Failed to add message #{m.id.inspect} to Xapian index: #{err}"
   4725 +      end
   4726      end
   4727  
   4728      m.labels.each { |l| LabelManager << l }
   4729 
   4730 Looks like lib/sup/xapian_index.rb tries to override
   4731 Xapian::Document#add_term with a version which is wired to ditch too
   4732 long terms.  Only that you can't override methods just by including a
   4733 module.  Methods of the including class override methods in included
   4734 module.
   4735 
   4736 terotil at sotka:~$ irb
   4737 > class Foo; def bar; :bar; end; end
   4738 => nil
   4739 > module Baz; def bar; :baz; end; end
   4740 => nil
   4741 > class Foo; include Baz; end
   4742 => Foo
   4743 > Foo.new.bar
   4744 => :bar
   4745 > Foo.ancestors
   4746 => [Foo, Baz, Object, Kernel]  # Foo before Baz, methods in Foo take priority
   4747 
   4748 It is still Foo#bar being called, not Baz#bar.  You need to open up
   4749 Xapian::Document and then do alias method chaining to override
   4750 methods.  Or you could do tricks like
   4751 http://coderrr.wordpress.com/2008/10/29/secure-alias-method-chaining/
   4752 
   4753 -- 
   4754 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   4755 
   4756 From cworth@cworth.org  Mon Oct 12 19:02:30 2009
   4757 From: cworth@cworth.org (Carl Worth)
   4758 Date: Mon, 12 Oct 2009 16:02:30 -0700
   4759 Subject: [sup-talk] [PATCH] Allow thread index view to sort oldest first
   4760 In-Reply-To: <1255350472-sup-5679@masanjin.net>
   4761 References: <1253911610-sup-2052@yoom.home.cworth.org>
   4762 	<1255350472-sup-5679@masanjin.net>
   4763 Message-ID: <1255388543-sup-7477@yoom.home.cworth.org>
   4764 
   4765 Excerpts from William Morgan's message of Mon Oct 12 05:48:50 -0700 2009:
   4766 > I've finally gotten a chance to look at this. It looks good so far.
   4767 
   4768 Thanks for taking a look at it.
   4769 
   4770 > So I definitely don't want the second patch which changes the default
   4771 > order. The configuration boolean is fine. (And if you want to add a
   4772 > question to sup-config, that's icing on the cake.)
   4773 
   4774 I totally understand that, and that's why I did that part as a
   4775 separate patch.
   4776 
   4777 > I would also like to disable forcing the loading of all messages.
   4778 
   4779 I can understand that too.
   4780 
   4781 > It is possible in Ferret: remove the DESC in ferret_index.rb line 160.
   4782 > It is also possible in Xapian, but we're building the Xapian index to
   4783 > optimize newest-first access. (Of course that would also be possible to
   4784 > change, but then we're talking about a total index rebuild.)
   4785 > 
   4786 > If you wanted to tweak that, the load-all-threads wouldn't be necessary.
   4787 
   4788 How do we get this behavior in xapian? I'm fine if the index is not
   4789 optimized for this. The current newest-first optimization is perfect
   4790 for actual searching, (as opposed to reading of new messages), and the
   4791 patches don't change that.
   4792 
   4793 > Either way, I'm happy to merge the first patch with the "n = -1" thing
   4794 > removed.
   4795 
   4796 I wouldn't want the patch accepted with just that change. It results
   4797 in a "broken" view, (it claims to be showing the oldest message first,
   4798 but it doesn't, and trying to scroll "up" to see earlier messages also
   4799 doesn't work).
   4800 
   4801 So I'll see if I can figure out how to just load the N oldest message
   4802 instead. (My working theory was that this perform similarly to
   4803 actually loading all the messages, and that's why the patch just did
   4804 that).
   4805 
   4806 > Pretty easy to change. In thread.rb, there's a date method which takes a
   4807 > max; you can make it take a min instead.
   4808 
   4809 Excellent. I'll take a look at that.
   4810 
   4811 > The hard work for both of these things is wiring this option through.
   4812 > Although $config is a global variable, I don't really want to use it
   4813 > directly in e.g. thread.rb.
   4814 
   4815 OK. I'll see if there's nearby code to mimic for this.
   4816 
   4817 -Carl
   4818 
   4819 > > PS. We're still total ruby newbies, so please point out any silly
   4820 > > mistakes we're missing with respect to ruby idioms.
   4821 > 
   4822 > Everything looks good. The only slgihtly non-idiomatic thing is using
   4823 > "if !x" instead of "unless x".
   4824 
   4825 Heh. Just today I noticed "unless" while poking around in some sup
   4826 code. I have to say that "unless ... else" seems like a downright
   4827 malicious construct to unleash against people reading code.
   4828 -------------- next part --------------
   4829 A non-text attachment was scrubbed...
   4830 Name: signature.asc
   4831 Type: application/pgp-signature
   4832 Size: 190 bytes
   4833 Desc: not available
   4834 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091012/88815a8c/attachment.bin>
   4835 
   4836 From tero@tilus.net  Mon Oct 12 19:22:15 2009
   4837 From: tero@tilus.net (Tero Tilus)
   4838 Date: Tue, 13 Oct 2009 02:22:15 +0300
   4839 Subject: [sup-talk] RMail chokes on broken headers
   4840 Message-ID: <20091012232215.GD31940@tilus.net>
   4841 
   4842 RMail::Header#content_type breaks when it encounters broken
   4843 Content-Type and takes sup-sync down with it
   4844 
   4845 /usr/lib/ruby/gems/1.8/gems/rmail-1.0.0/lib/rmail/header.rb:537:in `content_type': undefined method `downcase' for nil:NilClass (NoMethodError)
   4846         from /home/terotil/src/sup/lib/sup/message.rb:439:in `message_to_chunks'
   4847         from /home/terotil/src/sup/lib/sup/message.rb:239:in `load_from_source!'
   4848         from /home/terotil/src/sup/lib/sup/message.rb:335:in `build_from_source'
   4849         from /home/terotil/src/sup/lib/sup/poll.rb:160:in `each_message_from'
   4850 
   4851 Worked around it this way
   4852 
   4853 diff --git a/lib/sup/message.rb b/lib/sup/message.rb
   4854 index f9f87de..5ff3e48 100644
   4855 --- a/lib/sup/message.rb
   4856 +++ b/lib/sup/message.rb
   4857 @@ -436,7 +436,7 @@ private
   4858        end
   4859  
   4860        chunks
   4861 -    elsif m.header.content_type && m.header.content_type.downcase == "message/rfc822"
   4862 +    elsif (m.header.content_type == "message/rfc822" rescue false) # rmail 1.0.0 may choke on broken content-type header, FIXME: fix rmail
   4863        if m.body
   4864          payload = RMail::Parser.read(m.body)
   4865          from = payload.header.from.first ? payload.header.from.first.format : ""
   4866 @@ -456,7 +456,7 @@ private
   4867          debug "no body for message/rfc822 enclosure; skipping"
   4868          []
   4869        end
   4870 -    elsif m.header.content_type && m.header.content_type.downcase == "application/pgp" && m.body
   4871 +    elsif (m.header.content_type.downcase == "application/pgp" rescue false) && m.body # rmail 1.0.0 may choke on broken content-type header, FIXME: fix rmail
   4872        ## apparently some versions of Thunderbird generate encryped email that
   4873        ## does not follow RFC3156, e.g. messages with X-Enigmail-Version: 0.95.0
   4874        ## they have no MIME multipart and just set the body content type to
   4875 
   4876 The problem itself is inside RMail.  I reported it.
   4877 http://rubyforge.org/tracker/index.php?func=detail&aid=27282&group_id=446&atid=1754
   4878 
   4879 RMail looks abandoned.  Development is pretty much stalled.  No
   4880 functional changes since 2004-04-27.  None of the reported bugs have
   4881 been fixed.  Might it be worth to think about switching to another
   4882 mail lib?  TMail author's http://github.com/mikel/mail/ looks
   4883 promising.
   4884 
   4885 -- 
   4886 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   4887 
   4888 From sven.schober@uni-ulm.de  Tue Oct 13 04:13:53 2009
   4889 From: sven.schober@uni-ulm.de (Sven Schober)
   4890 Date: Tue, 13 Oct 2009 10:13:53 +0200
   4891 Subject: [sup-talk] pinentry-curses messes up sup
   4892 In-Reply-To: <1255292709-sup-2216@masanjin.net>
   4893 References: <1255175624-sup-8207@hysbald> <1255292709-sup-2216@masanjin.net>
   4894 Message-ID: <1255421626-sup-4525@hysbald>
   4895 
   4896 Excerpts from William Morgan's message of Sun Oct 11 22:25:33 +0200 2009:
   4897 > Reformatted excerpts from Sven Schober's message of 2009-10-10:
   4898 > > As that thread is rather old, i would like to now if there's been some
   4899 > > development on this? Are there any console alternatives to
   4900 > > pinentry-curses?
   4901 > 
   4902 > I think I've fixed this in git next. Please try that.
   4903 
   4904 Works like a charm :) Thanks!
   4905 -- 
   4906 Sven Schober, sven.schober at uni-ulm.de                    |UNI ULM
   4907 http://www-vs.informatik.uni-ulm.de/dept/staff/schober/  |DISTRIBUTED
   4908 Room O27-346, Phone: +49-731-5024146 [+49-179-5060182]   |SYSTEMS LAB
   4909 -------------- next part --------------
   4910 A non-text attachment was scrubbed...
   4911 Name: signature.asc
   4912 Type: application/pgp-signature
   4913 Size: 198 bytes
   4914 Desc: not available
   4915 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091013/fa723900/attachment.bin>
   4916 
   4917 From tero@tilus.net  Tue Oct 13 08:40:03 2009
   4918 From: tero@tilus.net (Tero Tilus)
   4919 Date: Tue, 13 Oct 2009 15:40:03 +0300
   4920 Subject: [sup-talk] IMAP and recursion
   4921 Message-ID: <20091013124002.GA7129@tilus.net>
   4922 
   4923 I had quite a lot of IMAP folders to add and went looking for
   4924 recursion.  I found old sup-talk threads on the subject and thought of
   4925 it a while.  
   4926 
   4927 I might have missed something, but I could not easily get around
   4928 sup-add asking me all the time which account she should use.  So I
   4929 went on to add --force-account user at host to be able to batch-add IMAP
   4930 sources.
   4931 
   4932 What do you think?
   4933 
   4934 ---
   4935 diff --git a/bin/sup-add b/bin/sup-add
   4936 index e27a0eb..c53378d 100755
   4937 --- a/bin/sup-add
   4938 +++ b/bin/sup-add
   4939 @@ -39,6 +39,7 @@ EOS
   4940    opt :unusual, "Do not automatically poll these sources for new messages."
   4941    opt :labels, "A comma-separated set of labels to apply to all messages from this source", :type => String
   4942    opt :force_new, "Create a new account for this source, even if one already exists."
   4943 +  opt :force_account, "Reuse previously defined account user at hostname.", :type => String
   4944  end
   4945  
   4946  Trollop::die "require one or more sources" if ARGV.empty?
   4947 @@ -56,13 +57,20 @@ def get_login_info uri, sources
   4948  
   4949    username, password = nil, nil
   4950    unless accounts.empty? || $opts[:force_new]
   4951 -    say "Would you like to use the same account as for a previous source for #{uri}?"
   4952 -    choose do |menu|
   4953 -      accounts.each do |host, olduser, oldpw|
   4954 -        menu.choice("Use the account info for #{olduser}@#{host}") { username, password = olduser, oldpw }
   4955 +    if $opts[:force_account]
   4956 +      host, username, password = accounts.find { |h, u, p| $opts[:force_account] == "#{u}@#{h}" }
   4957 +      unless username && password
   4958 +        say "No previous account #{$opts[:force_account].inspect} found."
   4959 +      end
   4960 +    else
   4961 +      say "Would you like to use the same account as for a previous source for #{uri}?"
   4962 +      choose do |menu|
   4963 +        accounts.each do |host, olduser, oldpw|
   4964 +          menu.choice("Use the account info for #{olduser}@#{host}") { username, password = olduser, oldpw }
   4965 +        end
   4966 +        menu.choice("Use a new account") { }
   4967 +        menu.prompt = "Account selection? "
   4968        end
   4969 -      menu.choice("Use a new account") { }
   4970 -      menu.prompt = "Account selection? "
   4971      end
   4972    end
   4973 ---
   4974 
   4975 -- 
   4976 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   4977 
   4978 From bgamari.foss@gmail.com  Tue Oct 13 16:18:44 2009
   4979 From: bgamari.foss@gmail.com (Ben Gamari)
   4980 Date: Tue, 13 Oct 2009 16:18:44 -0400
   4981 Subject: [sup-talk] Fwd: Re: Crash while in thread-view-mode
   4982 In-Reply-To: <1255292742-sup-3957@masanjin.net>
   4983 References: <1254955312-sup-7085@ben-laptop> <1255292742-sup-3957@masanjin.net>
   4984 Message-ID: <1255464686-sup-4163@ben-laptop>
   4985 
   4986 Excerpts from William Morgan's message of Sun Oct 11 16:28:48 -0400 2009:
   4987 > I'm sorry you've had to rebuild the index so many times. The Xapian side
   4988 > of things is very new, and I think you've had a run of bad luck. But I
   4989 > am personally not motivated to improve index time performance, because
   4990 > that's not a common event. At least, it shouldn't be.
   4991 
   4992 Unfortunately, it seems that the crashes have returned (In fact, they
   4993 returned only hours after I rebuilt). Interestingly, it is once again my
   4994 LKML label that is the culprit.
   4995 
   4996 On the note of crashing, is it really necessary for the "wrong id called
   4997 on nil" exception to be fatal? Couldn't the client at least make some
   4998 attempt at recovering (skipping the problematic thread while catching
   4999 and logging the exception)? It seems like these issues could be rather
   5000 tricky to sort out (I've put an hour or so into tracking down the source
   5001 of the nils to no avail), and with a dynamically typed language like
   5002 Ruby, could occur at any time. Considering this, it seems like it might
   5003 be a good idea to handle these failures a bit more gracefully. Would
   5004 this be problematic?
   5005 
   5006 Regardless, it might be a good idea to have a hierarchy of exception
   5007 classes instead of just throwing Strings. It seems that throwing
   5008 specialized classes would make the above substantially easier.
   5009 
   5010 Thanks,
   5011 
   5012 - Ben
   5013 
   5014 
   5015 
   5016 --- RuntimeError from thread: load threads for thread-index-mode
   5017 wrong id called on nil
   5018 /opt/exp/sup/lib/sup.rb:17:in `id'
   5019 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   5020 /usr/lib64/ruby/1.8/rubygems/custom_require.rb:31:in `sort_by'
   5021 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `each'
   5022 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   5023 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update'
   5024 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   5025 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `update'
   5026 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:628:in `__unprotected_load_n_threads'
   5027 /opt/exp/sup/lib/sup/thread.rb:334:in `load_n_threads'
   5028 /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date'
   5029 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id'
   5030 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each'
   5031 /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id'
   5032 /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date'
   5033 /opt/exp/sup/lib/sup/thread.rb:328:in `load_n_threads'
   5034 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads'
   5035 (eval):12:in `load_n_threads'
   5036 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   5037 /opt/exp/sup/lib/sup.rb:77:in `reporting_thread'
   5038 /opt/exp/sup/lib/sup.rb:75:in `initialize'
   5039 /opt/exp/sup/lib/sup.rb:75:in `new'
   5040 /opt/exp/sup/lib/sup.rb:75:in `reporting_thread'
   5041 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   5042 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   5043 (eval):12:in `load_threads'
   5044 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:81:in `initialize'
   5045 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `call'
   5046 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `initialize'
   5047 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `each'
   5048 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `initialize'
   5049 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:19:in `new'
   5050 /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:19:in `initialize'
   5051 /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:54:in `initialize'
   5052 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:9:in `initialize'
   5053 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `new'
   5054 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `spawn_nicely'
   5055 /opt/exp/sup/lib/sup/buffer.rb:350:in `spawn_unless_exists'
   5056 /opt/exp/sup/lib/sup/util.rb:520:in `send'
   5057 /opt/exp/sup/lib/sup/util.rb:520:in `method_missing'
   5058 /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `spawn_nicely'
   5059 /opt/exp/sup/lib/sup/modes/label-list-mode.rb:134:in `select_label'
   5060 /opt/exp/sup/lib/sup/mode.rb:51:in `send'
   5061 /opt/exp/sup/lib/sup/mode.rb:51:in `handle_input'
   5062 /opt/exp/sup/lib/sup/buffer.rb:267:in `handle_input'
   5063 /usr/bin/sup:245
   5064 
   5065 From olly@survex.com  Tue Oct 13 16:51:10 2009
   5066 From: olly@survex.com (Olly Betts)
   5067 Date: Tue, 13 Oct 2009 20:51:10 +0000 (UTC)
   5068 Subject: [sup-talk] [PATCH] Allow thread index view to sort oldest first
   5069 References: <1253911610-sup-2052@yoom.home.cworth.org>
   5070 	<1255350472-sup-5679@masanjin.net>
   5071 	<1255388543-sup-7477@yoom.home.cworth.org>
   5072 Message-ID: <slrnhd9q1u.gga.olly@msgid.survex.com>
   5073 
   5074 On 2009-10-12, Carl Worth <cworth at cworth.org> wrote:
   5075 > How do we get this behavior in xapian? I'm fine if the index is not
   5076 > optimized for this. The current newest-first optimization is perfect
   5077 > for actual searching, (as opposed to reading of new messages), and the
   5078 > patches don't change that.
   5079 
   5080     @enquire.docid_order = Xapian::Enquire::DESCENDING
   5081 
   5082 This means that the docid order (which is used as the least significant
   5083 ordering) is descending rather than ascending.  In this case (I assume)
   5084 we're using Xapian::BoolWeight so this is the only ordering.
   5085 
   5086 Cheers,
   5087     Olly
   5088 
   5089 
   5090 From tero@tilus.net  Wed Oct 14 09:34:55 2009
   5091 From: tero@tilus.net (Tero Tilus)
   5092 Date: Wed, 14 Oct 2009 16:34:55 +0300
   5093 Subject: [sup-talk] Sup finds ghost messages
   5094 Message-ID: <1255526768-sup-3152@tilus.net>
   5095 
   5096 sup-sync --all (using xapian) from a new source occasionally says 1-2
   5097 messages already were in the index, even if they most certainly
   5098 weren't.  I noticed this when I added sup-talk archives to my index.
   5099 I'm 100% sure I did not have any sup-talk mails from somewhere
   5100 2007-2008 in any of my other sources.  Still sup-sync said it did not
   5101 add a couple of messages which supposedly already were in the index.
   5102 
   5103 ps.  Happily on sup now. \o/ All mails in, 1G index.  Xapian is
   5104      blazing fast...
   5105 
   5106 pps. Why bugs to this list?  Why not use a tracker?  (besides that sup
   5107      is awesome tracker too ;)
   5108 -- 
   5109 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   5110 
   5111 From tero@tilus.net  Wed Oct 14 18:27:03 2009
   5112 From: tero@tilus.net (Tero Tilus)
   5113 Date: Thu, 15 Oct 2009 01:27:03 +0300
   5114 Subject: [sup-talk] Wrapping long lines
   5115 Message-ID: <1255558925-sup-2369@tilus.net>
   5116 
   5117 How can I make sup wrap long lines?  I occasionally receive unwrapped
   5118 text/plain mails and it would be cool to have the "i dont care what
   5119 you need to do, but just fit it in the terminal window width" button.
   5120 -- 
   5121 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   5122 
   5123 From michael+sup@stapelberg.de  Thu Oct 15 06:50:13 2009
   5124 From: michael+sup@stapelberg.de (Michael Stapelberg)
   5125 Date: Thu, 15 Oct 2009 12:50:13 +0200
   5126 Subject: [sup-talk] About faking message IDs
   5127 Message-ID: <1255603625-sup-2558@midna.zekjur.net>
   5128 
   5129 Hi,
   5130 
   5131 I just noticed that the lack of emails from my backup program seems to be
   5132 because of the missing message ids in the mail script I use. In case of
   5133 no message id inside the header, sup uses the md5sum of the whole header
   5134 (see lib/sup/message.rb:74). This effectively means that messages having
   5135 the same md5sum of their header (which happened, since the header was also
   5136 generated completely by the script and the values did not change) will
   5137 "overwrite" the old message.
   5138 
   5139 As a workaround, I now added the current time to my script, so that every
   5140 header will have a different md5 sum. But maybe we can think of a more
   5141 clever way to generate faked message ids? Maybe also hash the body of the
   5142 message?
   5143 
   5144 Best regards,
   5145 Michael
   5146 
   5147 From wmorgan-sup@masanjin.net  Thu Oct 15 08:46:51 2009
   5148 From: wmorgan-sup@masanjin.net (William Morgan)
   5149 Date: Thu, 15 Oct 2009 05:46:51 -0700
   5150 Subject: [sup-talk] Crash while in thread-view-mode
   5151 In-Reply-To: <1254955351-sup-5944@ben-laptop>
   5152 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   5153 	<1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net>
   5154 	<1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   5155 	<1254945119-sup-3401@ben-laptop> <1254955351-sup-5944@ben-laptop>
   5156 Message-ID: <1255610731-sup-7030@masanjin.net>
   5157 
   5158 Reformatted excerpts from Ben Gamari's message of 2009-10-07:
   5159 > There must be a better way to deal with these invalid ids than
   5160 > crashing. Is there any reason this needs to be a show-stopping event?
   5161 
   5162 This is probably a symptom of some thread protection issues. You're
   5163 right, there's no reason this needs to crash Sup. You could apply this:
   5164 
   5165 diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
   5166 index 82f258b..17d5836 100644
   5167 --- a/lib/sup/modes/thread-index-mode.rb
   5168 +++ b/lib/sup/modes/thread-index-mode.rb
   5169 @@ -222,7 +222,7 @@ EOS
   5170    def update
   5171      @mutex.synchronize do
   5172        ## let's see you do THIS in python
   5173 -      @threads = @ts.threads.select { |t| !@hidden_threads[t] }.sort_by { |t| [t.date, t.first.id] }.reverse
   5174 +      @threads = @ts.threads.select { |t| !@hidden_threads[t] }.select { |t| t.first }.sort_by { |t| [t.date, t.first.id] }.reverse
   5175        @size_widgets = @threads.map { |t| size_widget_for_thread t }
   5176        @size_widget_width = @size_widgets.max_of { |w| w.display_length }
   5177      end
   5178 -- 
   5179 William <wmorgan-sup at masanjin.net>
   5180 
   5181 From wmorgan-sup@masanjin.net  Thu Oct 15 08:51:50 2009
   5182 From: wmorgan-sup@masanjin.net (William Morgan)
   5183 Date: Thu, 15 Oct 2009 05:51:50 -0700
   5184 Subject: [sup-talk] curses exception
   5185 In-Reply-To: <ed5557340910120709u62e97e67id6580f0a8ee6ec64@mail.gmail.com>
   5186 References: <ed5557340910061533w7854510tabe9bb2fc864db09@mail.gmail.com>
   5187 	<1255292940-sup-5558@masanjin.net>
   5188 	<ed5557340910120709u62e97e67id6580f0a8ee6ec64@mail.gmail.com>
   5189 Message-ID: <1255611057-sup-1320@masanjin.net>
   5190 
   5191 Reformatted excerpts from Dan Falcone's message of 2009-10-12:
   5192 > Honestly, it's probably an issue with my setup... is there a guide
   5193 > anywhere on how to get sup running in cygwin?  Maybe I'm missing a
   5194 > required package?
   5195 
   5196 There's no guide per se. Other people have definitely made it work in
   5197 the past. Are you able to get other color curses programs to work? I
   5198 suspect it's not a Sup issue per se, but I'm not that familiar with the
   5199 intricacies of Cygwin.
   5200 -- 
   5201 William <wmorgan-sup at masanjin.net>
   5202 
   5203 From wmorgan-sup@masanjin.net  Thu Oct 15 08:56:29 2009
   5204 From: wmorgan-sup@masanjin.net (William Morgan)
   5205 Date: Thu, 15 Oct 2009 05:56:29 -0700
   5206 Subject: [sup-talk] Oddities of marking spam
   5207 In-Reply-To: <20091012215020.GA31940@tilus.net>
   5208 References: <20091012215020.GA31940@tilus.net>
   5209 Message-ID: <1255611277-sup-9644@masanjin.net>
   5210 
   5211 Reformatted excerpts from Tero Tilus's message of 2009-10-12:
   5212 > Marking spam in thread-view-mode does not run mark-as-spam hook.  This
   5213 > isn't intentional?
   5214 
   5215 Good point, that's a bug.
   5216 
   5217 > If I look at spam (L, 'spam', ret) and then decide there's a false
   5218 > positive and hit S, spam-tag is removed but thread will not disappear
   5219 > from the view.  If I then view the thread, hit .s spam label is
   5220 > correctly added to the thread but at the same time it is _removed_
   5221 > from the previously mentioned spam list.  The same happens if I don't
   5222 > view the thread but hit S again.  Pressing M doesn't bring the
   5223 > re-spammed thread back to the label search view showing spam.  Killing
   5224 > the buffer and doing L, 'spam', ret again does.
   5225 
   5226 The auto-adding and auto-removing of threads from search-result-mode is
   5227 only able to work in certain limited cases, in general, but this sounds
   5228 like a bug too.
   5229 -- 
   5230 William <wmorgan-sup at masanjin.net>
   5231 
   5232 From wmorgan-sup@masanjin.net  Thu Oct 15 08:59:53 2009
   5233 From: wmorgan-sup@masanjin.net (William Morgan)
   5234 Date: Thu, 15 Oct 2009 05:59:53 -0700
   5235 Subject: [sup-talk] Xapian: Term too long
   5236 In-Reply-To: <20091012223449.GB31940@tilus.net>
   5237 References: <20091012223449.GB31940@tilus.net>
   5238 Message-ID: <1255611567-sup-8695@masanjin.net>
   5239 
   5240 Reformatted excerpts from Tero Tilus's message of 2009-10-12:
   5241 > Looks like lib/sup/xapian_index.rb tries to override
   5242 > Xapian::Document#add_term with a version which is wired to ditch too
   5243 > long terms.  Only that you can't override methods just by including a
   5244 > module.  Methods of the including class override methods in included
   5245 > module.
   5246 
   5247 Very good point. Thanks!
   5248 -- 
   5249 William <wmorgan-sup at masanjin.net>
   5250 
   5251 From wmorgan-sup@masanjin.net  Thu Oct 15 09:11:36 2009
   5252 From: wmorgan-sup@masanjin.net (William Morgan)
   5253 Date: Thu, 15 Oct 2009 06:11:36 -0700
   5254 Subject: [sup-talk] RMail chokes on broken headers
   5255 In-Reply-To: <20091012232215.GD31940@tilus.net>
   5256 References: <20091012232215.GD31940@tilus.net>
   5257 Message-ID: <1255612194-sup-3880@masanjin.net>
   5258 
   5259 Reformatted excerpts from Tero Tilus's message of 2009-10-12:
   5260 > RMail looks abandoned.  Development is pretty much stalled.  No
   5261 > functional changes since 2004-04-27.  None of the reported bugs have
   5262 > been fixed.  Might it be worth to think about switching to another
   5263 > mail lib?  TMail author's http://github.com/mikel/mail/ looks
   5264 > promising.
   5265 
   5266 Yeah, this is certainly an option. But it seems like a lot of work. And
   5267 every day our set of rmail workarounds grows more robust. :)
   5268 
   5269 Not to say I wouldn't accept a patch that magically did this all for me,
   5270 of course.
   5271 -- 
   5272 William <wmorgan-sup at masanjin.net>
   5273 
   5274 From wmorgan-sup@masanjin.net  Thu Oct 15 09:45:47 2009
   5275 From: wmorgan-sup@masanjin.net (William Morgan)
   5276 Date: Thu, 15 Oct 2009 06:45:47 -0700
   5277 Subject: [sup-talk] Sup finds ghost messages
   5278 In-Reply-To: <1255526768-sup-3152@tilus.net>
   5279 References: <1255526768-sup-3152@tilus.net>
   5280 Message-ID: <1255612303-sup-410@masanjin.net>
   5281 
   5282 Reformatted excerpts from Tero Tilus's message of 2009-10-14:
   5283 > sup-sync --all (using xapian) from a new source occasionally says 1-2
   5284 > messages already were in the index, even if they most certainly
   5285 > weren't.  I noticed this when I added sup-talk archives to my index.
   5286 
   5287 Can you run with -v and grep to make sure those message ids don't
   5288 actually appear more than once in the mbox file? If they don't, can you
   5289 isolate a particular one and use devel/console.sh to find out where Sup
   5290 thinks the previous occurence is?
   5291 
   5292 > pps. Why bugs to this list?  Why not use a tracker?  (besides that sup
   5293 >      is awesome tracker too ;)
   5294 
   5295 If there's a good one out there I'd like to hear about it. We used ditz
   5296 for a while because I hate clicking the mouse, but eventually it became
   5297 too much effort.
   5298 -- 
   5299 William <wmorgan-sup at masanjin.net>
   5300 
   5301 From guillaume.quintard@gmail.com  Thu Oct 15 09:47:00 2009
   5302 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   5303 Date: Thu, 15 Oct 2009 15:47:00 +0200
   5304 Subject: [sup-talk] Crash while in thread-view-mode
   5305 In-Reply-To: <1255610731-sup-7030@masanjin.net>
   5306 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   5307 	<1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net>
   5308 	<1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   5309 	<1254945119-sup-3401@ben-laptop> <1254955351-sup-5944@ben-laptop>
   5310 	<1255610731-sup-7030@masanjin.net>
   5311 Message-ID: <1255614287-sup-4683@altis>
   5312 
   5313 Excerpts from William Morgan's message of Thu Oct 15 14:46:51 +0200 2009:
   5314 > Reformatted excerpts from Ben Gamari's message of 2009-10-07:
   5315 > > There must be a better way to deal with these invalid ids than
   5316 > > crashing. Is there any reason this needs to be a show-stopping event?
   5317 > 
   5318 > This is probably a symptom of some thread protection issues. You're
   5319 > right, there's no reason this needs to crash Sup. You could apply this:
   5320 > 
   5321 > diff --git a/lib/sup/modes/thread-index-mode.rb
   5322 > b/lib/sup/modes/thread-index-mode.rb
   5323 > index 82f258b..17d5836 100644
   5324 > --- a/lib/sup/modes/thread-index-mode.rb
   5325 > +++ b/lib/sup/modes/thread-index-mode.rb
   5326 > @@ -222,7 +222,7 @@ EOS
   5327 >    def update
   5328 >      @mutex.synchronize do
   5329 >        ## let's see you do THIS in python
   5330 > -      @threads = @ts.threads.select { |t| !@hidden_threads[t] }.sort_by { |t|
   5331 > [t.date, t.first.id] }.reverse
   5332 > +      @threads = @ts.threads.select { |t| !@hidden_threads[t] }.select { |t|
   5333 > t.first }.sort_by { |t| [t.date, t.first.id] }.reverse
   5334 >        @size_widgets = @threads.map { |t| size_widget_for_thread t }
   5335 >        @size_widget_width = @size_widgets.max_of { |w| w.display_length }
   5336 >      end
   5337 Man, I love you, I can finally use sup again.
   5338 
   5339 (and I love the Python comment, even if I have no effing idea of what
   5340 the code could mean.)
   5341 
   5342 Thanks!
   5343 
   5344 -- 
   5345 Guillaume
   5346 
   5347 From wmorgan-sup@masanjin.net  Thu Oct 15 09:47:36 2009
   5348 From: wmorgan-sup@masanjin.net (William Morgan)
   5349 Date: Thu, 15 Oct 2009 06:47:36 -0700
   5350 Subject: [sup-talk] About faking message IDs
   5351 In-Reply-To: <1255603625-sup-2558@midna.zekjur.net>
   5352 References: <1255603625-sup-2558@midna.zekjur.net>
   5353 Message-ID: <1255614431-sup-5910@masanjin.net>
   5354 
   5355 Reformatted excerpts from Michael Stapelberg's message of 2009-10-15:
   5356 > I just noticed that the lack of emails from my backup program seems to be
   5357 > because of the missing message ids in the mail script I use. In case of
   5358 > no message id inside the header, sup uses the md5sum of the whole header
   5359 > (see lib/sup/message.rb:74). This effectively means that messages having
   5360 > the same md5sum of their header (which happened, since the header was also
   5361 > generated completely by the script and the values did not change) will
   5362 > "overwrite" the old message.
   5363 
   5364 Doesn't the header include the date?
   5365 -- 
   5366 William <wmorgan-sup at masanjin.net>
   5367 
   5368 From michael+sup@stapelberg.de  Thu Oct 15 09:55:13 2009
   5369 From: michael+sup@stapelberg.de (Michael Stapelberg)
   5370 Date: Thu, 15 Oct 2009 15:55:13 +0200
   5371 Subject: [sup-talk] before-edit hook and accessing the original sender
   5372 Message-ID: <1255614656-sup-7039@midna.zekjur.net>
   5373 
   5374 Hi,
   5375 
   5376 I just configured a before-edit hook which prepends my usual greeting to the
   5377 message and appends my greeting. To personalize the greeting, I access
   5378 header["To"]. However, when replying to emails, this is not always the original
   5379 sender of the message I am replying to (think of mailing lists).
   5380 
   5381 So, the question is, can I somehow access the message to which I am replying
   5382 to when in the before-edit hook called when replying to a message.
   5383 
   5384 Best regards,
   5385 Michael
   5386 
   5387 PS: I am not using the signature hook as I want to edit my signature inside my
   5388 $EDITOR. Also, I need the greeting at the top of the message.
   5389 
   5390 From michael+sup@stapelberg.de  Thu Oct 15 09:59:01 2009
   5391 From: michael+sup@stapelberg.de (Michael Stapelberg)
   5392 Date: Thu, 15 Oct 2009 15:59:01 +0200
   5393 Subject: [sup-talk] About faking message IDs
   5394 In-Reply-To: <1255614431-sup-5910@masanjin.net>
   5395 References: <1255603625-sup-2558@midna.zekjur.net>
   5396 	<1255614431-sup-5910@masanjin.net>
   5397 Message-ID: <1255615018-sup-5653@midna.zekjur.net>
   5398 
   5399 Hi William,
   5400 
   5401 Excerpts from William Morgan's message of Thu Oct 15 15:47:36 +0200 2009:
   5402 > Doesn't the header include the date?
   5403 No, in my case it did not. The reason for that is calling "deliver" directly,
   5404 that is without talking SMTP to a mailserver. Thus, no headers are getting
   5405 added. Surely this is a corner case, but I think it will cause headache for
   5406 system administrators running into this one, if they notice it all (overwriting
   5407 messages is quite dangerous).
   5408 
   5409 Best regards,
   5410 Michael
   5411 
   5412 From bgamari.foss@gmail.com  Thu Oct 15 11:03:04 2009
   5413 From: bgamari.foss@gmail.com (Ben Gamari)
   5414 Date: Thu, 15 Oct 2009 11:03:04 -0400
   5415 Subject: [sup-talk] Crash while in thread-view-mode
   5416 In-Reply-To: <1255610731-sup-7030@masanjin.net>
   5417 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   5418 	<1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net>
   5419 	<1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   5420 	<1254945119-sup-3401@ben-laptop> <1254955351-sup-5944@ben-laptop>
   5421 	<1255610731-sup-7030@masanjin.net>
   5422 Message-ID: <1255618838-sup-1025@ben-laptop>
   5423 
   5424 Excerpts from William Morgan's message of Thu Oct 15 08:46:51 -0400 2009:
   5425 > Reformatted excerpts from Ben Gamari's message of 2009-10-07:
   5426 > > There must be a better way to deal with these invalid ids than
   5427 > > crashing. Is there any reason this needs to be a show-stopping event?
   5428 > 
   5429 > This is probably a symptom of some thread protection issues. You're
   5430 > right, there's no reason this needs to crash Sup. You could apply this:
   5431 > 
   5432 Yep, this fixes it. Thank you so much. Now to sort through my backlog of
   5433 mail. Thanks again,
   5434 
   5435 - Ben
   5436 
   5437 From wmorgan-sup@masanjin.net  Thu Oct 15 11:16:36 2009
   5438 From: wmorgan-sup@masanjin.net (William Morgan)
   5439 Date: Thu, 15 Oct 2009 08:16:36 -0700
   5440 Subject: [sup-talk] Crash while in thread-view-mode
   5441 In-Reply-To: <1255614287-sup-4683@altis>
   5442 References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop>
   5443 	<1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net>
   5444 	<1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com>
   5445 	<1254945119-sup-3401@ben-laptop> <1254955351-sup-5944@ben-laptop>
   5446 	<1255610731-sup-7030@masanjin.net> <1255614287-sup-4683@altis>
   5447 Message-ID: <1255619752-sup-3707@masanjin.net>
   5448 
   5449 Reformatted excerpts from Guillaume Quintard's message of 2009-10-15:
   5450 > (and I love the Python comment, even if I have no effing idea of what
   5451 > the code could mean.)
   5452 
   5453 It refers to the fact that Python programs don't have bugs.
   5454 -- 
   5455 William <wmorgan-sup at masanjin.net>
   5456 
   5457 From wmorgan-sup@masanjin.net  Thu Oct 15 11:27:44 2009
   5458 From: wmorgan-sup@masanjin.net (William Morgan)
   5459 Date: Thu, 15 Oct 2009 08:27:44 -0700
   5460 Subject: [sup-talk] curses exception
   5461 In-Reply-To: <ed5557340910150740i4e701044l12be4fd43e2bc072@mail.gmail.com>
   5462 References: <ed5557340910061533w7854510tabe9bb2fc864db09@mail.gmail.com>
   5463 	<1255292940-sup-5558@masanjin.net>
   5464 	<ed5557340910120709u62e97e67id6580f0a8ee6ec64@mail.gmail.com>
   5465 	<1255611057-sup-1320@masanjin.net>
   5466 	<ed5557340910150740i4e701044l12be4fd43e2bc072@mail.gmail.com>
   5467 Message-ID: <1255620005-sup-7616@masanjin.net>
   5468 
   5469 Reformatted excerpts from Dan Falcone's message of 2009-10-15:
   5470 > Hmm... good question.  I regularly use emacs with colors enabled, but
   5471 > I'm not sure if that uses curses.  I tried typespeed and that seemed
   5472 > to work.  According to its man page, it uses curses.
   5473 
   5474 Hm. What version of the ncurses gem do you have? (gem list --local
   5475 should tell you.)
   5476 
   5477 What does this program print?
   5478 
   5479   require 'rubygems'
   5480   require 'ncurses'
   5481 
   5482   x = begin
   5483     Ncurses::initscr();
   5484     Ncurses::has_colors?()
   5485   ensure
   5486     Ncurses::endwin();
   5487   end
   5488 
   5489   puts x
   5490 
   5491 If it prints true, then, if you look in the contents of the gem
   5492 (wherever that is on your system), there should be an examples/
   5493 directory. If you run examples/tlock.rb or examples/rain.rb, (probably
   5494 with ruby -rubygems), do you see color?
   5495 -- 
   5496 William <wmorgan-sup at masanjin.net>
   5497 
   5498 From wmorgan-sup@masanjin.net  Thu Oct 15 11:29:29 2009
   5499 From: wmorgan-sup@masanjin.net (William Morgan)
   5500 Date: Thu, 15 Oct 2009 08:29:29 -0700
   5501 Subject: [sup-talk] About faking message IDs
   5502 In-Reply-To: <1255615018-sup-5653@midna.zekjur.net>
   5503 References: <1255603625-sup-2558@midna.zekjur.net>
   5504 	<1255614431-sup-5910@masanjin.net>
   5505 	<1255615018-sup-5653@midna.zekjur.net>
   5506 Message-ID: <1255620476-sup-8113@masanjin.net>
   5507 
   5508 Reformatted excerpts from Michael Stapelberg's message of 2009-10-15:
   5509 > No, in my case it did not. The reason for that is calling "deliver"
   5510 > directly, that is without talking SMTP to a mailserver. Thus, no
   5511 > headers are getting added. Surely this is a corner case, but I think
   5512 > it will cause headache for system administrators running into this
   5513 > one, if they notice it all (overwriting messages is quite dangerous).
   5514 
   5515 Ok. I think it's fine to generate the message id via another mechanism,
   5516 e.g. the way we do it in edit-message-mode ("<#{Time.now.to_i}-sup-#{rand 10000}@#{hostname}").
   5517 -- 
   5518 William <wmorgan-sup at masanjin.net>
   5519 
   5520 From wmorgan-sup@masanjin.net  Thu Oct 15 11:32:54 2009
   5521 From: wmorgan-sup@masanjin.net (William Morgan)
   5522 Date: Thu, 15 Oct 2009 08:32:54 -0700
   5523 Subject: [sup-talk] before-edit hook and accessing the original sender
   5524 In-Reply-To: <1255614656-sup-7039@midna.zekjur.net>
   5525 References: <1255614656-sup-7039@midna.zekjur.net>
   5526 Message-ID: <1255620578-sup-9650@masanjin.net>
   5527 
   5528 Reformatted excerpts from Michael Stapelberg's message of 2009-10-15:
   5529 > So, the question is, can I somehow access the message to which I am
   5530 > replying to when in the before-edit hook called when replying to a
   5531 > message.
   5532 
   5533 Not currently. We could wire that through without too much effort, I
   5534 think.
   5535 -- 
   5536 William <wmorgan-sup at masanjin.net>
   5537 
   5538 From cworth@cworth.org  Thu Oct 15 13:23:40 2009
   5539 From: cworth@cworth.org (Carl Worth)
   5540 Date: Thu, 15 Oct 2009 10:23:40 -0700
   5541 Subject: [sup-talk] Indexing messages without ruby
   5542 Message-ID: <1255623468-sup-2284@yoom.home.cworth.org>
   5543 
   5544 I've gone forward with an experiment I had mentioned I might try:
   5545 trying to create a faster sup-sync by using C rather than ruby.
   5546 
   5547 My approach was to use Xapian to create a sup-compatible index, and to
   5548 use libgmime for the mail parsing. That meant that I only had to write
   5549 a tiny bit of code to glue gmime together with xapian. The code is an
   5550 unholy mess of C and C++, (so there are as many as three different
   5551 string types, sometimes all in one function!), but it seems to be
   5552 working at least.
   5553 
   5554 I wrote a little xapian-dump program to make a textual dump of a
   5555 database, (all data, terms, and values for each document), and I
   5556 verified that my program, notmuch, could create identical[*] terms and
   5557 values when indexing about 150 recent messages from the sup-talk
   5558 mailing list.
   5559 
   5560 I've also verified that notmuch can index my own collection of nearly
   5561 600,000 email messages without any problems.
   5562 
   5563 The big difference in notmuch that makes the resulting index
   5564 incompatible with sup is that it doesn't generate a serialized ruby
   5565 data structure for the document data like sup currently
   5566 expects. Instead it just shoves the mail message's filename into the
   5567 data field. So if anyone wanted to use notmuch with sup, this would
   5568 need to be resolved on one side or the other.[**]
   5569 
   5570 As for performance, things look pretty good, but perhaps not as good
   5571 as I had hoped. From a test of importing about 400,000 messages from
   5572 my mail archive, notmuch starts out between 300 - 400 messages/sec.
   5573 but after about 40,000 messages slows down to about 100
   5574 messages/sec. and stabilizes there.
   5575 
   5576 I haven't tested sup recently, but from my recollection indexing the
   5577 same archive on the same computer, sup started out at about 40
   5578 messages/sec. and slowed down to about 20 messages/sec. (for as long
   5579 as I watched it).
   5580 
   5581 So this is preliminary, but it looks like notmuch gives a 5-10x
   5582 performance improvement over sup, (but likely closer to the 5x end of
   5583 that range unless you've got a very small index---at which point who
   5584 cares how fast/slow things are?).
   5585 
   5586 A quick glance with a profiler shows xapian dominating the notmuch
   5587 profile at 62% and gmime hardly appearing at all (near 2%). As
   5588 contrast, ruby dominates the sup-sync profile with xapian down in the
   5589 8% range. (So there's the 10x target there.) One other advantage is
   5590 that with xapian dominating the profile, notmuch stands to benefit
   5591 from future performance improvements to xapian itself.
   5592 
   5593 If that ruby time is dominated by mail parsing, it's possible that
   5594 much of the advantage of notmuch could be gained by simply switching
   5595 from rmail to a non-ruby-based parser like gmime. But that's just a
   5596 guess as I haven't tried to find where the ruby time is being spent.
   5597 
   5598 If anyone is interested in playing along at home, my code is available
   5599 via git with:
   5600 
   5601 	git clone git://git.cworth.org/git/notmuch
   5602 
   5603 Have fun,
   5604 
   5605 -Carl
   5606 
   5607 [*] Some minor differences exist in the heuristics for reognizing
   5608 signatures, and sup sometimes splits numbers into multiple terms (such
   5609 as "1754" indexed as two terms "17" and "54") which I couldn't explain
   5610 nor replicate. Finally notmuch doesn't attempt to index encrypted
   5611 messages.
   5612 
   5613 [**] Beyond this incompatibility, notmuch is not even close to being a
   5614 functional replacement for sup-sync. It currently only knows how to
   5615 shove new documents into the database and doesn't know how to do any
   5616 updating. Similarly it doesn't have any code to examine mtimes to
   5617 identify new or changed messages to be updated. It also doesn't look
   5618 at maildir filename flags to determine labels, nor does it provide any
   5619 means for the user to request custom labels to be attached to certain
   5620 messages.
   5621 -------------- next part --------------
   5622 A non-text attachment was scrubbed...
   5623 Name: signature.asc
   5624 Type: application/pgp-signature
   5625 Size: 190 bytes
   5626 Desc: not available
   5627 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091015/25074e86/attachment.bin>
   5628 
   5629 From nicolas.pouillard@gmail.com  Thu Oct 15 15:21:29 2009
   5630 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   5631 Date: Thu, 15 Oct 2009 21:21:29 +0200
   5632 Subject: [sup-talk] About faking message IDs
   5633 In-Reply-To: <1255620476-sup-8113@masanjin.net>
   5634 References: <1255603625-sup-2558@midna.zekjur.net>
   5635 	<1255614431-sup-5910@masanjin.net>
   5636 	<1255615018-sup-5653@midna.zekjur.net>
   5637 	<1255620476-sup-8113@masanjin.net>
   5638 Message-ID: <1255634425-sup-8445@peray>
   5639 
   5640 Excerpts from William Morgan's message of Thu Oct 15 17:29:29 +0200 2009:
   5641 > Reformatted excerpts from Michael Stapelberg's message of 2009-10-15:
   5642 > > No, in my case it did not. The reason for that is calling "deliver"
   5643 > > directly, that is without talking SMTP to a mailserver. Thus, no
   5644 > > headers are getting added. Surely this is a corner case, but I think
   5645 > > it will cause headache for system administrators running into this
   5646 > > one, if they notice it all (overwriting messages is quite dangerous).
   5647 > 
   5648 > Ok. I think it's fine to generate the message id via another mechanism,
   5649 > e.g. the way we do it in edit-message-mode ("<#{Time.now.to_i}-sup-#{rand 10000}@#{hostname}").
   5650 
   5651 This way we loose the reproducibility, but I concede that we can't have both.
   5652 
   5653 -- 
   5654 Nicolas Pouillard
   5655 http://nicolaspouillard.fr
   5656 
   5657 From cworth@cworth.org  Thu Oct 15 20:14:09 2009
   5658 From: cworth@cworth.org (Carl Worth)
   5659 Date: Thu, 15 Oct 2009 17:14:09 -0700
   5660 Subject: [sup-talk] About faking message IDs
   5661 In-Reply-To: <1255620476-sup-8113@masanjin.net>
   5662 References: <1255603625-sup-2558@midna.zekjur.net>
   5663 	<1255614431-sup-5910@masanjin.net>
   5664 	<1255615018-sup-5653@midna.zekjur.net>
   5665 	<1255620476-sup-8113@masanjin.net>
   5666 Message-ID: <1255651999-sup-9911@yoom.home.cworth.org>
   5667 
   5668 Excerpts from William Morgan's message of Thu Oct 15 08:29:29 -0700 2009:
   5669 > Ok. I think it's fine to generate the message id via another mechanism,
   5670 > e.g. the way we do it in edit-message-mode ("<#{Time.now.to_i}-sup-#{rand
   5671 > 10000}@#{hostname}").
   5672 
   5673 Won't that then make sup insert duplicate documents into the index for
   5674 any run of sup-sync --all over the relevant sources?
   5675 
   5676 -Carl
   5677 -------------- next part --------------
   5678 A non-text attachment was scrubbed...
   5679 Name: signature.asc
   5680 Type: application/pgp-signature
   5681 Size: 190 bytes
   5682 Desc: not available
   5683 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091015/78f02bbd/attachment.bin>
   5684 
   5685 From michael+sup@stapelberg.de  Sat Oct 17 18:32:25 2009
   5686 From: michael+sup@stapelberg.de (Michael Stapelberg)
   5687 Date: Sun, 18 Oct 2009 00:32:25 +0200
   5688 Subject: [sup-talk] [PATCH] more inline GPG madness
   5689 In-Reply-To: <1255355627-sup-2988@masanjin.net>
   5690 References: <1254348163-sup-6170@midna.zekjur.net>
   5691 	<1254417896-sup-2359@midna.zekjur.net>
   5692 	<1255355627-sup-2988@masanjin.net>
   5693 Message-ID: <1255818685-sup-6010@midna.zekjur.net>
   5694 
   5695 Hi,
   5696 
   5697 Excerpts from William Morgan's message of Mo Okt 12 15:54:06 +0200 2009:
   5698 > Reformatted excerpts from Michael Stapelberg's message of 2009-10-01:
   5699 > > I will instead implement support for "correct" inline GPG.
   5700 See the attached patch. Please consider merging it :).
   5701 
   5702 Best regards,
   5703 Michael
   5704 -------------- next part --------------
   5705 A non-text attachment was scrubbed...
   5706 Name: 0001-Implement-inline-GPG.patch
   5707 Type: application/octet-stream
   5708 Size: 5354 bytes
   5709 Desc: not available
   5710 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091018/dbd897f2/attachment-0001.obj>
   5711 
   5712 From kirr@landau.phys.spbu.ru  Sun Oct 18 07:50:00 2009
   5713 From: kirr@landau.phys.spbu.ru (Kirill Smelkov)
   5714 Date: Sun, 18 Oct 2009 15:50:00 +0400
   5715 Subject: [sup-talk] BUG: Sup crashes on startup (bisected)
   5716 Message-ID: <20091018114959.GA11630@roro3.zxlink>
   5717 
   5718 Hello up there.
   5719 
   5720 I'm using sup master from git, and after recent upgrade, sup began
   5721 crashing on startup. Here is the backtrace:
   5722 
   5723 --- NoMethodError from thread: main
   5724 undefined method `title' for nil:NilClass
   5725 /home/kirr/src/tools/mail/sup/lib/sup/buffer.rb:772:in `get_status_and_title'
   5726 /home/kirr/src/tools/mail/sup/lib/sup/buffer.rb:305:in `draw_screen'
   5727 /home/kirr/src/tools/mail/sup/lib/sup/buffer.rb:726:in `flash'
   5728 /home/kirr/src/tools/mail/sup/lib/sup/util.rb:520:in `send'
   5729 /home/kirr/src/tools/mail/sup/lib/sup/util.rb:520:in `method_missing'
   5730 /home/kirr/src/tools/mail/sup/lib/sup/colormap.rb:203:in `populate_colormap'
   5731 /home/kirr/src/tools/mail/sup/bin/sup:169
   5732 
   5733 
   5734 Just to give you some help (no ruby knowledge here at the moment, sorry):
   5735 
   5736 Does not crash:     95eaf6
   5737 Crashes at startup: 2dfd37
   5738 Bisected to:        723e22 (rewrite logging to have multiple levels:
   5739                             debug, info, etc)
   5740                             
   5741                             
   5742 Thanks beforehand,
   5743 Kirill
   5744 
   5745 From garoth@gmail.com  Sun Oct 18 11:05:57 2009
   5746 From: garoth@gmail.com (Andrei Thorp)
   5747 Date: Sun, 18 Oct 2009 11:05:57 -0400
   5748 Subject: [sup-talk] Arch Linux Sup Package (Ruby 1.9.1 + Sup 0.9)
   5749 Message-ID: <80055d7c0910180805v5da8a9a0o57851093ee17813e@mail.gmail.com>
   5750 
   5751 Hello. Remember me? ;)
   5752 
   5753 Anyway, I've rolled the 0.9 package for Arch Linux in the
   5754 AUR (community repos). It works, but:
   5755  - Ruby 1.9.1 has pretty screwed up dependencies for Sup. Ncurses and ferret in
   5756    particular were broken (at least in Arch.)
   5757  - The package is a big ol' pile of hacks.
   5758  - Ferret index is disabled (sorry for removing it early, but Ruby 1.9.1 is the
   5759    reality for us in Arch.)
   5760  - I've applyed Lloyd's patch for fixing the UTF-8 check.
   5761  - There seem to be a few small bugs.
   5762 
   5763 Anyway, I'd appreciate some suggestions. The package is viewable here:
   5764 http://aur.archlinux.org/packages.php?ID=26439
   5765 
   5766 Some of the sketchier things:
   5767  - I've set Xapian to the default by wrapping all of Sup's binaries with the
   5768    SUP_INDEX variable in a script.
   5769  - q no longer works properly. It prompts you with the regular yes/no option
   5770    as to whether you really want to quit. Neither y nor n seem to have any
   5771    effect; it is still possible to quit with Q.
   5772  - Will that patch get applied? It seems reasonable on a surface level.
   5773 
   5774 Anyway, as some of you can probably tell, I don't have Sup set up at the
   5775 moment. I'm working on it. Regardless, managing mail is a nightmare just now!
   5776 Once I do manage to get it set up, I'll continue testing. I'm not sure,
   5777 but I'm getting the impression that rather little testing has been done
   5778 with the new Ruby as it's not quite mainstream yet.
   5779 
   5780 -Andrei "Garoth" Thorp
   5781 
   5782 From wagnerdm@seas.upenn.edu  Sun Oct 18 21:22:12 2009
   5783 From: wagnerdm@seas.upenn.edu (wagnerdm at seas.upenn.edu)
   5784 Date: Sun, 18 Oct 2009 21:22:12 -0400
   5785 Subject: [sup-talk] Arch Linux Sup Package (Ruby 1.9.1 + Sup 0.9)
   5786 In-Reply-To: <80055d7c0910180805v5da8a9a0o57851093ee17813e@mail.gmail.com>
   5787 References: <80055d7c0910180805v5da8a9a0o57851093ee17813e@mail.gmail.com>
   5788 Message-ID: <20091018212212.18607cbsd1pxbds0@webmail.seas.upenn.edu>
   5789 
   5790 Quoting Andrei Thorp <garoth at gmail.com>:
   5791 
   5792 >  - Ferret index is disabled (sorry for removing it early, but Ruby  
   5793 > 1.9.1 is the reality for us in Arch.)
   5794 
   5795 As long as your comfortable with AUR, there are a ruby1.8 and  
   5796 rubygems1.8 packages available.
   5797 ~d
   5798 
   5799 From lists@onerussian.com  Mon Oct 19 13:01:19 2009
   5800 From: lists@onerussian.com (Yaroslav Halchenko)
   5801 Date: Mon, 19 Oct 2009 13:01:19 -0400
   5802 Subject: [sup-talk] as asked -- little bug report
   5803 Message-ID: <20091019170119.GM17964@onerussian.com>
   5804 
   5805 Sup,
   5806 
   5807 thanks for sup!
   5808 
   5809 I have been with (mutt+mairix)-in-screen guy for a while, now I am
   5810 considering sup -- it seems quite nice, although it took days to import
   5811 my inbox (26k messages) without yet touching any lists in the
   5812 other folders (where I am going to assign some tags on import whenever I
   5813 get more familiar with sup).
   5814 
   5815 One of the side-effects was: since I was not "processing" fetched emails
   5816 while they were fetched by sup, inbox listing was growing and growing
   5817 until UI became barely responsive and I guess good chunk of CPU time was
   5818 taken to handle just UI.  So, it might be desirable to have
   5819 automatic way to 'hide' older messages in the listing whenever more and
   5820 more new ones come in?
   5821 
   5822 FWIW some of the issues I hit:
   5823 
   5824 1. At first I was running released version shipped with Debian sid
   5825 (0.8.1-1), and while I was watching a thread and decided to
   5826 archive and jump to next I pressed sequence ",a" and then sup crashed
   5827 entirely with:
   5828 
   5829 --- NoMethodError from thread: main
   5830 undefined method `mark_dirty' for nil:NilClass
   5831 /usr/lib/ruby/1.8/sup/modes/line-cursor-mode.rb:55:in `set_cursor_pos'
   5832 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:148:in `launch_another_thread'
   5833 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:131:in `launch_next_thread_after'
   5834 /usr/lib/ruby/1.8/sup/modes/thread-view-mode.rb:473:in `dispatch'
   5835 /usr/lib/ruby/1.8/sup/modes/thread-view-mode.rb:431:in `archive_and_then'
   5836 /usr/lib/ruby/1.8/sup/modes/thread-view-mode.rb:418:in `archive_and_next'
   5837 /usr/lib/ruby/1.8/sup/mode.rb:50:in `send'
   5838 /usr/lib/ruby/1.8/sup/mode.rb:50:in `handle_input'
   5839 /usr/lib/ruby/1.8/sup/buffer.rb:249:in `handle_input'
   5840 /usr/bin/sup-mail:236
   5841 
   5842 2. further I was hit with another one (see below) for which I think I found a fix
   5843 1dbe8fe8b2a57803d697739b4a585e72b1f91885
   5844 which seems relevant
   5845 http://gitorious.org/sup/ehabkost-hacks/commit/1dbe8fe8b2a57803d697739b4a585e72b1f91885
   5846 but it never was absorbed in mainline
   5847 
   5848 
   5849 Here is actual traceback
   5850 
   5851 --- NoMethodError from thread: poll after loading inbox
   5852 undefined method `content_width' for nil:NilClass
   5853 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:866:in `from_width'
   5854 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:792:in `text_for_thread_at'
   5855 /usr/lib/ruby/1.8/sup/hook.rb:134:in `each_with_index'
   5856 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:791:in `each'
   5857 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:791:in `each_with_index'
   5858 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:791:in `text_for_thread_at'
   5859 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:752:in `regen_text'
   5860 /usr/lib/ruby/1.8/sup/util.rb:354:in `map_with_index'
   5861 /usr/lib/ruby/1.8/sup/hook.rb:134:in `each_with_index'
   5862 /usr/lib/ruby/1.8/sup/util.rb:354:in `each'
   5863 /usr/lib/ruby/1.8/sup/util.rb:354:in `each_with_index'
   5864 /usr/lib/ruby/1.8/sup/util.rb:354:in `map_with_index'
   5865 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:752:in `regen_text'
   5866 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:228:in `update'
   5867 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:696:in `add_or_unhide'
   5868 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:186:in `handle_added_update'
   5869 /usr/lib/ruby/1.8/sup/update.rb:27:in `send'
   5870 /usr/lib/ruby/1.8/sup/update.rb:27:in `relay'
   5871 /usr/lib/ruby/1.8/sup/update.rb:27:in `each'
   5872 /usr/lib/ruby/1.8/sup/update.rb:27:in `relay'
   5873 /usr/lib/ruby/1.8/sup/util.rb:513:in `send'
   5874 /usr/lib/ruby/1.8/sup/util.rb:513:in `method_missing'
   5875 /usr/lib/ruby/1.8/sup/poll.rb:162:in `add_messages_from'
   5876 /usr/lib/ruby/1.8/sup/maildir.rb:130:in `each'
   5877 /usr/lib/ruby/1.8/sup/maildir.rb:127:in `upto'
   5878 /usr/lib/ruby/1.8/sup/maildir.rb:127:in `each'
   5879 /usr/lib/ruby/1.8/sup/util.rb:552:in `send'
   5880 /usr/lib/ruby/1.8/sup/util.rb:552:in `__pass'
   5881 /usr/lib/ruby/1.8/sup/util.rb:539:in `method_missing'
   5882 /usr/lib/ruby/1.8/sup/poll.rb:141:in `add_messages_from'
   5883 /usr/lib/ruby/1.8/sup/poll.rb:98:in `do_poll'
   5884 /usr/lib/ruby/1.8/sup/poll.rb:86:in `each'
   5885 /usr/lib/ruby/1.8/sup/poll.rb:86:in `do_poll'
   5886 /usr/lib/ruby/1.8/sup/poll.rb:85:in `synchronize'
   5887 /usr/lib/ruby/1.8/sup/poll.rb:85:in `do_poll'
   5888 /usr/lib/ruby/1.8/sup/util.rb:513:in `send'
   5889 /usr/lib/ruby/1.8/sup/util.rb:513:in `method_missing'
   5890 /usr/lib/ruby/1.8/sup/modes/poll-mode.rb:17:in `poll'
   5891 /usr/lib/ruby/1.8/sup/poll.rb:53:in `poll'
   5892 /usr/lib/ruby/1.8/sup/util.rb:513:in `send'
   5893 /usr/lib/ruby/1.8/sup/util.rb:513:in `method_missing'
   5894 /usr/bin/sup-mail:204
   5895 
   5896 
   5897 3. btw -- I wonder why git repository has no actual tags but just "like
   5898 converted from svn" off-branches for each release?  is that a feature or
   5899 a bug (like forgotten --tags upon push ;))
   5900 
   5901 4. in general -- should I follow the crash message and complain here or just
   5902 report bugs within Debian using reportbug?
   5903 
   5904 5. Since for me released sup had too many corner stones to run reliably
   5905 I've decided to run from git.  Looking at the git history, it looked like
   5906 I should stick to the 'next' branch. Is that correct?
   5907 
   5908 6. In code from next branch (09e6a71e232d2d3352fe45b13789c3441e3ac937) which I
   5909 run with "ruby -I lib -w bin/sup" (sorry if there is a better way I didn't
   5910 find, this is my first ever experience with Ruby-based project), I hit
   5911 some new issues:
   5912 
   5913  * periodically some warnings are dumped to stderr which obscures current UI
   5914 
   5915   rendering... ie warnings like
   5916    /usr/lib/ruby/1.8/time.rb:180: warning: 2 digits year is used
   5917 
   5918   imho they should go to the same log, shouldn't they?
   5919  
   5920  * some "elderly" crash where I don't remember the context which caused
   5921    it
   5922 
   5923  unknown drawable object: nil in
   5924  #<Redwood::LabelListMode:0x7f9272cadfa8> for line 3
   5925  ./lib/sup/modes/scroll-mode.rb:200:in `draw_line'
   5926  ./lib/sup/modes/line-cursor-mode.rb:52:in `draw_line'
   5927  ./lib/sup/modes/line-cursor-mode.rb:120:in `cursor_up'
   5928  ./lib/sup/mode.rb:51:in `send'
   5929  ./lib/sup/mode.rb:51:in `handle_input'
   5930  ./lib/sup/buffer.rb:267:in `handle_input'
   5931  bin/sup:245
   5932 
   5933 
   5934  * Now that I've fetched big bulk of emails into inbox... I wonder if
   5935    there is a logical way to archive all threads BUT not starred ones?
   5936 
   5937 thanks in advance for any reply ;)
   5938 -- 
   5939 Yaroslav O. Halchenko
   5940 Postdoctoral Fellow,   Department of Psychological and Brain Sciences
   5941 Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
   5942 Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
   5943 WWW:   http://www.linkedin.com/in/yarik        
   5944 
   5945 From yoh@dartmouth.edu  Mon Oct 19 13:07:44 2009
   5946 From: yoh@dartmouth.edu (Yaroslav Halchenko)
   5947 Date: Mon, 19 Oct 2009 13:07:44 -0400
   5948 Subject: [sup-talk] little wishlist: don't confuse 'mark as spam' and
   5949  'search for mails from sender' on the same shortcut
   5950 Message-ID: <20091019170744.GE13747@onerussian.com>
   5951 
   5952 After I've done it about 10 times I figured it out what is going wrong
   5953 with my motor-reflexes-getting-used-to-sup-shortcuts:
   5954 
   5955 in the index-mode:
   5956 S : Mark/unmark thread as spam
   5957 
   5958 in the thread-view-mode:
   5959 S : Search for messages from particular people
   5960 .s : Mark this thread as spam and kill buffer
   5961 
   5962 So, I've got used to use S to check for other emails from this sender so
   5963 I could tag/archive them appropriately while going through inbox, but it
   5964 is working only in thread mode... nevertheless I keep hitting S in index
   5965 box since I see no big reason why it shouldn't work in index mode ;)
   5966 
   5967 would it be possible to unify somehow?
   5968 
   5969 
   5970 -- 
   5971 Yaroslav O. Halchenko
   5972 Postdoctoral Fellow,   Department of Psychological and Brain Sciences
   5973 Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
   5974 Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
   5975 WWW:   http://www.linkedin.com/in/yarik        
   5976 
   5977 From lists@onerussian.com  Mon Oct 19 13:39:01 2009
   5978 From: lists@onerussian.com (Yaroslav Halchenko)
   5979 Date: Mon, 19 Oct 2009 13:39:01 -0400
   5980 Subject: [sup-talk] little wishlist: don't confuse 'mark as spam' and
   5981  'search for mails from sender' on the same shortcut
   5982 Message-ID: <20091019173901.GF13747@onerussian.com>
   5983 
   5984 After I've done it about 10 times I figured it out what is going wrong
   5985 with my motor-reflexes-getting-used-to-sup-shortcuts:
   5986 
   5987 in the index-mode:
   5988 S : Mark/unmark thread as spam
   5989 
   5990 in the thread-view-mode:
   5991 S : Search for messages from particular people
   5992 .s : Mark this thread as spam and kill buffer
   5993 
   5994 So, I've got used to use S to check for other emails from this sender so
   5995 I could tag/archive them appropriately while going through inbox, but it
   5996 is working only in thread mode... nevertheless I keep hitting S in index
   5997 box since I see no big reason why it shouldn't work in index mode ;)
   5998 
   5999 would it be possible to unify somehow?
   6000 
   6001 
   6002 -- 
   6003 Yaroslav O. Halchenko
   6004 Postdoctoral Fellow,   Department of Psychological and Brain Sciences
   6005 Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
   6006 Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
   6007 WWW:   http://www.linkedin.com/in/yarik        
   6008 
   6009 From helgedt@tihlde.org  Mon Oct 19 10:07:26 2009
   6010 From: helgedt@tihlde.org (Helge Titlestad)
   6011 Date: Mon, 19 Oct 2009 16:07:26 +0200
   6012 Subject: [sup-talk] [PATCH] detect and set charset on text/* attachments
   6013 Message-ID: <1255961127-sup-3168@tihlde.org>
   6014 
   6015 I got some feedback from non-suppers that my utf-8 text attachments were
   6016 messed up. When I checked they (the MIME headers) lacked any info on charset,
   6017 which I believe should be set for text/*.
   6018 
   6019 Here's a patch that uses the chardet gem to (try to) detect the appropriate charset
   6020 and sets it in the Content-Type header.
   6021 
   6022 Can't guarantee its robustness - have only tried on a couple of text files and
   6023 one non-text file.
   6024 
   6025 Please tell me if I should use some different way of sending patches... This git
   6026 flow is a bit new to me. (=
   6027 -- 
   6028 alge
   6029 -------------- next part --------------
   6030 A non-text attachment was scrubbed...
   6031 Name: 0001-Detect-charset-for-text-file-attachments.patch
   6032 Type: application/octet-stream
   6033 Size: 1927 bytes
   6034 Desc: not available
   6035 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091019/474102fe/attachment.obj>
   6036 
   6037 From daveadams@gmail.com  Mon Oct 19 14:46:41 2009
   6038 From: daveadams@gmail.com (David Adams)
   6039 Date: Mon, 19 Oct 2009 14:46:41 -0400
   6040 Subject: [sup-talk] Best practice for customizing keymaps?
   6041 Message-ID: <87af9a490910191146o6b34b81ev4723521d17924ae4@mail.gmail.com>
   6042 
   6043 Hello everyone,
   6044 I'd like to make some customizations to the default keymaps for a few
   6045 modes, and I was wondering what was the safest way to do so. On the
   6046 Hooks wiki page, the entry for startup.rb shows how to add keystrokes,
   6047 but based on trying that example out, it appears to work only for
   6048 adding new keystrokes, not overriding existing ones.
   6049 
   6050 So after poking around at the code a bit, dropping this code into
   6051 startup.rb seems to work to entirely replace a keymap with my
   6052 preferences:
   6053 
   6054 class Redwood::Mode
   6055   @@keymaps[Redwood::ThreadViewMode] = Redwood::Keymap.new do |k|
   6056     # key mappings omitted
   6057   end
   6058 end
   6059 
   6060 So my questions are: Is this unsafe in any way (other than that new
   6061 versions of sup may invalidate the specifics of keymap
   6062 implementation)? And is there a better way?
   6063 
   6064 Thanks!
   6065 
   6066 -dave
   6067 
   6068 From cworth@cworth.org  Tue Oct 20 00:24:21 2009
   6069 From: cworth@cworth.org (Carl Worth)
   6070 Date: Mon, 19 Oct 2009 21:24:21 -0700
   6071 Subject: [sup-talk] Indexing messages without ruby
   6072 In-Reply-To: <1255623468-sup-2284@yoom.home.cworth.org>
   6073 References: <1255623468-sup-2284@yoom.home.cworth.org>
   6074 Message-ID: <1256009934-sup-9323@yoom.home.cworth.org>
   6075 
   6076 Excerpts from Carl Worth's message of Thu Oct 15 10:23:40 -0700 2009:
   6077 > As for performance, things look pretty good, but perhaps not as good
   6078 > as I had hoped.
   6079 
   6080 I know William already said he's not all that concerned with the
   6081 performance of sup-sync since it's not a common operation, but me, I
   6082 can't stop working on the problem.
   6083 
   6084 And I think that's justified, really. For one thing, the giant
   6085 sup-sync is one of the first things a new user has to do. And I think
   6086 that having to wait for an operation that's measured in hours before
   6087 being able to use the program at all can be very off-putting.
   6088 
   6089 I think we could do better to give a good first impression.
   6090 
   6091 > So this is preliminary, but it looks like notmuch gives a 5-10x
   6092 > performance improvement over sup, (but likely closer to the 5x end of
   6093 > that range unless you've got a very small index---at which point who
   6094 > cares how fast/slow things are?).
   6095 
   6096 Those numbers were off. I now believe that my original code gained
   6097 only a 3x improvement by switching from ruby/rmail to C/GMime for mail
   6098 parsing. But I've done a little more coding since. Here are the
   6099 current results:
   6100 
   6101   For a benchmark of ~ 45000 messages, rate in messages/sec.:
   6102 
   6103   Rate    Commit ID       Significant change
   6104   -----   ---------       ------------------
   6105   41                      sup (with xapian, from next)
   6106   120     5fbdbeb33       Switch from ruby to C (with GMime)
   6107   538     9bc4253fa       Index headers only, not body
   6108   1050    371091139       Use custom header parser, not GMime
   6109 
   6110   (Before each run the Linux disk cache was cleared with:
   6111           sync; echo 3 > /proc/sys/vm/drop_caches
   6112   )
   6113 
   6114 So beyond the original 3x improvement, I gained a further 4x
   6115 improvement by simply doing less work. I'm now starting off by only
   6116 indexing message-id and thread-id data. That's obviously "cheating" in
   6117 terms of comparing performance, but I think it really makes sense to
   6118 do this.
   6119 
   6120 The idea is that by just computing the thread-ids and indexing those
   6121 for a collection of email, that initial sup-sync could be performed
   6122 very quickly. Then, later, (as a background thread while sup is
   6123 running), the full-text indexing could be performed.
   6124 
   6125 Finally, I gained a final 2x improvement by not using GMime at all,
   6126 (which constructs a data structure for the entire message, even if I
   6127 only want a few header), and instead just rolling a simple parser for
   6128 email headers. (Did you know you can hide nested parenthesized
   6129 comments all over the place in email headers? I didn't.)
   6130 
   6131 I'm quite happy with the final result that's 25x faster than sup.  I
   6132 can build a cold-cache index from my half-million message archive in
   6133 less than 10 minutes, (rather than 4 hours). And performance is fairly
   6134 IO-bound at this point, (in the 10-minute run, less than 7 minutes of
   6135 CPU are used).
   6136 
   6137 Anyway, there are some ideas to consider for sup.
   6138 
   6139 If anyone wants to play with my code, it's here:
   6140 
   6141 	git clone git://notmuch.org/notmuch
   6142 
   6143 I won't bore the list with further developments in notmuch, if any,
   6144 unless it's on-topic, (such as someone trying to make sup work on top
   6145 of an index built by notmuch). And I'd be delighted to see that kind
   6146 of thing happen.
   6147 
   6148 Happy hacking,
   6149 
   6150 -Carl
   6151 -------------- next part --------------
   6152 A non-text attachment was scrubbed...
   6153 Name: signature.asc
   6154 Type: application/pgp-signature
   6155 Size: 190 bytes
   6156 Desc: not available
   6157 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091019/3839b0cc/attachment.bin>
   6158 
   6159 From rlane@club.cc.cmu.edu  Tue Oct 20 01:34:37 2009
   6160 From: rlane@club.cc.cmu.edu (Rich Lane)
   6161 Date: Mon, 19 Oct 2009 22:34:37 -0700
   6162 Subject: [sup-talk] [PATCH] xapian: replace DocumentMethods module with
   6163 	plain monkeypatching
   6164 In-Reply-To: <20091012223449.GB31940@tilus.net>
   6165 References: <20091012223449.GB31940@tilus.net>
   6166 Message-ID: <1256016877-5238-1-git-send-email-rlane@club.cc.cmu.edu>
   6167 
   6168 ---
   6169  lib/sup/xapian_index.rb |   25 +++++++++++++++++++++++++
   6170  1 files changed, 25 insertions(+), 0 deletions(-)
   6171 
   6172 diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb
   6173 index e1cfe65..c373c17 100644
   6174 --- a/lib/sup/xapian_index.rb
   6175 +++ b/lib/sup/xapian_index.rb
   6176 @@ -560,7 +560,32 @@ EOS
   6177        raise "Invalid term type #{type}"
   6178      end
   6179    end
   6180 +end
   6181  
   6182  end
   6183  
   6184 +class Xapian::Document
   6185 +  def entry
   6186 +    Marshal.load data
   6187 +  end
   6188 +
   6189 +  def entry=(x)
   6190 +    self.data = Marshal.dump x
   6191 +  end
   6192 +
   6193 +  def index_text text, prefix, weight=1
   6194 +    term_generator = Xapian::TermGenerator.new
   6195 +    term_generator.stemmer = Xapian::Stem.new(Redwood::XapianIndex::STEM_LANGUAGE)
   6196 +    term_generator.document = self
   6197 +    term_generator.index_text text, weight, prefix
   6198 +  end
   6199 +
   6200 +  alias old_add_term add_term
   6201 +  def add_term term
   6202 +    if term.length <= Redwood::XapianIndex::MAX_TERM_LENGTH
   6203 +      old_add_term term
   6204 +    else
   6205 +      warn "dropping excessively long term #{term}"
   6206 +    end
   6207 +  end
   6208  end
   6209 -- 
   6210 1.6.4.2
   6211 
   6212 
   6213 From rlane@club.cc.cmu.edu  Tue Oct 20 02:13:58 2009
   6214 From: rlane@club.cc.cmu.edu (Rich Lane)
   6215 Date: Tue, 20 Oct 2009 02:13:58 -0400
   6216 Subject: [sup-talk] [PATCH] xapian: replace DocumentMethods module with
   6217 	plain monkeypatching
   6218 In-Reply-To: <1256016877-5238-1-git-send-email-rlane@club.cc.cmu.edu>
   6219 References: <20091012223449.GB31940@tilus.net>
   6220 	<1256016877-5238-1-git-send-email-rlane@club.cc.cmu.edu>
   6221 Message-ID: <1256019034-sup-9298@zyrg.net>
   6222 
   6223 Disregard this one. (I thought master had already gotten my
   6224 update-message-state patch)
   6225 
   6226 Excerpts from Rich Lane's message of Tue Oct 20 01:34:37 -0400 2009:
   6227 > ---
   6228 >  lib/sup/xapian_index.rb |   25 +++++++++++++++++++++++++
   6229 >  1 files changed, 25 insertions(+), 0 deletions(-)
   6230 > 
   6231 > diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb
   6232 > index e1cfe65..c373c17 100644
   6233 > --- a/lib/sup/xapian_index.rb
   6234 > +++ b/lib/sup/xapian_index.rb
   6235 > @@ -560,7 +560,32 @@ EOS
   6236 >        raise "Invalid term type #{type}"
   6237 >      end
   6238 >    end
   6239 > +end
   6240 >  
   6241 >  end
   6242 >  
   6243 > +class Xapian::Document
   6244 > +  def entry
   6245 > +    Marshal.load data
   6246 > +  end
   6247 > +
   6248 > +  def entry=(x)
   6249 > +    self.data = Marshal.dump x
   6250 > +  end
   6251 > +
   6252 > +  def index_text text, prefix, weight=1
   6253 > +    term_generator = Xapian::TermGenerator.new
   6254 > +    term_generator.stemmer =
   6255 > Xapian::Stem.new(Redwood::XapianIndex::STEM_LANGUAGE)
   6256 > +    term_generator.document = self
   6257 > +    term_generator.index_text text, weight, prefix
   6258 > +  end
   6259 > +
   6260 > +  alias old_add_term add_term
   6261 > +  def add_term term
   6262 > +    if term.length <= Redwood::XapianIndex::MAX_TERM_LENGTH
   6263 > +      old_add_term term
   6264 > +    else
   6265 > +      warn "dropping excessively long term #{term}"
   6266 > +    end
   6267 > +  end
   6268 >  end
   6269 
   6270 From rlane@club.cc.cmu.edu  Tue Oct 20 02:14:07 2009
   6271 From: rlane@club.cc.cmu.edu (Rich Lane)
   6272 Date: Mon, 19 Oct 2009 23:14:07 -0700
   6273 Subject: [sup-talk] [PATCH] xapian: replace DocumentMethods module with
   6274 	plain monkeypatching
   6275 In-Reply-To: <20091012223449.GB31940@tilus.net>
   6276 References: <20091012223449.GB31940@tilus.net>
   6277 Message-ID: <1256019247-6046-1-git-send-email-rlane@club.cc.cmu.edu>
   6278 
   6279 ---
   6280  lib/sup/xapian_index.rb |   47 ++++++++++++++++++++++-------------------------
   6281  1 files changed, 22 insertions(+), 25 deletions(-)
   6282 
   6283 diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb
   6284 index ad45b0e..34d67d5 100644
   6285 --- a/lib/sup/xapian_index.rb
   6286 +++ b/lib/sup/xapian_index.rb
   6287 @@ -565,35 +565,32 @@ EOS
   6288        raise "Invalid term type #{type}"
   6289      end
   6290    end
   6291 +end
   6292  
   6293 -  module DocumentMethods
   6294 -    def entry
   6295 -      Marshal.load data
   6296 -    end
   6297 -
   6298 -    def entry=(x)
   6299 -      self.data = Marshal.dump x
   6300 -    end
   6301 +end
   6302  
   6303 -    def index_text text, prefix, weight=1
   6304 -      term_generator = Xapian::TermGenerator.new
   6305 -      term_generator.stemmer = Xapian::Stem.new(STEM_LANGUAGE)
   6306 -      term_generator.document = self
   6307 -      term_generator.index_text text, weight, prefix
   6308 -    end
   6309 +class Xapian::Document
   6310 +  def entry
   6311 +    Marshal.load data
   6312 +  end
   6313  
   6314 -    def add_term term
   6315 -      if term.length <= MAX_TERM_LENGTH
   6316 -        super term
   6317 -      else
   6318 -        warn "dropping excessively long term #{term}"
   6319 -      end
   6320 -    end
   6321 +  def entry=(x)
   6322 +    self.data = Marshal.dump x
   6323    end
   6324 -end
   6325  
   6326 -end
   6327 +  def index_text text, prefix, weight=1
   6328 +    term_generator = Xapian::TermGenerator.new
   6329 +    term_generator.stemmer = Xapian::Stem.new(Redwood::XapianIndex::STEM_LANGUAGE)
   6330 +    term_generator.document = self
   6331 +    term_generator.index_text text, weight, prefix
   6332 +  end
   6333  
   6334 -class Xapian::Document
   6335 -  include Redwood::XapianIndex::DocumentMethods
   6336 +  alias old_add_term add_term
   6337 +  def add_term term
   6338 +    if term.length <= Redwood::XapianIndex::MAX_TERM_LENGTH
   6339 +      old_add_term term
   6340 +    else
   6341 +      warn "dropping excessively long term #{term}"
   6342 +    end
   6343 +  end
   6344  end
   6345 -- 
   6346 1.6.4.2
   6347 
   6348 
   6349 From mailinglist@flasht.de  Tue Oct 20 08:33:35 2009
   6350 From: mailinglist@flasht.de (Christopher Bertels)
   6351 Date: Tue, 20 Oct 2009 14:33:35 +0200
   6352 Subject: [sup-talk] i18n?
   6353 In-Reply-To: <1254866136-sup-6974@thinkpad-ubuntu>
   6354 References: <1254353101-sup-1021@thinkpad-ubuntu>
   6355 	<1254415145-sup-635@masanjin.net>
   6356 	<1254420802-sup-3742@thinkpad-ubuntu>
   6357 	<1254421405-sup-8083@masanjin.net>
   6358 	<1254442420-sup-3771@thinkpad-ubuntu>
   6359 	<1254487575-sup-5468@thinkpad-ubuntu>
   6360 	<1254758256-sup-7400@thinkpad-ubuntu>
   6361 	<1254842820-sup-9099@masanjin.net>
   6362 	<1254861112-sup-590@thinkpad-ubuntu>
   6363 	<1254866136-sup-6974@thinkpad-ubuntu>
   6364 Message-ID: <1256041985-sup-5427@thinkpad-ubuntu>
   6365 
   6366 Just wondering, if anyone is still interested in this, since no one has replied yet.
   6367 -- 
   6368 ================================
   6369 Christopher Bertels
   6370 http://www.adztec-independent.de
   6371 GPG Key ID: 0x2345b203
   6372 -------------- next part --------------
   6373 A non-text attachment was scrubbed...
   6374 Name: signature.asc
   6375 Type: application/pgp-signature
   6376 Size: 835 bytes
   6377 Desc: not available
   6378 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091020/714293fd/attachment.bin>
   6379 
   6380 From cworth@cworth.org  Tue Oct 20 11:35:57 2009
   6381 From: cworth@cworth.org (Carl Worth)
   6382 Date: Tue, 20 Oct 2009 08:35:57 -0700
   6383 Subject: [sup-talk] Indexing messages without ruby
   6384 In-Reply-To: <1256009934-sup-9323@yoom.home.cworth.org>
   6385 References: <1255623468-sup-2284@yoom.home.cworth.org>
   6386 	<1256009934-sup-9323@yoom.home.cworth.org>
   6387 Message-ID: <1256052859-sup-6008@yoom.home.cworth.org>
   6388 
   6389 Excerpts from Carl Worth's message of Mon Oct 19 21:24:21 -0700 2009:
   6390 >     git clone git://notmuch.org/notmuch
   6391 
   6392 That should be:
   6393 
   6394 	git clone git://notmuchmail.org/git/notmuch
   6395 
   6396 Clearly typing without my braing engaged.
   6397 
   6398 -Carl
   6399 -------------- next part --------------
   6400 A non-text attachment was scrubbed...
   6401 Name: signature.asc
   6402 Type: application/pgp-signature
   6403 Size: 190 bytes
   6404 Desc: not available
   6405 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091020/99876743/attachment.bin>
   6406 
   6407 From usul@aruba.it  Wed Oct 21 08:29:59 2009
   6408 From: usul@aruba.it (Fabio Riga)
   6409 Date: Wed, 21 Oct 2009 14:29:59 +0200
   6410 Subject: [sup-talk] i18n?
   6411 In-Reply-To: <1256041985-sup-5427@thinkpad-ubuntu>
   6412 References: <1254353101-sup-1021@thinkpad-ubuntu>
   6413 	<1254415145-sup-635@masanjin.net>
   6414 	<1254420802-sup-3742@thinkpad-ubuntu>
   6415 	<1254421405-sup-8083@masanjin.net>
   6416 	<1254442420-sup-3771@thinkpad-ubuntu>
   6417 	<1254487575-sup-5468@thinkpad-ubuntu>
   6418 	<1254758256-sup-7400@thinkpad-ubuntu>
   6419 	<1254842820-sup-9099@masanjin.net>
   6420 	<1254861112-sup-590@thinkpad-ubuntu>
   6421 	<1254866136-sup-6974@thinkpad-ubuntu>
   6422 	<1256041985-sup-5427@thinkpad-ubuntu>
   6423 Message-ID: <1256127705-sup-5539@doma>
   6424 
   6425 Excerpts from Christopher Bertels's message of mar ott 20 14:33:35 +0200 2009:
   6426 > Just wondering, if anyone is still interested in this, since no one has replied
   6427 > yet.
   6428 Well, I'm really interested, but I'm just a user. I could only make
   6429 Italian translation, but how? Is it a normal gettext .po file? What I
   6430 have to do?
   6431 
   6432 Cheers,
   6433 Fabio
   6434 
   6435 From guillaume.quintard@gmail.com  Wed Oct 21 12:41:00 2009
   6436 From: guillaume.quintard@gmail.com (Guillaume Quintard)
   6437 Date: Wed, 21 Oct 2009 18:41:00 +0200
   6438 Subject: [sup-talk] i18n?
   6439 In-Reply-To: <1256127705-sup-5539@doma>
   6440 References: <1254353101-sup-1021@thinkpad-ubuntu>
   6441 	<1254415145-sup-635@masanjin.net>
   6442 	<1254420802-sup-3742@thinkpad-ubuntu>
   6443 	<1254421405-sup-8083@masanjin.net>
   6444 	<1254442420-sup-3771@thinkpad-ubuntu>
   6445 	<1254487575-sup-5468@thinkpad-ubuntu>
   6446 	<1254758256-sup-7400@thinkpad-ubuntu>
   6447 	<1254842820-sup-9099@masanjin.net>
   6448 	<1254861112-sup-590@thinkpad-ubuntu>
   6449 	<1254866136-sup-6974@thinkpad-ubuntu>
   6450 	<1256041985-sup-5427@thinkpad-ubuntu> <1256127705-sup-5539@doma>
   6451 Message-ID: <1256143200-sup-8858@altis>
   6452 
   6453 > Excerpts from Christopher Bertels's message of mar ott 20 14:33:35 +0200 2009:
   6454 > Well, I'm really interested, but I'm just a user. I could only make
   6455 > Italian translation, but how? Is it a normal gettext .po file? What I
   6456 > have to do?
   6457 
   6458 Same here, with french translation.
   6459 Sorry for the late reply.
   6460 
   6461 -- 
   6462 Guillaume
   6463 
   6464 From mailinglist@flasht.de  Wed Oct 21 14:37:34 2009
   6465 From: mailinglist@flasht.de (Christopher Bertels)
   6466 Date: Wed, 21 Oct 2009 20:37:34 +0200
   6467 Subject: [sup-talk] i18n?
   6468 In-Reply-To: <1256127705-sup-5539@doma>
   6469 References: <1254353101-sup-1021@thinkpad-ubuntu>
   6470 	<1254415145-sup-635@masanjin.net>
   6471 	<1254420802-sup-3742@thinkpad-ubuntu>
   6472 	<1254421405-sup-8083@masanjin.net>
   6473 	<1254442420-sup-3771@thinkpad-ubuntu>
   6474 	<1254487575-sup-5468@thinkpad-ubuntu>
   6475 	<1254758256-sup-7400@thinkpad-ubuntu>
   6476 	<1254842820-sup-9099@masanjin.net>
   6477 	<1254861112-sup-590@thinkpad-ubuntu>
   6478 	<1254866136-sup-6974@thinkpad-ubuntu>
   6479 	<1256041985-sup-5427@thinkpad-ubuntu> <1256127705-sup-5539@doma>
   6480 Message-ID: <1256149858-sup-8291@thinkpad-ubuntu>
   6481 
   6482 Excerpts from Fabio Riga's message of Mi Okt 21 14:29:59 +0200 2009:
   6483 > Well, I'm really interested, but I'm just a user. I could only make
   6484 > Italian translation, but how? Is it a normal gettext .po file? What I
   6485 > have to do?
   6486 
   6487 Get my sup clone git repository at gitorious: 
   6488 
   6489 $ git clone git://gitorious.org/~bakkdoor/sup/bakkdoors-clone.git
   6490 
   6491 Then, checkout the i18n branch.
   6492 
   6493 $ cd bakkdoors-clone
   6494 $ git checkout i18n
   6495 
   6496 Then have a look at the m17n folder. You should find a de.yaml and
   6497 en.yaml file.  They are for german and english translations. You can
   6498 create your own translation files in there. For example, fr.yaml for
   6499 french or it.yaml for italian.  Have a look at en.yaml to see, what
   6500 the original texts are (in english) and come up with your own
   6501 translation. That's basically it. Then, if you have sup set up to run
   6502 from that branch, you can set within your sup config file
   6503 (~/.sup/config.yaml) to use any language, e.g.:
   6504 
   6505 :language: de
   6506 
   6507 for german. Sup will then look into the m17n folder for a file called "de.yaml"
   6508 
   6509 I hope that helped.
   6510 
   6511 Cheers,
   6512 Christopher.
   6513 -- 
   6514 ================================
   6515 Christopher Bertels
   6516 http://www.adztec-independent.de
   6517 GPG Key ID: 0x2345b203
   6518 -------------- next part --------------
   6519 A non-text attachment was scrubbed...
   6520 Name: signature.asc
   6521 Type: application/pgp-signature
   6522 Size: 835 bytes
   6523 Desc: not available
   6524 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091021/8c8dbb43/attachment-0001.bin>
   6525 
   6526 From richard@infoarts.info  Wed Oct 21 22:36:53 2009
   6527 From: richard@infoarts.info (Richard Sandilands)
   6528 Date: Thu, 22 Oct 2009 13:36:53 +1100
   6529 Subject: [sup-talk] Sup crashing upon save changes ($)
   6530 Message-ID: <1256178926-sup-1780@Richard-Sandilandss-MacBook-Pro.local>
   6531 
   6532 I'm tracking next and when I hit $, sup crashes and logs this:
   6533 
   6534 Any clues on how to get things ironed out would be appreciated.
   6535 
   6536 Exception log:
   6537 
   6538 --- Errno::ENOENT from thread: load messages for thread-view-mode
   6539 No such file or directory - /Users/richard/.sup/drafts/18
   6540 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/draft.rb:74:in `initialize'
   6541 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/draft.rb:74:in `open'
   6542 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/draft.rb:74:in `load_header'
   6543 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:560:in `send'
   6544 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:560:in `__pass'
   6545 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
   6546 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/message.rb:235:in `load_from_source!'
   6547 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:108:in `select'
   6548 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/hook.rb:121:in `each_with_index'
   6549 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:81:in `each'
   6550 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:170:in `each_with_stuff'
   6551 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:168:in `each_with_stuff'
   6552 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:170:in `each_with_stuff'
   6553 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:169:in `each'
   6554 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:169:in `each_with_stuff'
   6555 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:78:in `each'
   6556 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/thread.rb:75:in `each'
   6557 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:105:in `each_with_index'
   6558 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:105:in `select'
   6559 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/buffer.rb:709:in `say'
   6560 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:520:in `send'
   6561 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/util.rb:520:in `method_missing'
   6562 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:104:in `select'
   6563 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:77:in `reporting_thread'
   6564 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:75:in `initialize'
   6565 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:75:in `new'
   6566 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup.rb:75:in `reporting_thread'
   6567 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/modes/thread-index-mode.rb:101:in `select'
   6568 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/mode.rb:51:in `send'
   6569 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/mode.rb:51:in `handle_input'
   6570 /Library/Ruby/Gems/1.8/gems/sup-999/lib/sup/buffer.rb:260:in `handle_input'
   6571 /Users/richard/src/mainline/bin/sup:245
   6572 
   6573 
   6574 -- 
   6575 Richard Sandilands
   6576 
   6577 From mailinglist@flasht.de  Thu Oct 22 04:26:42 2009
   6578 From: mailinglist@flasht.de (Christopher Bertels)
   6579 Date: Thu, 22 Oct 2009 10:26:42 +0200
   6580 Subject: [sup-talk] Completion for search queries
   6581 Message-ID: <1256199860-sup-4407@thinkpad-ubuntu>
   6582 
   6583 Hi,
   6584 
   6585 I just came up with an idea (don't know if this has been requested
   6586 yet). What I'd really like to see is some kind of query-completion
   6587 when searching in sup. Often, when I want to search for messages, I
   6588 don't know all the supported query operators (like from:, +label:
   6589 etc.)
   6590 
   6591 It would be super cool if you'd get some kind of completion (or even a
   6592 list of possible completions?) when hitting tab.
   6593 
   6594 Anyone else who would like to have this feature in sup?
   6595 
   6596 Cheers,
   6597 Christopher.
   6598 -- 
   6599 ================================
   6600 Christopher Bertels
   6601 http://www.adztec-independent.de
   6602 GPG Key ID: 0x2345b203
   6603 -------------- next part --------------
   6604 A non-text attachment was scrubbed...
   6605 Name: signature.asc
   6606 Type: application/pgp-signature
   6607 Size: 902 bytes
   6608 Desc: not available
   6609 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091022/91c55c7a/attachment.bin>
   6610 
   6611 From gregor@hoffleit.de  Thu Oct 22 09:10:10 2009
   6612 From: gregor@hoffleit.de (Gregor Hoffleit)
   6613 Date: Thu, 22 Oct 2009 15:10:10 +0200
   6614 Subject: [sup-talk] (Orphaned?) bug tracker at rubyforge.org?
   6615 Message-ID: <1256216959-sup-8012@sam.mediasupervision.de>
   6616 
   6617 The Sup Gitorious homepage (http://gitorious.org/sup) mentions a Ditz
   6618 bugtracker at sup.rubyforge.org, which seems to be orphaned since 2008,
   6619 though. This is in contrast to the Sup homepage, which says to report
   6620 bugs to this mailing list, sup-talk.
   6621 
   6622 If the bug tracker is not to be acticely used any longer, shouldn't it
   6623 be removed from the Sup Gitorious page?
   6624 
   6625 
   6626 Regards,
   6627     Gregor Hoffleit
   6628 
   6629 From tero@tilus.net  Fri Oct 23 02:00:12 2009
   6630 From: tero@tilus.net (Tero Tilus)
   6631 Date: Fri, 23 Oct 2009 09:00:12 +0300
   6632 Subject: [sup-talk] Localized date on mbox From line in sent messages
   6633 Message-ID: <1256276875-sup-5782@tilus.net>
   6634 
   6635 This might be known.  I accidentally used 0.8.1 instead of git next
   6636 once and it screwed up my sent box.  After forwarding a mail sup
   6637 started to blow up (what felt like) after initiall poll.
   6638 
   6639 NoMethodError from thread: poll after loading inbox
   6640 undefined method `[]' for nil:NilClass
   6641 /home/terotil/src/sup/lib/sup/xapian_index.rb:567:in `mkterm'
   6642 /home/terotil/src/sup/lib/sup/xapian_index.rb:338:in `find_docid'
   6643 /home/terotil/src/sup/lib/sup/xapian_index.rb:344:in `find_doc'
   6644 /home/terotil/src/sup/lib/sup/xapian_index.rb:354:in `get_entry'
   6645 /home/terotil/src/sup/lib/sup/xapian_index.rb:73:in `build_message'
   6646 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   6647 /home/terotil/src/sup/lib/sup/xapian_index.rb:363:in `synchronize'
   6648 /home/terotil/src/sup/lib/sup/xapian_index.rb:73:in `build_message'
   6649 /home/terotil/src/sup/lib/sup/util.rb:520:in `send'
   6650 /home/terotil/src/sup/lib/sup/util.rb:520:in `method_missing'
   6651 /home/terotil/src/sup/lib/sup/poll.rb:109:in `do_poll'
   6652 /home/terotil/src/sup/lib/sup/poll.rb:166:in `each_message_from'
   6653 /home/terotil/src/sup/lib/sup/source.rb:104:in `each'
   6654 
   6655 I went to throw in debugger and see what was inside.
   6656 
   6657 /home/terotil/src/sup/lib/sup/poll.rb:109
   6658 old_m = Index.build_message m.id
   6659 (rdb:1) eval m
   6660 #<Redwood::Message:0xb649d5e8 @attachments=[], @have_snippet=false, @source_info=4598, @chunks=[#<Redwood::Chunk::Text:0xb648d328 @lines=["...", "", "***********************************************************************", " An error occurred while loading this message. It is possible that", " the source has changed, or (in the case of remote sources) is down.", " You can check the log for errors, though hopefully an error window", " should have popped up at some point.", "", " The message location was:", " sup://sent#4598", "***********************************************************************", "", "The error message was:", "  mismatch in mbox file offset 4598: \"From tero at tilus.net pe", "loka\\302\\240\\302\\240 16 19:06:58 +0300 2009\\n\"."]>], @dirty=true, @snippet_contains_encrypted_content=false, @source=#<Recoverable:0xb78023cc @error=#<Redwood::OutOfSyncSourceError: mismatch in mbox file offset 4598: "From tero at tilus.net pe loka\302\240\302\240 16 19:06:58 +0300 2
   6661  009\n".>, @mutex=#<Mutex:0xb7802390>, @o=#<Redwood::SentLoader:0xb7809b2c @cur_offset=12856, @dirty=true, @uri="mbox:///home/terotil/.sup/sent.mbox", @archived=true, @path="/home/terotil/.sup/sent.mbox", @filename="/home/terotil/.sup/sent.mbox", @f=#<File:/home/terotil/.sup/sent.mbox>, @mutex=#<Mutex:0xb7809adc>, @labels=#<Set: {}>, @id=nil, @usual=true>>, @encrypted=false, @refs=[], @labels=#<Set: {:sent, :inbox, :unread}>, @snippet=nil>
   6662 
   6663 Okay, it could not load a message from sent box because it thought the
   6664 message wasnt there anymore.  The missmatch was because of the
   6665 starting From line had broken date.  It was a localized version of
   6666 what should have been there, with an added bonus of multibyte chars
   6667 (two nonbreaking spaces after month name, no idea how thats even
   6668 possible).
   6669 
   6670 Fixed it by fixing the mbox.  Dunno how the broken header came to be.
   6671 The file has most certainly been accessed by sup alone.
   6672 
   6673 Full broken headers follow
   6674 
   6675 >From tero at tilus.net pe loka?? 16 19:06:58 +0300 2009
   6676 Subject: Fwd: Neuroscience, Cogmed, and learning disabilities
   6677 From: Tero Tilus <tero at tilus.net>
   6678 To: joonas.kekkonen <joonas.kekkonen at iki.fi>
   6679 Date: Fri, 16 Oct 2009 19:06:58 +0300
   6680 Message-Id: <1255709172-sup-7715 at kuovi.tilus.net>
   6681 User-Agent: Sup/0.8.1
   6682 Content-Transfer-Encoding: 8bit
   6683 Content-Type: multipart/mixed; boundary="=-1255709218-544380-431-3013-1-="
   6684 MIME-Version: 1.0
   6685 
   6686 -- 
   6687 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   6688 
   6689 From tero@tilus.net  Fri Oct 23 02:35:46 2009
   6690 From: tero@tilus.net (Tero Tilus)
   6691 Date: Fri, 23 Oct 2009 09:35:46 +0300
   6692 Subject: [sup-talk] (Orphaned?) bug tracker at rubyforge.org?
   6693 In-Reply-To: <1256216959-sup-8012@sam.mediasupervision.de>
   6694 References: <1256216959-sup-8012@sam.mediasupervision.de>
   6695 Message-ID: <1256279637-sup-3085@tilus.net>
   6696 
   6697 Gregor Hoffleit, 2009-10-22 16:10:
   6698 > If the bug tracker is not to be acticely used any longer, shouldn't
   6699 > it be removed from the Sup Gitorious page?
   6700 
   6701 Definitely should if that is the intention.  Is it?
   6702 
   6703 Why use this list to track bugs in the first place?
   6704 
   6705 -- 
   6706 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   6707 
   6708 From tero@tilus.net  Fri Oct 23 03:00:21 2009
   6709 From: tero@tilus.net (Tero Tilus)
   6710 Date: Fri, 23 Oct 2009 10:00:21 +0300
   6711 Subject: [sup-talk] i18n?
   6712 In-Reply-To: <1254487575-sup-5468@thinkpad-ubuntu>
   6713 References: <1254353101-sup-1021@thinkpad-ubuntu>
   6714 	<1254415145-sup-635@masanjin.net>
   6715 	<1254420802-sup-3742@thinkpad-ubuntu>
   6716 	<1254421405-sup-8083@masanjin.net>
   6717 	<1254442420-sup-3771@thinkpad-ubuntu>
   6718 	<1254487575-sup-5468@thinkpad-ubuntu>
   6719 Message-ID: <1256280223-sup-736@tilus.net>
   6720 
   6721 Excerpts from 's message of pe loka 02 15:52:47 +0300 2009:
   6722 > Please tell me what you think.
   6723 
   6724 Why not default to the english strings as translation keys and
   6725 fallback to key itself in case of missing translation?  This has imo
   6726 several advantages.  You can go grep the source using what you see in
   6727 sup UI (instead of first greping language yaml).  Adding new strings
   6728 is cumbersome with (mostly unnecessary) key indirection.  Code is more
   6729 readable when messages are inlined.  If you change a string a check of
   6730 translations is forced (there is no translation for the changed
   6731 version).  Most translation workflow tools expect this kind of
   6732 behavior.
   6733 
   6734 -- 
   6735 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   6736 
   6737 From usul@aruba.it  Fri Oct 23 07:23:06 2009
   6738 From: usul@aruba.it (Fabio Riga)
   6739 Date: Fri, 23 Oct 2009 13:23:06 +0200
   6740 Subject: [sup-talk] i18n?
   6741 In-Reply-To: <1256280223-sup-736@tilus.net>
   6742 References: <1254353101-sup-1021@thinkpad-ubuntu>
   6743 	<1254415145-sup-635@masanjin.net>
   6744 	<1254420802-sup-3742@thinkpad-ubuntu>
   6745 	<1254421405-sup-8083@masanjin.net>
   6746 	<1254442420-sup-3771@thinkpad-ubuntu>
   6747 	<1254487575-sup-5468@thinkpad-ubuntu>
   6748 	<1256280223-sup-736@tilus.net>
   6749 Message-ID: <1256295847-sup-9437@viajero>
   6750 
   6751 Excerpts from Tero Tilus's message of ven ott 23 09:00:21 +0200 2009:
   6752 > Excerpts from 's message of pe loka 02 15:52:47 +0300 2009:
   6753 > > Please tell me what you think.
   6754 > 
   6755 > Why not default to the english strings as translation keys and
   6756 > fallback to key itself in case of missing translation?  This has imo
   6757 > several advantages.  You can go grep the source using what you see in
   6758 > sup UI (instead of first greping language yaml).
   6759 
   6760 Well, I finally read the code and I agree with Tero. I also think that the
   6761 use of gettext will be simpler for both developer and translator. In
   6762 this way, every time a developer add a new string he need to write it
   6763 twice, or another developer has to hack it. Instead with gettext the
   6764 developer write his string, surrounded with _() or n_() and he's done
   6765 (tell me, if I'm wrong).
   6766 
   6767 Furthermore people used to .po files (like me) will know what to do and
   6768 are already provided with tools for that purpose (i.e. Vim :-) ).
   6769 
   6770 Can anyone explain me where and why a translated string in the UI should be
   6771 searchable with a regular expression? (Maybe this question is due to the
   6772 fact that I still don't understand sup internals...)
   6773 
   6774 Cheers,
   6775 Fabio
   6776 
   6777 From gregor@hoffleit.de  Fri Oct 23 07:48:31 2009
   6778 From: gregor@hoffleit.de (Gregor Hoffleit)
   6779 Date: Fri, 23 Oct 2009 13:48:31 +0200
   6780 Subject: [sup-talk] A fix for the joining threads bug with Ferret
   6781 Message-ID: <1256297205-sup-683@sam.mediasupervision.de>
   6782 
   6783 I did a little bit research regarding the problem that joining threads
   6784 isn't persistent (as described in [1]-[3]).
   6785 
   6786 I managed to track down the problem until the following line in
   6787 FerretIndex#sync_message in lib/sup/ferret_index.rb.
   6788 
   6789   d = { ...  :refs => (entry[:refs] || (m.refs + m.replytos).uniq.join(" ")) }
   6790 
   6791 I have problems to understand what this line is supposed to do.
   6792 
   6793 For me, it always evaluates to "entry[:refs]" (even if that's an empty
   6794 string!), losing the reference in the modified message m, which was added
   6795 by add_ref. Therefore the manual join is always lost.
   6796 
   6797 With my limited Ruby knowledge, my quick and dirty fix was:
   6798 
   6799     if entry[:refs]!="" then
   6800        d[:refs]=entry[:refs]
   6801     else
   6802        d[:refs]=(m.refs + m.replytos).uniq.join(" ")
   6803     end
   6804 
   6805 Is this what the above code is about?
   6806 
   6807 
   6808 Btw, the code in xapian_index.rb looks much different. Still, I'd like
   6809 to see this fixed for Xapian.
   6810 
   6811 
   6812 Regards,
   6813     Gregor Hoffleit
   6814 
   6815 
   6816 [1] http://sup.rubyforge.org/ditz/issue-4e501973cea5bd1f28739ae4cea98edce8249895.html
   6817 [2] http://rubyforge.org/pipermail/sup-talk/2009-April/002050.html
   6818 [3] http://rubyforge.org/pipermail/sup-talk/2009-April/002060.html
   6819 
   6820 From tero@tilus.net  Fri Oct 23 09:15:50 2009
   6821 From: tero@tilus.net (Tero Tilus)
   6822 Date: Fri, 23 Oct 2009 16:15:50 +0300
   6823 Subject: [sup-talk] A fix for the joining threads bug with Ferret
   6824 In-Reply-To: <1256297205-sup-683@sam.mediasupervision.de>
   6825 References: <1256297205-sup-683@sam.mediasupervision.de>
   6826 Message-ID: <1256302994-sup-9955@tilus.net>
   6827 
   6828 Excerpts from Gregor Hoffleit's message:
   6829 > With my limited Ruby knowledge, my quick and dirty fix was:
   6830 > 
   6831 >     if entry[:refs]!="" then
   6832 >        d[:refs]=entry[:refs]
   6833 >     else
   6834 >        d[:refs]=(m.refs + m.replytos).uniq.join(" ")
   6835 >     end
   6836 > 
   6837 > Is this what the above code is about?
   6838 
   6839 I would expect it to be something alike.  Rails has Object#empty?
   6840 which is true (I think) for nil, false, empty list and empty string.
   6841 I'd go with
   6842 
   6843   entry[:refs].to_s != ""
   6844 
   6845 to handle nil as "no refs" too.
   6846 
   6847 -- 
   6848 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   6849 
   6850 From pioto@pioto.org  Fri Oct 23 17:13:35 2009
   6851 From: pioto@pioto.org (Mike Kelly)
   6852 Date: Fri, 23 Oct 2009 17:13:35 -0400
   6853 Subject: [sup-talk] mbox date fail
   6854 Message-ID: <2aeb4e149305569502f106c7e54ae107@localhost>
   6855 
   6856 
   6857 Hi,
   6858 
   6859 I seem to be caught in a bit of a catch-22. I can't reliably use mbox
   6860 because of shortcomings in its format. And, I can't use maildir because
   6861 sup-sync-back doesn't support it.
   6862 
   6863 More specifically, I seem to come across this much more often that I
   6864 should. It's caused by someone starting a line of their message with
   6865 "From". For example:
   6866 
   6867   ...
   6868   X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.0
   6869   Status: 
   6870   X-Keywords:                                                             
   6871        
   6872   Content-Length: 1742
   6873 
   6874   From the ticket he states that 1.2.3.4 is the IP:
   6875 
   6876   ...
   6877 
   6878 That yields this exception:
   6879 
   6880   [Fri Oct 23 17:07:00 -0400 2009] unlocking
   6881 /usr/home/staff/mike/.sup/lock...
   6882   /usr/local/lib/ruby/1.8/time.rb:184:in `local': argument out of range
   6883 (ArgumentError)
   6884         from /usr/local/lib/ruby/1.8/time.rb:184:in `make_time'
   6885         from /usr/local/lib/ruby/1.8/time.rb:243:in `parse'
   6886         from
   6887 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/mbox.rb:15:in
   6888 `is_break_line?'
   6889         from
   6890 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/mbox/loader.rb:165:in
   6891 `next'
   6892         from
   6893 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/mbox/loader.rb:145:in
   6894 `synchronize'
   6895         from
   6896 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/mbox/loader.rb:145:in
   6897 `next'
   6898         from
   6899 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/source.rb:103:in
   6900 `each'
   6901         from
   6902 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:560:in
   6903 `send'
   6904         from
   6905 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:560:in
   6906 `__pass'
   6907         from
   6908 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:547:in
   6909 `method_missing'
   6910         from
   6911 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:139:in
   6912 `each_message_from'
   6913         from
   6914 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:520:in
   6915 `send'
   6916         from
   6917 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:520:in
   6918 `method_missing'
   6919         from
   6920 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/bin/sup-sync:146
   6921         from
   6922 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/bin/sup-sync:141:in
   6923 `each'
   6924         from
   6925 /usr/home/staff/mike/lib/ruby/gems/1.8/gems/sup-999/bin/sup-sync:141
   6926         from /usr/home/staff/mike/lib/ruby/gems/1.8/bin/sup-sync:19:in
   6927 `load'
   6928         from /usr/home/staff/mike/lib/ruby/gems/1.8/bin/sup-sync:19
   6929 
   6930 Is there much of anything that I can do to mitigate this problem, aside
   6931 from manually altering every offending message?
   6932 
   6933 It seems like the messages' Content-Length header should be used to skip
   6934 past the body and ignore the offending Froms? Or, at least, if that sort of
   6935 ArgumentError is thrown, maybe it should be caught and handled better?
   6936 
   6937 I'm running current master (2dfd378b616243d03203e49f5ee29636051d3cbf).
   6938 
   6939 Thanks.
   6940 
   6941 -- 
   6942 Mike Kelly
   6943 
   6944 From sgoldman@tower-research.com  Mon Oct 26 16:15:04 2009
   6945 From: sgoldman@tower-research.com (Steve Goldman)
   6946 Date: Mon, 26 Oct 2009 16:15:04 -0400
   6947 Subject: [sup-talk] Can't search without crashing
   6948 Message-ID: <1256588053-sup-8922@sgoldmanlinux.tower-research.com>
   6949 
   6950 
   6951 Wow, I guess I haven't tried to search in a while... I can't search
   6952 for *anything* without it crashing hard.  Every time.  I'm on master.
   6953 
   6954 Anyone??
   6955 
   6956 
   6957 --- RuntimeError from thread: load threads for thread-index-mode
   6958 invalid source 4
   6959 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:260:in `build_message'
   6960 /apps/home/sgoldman/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   6961 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:256:in `build_message'
   6962 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:163:in `each_id_by_date'
   6963 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/thread.rb:332:in `call'
   6964 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/thread.rb:332:in `load_n_threads'
   6965 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:163:in `each_id_by_date'
   6966 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:162:in `each'
   6967 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:162:in `each_id_by_date'
   6968 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/thread.rb:328:in `load_n_threads'
   6969 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads'
   6970 (eval):12:in `load_n_threads'
   6971 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   6972 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:77:in `reporting_thread'
   6973 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:75:in `initialize'
   6974 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:75:in `new'
   6975 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:75:in `reporting_thread'
   6976 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   6977 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   6978 (eval):12:in `load_threads'
   6979 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:81:in `initialize'
   6980 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in `call'
   6981 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in `initialize'
   6982 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in `each'
   6983 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in `initialize'
   6984 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:19:in `new'
   6985 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:19:in `initialize'
   6986 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:54:in `initialize'
   6987 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/search-results-mode.rb:6:in `initialize'
   6988 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/search-results-mode.rb:30:in `new'
   6989 /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/search-results-mode.rb:30:in `spawn_from_query'
   6990 bin/sup:275
   6991 -- 
   6992 
   6993 Steve Goldman
   6994 sgoldman at tower-research.com
   6995 
   6996 T: 212.219.6014
   6997 F: 212.219.6007
   6998 
   6999 Tower Research Capital, LLC
   7000 377 Broadway, 11th Fl.
   7001 New York, NY 10013
   7002 
   7003 From sgoldman@tower-research.com  Mon Oct 26 19:30:20 2009
   7004 From: sgoldman@tower-research.com (Steve Goldman)
   7005 Date: Mon, 26 Oct 2009 19:30:20 -0400
   7006 Subject: [sup-talk] Can't search without crashing
   7007 In-Reply-To: <1256588053-sup-8922@sgoldmanlinux.tower-research.com>
   7008 References: <1256588053-sup-8922@sgoldmanlinux.tower-research.com>
   7009 Message-ID: <1256599752-sup-9794@sgoldmanlinux.tower-research.com>
   7010 
   7011 
   7012 It's not every time.
   7013 
   7014 Here's my theory: my mail sits on a server across a network.  When I
   7015 can access that data *quickly*, sup doesn't crash.  When the network
   7016 (or file system or whatever) takes longer, sup crashes.
   7017 
   7018 Can anyone back that up?
   7019 
   7020 Thanks.
   7021 
   7022 
   7023 Excerpts from Steve Goldman's message of Mon Oct 26 16:15:04 -0400 2009:
   7024 > 
   7025 > Wow, I guess I haven't tried to search in a while... I can't search
   7026 > for *anything* without it crashing hard.  Every time.  I'm on master.
   7027 > 
   7028 > Anyone??
   7029 > 
   7030 > 
   7031 > --- RuntimeError from thread: load threads for thread-index-mode
   7032 > invalid source 4
   7033 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:260:in
   7034 > `build_message'
   7035 > /apps/home/sgoldman/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   7036 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:256:in
   7037 > `build_message'
   7038 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:163:in
   7039 > `each_id_by_date'
   7040 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/thread.rb:332:in `call'
   7041 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/thread.rb:332:in
   7042 > `load_n_threads'
   7043 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:163:in
   7044 > `each_id_by_date'
   7045 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:162:in `each'
   7046 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:162:in
   7047 > `each_id_by_date'
   7048 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/thread.rb:328:in
   7049 > `load_n_threads'
   7050 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:625:
   7051 > in `__unprotected_load_n_threads'
   7052 > (eval):12:in `load_n_threads'
   7053 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:609:
   7054 > in `load_n_threads_background'
   7055 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:77:in `reporting_thread'
   7056 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:75:in `initialize'
   7057 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:75:in `new'
   7058 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup.rb:75:in `reporting_thread'
   7059 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:608:
   7060 > in `load_n_threads_background'
   7061 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:679:
   7062 > in `__unprotected_load_threads'
   7063 > (eval):12:in `load_threads'
   7064 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:81:i
   7065 > n `initialize'
   7066 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in
   7067 >  `call'
   7068 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in
   7069 >  `initialize'
   7070 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in
   7071 >  `each'
   7072 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:22:in
   7073 >  `initialize'
   7074 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:19:in
   7075 >  `new'
   7076 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/line-cursor-mode.rb:19:in
   7077 >  `initialize'
   7078 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/thread-index-mode.rb:54:i
   7079 > n `initialize'
   7080 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/search-results-mode.rb:6:
   7081 > in `initialize'
   7082 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/search-results-mode.rb:30
   7083 > :in `new'
   7084 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/modes/search-results-mode.rb:30
   7085 > :in `spawn_from_query'
   7086 > bin/sup:275
   7087 > -- 
   7088 > 
   7089 > Steve Goldman
   7090 > sgoldman at tower-research.com
   7091 > 
   7092 > T: 212.219.6014
   7093 > F: 212.219.6007
   7094 > 
   7095 > Tower Research Capital, LLC
   7096 > 377 Broadway, 11th Fl.
   7097 > New York, NY 10013
   7098 -- 
   7099 
   7100 Steve Goldman
   7101 sgoldman at tower-research.com
   7102 
   7103 T: 212.219.6014
   7104 F: 212.219.6007
   7105 
   7106 Tower Research Capital, LLC
   7107 377 Broadway, 11th Fl.
   7108 New York, NY 10013
   7109 
   7110 From tero@tilus.net  Tue Oct 27 05:58:47 2009
   7111 From: tero@tilus.net (Tero Tilus)
   7112 Date: Tue, 27 Oct 2009 11:58:47 +0200
   7113 Subject: [sup-talk] Can't search without crashing
   7114 In-Reply-To: <1256588053-sup-8922@sgoldmanlinux.tower-research.com>
   7115 References: <1256588053-sup-8922@sgoldmanlinux.tower-research.com>
   7116 Message-ID: <1256637386-sup-8828@tilus.net>
   7117 
   7118 Steve Goldman, 2009-10-26 22:15:
   7119 > Wow, I guess I haven't tried to search in a while... I can't search
   7120 > for *anything* without it crashing hard.  Every time.  I'm on master.
   7121 > 
   7122 > Anyone??
   7123 > 
   7124 > --- RuntimeError from thread: load threads for thread-index-mode
   7125 > invalid source 4
   7126 > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:260:in
   7127 > `build_message'
   7128 
   7129 http://gitorious.org/sup/mainline/blobs/master/lib/sup/ferret_index.rb#line260
   7130 
   7131 Looks like Sup cant find the source for a message (appearing in
   7132 results?).  Have you altered your sources lately?  Afaik you might
   7133 need to rebuild your index.
   7134 
   7135 -- 
   7136 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   7137 
   7138 From kvrkreddy@gmail.com  Tue Oct 27 07:34:34 2009
   7139 From: kvrkreddy@gmail.com (k.v.ramakrishna reddy)
   7140 Date: Tue, 27 Oct 2009 17:04:34 +0530
   7141 Subject: [sup-talk] Using TLS instead of ssl
   7142 Message-ID: <2b29d9f30910270434k65550eaqf5187d048b604020@mail.gmail.com>
   7143 
   7144 Hi,
   7145    What are the changes that i need to make so that sup uses TLS instead of
   7146 ssl when connecting to my source ? Further more how can i delete a source ?
   7147 
   7148 thanks very much
   7149 karri
   7150 -------------- next part --------------
   7151 An HTML attachment was scrubbed...
   7152 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091027/834db656/attachment.html>
   7153 
   7154 From sgoldman@tower-research.com  Tue Oct 27 08:14:50 2009
   7155 From: sgoldman@tower-research.com (Steve Goldman)
   7156 Date: Tue, 27 Oct 2009 08:14:50 -0400
   7157 Subject: [sup-talk] Can't search without crashing
   7158 In-Reply-To: <1256637386-sup-8828@tilus.net>
   7159 References: <1256588053-sup-8922@sgoldmanlinux.tower-research.com>
   7160 	<1256637386-sup-8828@tilus.net>
   7161 Message-ID: <1256645659-sup-3884@sgoldmanlinux.tower-research.com>
   7162 
   7163 Excerpts from Tero Tilus's message of Tue Oct 27 05:58:47 -0400 2009:
   7164 > Steve Goldman, 2009-10-26 22:15:
   7165 > > Wow, I guess I haven't tried to search in a while... I can't search
   7166 > > for *anything* without it crashing hard.  Every time.  I'm on master.
   7167 > > 
   7168 > > Anyone??
   7169 > > 
   7170 > > --- RuntimeError from thread: load threads for thread-index-mode
   7171 > > invalid source 4
   7172 > > /apps/infrafs1/sgoldman/sup-src/mainline/lib/sup/ferret_index.rb:260:in
   7173 > > `build_message'
   7174 > 
   7175 > http://gitorious.org/sup/mainline/blobs/master/lib/sup/ferret_index.rb#line260
   7176 > 
   7177 > Looks like Sup cant find the source for a message (appearing in
   7178 > results?).  Have you altered your sources lately?  Afaik you might
   7179 > need to rebuild your index.
   7180 > 
   7181 
   7182 No, it can find it.  But sometimes it takes a long time.
   7183 
   7184 Is there some sort of timeout built into the polling process that
   7185 could cause a crash?
   7186 -- 
   7187 
   7188 Steve Goldman
   7189 sgoldman at tower-research.com
   7190 
   7191 T: 212.219.6014
   7192 F: 212.219.6007
   7193 
   7194 Tower Research Capital, LLC
   7195 377 Broadway, 11th Fl.
   7196 New York, NY 10013
   7197 
   7198 From jdugan@es.net  Wed Oct 28 12:59:20 2009
   7199 From: jdugan@es.net (Jon Dugan)
   7200 Date: Wed, 28 Oct 2009 11:59:20 -0500
   7201 Subject: [sup-talk] exception in mainline
   7202 Message-ID: <1256749083-sup-3681@arrakis.es.net>
   7203 
   7204 i now get this when i start sup.  i'm running mainline.
   7205 
   7206 --- RuntimeError from thread: load threads for thread-index-mode
   7207 wrong id called on nil
   7208 ./lib/sup.rb:17:in `id'
   7209 ./lib/sup/modes/thread-index-mode.rb:225:in `update'
   7210 ./lib/sup/hook.rb:122:in `sort_by'
   7211 ./lib/sup/modes/thread-index-mode.rb:225:in `each'
   7212 ./lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   7213 ./lib/sup/modes/thread-index-mode.rb:225:in `update'
   7214 ./lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   7215 ./lib/sup/modes/thread-index-mode.rb:223:in `update'
   7216 ./lib/sup/modes/thread-index-mode.rb:628:in `__unprotected_load_n_threads'
   7217 ./lib/sup/thread.rb:334:in `load_n_threads'
   7218 ./lib/sup/xapian_index.rb:151:in `each_id_by_date'
   7219 ./lib/sup/xapian_index.rb:144:in `each_id'
   7220 ./lib/sup/xapian_index.rb:144:in `each'
   7221 ./lib/sup/xapian_index.rb:144:in `each_id'
   7222 ./lib/sup/xapian_index.rb:151:in `each_id_by_date'
   7223 ./lib/sup/thread.rb:328:in `load_n_threads'
   7224 ./lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads'
   7225 (eval):12:in `load_n_threads'
   7226 ./lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   7227 ./lib/sup.rb:77:in `reporting_thread'
   7228 ./lib/sup.rb:75:in `initialize'
   7229 ./lib/sup.rb:75:in `new'
   7230 ./lib/sup.rb:75:in `reporting_thread'
   7231 ./lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   7232 ./lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   7233 (eval):12:in `load_threads'
   7234 bin/sup:199
   7235 
   7236 -- 
   7237 Jon M. Dugan <jdugan at es.net>
   7238 ESnet Network Engineering Group
   7239 Lawrence Berkeley National Laboratory
   7240 
   7241 From jdugan@es.net  Wed Oct 28 13:14:51 2009
   7242 From: jdugan@es.net (Jon Dugan)
   7243 Date: Wed, 28 Oct 2009 12:14:51 -0500
   7244 Subject: [sup-talk] [PATCH] minor nits in exception apology message
   7245 Message-ID: <1256749942-sup-4831@arrakis.es.net>
   7246 
   7247 make path to the exception log relative to BASE_DIR
   7248 fix a typo in email address of list.
   7249 
   7250 ---
   7251  bin/sup |    4 ++--
   7252  1 files changed, 2 insertions(+), 2 deletions(-)
   7253 
   7254 diff --git a/bin/sup b/bin/sup
   7255 index 7641401..a881284 100755
   7256 --- a/bin/sup
   7257 +++ b/bin/sup
   7258 @@ -360,8 +360,8 @@ unless Redwood::exceptions.empty?
   7259  ----------------------------------------------------------------
   7260  I'm very sorry. It seems that an error occurred in Sup. Please
   7261  accept my sincere apologies. If you don't mind, please send the
   7262 -contents of ~/.sup/exception-log.txt and a brief report of the
   7263 -circumstances to sup-talk at rubyforge dot orgs so that I might
   7264 +contents of #{BASE_DIR}/.sup/exception-log.txt and a brief report of the
   7265 +circumstances to sup-talk at rubyforge dot org so that I might
   7266  address this problem. Thank you!
   7267  
   7268  Sincerely,
   7269 -- 
   7270 1.6.4.4
   7271 
   7272 -- 
   7273 Jon M. Dugan <jdugan at es.net>
   7274 ESnet Network Engineering Group
   7275 Lawrence Berkeley National Laboratory
   7276 
   7277 From nicolas.pouillard@gmail.com  Wed Oct 28 16:05:27 2009
   7278 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   7279 Date: Wed, 28 Oct 2009 21:05:27 +0100
   7280 Subject: [sup-talk] [PATCH] minor nits in exception apology message
   7281 In-Reply-To: <1256749942-sup-4831@arrakis.es.net>
   7282 References: <1256749942-sup-4831@arrakis.es.net>
   7283 Message-ID: <1256760295-sup-9873@peray>
   7284 
   7285 Excerpts from Jon Dugan's message of Wed Oct 28 18:14:51 +0100 2009:
   7286 > make path to the exception log relative to BASE_DIR
   7287 > fix a typo in email address of list.
   7288 > 
   7289 > ---
   7290 >  bin/sup |    4 ++--
   7291 >  1 files changed, 2 insertions(+), 2 deletions(-)
   7292 > 
   7293 > diff --git a/bin/sup b/bin/sup
   7294 > index 7641401..a881284 100755
   7295 > --- a/bin/sup
   7296 > +++ b/bin/sup
   7297 > @@ -360,8 +360,8 @@ unless Redwood::exceptions.empty?
   7298 >  ----------------------------------------------------------------
   7299 >  I'm very sorry. It seems that an error occurred in Sup. Please
   7300 >  accept my sincere apologies. If you don't mind, please send the
   7301 > -contents of ~/.sup/exception-log.txt and a brief report of the
   7302 > -circumstances to sup-talk at rubyforge dot orgs so that I might
   7303 > +contents of #{BASE_DIR}/.sup/exception-log.txt and a brief report of the
   7304 > +circumstances to sup-talk at rubyforge dot org so that I might
   7305 
   7306 I think the *orgs* was on purpose.
   7307 
   7308 -- 
   7309 Nicolas Pouillard
   7310 http://nicolaspouillard.fr
   7311 
   7312 From jdugan@es.net  Wed Oct 28 16:22:32 2009
   7313 From: jdugan@es.net (Jon Dugan)
   7314 Date: Wed, 28 Oct 2009 15:22:32 -0500
   7315 Subject: [sup-talk] [PATCH] minor nits in exception apology message
   7316 In-Reply-To: <1256760295-sup-9873@peray>
   7317 References: <1256749942-sup-4831@arrakis.es.net> <1256760295-sup-9873@peray>
   7318 Message-ID: <1256760970-sup-8118@arrakis.es.net>
   7319 
   7320 Excerpts from Nicolas Pouillard's message of Wed Oct 28 15:05:27 -0500 2009:
   7321 > Excerpts from Jon Dugan's message of Wed Oct 28 18:14:51 +0100 2009:
   7322 > > make path to the exception log relative to BASE_DIR
   7323 > > fix a typo in email address of list.
   7324 > > 
   7325 > > ---
   7326 > >  bin/sup |    4 ++--
   7327 > >  1 files changed, 2 insertions(+), 2 deletions(-)
   7328 > > 
   7329 > > diff --git a/bin/sup b/bin/sup
   7330 > > index 7641401..a881284 100755
   7331 > > --- a/bin/sup
   7332 > > +++ b/bin/sup
   7333 > > @@ -360,8 +360,8 @@ unless Redwood::exceptions.empty?
   7334 > >  ----------------------------------------------------------------
   7335 > >  I'm very sorry. It seems that an error occurred in Sup. Please
   7336 > >  accept my sincere apologies. If you don't mind, please send the
   7337 > > -contents of ~/.sup/exception-log.txt and a brief report of the
   7338 > > -circumstances to sup-talk at rubyforge dot orgs so that I might
   7339 > > +contents of #{BASE_DIR}/.sup/exception-log.txt and a brief report of the
   7340 > > +circumstances to sup-talk at rubyforge dot org so that I might
   7341 > 
   7342 > I think the *orgs* was on purpose.
   7343 
   7344 I was wondering about that.  It seemed odd to me to be obfuscating the email
   7345 address at all in this context since this is an error message not a webpage.
   7346 
   7347 In my mind the usability enhancement of being able to cut and paste the email
   7348 address would increase the likelyhood of people reporting errors.
   7349 
   7350 Obviously not a big deal either way...
   7351 
   7352 Jon
   7353 -- 
   7354 Jon M. Dugan <jdugan at es.net>
   7355 ESnet Network Engineering Group
   7356 Lawrence Berkeley National Laboratory
   7357 
   7358 From Jonah@GoodCoffee.ca  Wed Oct 28 18:06:43 2009
   7359 From: Jonah@GoodCoffee.ca (Jonah)
   7360 Date: Wed, 28 Oct 2009 18:06:43 -0400
   7361 Subject: [sup-talk] [PATCH] change opening attachements on darwin to use
   7362  open instead of run-mailcap
   7363 Message-ID: <4AE8C073.404@GoodCoffee.ca>
   7364 
   7365 Hey everyone,
   7366 
   7367 I've been working on getting sup to work in MacOSX (darwin).  MacOSX has a special command (open) for opening files - there is no support for mailcap.  This patch uses case to run the appropriate command depending on the architecture used.
   7368 
   7369 I still haven't gotten sup to send mail yet,.. so more patches for MacOSX will probably be forthcoming.  :)
   7370 
   7371 I'm loving sup so far, keep up the great work!
   7372 
   7373 Cheers,
   7374 
   7375 Jonah
   7376 
   7377 ---
   7378  lib/sup/message-chunks.rb |    7 ++++++-
   7379  1 files changed, 6 insertions(+), 1 deletions(-)
   7380 
   7381 diff --git a/lib/sup/message-chunks.rb b/lib/sup/message-chunks.rb
   7382 index edc40c4..581b707 100644
   7383 --- a/lib/sup/message-chunks.rb
   7384 +++ b/lib/sup/message-chunks.rb
   7385 @@ -132,7 +132,12 @@ EOS
   7386      def initial_state; :open end
   7387      def viewable?; @lines.nil? end
   7388      def view_default! path
   7389 -      cmd = "/usr/bin/run-mailcap --action=view '#{@content_type}:#{path}'"
   7390 +      case Config::CONFIG['arch']
   7391 +        when /darwin/
   7392 +          cmd = "open '#{path}'"
   7393 +        else
   7394 +          cmd = "/usr/bin/run-mailcap --action=view '#{@content_type}:#{path}'"
   7395 +      end
   7396        debug "running: #{cmd.inspect}"
   7397        BufferManager.shell_out(cmd)
   7398        $? == 0
   7399 -- 
   7400 1.6.3.3
   7401 
   7402 From garoth@gmail.com  Wed Oct 28 20:32:00 2009
   7403 From: garoth@gmail.com (Andrei Thorp)
   7404 Date: Wed, 28 Oct 2009 20:32:00 -0400
   7405 Subject: [sup-talk] Arch Linux Sup Package (Ruby 1.9.1 + Sup 0.9)
   7406 In-Reply-To: <20091029000759.GA5109@gmail.com>
   7407 References: <80055d7c0910180805v5da8a9a0o57851093ee17813e@mail.gmail.com>
   7408 	<20091029000759.GA5109@gmail.com>
   7409 Message-ID: <80055d7c0910281732v60908755kd5b43464aaac30ce@mail.gmail.com>
   7410 
   7411 On Wed, Oct 28, 2009 at 8:07 PM, Sean Escriva <sean.escriva at gmail.com> wrote:
   7412 >
   7413 > On Sun, Oct 18, 2009 at 11:05:57AM -0400, Andrei Thorp wrote:
   7414 >> Hello. Remember me? ;)
   7415 >>
   7416 >> Anyway, I've rolled the 0.9 package for Arch Linux in the
   7417 >> AUR (community repos). It works, but:
   7418 >> ?- Ruby 1.9.1 has pretty screwed up dependencies for Sup. Ncurses and ferret in
   7419 >> ? ?particular were broken (at least in Arch.)
   7420 >> ?- The package is a big ol' pile of hacks.
   7421 >> ?- Ferret index is disabled (sorry for removing it early, but Ruby 1.9.1 is the
   7422 >> ? ?reality for us in Arch.)
   7423 >> ?- I've applyed Lloyd's patch for fixing the UTF-8 check.
   7424 >> ?- There seem to be a few small bugs.
   7425 >>
   7426 >> Anyway, I'd appreciate some suggestions. The package is viewable here:
   7427 >> http://aur.archlinux.org/packages.php?ID=26439
   7428 >
   7429 > I gave the sup package a try today. I had previously put all the new
   7430 > ruby stuff on Hold. It didn't work for me. I post my output on the
   7431 > aur page.
   7432 >
   7433 > Any tips are appreciated, thanks.
   7434 
   7435 Trace on AUR:
   7436 
   7437 >    tried this today and everything installs fine, trying to run sup gives:
   7438 >
   7439 >    /usr/lib/ruby/gems/1.9.1/gems/lockfile-1.4.3/lib/lockfile.rb:475:in `load_lock_id': undefined method `each' for #<String:0x00000002f544d8> (NoMethodError)
   7440 >    from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:26:in `lockinfo_on_disk'
   7441 >    from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/index.rb:40:in `rescue in lock'
   7442 >    from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/index.rb:37:in `lock'
   7443 >    from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   7444 >    from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/interactive-lock.rb:26:in `lock_interactively'
   7445 >    from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:115:in `<top (required)>'
   7446 >    from /usr/bin/supbin/sup-sync:19:in `load'
   7447 >    from /usr/bin/supbin/sup-sync:19:in `<main>'
   7448 
   7449 Delete comment
   7450 
   7451 Hmm... works for me. Could you please give me a few more details:
   7452 - 64 bit or 32 bit? Any other system specs worth noting?
   7453 - This happens immediately on run or do you need to perform some action?
   7454 - Please try running sup while in ~. I've found some bugs occasionally
   7455 if you're in some strange directory.
   7456 - While building my package, does it say that it is rolling lockfile
   7457 for you? It seems your lockfile's a bit screwy rather than Sup. If
   7458 lockfile already exists on the system, my package might not roll a new
   7459 one.
   7460 - That said, try removing the lockfile gem and installing a fresh one
   7461 using the "gem" utility.
   7462 
   7463 The error up there doesn't really make sense. Each not defined on
   7464 buffer strings? Seems unlikely. You could also try running the
   7465 commands in my build step manually and install yourself the sup
   7466 dependencies that I list + the dependencies in the Arch repos and see
   7467 if sup does something then. This would be more serious debugging.
   7468 
   7469 Anyway, for now, I can't reproduce the error on my system, and I'm
   7470 fully up to date with the Arch repos. I don't really know what to say.
   7471 
   7472 Did you remember to switch your indexes to Xapian and so on?
   7473 
   7474 Good luck,
   7475 
   7476 -Andrei Thorp
   7477 
   7478 From nicolas.pouillard@gmail.com  Thu Oct 29 06:29:31 2009
   7479 From: nicolas.pouillard@gmail.com (Nicolas Pouillard)
   7480 Date: Thu, 29 Oct 2009 11:29:31 +0100
   7481 Subject: [sup-talk] [PATCH] minor nits in exception apology message
   7482 In-Reply-To: <1256760970-sup-8118@arrakis.es.net>
   7483 References: <1256749942-sup-4831@arrakis.es.net> <1256760295-sup-9873@peray>
   7484 	<1256760970-sup-8118@arrakis.es.net>
   7485 Message-ID: <1256812101-sup-6316@peray>
   7486 
   7487 Excerpts from Jon Dugan's message of Wed Oct 28 21:22:32 +0100 2009:
   7488 > Excerpts from Nicolas Pouillard's message of Wed Oct 28 15:05:27 -0500 2009:
   7489 > > Excerpts from Jon Dugan's message of Wed Oct 28 18:14:51 +0100 2009:
   7490 > > > make path to the exception log relative to BASE_DIR
   7491 > > > fix a typo in email address of list.
   7492 > > > 
   7493 > > > ---
   7494 > > >  bin/sup |    4 ++--
   7495 > > >  1 files changed, 2 insertions(+), 2 deletions(-)
   7496 > > > 
   7497 > > > diff --git a/bin/sup b/bin/sup
   7498 > > > index 7641401..a881284 100755
   7499 > > > --- a/bin/sup
   7500 > > > +++ b/bin/sup
   7501 > > > @@ -360,8 +360,8 @@ unless Redwood::exceptions.empty?
   7502 > > >  ----------------------------------------------------------------
   7503 > > >  I'm very sorry. It seems that an error occurred in Sup. Please
   7504 > > >  accept my sincere apologies. If you don't mind, please send the
   7505 > > > -contents of ~/.sup/exception-log.txt and a brief report of the
   7506 > > > -circumstances to sup-talk at rubyforge dot orgs so that I might
   7507 > > > +contents of #{BASE_DIR}/.sup/exception-log.txt and a brief report of the
   7508 > > > +circumstances to sup-talk at rubyforge dot org so that I might
   7509 > > 
   7510 > > I think the *orgs* was on purpose.
   7511 > 
   7512 > I was wondering about that.  It seemed odd to me to be obfuscating the email
   7513 > address at all in this context since this is an error message not a webpage.
   7514 
   7515 Although the error message appears in the source code, and in all emails were
   7516 it has been copied and paste.
   7517 
   7518 -- 
   7519 Nicolas Pouillard
   7520 http://nicolaspouillard.fr
   7521 
   7522 From mariano.mara@gmail.com  Thu Oct 29 19:02:46 2009
   7523 From: mariano.mara@gmail.com (Mariano Mara)
   7524 Date: Thu, 29 Oct 2009 20:02:46 -0300
   7525 Subject: [sup-talk] RMail chokes on broken headers
   7526 In-Reply-To: <1255612194-sup-3880@masanjin.net>
   7527 References: <20091012232215.GD31940@tilus.net>
   7528 	<1255612194-sup-3880@masanjin.net>
   7529 Message-ID: <c1d7c48b0910291602t551ee26ek198e558e6e70b7b8@mail.gmail.com>
   7530 
   7531 2009/10/15 William Morgan <wmorgan-sup at masanjin.net>
   7532 
   7533 > Reformatted excerpts from Tero Tilus's message of 2009-10-12:
   7534 > > RMail looks abandoned.  Development is pretty much stalled.  No
   7535 > > functional changes since 2004-04-27.  None of the reported bugs have
   7536 > > been fixed.  Might it be worth to think about switching to another
   7537 > > mail lib?  TMail author's http://github.com/mikel/mail/ looks
   7538 > > promising.
   7539 >
   7540 > Yeah, this is certainly an option. But it seems like a lot of work. And
   7541 > every day our set of rmail workarounds grows more robust. :)
   7542 >
   7543 > Not to say I wouldn't accept a patch that magically did this all for me,
   7544 > of course.
   7545 > --
   7546 
   7547 
   7548 Hi there, I'm facing the same error as reported by Tero. I applied the
   7549 modifications he sent, however it's failing in another place and my total
   7550 ignorance of Ruby prevents me from fixing it. Would anyone be so kind to
   7551 suggest a workaround?
   7552 
   7553 Below is the complete exception recorded.
   7554 
   7555 TIA,
   7556 Mariano
   7557 
   7558 --- NoMethodError from thread: poll after loading inbox
   7559 undefined method `downcase' for nil:NilClass
   7560 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:502:in
   7561 `message_to_chunks'
   7562 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:435:in
   7563 `message_to_chunks'
   7564 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:435:in `map'
   7565 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:435:in
   7566 `message_to_chunks'
   7567 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:239:in
   7568 `load_from_source!'
   7569 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:335:in
   7570 `build_from_source'
   7571 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:145:in
   7572 `each_message_from'
   7573 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/maildir.rb:160:in `each'
   7574 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/maildir.rb:157:in `upto'
   7575 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/maildir.rb:157:in `each'
   7576 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `send'
   7577 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
   7578 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:547:in `method_missing'
   7579 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:139:in
   7580 `each_message_from'
   7581 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:93:in `do_poll'
   7582 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:81:in `each'
   7583 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:81:in `do_poll'
   7584 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:80:in `synchronize'
   7585 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:80:in `do_poll'
   7586 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
   7587 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   7588 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/poll-mode.rb:15:in `poll'
   7589 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:48:in `poll'
   7590 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
   7591 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   7592 /usr/lib/ruby/gems/1.8/gems/sup-0.9/bin/sup:196
   7593 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:77:in `reporting_thread'
   7594 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `initialize'
   7595 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `new'
   7596 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `reporting_thread'
   7597 /usr/lib/ruby/gems/1.8/gems/sup-0.9/bin/sup:196
   7598 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:669:in
   7599 `call'
   7600 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:669:in
   7601 `__unprotected_load_threads'
   7602 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:610:in
   7603 `call'
   7604 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:610:in
   7605 `load_n_threads_background'
   7606 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:77:in `reporting_thread'
   7607 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `initialize'
   7608 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `new'
   7609 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `reporting_thread'
   7610 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:608:in
   7611 `load_n_threads_background'
   7612 /usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:679:in
   7613 `__unprotected_load_threads'
   7614 (eval):12:in `load_threads'
   7615 /usr/lib/ruby/gems/1.8/gems/sup-0.9/bin/sup:196
   7616 /usr/bin/sup:19:in `load'
   7617 /usr/bin/sup:19
   7618 -------------- next part --------------
   7619 An HTML attachment was scrubbed...
   7620 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091029/07b5276c/attachment.html>
   7621 
   7622 From stevenrwalter@gmail.com  Fri Oct 30 13:17:32 2009
   7623 From: stevenrwalter@gmail.com (Steven Walter)
   7624 Date: Fri, 30 Oct 2009 13:17:32 -0400
   7625 Subject: [sup-talk] Recovering a busted ferret db?
   7626 Message-ID: <e06498070910301017g57b156cclec9abb3689bde243@mail.gmail.com>
   7627 
   7628 I think my ferret db is corrupted.  Whenever I do a tag search for a
   7629 specific tag, sup loads 2 messages and then hangs.  Actually, it's
   7630 using 100% CPU, but I have to kill -9 it; ctrl-c doesn't work.  Is
   7631 there any hope of fixing this without losing all my tag information?
   7632 -- 
   7633 -Steven Walter <stevenrwalter at gmail.com>
   7634 
   7635 From wmorgan-sup@masanjin.net  Fri Oct 30 17:48:32 2009
   7636 From: wmorgan-sup@masanjin.net (William Morgan)
   7637 Date: Fri, 30 Oct 2009 14:48:32 -0700
   7638 Subject: [sup-talk] Recovering a busted ferret db?
   7639 In-Reply-To: <e06498070910301017g57b156cclec9abb3689bde243@mail.gmail.com>
   7640 References: <e06498070910301017g57b156cclec9abb3689bde243@mail.gmail.com>
   7641 Message-ID: <1256939095-sup-4201@masanjin.net>
   7642 
   7643 Reformatted excerpts from Steven Walter's message of 2009-10-30:
   7644 > I think my ferret db is corrupted.  Whenever I do a tag search for a
   7645 > specific tag, sup loads 2 messages and then hangs.  Actually, it's
   7646 > using 100% CPU, but I have to kill -9 it; ctrl-c doesn't work.  Is
   7647 > there any hope of fixing this without losing all my tag information?
   7648 
   7649 You can certainly move to the Xapian index without losing all of your
   7650 tags. Sup-dump will output everything precious from your index.
   7651 
   7652 Is it possible you have a very large thread with that label? E.g.
   7653 thousands of messages, all replying to each other, from some script?
   7654 -- 
   7655 William <wmorgan-sup at masanjin.net>
   7656 
   7657 From wmorgan-sup@masanjin.net  Fri Oct 30 17:50:41 2009
   7658 From: wmorgan-sup@masanjin.net (William Morgan)
   7659 Date: Fri, 30 Oct 2009 14:50:41 -0700
   7660 Subject: [sup-talk] RMail chokes on broken headers
   7661 In-Reply-To: <c1d7c48b0910291602t551ee26ek198e558e6e70b7b8@mail.gmail.com>
   7662 References: <20091012232215.GD31940@tilus.net>
   7663 	<1255612194-sup-3880@masanjin.net>
   7664 	<c1d7c48b0910291602t551ee26ek198e558e6e70b7b8@mail.gmail.com>
   7665 Message-ID: <1256939410-sup-8456@masanjin.net>
   7666 
   7667 Reformatted excerpts from Mariano Mara's message of 2009-10-29:
   7668 > Hi there, I'm facing the same error as reported by Tero. I applied the
   7669 > modifications he sent, however it's failing in another place and my
   7670 > total ignorance of Ruby prevents me from fixing it. Would anyone be so
   7671 > kind to suggest a workaround?
   7672 
   7673 This is fixed in git master. Maybe I should release an 0.9.1.
   7674 -- 
   7675 William <wmorgan-sup at masanjin.net>
   7676 
   7677 From wmorgan-sup@masanjin.net  Fri Oct 30 17:53:08 2009
   7678 From: wmorgan-sup@masanjin.net (William Morgan)
   7679 Date: Fri, 30 Oct 2009 14:53:08 -0700
   7680 Subject: [sup-talk] [PATCH] minor nits in exception apology message
   7681 In-Reply-To: <1256760970-sup-8118@arrakis.es.net>
   7682 References: <1256749942-sup-4831@arrakis.es.net> <1256760295-sup-9873@peray>
   7683 	<1256760970-sup-8118@arrakis.es.net>
   7684 Message-ID: <1256939476-sup-2864@masanjin.net>
   7685 
   7686 Reformatted excerpts from Jon Dugan's message of 2009-10-28:
   7687 > I was wondering about that.  It seemed odd to me to be obfuscating the email
   7688 > address at all in this context since this is an error message not a webpage.
   7689 
   7690 Yep, it was intentional. As Nicolas points out, the error message is
   7691 often copied-and-pasted, and the source code is indexable via Gitorious.
   7692 
   7693 The change for BASE_DIR is great though. If you remove the obfuscation I
   7694 will accept the patch.
   7695 
   7696 > In my mind the usability enhancement of being able to cut and paste
   7697 > the email address would increase the likelyhood of people reporting
   7698 > errors.
   7699 
   7700 I hate people reporting errors. I should actually change that whole
   7701 thing to suggest they to send a bugfix patch.
   7702 -- 
   7703 William <wmorgan-sup at masanjin.net>
   7704 
   7705 From wmorgan-sup@masanjin.net  Fri Oct 30 17:56:53 2009
   7706 From: wmorgan-sup@masanjin.net (William Morgan)
   7707 Date: Fri, 30 Oct 2009 14:56:53 -0700
   7708 Subject: [sup-talk] Arch Linux Sup Package (Ruby 1.9.1 + Sup 0.9)
   7709 In-Reply-To: <80055d7c0910281732v60908755kd5b43464aaac30ce@mail.gmail.com>
   7710 References: <80055d7c0910180805v5da8a9a0o57851093ee17813e@mail.gmail.com>
   7711 	<20091029000759.GA5109@gmail.com>
   7712 	<80055d7c0910281732v60908755kd5b43464aaac30ce@mail.gmail.com>
   7713 Message-ID: <1256939734-sup-4021@masanjin.net>
   7714 
   7715 Reformatted excerpts from Andrei Thorp's message of 2009-10-28:
   7716 > On Wed, Oct 28, 2009 at 8:07 PM, Sean Escriva <sean.escriva at gmail.com> wrote:
   7717 > >    tried this today and everything installs fine, trying to run sup gives:
   7718 > >
   7719 > >    /usr/lib/ruby/gems/1.9.1/gems/lockfile-1.4.3/lib/lockfile.rb:475:in `load_lock_id': undefined method `each' for #<String:0x00000002f544d8> (NoMethodError)
   7720 > >    from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:26:in `lockinfo_on_disk'
   7721 [snip]
   7722 
   7723 > Hmm... works for me. Could you please give me a few more details:
   7724 [snip]
   7725 
   7726 > The error up there doesn't really make sense. Each not defined on
   7727 > buffer strings?
   7728 
   7729 It makes sense to me. There's no String#each in Ruby 1.9, so this is
   7730 probably a (trivially fixable) bug in the lockfile gem for 1.9.
   7731 -- 
   7732 William <wmorgan-sup at masanjin.net>
   7733 
   7734 From wmorgan-sup@masanjin.net  Fri Oct 30 18:02:00 2009
   7735 From: wmorgan-sup@masanjin.net (William Morgan)
   7736 Date: Fri, 30 Oct 2009 15:02:00 -0700
   7737 Subject: [sup-talk] Arch Linux Sup Package (Ruby 1.9.1 + Sup 0.9)
   7738 In-Reply-To: <80055d7c0910180805v5da8a9a0o57851093ee17813e@mail.gmail.com>
   7739 References: <80055d7c0910180805v5da8a9a0o57851093ee17813e@mail.gmail.com>
   7740 Message-ID: <1256939901-sup-1662@masanjin.net>
   7741 
   7742 Reformatted excerpts from Andrei Thorp's message of 2009-10-18:
   7743 > Anyway, I've rolled the 0.9 package for Arch Linux in the
   7744 > AUR (community repos).
   7745 
   7746 Very cool, thank you! I am very interested in moving to 1.9 so I'm
   7747 doubly happy someone else is doing the work. :)
   7748 
   7749 > - I've set Xapian to the default by wrapping all of Sup's binaries
   7750 > with the SUP_INDEX variable in a script.
   7751 
   7752 Seems fine. Eventually this will be the default.
   7753 
   7754 >  - q no longer works properly. It prompts you with the regular yes/no
   7755 >  option as to whether you really want to quit. Neither y nor n seem to
   7756 >  have any effect; it is still possible to quit with Q.
   7757 
   7758 Now that's weird. Do multi-commands (like ,n in thread-view-mode) work?
   7759 If not, we can insert some debugging code in BufferManager#ask_getch to
   7760 see what's going on?
   7761 
   7762 >  - Will that patch get applied? It seems reasonable on a surface level.
   7763 
   7764 Yes. Sorry, I'm very behind on patches.
   7765 
   7766 > Once I do manage to get it set up, I'll continue testing. I'm not sure,
   7767 > but I'm getting the impression that rather little testing has been done
   7768 > with the new Ruby as it's not quite mainstream yet.
   7769 
   7770 Which makes it perfect a complement to Sup. :)
   7771 -- 
   7772 William <wmorgan-sup at masanjin.net>
   7773 
   7774 From wmorgan-sup@masanjin.net  Fri Oct 30 18:07:19 2009
   7775 From: wmorgan-sup@masanjin.net (William Morgan)
   7776 Date: Fri, 30 Oct 2009 15:07:19 -0700
   7777 Subject: [sup-talk] [PATCH] change opening attachements on darwin to use
   7778 	open instead of run-mailcap
   7779 In-Reply-To: <4AE8C073.404@GoodCoffee.ca>
   7780 References: <4AE8C073.404@GoodCoffee.ca>
   7781 Message-ID: <1256940409-sup-4411@masanjin.net>
   7782 
   7783 Reformatted excerpts from Jonah's message of 2009-10-28:
   7784 > I've been working on getting sup to work in MacOSX (darwin).  MacOSX has a
   7785 > special command (open) for opening files - there is no support for mailcap. 
   7786 > This patch uses case to run the appropriate command depending on the
   7787 > architecture used.
   7788 
   7789 Branch no-mailcap-on-darwin, merged into next. Thanks!
   7790 
   7791 > I still haven't gotten sup to send mail yet,.. so more patches for
   7792 > MacOSX will probably be forthcoming.  :)
   7793 
   7794 Great, glad to have them.
   7795 -- 
   7796 William <wmorgan-sup at masanjin.net>
   7797 
   7798 From stevenrwalter@gmail.com  Fri Oct 30 18:14:32 2009
   7799 From: stevenrwalter@gmail.com (Steven Walter)
   7800 Date: Fri, 30 Oct 2009 18:14:32 -0400
   7801 Subject: [sup-talk] Recovering a busted ferret db?
   7802 In-Reply-To: <1256939095-sup-4201@masanjin.net>
   7803 References: <e06498070910301017g57b156cclec9abb3689bde243@mail.gmail.com>
   7804 	<1256939095-sup-4201@masanjin.net>
   7805 Message-ID: <e06498070910301514ud4efe49ic0fb40d181156fab@mail.gmail.com>
   7806 
   7807 On Fri, Oct 30, 2009 at 5:48 PM, William Morgan
   7808 <wmorgan-sup at masanjin.net> wrote:
   7809 > Reformatted excerpts from Steven Walter's message of 2009-10-30:
   7810 >> I think my ferret db is corrupted. ?Whenever I do a tag search for a
   7811 >> specific tag, sup loads 2 messages and then hangs. ?Actually, it's
   7812 >> using 100% CPU, but I have to kill -9 it; ctrl-c doesn't work. ?Is
   7813 >> there any hope of fixing this without losing all my tag information?
   7814 >
   7815 > You can certainly move to the Xapian index without losing all of your
   7816 > tags. Sup-dump will output everything precious from your index.
   7817 
   7818 Looks like sup-dump hangs, too.
   7819 
   7820 > Is it possible you have a very large thread with that label? E.g.
   7821 > thousands of messages, all replying to each other, from some script?
   7822 
   7823 Not very likely.  I could believe tens, up to a hundred; 200 at the most.
   7824 
   7825 I am able to Ctrl-C sup-dump when it hangs.  Here's the ruby backtrace:
   7826 
   7827 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:206:in `split': Interrupt
   7828         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:206:in
   7829 `split_on_commas'
   7830         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/person.rb:108:in
   7831 `from_address_list'
   7832         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/message.rb:104:in
   7833 `parse_header'
   7834         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:276:in
   7835 `build_message'
   7836         from /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   7837         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:256:in
   7838 `build_message'
   7839         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/index.rb:150:in
   7840 `each_message'
   7841         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:319:in
   7842 `each_id'
   7843         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:319:in `map'
   7844         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:319:in
   7845 `each_id'
   7846         from /var/lib/gems/1.8/gems/sup-0.9/lib/sup/index.rb:149:in
   7847 `each_message'
   7848         from /var/lib/gems/1.8/gems/sup-0.9/bin/sup-dump:28
   7849 
   7850 -- 
   7851 -Steven Walter <stevenrwalter at gmail.com>
   7852 
   7853 From jdugan@es.net  Fri Oct 30 19:13:39 2009
   7854 From: jdugan@es.net (Jon Dugan)
   7855 Date: Fri, 30 Oct 2009 18:13:39 -0500
   7856 Subject: [sup-talk] [PATCH] change opening attachements on darwin to use
   7857 	open instead of run-mailcap
   7858 In-Reply-To: <4AE8C073.404@GoodCoffee.ca>
   7859 References: <4AE8C073.404@GoodCoffee.ca>
   7860 Message-ID: <1256944116-sup-2844@arrakis.es.net>
   7861 
   7862 Excerpts from Jonah's message of Wed Oct 28 17:06:43 -0500 2009:
   7863 > I still haven't gotten sup to send mail yet,.. so more patches for MacOSX will
   7864 > probably be forthcoming.  :)
   7865 
   7866 I use msmtp via MacPorts to send mail from OS X.  The sup wiki has some
   7867 information on how to use msmtp in the "how mail leaves" section:
   7868 
   7869 http://sup.rubyforge.org/wiki/wiki.pl
   7870 
   7871 And the MacPorts homepage is at:
   7872 
   7873 http://macports.org/
   7874 
   7875 Jon
   7876 -- 
   7877 Jon M. Dugan <jdugan at es.net>
   7878 ESnet Network Engineering Group
   7879 Lawrence Berkeley National Laboratory
   7880 
   7881 From tero@tilus.net  Sat Oct 31 07:28:09 2009
   7882 From: tero@tilus.net (Tero Tilus)
   7883 Date: Sat, 31 Oct 2009 13:28:09 +0200
   7884 Subject: [sup-talk] [PATCH] minor nits in exception apology message
   7885 In-Reply-To: <1256939476-sup-2864@masanjin.net>
   7886 References: <1256749942-sup-4831@arrakis.es.net> <1256760295-sup-9873@peray>
   7887 	<1256760970-sup-8118@arrakis.es.net>
   7888 	<1256939476-sup-2864@masanjin.net>
   7889 Message-ID: <1256987483-sup-338@tilus.net>
   7890 
   7891 William Morgan, 2009-10-30 23:53:
   7892 >> the email address would increase the likelyhood of people reporting
   7893 >> errors.
   7894 > 
   7895 > I hate people reporting errors.
   7896 
   7897 :D
   7898 
   7899 > I should actually change that whole thing to suggest they to send a
   7900 > bugfix patch.
   7901 
   7902 Not all the people who are capable of producing good quality bug
   7903 reports are (practically) capable of producing patches.  Good bug
   7904 reports are usefull.
   7905 
   7906 Do you feel burdened by bugreports sent to you or to this list?  (I
   7907 most definitely would be.)  If so, could we somehow "unburden" you?
   7908 
   7909 How about setting up a loose team which would handle the incoming bug
   7910 reports (for you), track/sort all of them and fix what they feel like
   7911 fixing and maybe upon request/occasionally report somewhere the
   7912 current status (how many minors and majors open).
   7913 
   7914 I could be involved in something like that if it is what you and sup
   7915 community want/need.
   7916 
   7917 -- 
   7918 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   7919 
   7920 From wmorgan-sup@masanjin.net  Sat Oct 31 10:03:35 2009
   7921 From: wmorgan-sup@masanjin.net (William Morgan)
   7922 Date: Sat, 31 Oct 2009 07:03:35 -0700
   7923 Subject: [sup-talk] slowly catching up
   7924 Message-ID: <1256997213-sup-2725@masanjin.net>
   7925 
   7926 Hi all,
   7927 
   7928 Just wanted to let you know that I am slowly catching up with the
   7929 backlog of patches and bug reports. We just had our first baby so it's
   7930 been a busy few weeks.
   7931 
   7932 If you haven't heard back about something in the next week or so, please
   7933 ping me about it.
   7934 
   7935 In the near future I would like to face reality and change the process
   7936 so that I am not the one and only bottleneck to development. (Which is
   7937 entirely a situation I have created myself.) E.g. use a bug tracker (not
   7938 ditz), delegate some responsibility to people who are interested, etc. I
   7939 would like to see the development of Sup continue, but not limited by
   7940 the small amount of time I have for it. Suggestions welcome. (Thanks,
   7941 Tero, for starting on this already.)
   7942 -- 
   7943 William <wmorgan-sup at masanjin.net>
   7944 
   7945 From mariano.mara@gmail.com  Sat Oct 31 16:18:19 2009
   7946 From: mariano.mara@gmail.com (Mariano Mara)
   7947 Date: Sat, 31 Oct 2009 17:18:19 -0300
   7948 Subject: [sup-talk] RMail chokes on broken headers
   7949 In-Reply-To: <1256939410-sup-8456@masanjin.net>
   7950 References: <20091012232215.GD31940@tilus.net>
   7951 	<1255612194-sup-3880@masanjin.net> 
   7952 	<c1d7c48b0910291602t551ee26ek198e558e6e70b7b8@mail.gmail.com> 
   7953 	<1256939410-sup-8456@masanjin.net>
   7954 Message-ID: <c1d7c48b0910311318g5bbed1al638ffd3cb0815074@mail.gmail.com>
   7955 
   7956 2009/10/30 William Morgan <wmorgan-sup at masanjin.net>
   7957 
   7958 > Reformatted excerpts from Mariano Mara's message of 2009-10-29:
   7959 > > Hi there, I'm facing the same error as reported by Tero. I applied the
   7960 > > modifications he sent, however it's failing in another place and my
   7961 > > total ignorance of Ruby prevents me from fixing it. Would anyone be so
   7962 > > kind to suggest a workaround?
   7963 >
   7964 > This is fixed in git master. Maybe I should release an 0.9.1.
   7965 > --
   7966 > William <wmorgan-sup at masanjin.net>
   7967 >
   7968 
   7969 Thanks a lot! It would be great if you could release 0.9.1
   7970 
   7971 Mariano
   7972 -------------- next part --------------
   7973 An HTML attachment was scrubbed...
   7974 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091031/123ef347/attachment.html>
   7975