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-12.txt (142479B) - raw

      1 From acore@depaul.edu  Mon Dec  7 10:45:02 2009
      2 From: acore@depaul.edu (Susana Core)
      3 Date: Mon, 7 Dec 2009 09:45:02 -0600
      4 Subject: [sup-talk] sup finds exception and exits
      5 Message-ID: <20091207154502.GA7611@depaul.edu>
      6 
      7    I have been using sup for about six months and today it started
      8    having fatal problems.  I'll appreciate any suggestions. 
      9 
     10    Below are the error messages. I should clarify that while I don't
     11    delete email from my mailbox the policy for the mail account 
     12    is that after three months messages are deleted.  This might be
     13    relevant since sup exits while polling for new messages in a thread
     14    which contains at least one message older than 3 months, i.e.
     15    while tryint to load a message which has been deleted.
     16 
     17    Thanks,
     18 
     19    Susana.
     20 
     21 
     22 
     23    ____________________error messages_______________________________
     24 
     25    Polling for new messages...                                                         (eval):1: warning: instance variable @source_marked_read not initialized
     26    [Mon Dec 07 09:25:33 -0600 2009] stopped cursing
     27    [Mon Dec 07 09:25:33 -0600 2009] oh crap, an exception
     28    [Mon Dec 07 09:25:33 -0600 2009] unlocking /home/susana/.sup/lock...
     29    ----------------------------------------------------------------
     30    I'm very sorry. It seems that an error occurred in Sup. Please
     31    accept my sincere apologies. If you don't mind, please send the
     32    contents of ~/.sup/exception-log.txt and a brief report of the
     33    circumstances to sup-talk at rubyforge dot orgs so that I might
     34    address this problem. Thank you!
     35 
     36    Sincerely,
     37    William
     38    ----------------------------------------------------------------
     39    --- NoMethodError from thread: poll after loading inbox
     40    undefined method `to_indexable_s' for nil:NilClass
     41    ./lib/sup/index.rb:244:in `sync_message'
     42    ./lib/sup/util.rb:505:in `send'
     43    ./lib/sup/util.rb:505:in `method_missing'
     44    ./lib/sup/poll.rb:162:in `add_messages_from'
     45    ./lib/sup/source.rb:100:in `each'
     46    ./lib/sup/util.rb:544:in `send'
     47    ./lib/sup/util.rb:544:in `__pass'
     48    ./lib/sup/util.rb:531:in `method_missing'
     49    ./lib/sup/poll.rb:141:in `add_messages_from'
     50    ./lib/sup/poll.rb:98:in `do_poll'
     51    ./lib/sup/poll.rb:86:in `each'
     52    ./lib/sup/poll.rb:86:in `do_poll'
     53    ./lib/sup/poll.rb:85:in `synchronize'
     54    ./lib/sup/poll.rb:85:in `do_poll'
     55    ./lib/sup/util.rb:505:in `send'
     56    ./lib/sup/util.rb:505:in `method_missing'
     57    ./lib/sup/modes/poll-mode.rb:17:in `poll'
     58    ./lib/sup/poll.rb:53:in `poll'
     59    ./lib/sup/util.rb:505:in `send'
     60    ./lib/sup/util.rb:505:in `method_missing'
     61    bin/sup:206
     62    ./lib/sup.rb:71:in `reporting_thread'
     63    ./lib/sup.rb:69:in `initialize'
     64    ./lib/sup.rb:69:in `new'
     65    ./lib/sup.rb:69:in `reporting_thread'
     66    bin/sup:206
     67    ./lib/sup/modes/thread-index-mode.rb:663:in `call'
     68    ./lib/sup/modes/thread-index-mode.rb:663:in `__unprotected_load_threads'
     69    ./lib/sup/modes/thread-index-mode.rb:605:in `call'
     70    ./lib/sup/modes/thread-index-mode.rb:605:in `load_n_threads_background'
     71    ./lib/sup.rb:71:in `reporting_thread'
     72    ./lib/sup.rb:69:in `initialize'
     73    ./lib/sup.rb:69:in `new'
     74    ./lib/sup.rb:69:in `reporting_thread'
     75    ./lib/sup/modes/thread-index-mode.rb:603:in `load_n_threads_background'
     76    ./lib/sup/modes/thread-index-mode.rb:673:in `__unprotected_load_threads'
     77    (eval):12:in `load_threads'
     78    bin/sup:206
     79 
     80    ____________________ end of error messages_________________________
     81 
     82 
     83 
     84 
     85 
     86 
     87 
     88 From jof@thejof.com  Mon Dec  7 13:21:45 2009
     89 From: jof@thejof.com (Jonathan Lassoff)
     90 Date: Mon, 07 Dec 2009 10:21:45 -0800
     91 Subject: [sup-talk] sup finds exception and exits
     92 In-Reply-To: <20091207154502.GA7611@depaul.edu>
     93 References: <20091207154502.GA7611@depaul.edu>
     94 Message-ID: <1260210017-sup-8621@sfo.thejof.com>
     95 
     96 Excerpts from Susana Core's message of Mon Dec 07 07:45:02 -0800 2009:
     97 >    I have been using sup for about six months and today it started
     98 >    having fatal problems.  I'll appreciate any suggestions. 
     99 > 
    100 >    Below are the error messages. I should clarify that while I don't
    101 >    delete email from my mailbox the policy for the mail account 
    102 >    is that after three months messages are deleted.  This might be
    103 >    relevant since sup exits while polling for new messages in a thread
    104 >    which contains at least one message older than 3 months, i.e.
    105 >    while tryint to load a message which has been deleted.
    106 
    107 My experience is that sup has dealt with this gracefully (message is
    108 deleted from the actual source, but not from the index) and displays a
    109 message about it "not playing nice with others", but it still should be
    110 avoided if possible.
    111 
    112 Are you deleting the message from the index as well or just from the
    113 source?
    114 
    115 Cheers,
    116 jonathan
    117 -------------- next part --------------
    118 A non-text attachment was scrubbed...
    119 Name: signature.asc
    120 Type: application/pgp-signature
    121 Size: 197 bytes
    122 Desc: not available
    123 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091207/dea2f954/attachment.bin>
    124 
    125 From tero@tilus.net  Mon Dec  7 14:01:12 2009
    126 From: tero@tilus.net (Tero Tilus)
    127 Date: Mon, 07 Dec 2009 21:01:12 +0200
    128 Subject: [sup-talk] sup finds exception and exits
    129 In-Reply-To: <20091207154502.GA7611@depaul.edu>
    130 References: <20091207154502.GA7611@depaul.edu>
    131 Message-ID: <1260211792-sup-376@tilus.net>
    132 
    133 Susana Core, 2009-12-07 17:45:
    134 > Below are the error messages.
    135 
    136 At glance it doesn't look like the error has anything to do with
    137 deleted mail.  But I could just be terribly wrong.  :)
    138 
    139 Are you able to sup-dump your tags and reindex?  That might help you.
    140 
    141 For instructions on how to do that, see sup FAQ
    142 <http://sup.rubyforge.org/FAQ.txt> questions "How do I back up my
    143 index?" and "How do I rebuild the index completely?".  You might want
    144 to backup your ~/.sup/ferret just in case you would like to go back.
    145 
    146 > I should clarify that while I don't delete email from my mailbox the
    147 > policy for the mail account is that after three months messages are
    148 > deleted.
    149 
    150 Uough!  That policy really sucks.  :(
    151 
    152 If I had to work with something like that I'd prolly mirror incoming
    153 mails to my own mail archive (using fetchmail, offlineimap or similar)
    154 
    155 -- 
    156 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
    157 
    158 From rlane@club.cc.cmu.edu  Tue Dec  8 13:56:10 2009
    159 From: rlane@club.cc.cmu.edu (Rich Lane)
    160 Date: Tue, 08 Dec 2009 13:56:10 -0500
    161 Subject: [sup-talk] sup-server
    162 Message-ID: <1260291857-sup-4773@zyrg.net>
    163 
    164 I've pushed a branch sup-server to my github*. There's a lot to be done
    165 before this reaches feature parity with current Sup - for instance, the
    166 ncurses client doesn't work yet.
    167 
    168 *git://github.com/rlane/sup
    169 
    170 Current status:
    171  - Server passes its (incomplete) test suite
    172  - sup-cmd executable useful for simple interactions (each protocol
    173    request exposed)
    174  - ncurses client completely nonfunctional
    175  - client/server/common source code split
    176  - server implemented with Revactor - Ruby 1.9 only
    177  - server stores messages (currently gzip'd mbox-ish)
    178 
    179 Protocol:
    180  - Designed to avoid round-trip latencies
    181  - BERT over tcp/unix
    182   - thrift/etc could be supported in the future
    183  - Requests (full docs in lib/sup/server/requests.rb):
    184   - Query
    185   - Count
    186   - Label
    187   - Add
    188   - Stream
    189   - Cancel
    190  - Requests take query arguments instead of messages-ids (thanks to
    191    Carl/notmuch for this idea)
    192  - These requests should be sufficient to implement a working client. We
    193    can add more in the future for optimizations (threading) or new
    194    features (contacts).
    195 
    196 TODO:
    197  - Expand test suite
    198  - Modify sup-sync to send Add requests to the server
    199  - Get the ncurses UI working
    200  - Remove dead code
    201  - Protocol versioning/negotiation/authentication/extensions
    202  - Performance optimizations
    203  - Add web/android/iphone/vim/irb/etc UIs
    204  - Actorize the index/storage interfaces
    205  - Shard index/storage
    206  - Distribute indexing/parsing/compression/etc across worker processes
    207  - Replication?
    208 
    209 The test suite is an important part of this effort. With the amount of
    210 code churn that's going on it just takes too much work to manually
    211 verify that every (affected) feature works before committing. If it's
    212 not covered by a test, I don't care if it's broken.
    213 
    214 For now, I'll plan on adding any new UIs to the main repo. When the
    215 protocol stabilizes we can think about splitting them out.
    216 
    217 I would be very interested if someone could spin up a web UI quickly.
    218 I'd like to start using this branch for my own mail and it will take a
    219 significant amount of time before I can beat the ncurses UI into shape.
    220 
    221 For some background on sup-server please read William's various blog
    222 posts on the subject. In its current form this project makes some
    223 compromises for the sake of efficiency and simplicity. I would be
    224 interested in making the protocol more generic while preserving those
    225 attributes, so if you have thoughts on this send them to the list.
    226 
    227 Some questions from the IRC channel:
    228  - Do clients need threading logic?
    229    Yes. There is no thread abstraction in the protocol, so clients will
    230    need to understand email threading. A planned optimization is to
    231    expose the index thread-id field to essentially collapse the thread
    232    for client-threading purposes.
    233 
    234  - Will a client connecting to sup-server feel snappier than sup over
    235    ssh?
    236    Yes (given a well-written client). The protocol is designed to
    237    minimize the effects of network latency, but it will take a good
    238    amount of work in the client to fully take advantage of this.
    239 
    240  - Do clients need to know how to parse email?
    241    Yes. Right now clients who want to display a message need to query for
    242    the raw message text. If we can come up with a simple, comprehensive
    243    model of an email message that clients would rather digest than the
    244    raw text I'd be willing to add it as an optional extension to the
    245    protocol.
    246 
    247 From garoth@gmail.com  Tue Dec  8 17:12:05 2009
    248 From: garoth@gmail.com (Andrei Thorp)
    249 Date: Tue, 8 Dec 2009 17:12:05 -0500
    250 Subject: [sup-talk] sup-server
    251 In-Reply-To: <1260291857-sup-4773@zyrg.net>
    252 References: <1260291857-sup-4773@zyrg.net>
    253 Message-ID: <80055d7c0912081412h483bc6dt8493b08dfab1d23b@mail.gmail.com>
    254 
    255 On Tue, Dec 8, 2009 at 1:56 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
    256 > I've pushed a branch sup-server to my github*. There's a lot to be done
    257 > before this reaches feature parity with current Sup - for instance, the
    258 > ncurses client doesn't work yet.
    259 >
    260 > *git://github.com/rlane/sup
    261 >
    262 > Current status:
    263 > ?- Server passes its (incomplete) test suite
    264 > ?- sup-cmd executable useful for simple interactions (each protocol
    265 > ? request exposed)
    266 > ?- ncurses client completely nonfunctional
    267 > ?- client/server/common source code split
    268 > ?- server implemented with Revactor - Ruby 1.9 only
    269 > ?- server stores messages (currently gzip'd mbox-ish)
    270 >
    271 > Protocol:
    272 > ?- Designed to avoid round-trip latencies
    273 > ?- BERT over tcp/unix
    274 > ?- thrift/etc could be supported in the future
    275 > ?- Requests (full docs in lib/sup/server/requests.rb):
    276 > ?- Query
    277 > ?- Count
    278 > ?- Label
    279 > ?- Add
    280 > ?- Stream
    281 > ?- Cancel
    282 > ?- Requests take query arguments instead of messages-ids (thanks to
    283 > ? Carl/notmuch for this idea)
    284 > ?- These requests should be sufficient to implement a working client. We
    285 > ? can add more in the future for optimizations (threading) or new
    286 > ? features (contacts).
    287 >
    288 > TODO:
    289 > ?- Expand test suite
    290 > ?- Modify sup-sync to send Add requests to the server
    291 > ?- Get the ncurses UI working
    292 > ?- Remove dead code
    293 > ?- Protocol versioning/negotiation/authentication/extensions
    294 > ?- Performance optimizations
    295 > ?- Add web/android/iphone/vim/irb/etc UIs
    296 > ?- Actorize the index/storage interfaces
    297 > ?- Shard index/storage
    298 > ?- Distribute indexing/parsing/compression/etc across worker processes
    299 > ?- Replication?
    300 >
    301 > The test suite is an important part of this effort. With the amount of
    302 > code churn that's going on it just takes too much work to manually
    303 > verify that every (affected) feature works before committing. If it's
    304 > not covered by a test, I don't care if it's broken.
    305 >
    306 > For now, I'll plan on adding any new UIs to the main repo. When the
    307 > protocol stabilizes we can think about splitting them out.
    308 >
    309 > I would be very interested if someone could spin up a web UI quickly.
    310 > I'd like to start using this branch for my own mail and it will take a
    311 > significant amount of time before I can beat the ncurses UI into shape.
    312 >
    313 > For some background on sup-server please read William's various blog
    314 > posts on the subject. In its current form this project makes some
    315 > compromises for the sake of efficiency and simplicity. I would be
    316 > interested in making the protocol more generic while preserving those
    317 > attributes, so if you have thoughts on this send them to the list.
    318 >
    319 > Some questions from the IRC channel:
    320 > ?- Do clients need threading logic?
    321 > ? Yes. There is no thread abstraction in the protocol, so clients will
    322 > ? need to understand email threading. A planned optimization is to
    323 > ? expose the index thread-id field to essentially collapse the thread
    324 > ? for client-threading purposes.
    325 >
    326 > ?- Will a client connecting to sup-server feel snappier than sup over
    327 > ? ssh?
    328 > ? Yes (given a well-written client). The protocol is designed to
    329 > ? minimize the effects of network latency, but it will take a good
    330 > ? amount of work in the client to fully take advantage of this.
    331 >
    332 > ?- Do clients need to know how to parse email?
    333 > ? Yes. Right now clients who want to display a message need to query for
    334 > ? the raw message text. If we can come up with a simple, comprehensive
    335 > ? model of an email message that clients would rather digest than the
    336 > ? raw text I'd be willing to add it as an optional extension to the
    337 > ? protocol.
    338 > _______________________________________________
    339 > sup-talk mailing list
    340 > sup-talk at rubyforge.org
    341 > http://rubyforge.org/mailman/listinfo/sup-talk
    342 >
    343 
    344 While I'm as usual very impressed that Rich has done so much work, and
    345 very happy with the ideas proposed in the STS posts, I can't help but
    346 wonder,
    347 
    348 "Why does this sound like implementing a Sup ui to Wave, but not using
    349 Wave?" (Actually mentioned in Rethinking Sup pt. 2)
    350 
    351 This really seems like it's in direct competition with the Wave
    352 system... but Wave has a lot more support. And yes, Wave doesn't have
    353 e-mail federation at the moment, but I think they plan to do that in
    354 the future. So yes, I like the idea of a Sup server, I like being able
    355 to access my (sup) mail from multiple computers, I like the idea of
    356 having multiple UIs to the Sup Service... but I think that in the long
    357 run, I'd feel just as good about a couple good open source UIs to
    358 Google's Wave instead.
    359 
    360 Honestly, I hope I'm wrong since there seems to be a lot of work done
    361 here. Also, I have a Wave account and some invites, so if you want to
    362 do some research and get a preview account, I can give some out.
    363 
    364 Cheers,
    365 
    366 -Andrei Thorp
    367 
    368 From rlane@club.cc.cmu.edu  Tue Dec  8 21:33:29 2009
    369 From: rlane@club.cc.cmu.edu (Rich Lane)
    370 Date: Tue, 08 Dec 2009 21:33:29 -0500
    371 Subject: [sup-talk] sup-server
    372 In-Reply-To: <80055d7c0912081412h483bc6dt8493b08dfab1d23b@mail.gmail.com>
    373 References: <1260291857-sup-4773@zyrg.net>
    374 	<80055d7c0912081412h483bc6dt8493b08dfab1d23b@mail.gmail.com>
    375 Message-ID: <1260323222-sup-1616@zyrg.net>
    376 
    377 Excerpts from Andrei Thorp's message of Tue Dec 08 17:12:05 -0500 2009:
    378 > This really seems like it's in direct competition with the Wave
    379 > system... but Wave has a lot more support. And yes, Wave doesn't have
    380 > e-mail federation at the moment, but I think they plan to do that in
    381 > the future. So yes, I like the idea of a Sup server, I like being able
    382 > to access my (sup) mail from multiple computers, I like the idea of
    383 > having multiple UIs to the Sup Service... but I think that in the long
    384 > run, I'd feel just as good about a couple good open source UIs to
    385 > Google's Wave instead.
    386 
    387 I actually didn't think about this as being competition to Wave. The
    388 current implementation is much more narrowly scoped, but the grand
    389 generic document store vision does bear a resemblance. I don't know how
    390 far down that road the project will go. I don't want to lose mail client
    391 functionality for the sake of being as generic as Wave (I haven't seen
    392 any information on the subject, but I assume the translation to/from
    393 email is lossy).
    394 
    395 From garoth@gmail.com  Wed Dec  9 08:45:48 2009
    396 From: garoth@gmail.com (Andrei Thorp)
    397 Date: Wed, 9 Dec 2009 08:45:48 -0500
    398 Subject: [sup-talk] sup-server
    399 In-Reply-To: <1260323222-sup-1616@zyrg.net>
    400 References: <1260291857-sup-4773@zyrg.net>
    401 	<80055d7c0912081412h483bc6dt8493b08dfab1d23b@mail.gmail.com>
    402 	<1260323222-sup-1616@zyrg.net>
    403 Message-ID: <80055d7c0912090545w2ac96a8cp23a8c5dedf32218f@mail.gmail.com>
    404 
    405 On Tue, Dec 8, 2009 at 9:33 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
    406 > Excerpts from Andrei Thorp's message of Tue Dec 08 17:12:05 -0500 2009:
    407 >> This really seems like it's in direct competition with the Wave
    408 >> system... but Wave has a lot more support. And yes, Wave doesn't have
    409 >> e-mail federation at the moment, but I think they plan to do that in
    410 >> the future. So yes, I like the idea of a Sup server, I like being able
    411 >> to access my (sup) mail from multiple computers, I like the idea of
    412 >> having multiple UIs to the Sup Service... but I think that in the long
    413 >> run, I'd feel just as good about a couple good open source UIs to
    414 >> Google's Wave instead.
    415 >
    416 > I actually didn't think about this as being competition to Wave. The
    417 > current implementation is much more narrowly scoped,
    418 
    419 Yeah, if you're sticking strictly to e-mail, this is a much better idea.
    420 
    421 > but the grand
    422 > generic document store vision does bear a resemblance. I don't know how
    423 > far down that road the project will go.
    424 
    425 The slight trouble that I foresee would be when Wave does do e-mail
    426 federation. I guess what I'm saying is that the future of this project
    427 would be reliant on whether or not Wave takes over, incorporates all
    428 of e-mail (as google seems to hope), and phases it out in the long
    429 run. I know, I know, there will be blood when this starts to happen
    430 (if it does). The reason that sup-server would have trouble if wave
    431 became popular would be simply that your e-mail would be fetched by
    432 wave servers and sup-server would not really have a place to be
    433 inserted, unless it actually became a mail server with some
    434 non-standard extensions (presumably for tagging, etc.). This might
    435 actually be an interesting direction to take regardless, actually.
    436 Upon thinking about how this might work, it seems a lot of data like
    437 annotations, labels, etc. could be stored in non-standard e-mail
    438 headers, and "sup clients" would just fetch the mail regularly and do
    439 stuff with the extra headers they have. The annotation system could,
    440 perhaps, list the line of the source + the annotation.The labels would
    441 be just a plain list. Then, you could even write back to the mail
    442 server your new headers with imap I guess?
    443 
    444 > I don't want to lose mail client
    445 > functionality for the sake of being as generic as Wave (I haven't seen
    446 > any information on the subject, but I assume the translation to/from
    447 > email is lossy).
    448 
    449 I guess we don't know whether or not it would be lossy yet. I suppose
    450 for the sake of wave internals (sending waves based on e-mails), there
    451 will have to be a lot of stuff cut, like most of the e-mail data
    452 fields (how would they know what the "to" person is when mapped to
    453 wave?). However, for the sake of sending back out to the e-mail
    454 system, they would probably store all of the relevant field data.
    455 
    456 Anyway, a lot of this is speculative, and the e-mail vs. wave battle
    457 of the future may not even happen because people are content enough
    458 with e-mail. Or it may be far off, or who knows! And I could sure use
    459 STS now to handle my mail in a sane way in the meanwhile.
    460 
    461 Foods for Thoughts,
    462 
    463 -Andrei Thorp
    464 
    465 P.S. I'll be excited for the future of sup regardless of what happens.
    466 I do honestly like this project a lot.
    467 
    468 From wmorgan-sup@masanjin.net  Fri Dec 11 12:13:50 2009
    469 From: wmorgan-sup@masanjin.net (William Morgan)
    470 Date: Fri, 11 Dec 2009 09:13:50 -0800
    471 Subject: [sup-talk] [ANN] Sup 0.9.1 released
    472 Message-ID: <1260551530-sup-6131@masanjin.net>
    473 
    474 I'm pleased to announce the release of Sup 0.9.1.
    475 
    476 Sup is a console-based email client for people with a lot of email.
    477 It supports tagging, very fast full-text search, automatic contact-
    478 list management, and more. If you're the type of person who treats
    479 email as an extension of your long-term memory, Sup is for you.
    480 
    481 Get it: gem install sup
    482 Learn it: http://sup.rubyforge.org
    483 Love it: sup-talk at rubyforge.org
    484 
    485 Release notes:
    486 
    487 This is mainly a bugfix release, with a couple minor new features rolled up.
    488 
    489 If you are using the Ferret backend, consider convering soon. I will probably
    490 add a deprecation notice in 0.10, and you support will be dropped in 0.11.
    491 
    492 Excitement in 0.9.1:
    493 
    494 * Make textfield behave more like readline, including C-w
    495 * Add ask_for_to config option. You can set all ask_for_* options to false, and
    496   composing a message will go immediately to the editor.
    497 * RFC 2047 decode attachment file names
    498         * default ask_for_to to true
    499 * add undo power to thread-view-mode
    500 * display labels of polled messages
    501 * increase numbers in contact-list-mode
    502 * fix --compose option, and add a --subject option
    503 * include hook filename in error messages
    504 * As always, many bugfixes and tweaks.
    505 -- 
    506 William <wmorgan-sup at masanjin.net>
    507 
    508 From wmorgan-sup@masanjin.net  Fri Dec 11 12:15:23 2009
    509 From: wmorgan-sup@masanjin.net (William Morgan)
    510 Date: Fri, 11 Dec 2009 09:15:23 -0800
    511 Subject: [sup-talk] [ANN] Sup 0.9.1 released
    512 In-Reply-To: <1260551530-sup-6131@masanjin.net>
    513 References: <1260551530-sup-6131@masanjin.net>
    514 Message-ID: <1260551644-sup-47@masanjin.net>
    515 
    516 Two small comments on this release.
    517 
    518 1. I just wrapped up the current master. There were some minor features
    519 added, but this is mostly bugfixes.
    520 
    521 2. This gem in on gemcutter, since RubyForge no longer does gem hosting.
    522 It is likely that you will have to "gem install gemcutter" before you
    523 can get this version.
    524 -- 
    525 William <wmorgan-sup at masanjin.net>
    526 
    527 From garoth@gmail.com  Fri Dec 11 13:31:16 2009
    528 From: garoth@gmail.com (Andrei Thorp)
    529 Date: Fri, 11 Dec 2009 13:31:16 -0500
    530 Subject: [sup-talk] [ANN] Sup 0.9.1 released
    531 In-Reply-To: <1260551644-sup-47@masanjin.net>
    532 References: <1260551530-sup-6131@masanjin.net> <1260551644-sup-47@masanjin.net>
    533 Message-ID: <80055d7c0912111031o12bd212em1d62e67159bc7d2@mail.gmail.com>
    534 
    535 Wow, crazy. Well, good work contributors, thank you very much.
    536 
    537 -AT
    538 
    539 From mcdermott.michaelj@gmail.com  Mon Dec 14 12:01:39 2009
    540 From: mcdermott.michaelj@gmail.com (Michael McDermott)
    541 Date: Mon, 14 Dec 2009 11:01:39 -0600
    542 Subject: [sup-talk] Sorting
    543 Message-ID: <1260809732-sup-4895@zion>
    544 
    545 After running a search in Sup, is there any way to sort the result set? Or,
    546 perhaps, specify the ordering in the query? (ala SQL)
    547 -- 
    548 Michael McDermott
    549 www.mad-computer-scientist.com
    550 
    551 From marco-oweber@gmx.de  Mon Dec 14 12:13:01 2009
    552 From: marco-oweber@gmx.de (Marc Weber)
    553 Date: Mon, 14 Dec 2009 18:13:01 +0100
    554 Subject: [sup-talk] Sorting
    555 In-Reply-To: <1260809732-sup-4895@zion>
    556 References: <1260809732-sup-4895@zion>
    557 Message-ID: <1260810592-sup-4853@nixos>
    558 
    559 Excerpts from Michael McDermott's message of Mon Dec 14 18:01:39 +0100 2009:
    560 > After running a search in Sup, is there any way to sort the result set? Or,
    561 > perhaps, specify the ordering in the query? (ala SQL)
    562 
    563 Hi McDermott
    564 
    565 Sup is lazy.
    566 
    567 It only searches as much results as fit on screen unless you use !!
    568 I think threads are sorted by date which makes much sense.
    569 
    570 You propose that you want a ORDER BY feature.
    571 >From SQL you should also know that this forces the database to fetch all
    572 rows even if you're interested only in LIMIT 1.
    573 
    574 So try !! and wait. If it' fast enough tell so. If it's not think about
    575 another way to solve you real problem. Maybe just put your real problem
    576 here. There may be a different solution.
    577 
    578 You want to stort your threads by which field?
    579 
    580 Marc Weber
    581 
    582 From ezyang@MIT.EDU  Mon Dec 14 12:17:19 2009
    583 From: ezyang@MIT.EDU (Edward Z. Yang)
    584 Date: Mon, 14 Dec 2009 12:17:19 -0500
    585 Subject: [sup-talk] Sorting
    586 In-Reply-To: <1260810592-sup-4853@nixos>
    587 References: <1260809732-sup-4895@zion> <1260810592-sup-4853@nixos>
    588 Message-ID: <1260810972-sup-8070@ezyang>
    589 
    590 Excerpts from Marc Weber's message of Mon Dec 14 12:13:01 -0500 2009:
    591 > It only searches as much results as fit on screen unless you use !!
    592 > I think threads are sorted by date which makes much sense.
    593 
    594 If we have an index on X field you want to sort on, we shouldn't
    595 need to grab all of the entries either.  Although, this is entirely
    596 index dependent...
    597 
    598 Edward
    599 
    600 From byzkarl@yahoo.com  Mon Dec 14 16:28:04 2009
    601 From: byzkarl@yahoo.com (Karl Schudt)
    602 Date: Mon, 14 Dec 2009 15:28:04 -0600
    603 Subject: [sup-talk] Crash of Sup 0.9.1
    604 Message-ID: <20091214212804.GA4198@linux-vk5u.ben.pri>
    605 
    606 I installed Sup on Opensuse, and it seems to run fine, indexing my gmail
    607 account. But when I type a "\" to search, it crashes.
    608 
    609 
    610 --- NoMethodError from thread: main
    611 undefined method `new_field' for Ncurses::Form:Module
    612 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/textfield.rb:36:in `activate'
    613 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:561:in `ask'
    614 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:26:in `synchronize'
    615 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:26:in `sync'
    616 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:560:in `ask'
    617 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `send'
    618 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `method_missing'
    619 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/modes/scroll-mode.rb:84:in `search_in_buffer'
    620 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/mode.rb:51:in `send'
    621 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/mode.rb:51:in `handle_input'
    622 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:265:in `handle_input'
    623 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/bin/sup:243
    624 /usr/bin/sup:19:in `load'
    625 /usr/bin/sup:19
    626 
    627 From garoth@gmail.com  Mon Dec 14 16:51:12 2009
    628 From: garoth@gmail.com (Andrei Thorp)
    629 Date: Mon, 14 Dec 2009 16:51:12 -0500
    630 Subject: [sup-talk] Crash of Sup 0.9.1
    631 In-Reply-To: <20091214212804.GA4198@linux-vk5u.ben.pri>
    632 References: <20091214212804.GA4198@linux-vk5u.ben.pri>
    633 Message-ID: <80055d7c0912141351q4313a3fbp71b1974b1adeae42@mail.gmail.com>
    634 
    635 On Mon, Dec 14, 2009 at 4:28 PM, Karl Schudt <byzkarl at yahoo.com> wrote:
    636 > --- NoMethodError from thread: main
    637 > undefined method `new_field' for Ncurses::Form:Module
    638 
    639 As a somewhat obvious thing to say, I would guess that your ruby
    640 ncurses or ncurses is too old/new. Try upgrading your ncurses stuff --
    641 might help.
    642 
    643 (Just a guess.)
    644 
    645 -AT
    646 
    647 From cworth@cworth.org  Mon Dec 14 18:12:41 2009
    648 From: cworth@cworth.org (Carl Worth)
    649 Date: Mon, 14 Dec 2009 15:12:41 -0800
    650 Subject: [sup-talk] Sorting
    651 In-Reply-To: <1260809732-sup-4895@zion>
    652 References: <1260809732-sup-4895@zion>
    653 Message-ID: <87eimx2lqu.fsf@yoom.home.cworth.org>
    654 
    655 On Mon, 14 Dec 2009 11:01:39 -0600, Michael McDermott <mcdermott.michaelj at gmail.com> wrote:
    656 > After running a search in Sup, is there any way to sort the result set? Or,
    657 > perhaps, specify the ordering in the query? (ala SQL)
    658 
    659 The Xapian database (which Sup uses optionally now and perhaps
    660 exclusively in the future) allows results to be sorted by anything
    661 stored in a "value" field of the documents.
    662 
    663 If I recall correctly, Sup is currently storing three things in "value"
    664 fields:
    665 
    666 	1. Message ID
    667 
    668         2. Thread ID (which is Message ID of a representative message)
    669 
    670 	3. Date
    671 
    672 So it's quite easy to have Xapian return things based on an ordering of
    673 any one of those values (in either direction). And this does not require
    674 fetching all documents.
    675 
    676 Sorting on anything else would require either fetching all documents,
    677 (and doing the sort in the user-interface), or else storing an
    678 additional value for each document in the database.
    679 
    680 What is it that you actually want to sort on?
    681 
    682 -carl
    683 
    684 -------------- next part --------------
    685 A non-text attachment was scrubbed...
    686 Name: not available
    687 Type: application/pgp-signature
    688 Size: 189 bytes
    689 Desc: not available
    690 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091214/b4017175/attachment-0001.bin>
    691 
    692 From ezyang@MIT.EDU  Tue Dec 15 00:35:42 2009
    693 From: ezyang@MIT.EDU (Edward Z. Yang)
    694 Date: Tue, 15 Dec 2009 00:35:42 -0500
    695 Subject: [sup-talk] Fwd: Automatic labels backup
    696 Message-ID: <1260855317-sup-863@ezyang>
    697 
    698 Ever had your index corrupted, and your last backup of your labels from
    699 a month ago?  Ever had to go speed through a month's worth of mail?
    700 
    701 Well, now, you can /not/ have to do that, with a handy-dandy automated
    702 index dump tool that I've written.  It's at the bottom of the
    703 hooks page here: <http://sup.rubyforge.org/wiki/wiki.pl?Hooks> and I've
    704 reproduced it below for completeness.
    705 
    706 This is the first substantial bit of Ruby code I've ever written, so
    707 style nits as well as improvements greatly welcomed; in particular
    708 automatic gzipping of the dumpfiles, and maybe a less braindead backup
    709 rotation technique.
    710 
    711 Cheers,
    712 Edward
    713 
    714 require 'ftools'
    715 
    716 Redwood::reporting_thread("dump") do
    717     maintain = 7
    718     wait = 21600
    719     while true
    720         say "Rotating dumps"
    721         filename = File.join(BASE_DIR, "dump")
    722         maintain.downto(0) do |i|
    723             rotatename = filename + "." + i.to_s
    724             if File.exist?(rotatename)
    725                 if i == maintain
    726                     File.unlink(rotatename)
    727                 else
    728                     File.move(rotatename, filename + "." + (i+1).to_s)
    729                 end
    730             end
    731         end
    732         say "Dumping labels to .sup/dump.0"
    733         dumpfile = File.new(filename + ".0", "w")
    734         Redwood::Index.each_message :load_spam => true, :load_deleted => true, :load_killed => true do |m|
    735             dumpfile.puts "#{m.id} (#{m.labels.to_a.sort_by { |l| l.to_s } * ' '})"
    736         end
    737         dumpfile.close
    738         say "Done dumping"
    739         sleep wait
    740     end
    741 end
    742 
    743 From ezyang@MIT.EDU  Tue Dec 15 17:40:54 2009
    744 From: ezyang@MIT.EDU (Edward Z. Yang)
    745 Date: Tue, 15 Dec 2009 17:40:54 -0500
    746 Subject: [sup-talk] Odd bug with lazy-loaded messages
    747 In-Reply-To: <1249807206-sup-55@javelin>
    748 References: <1248716007-sup-5156@javelin> <1249319474-sup-8322@masanjin.net>
    749 	<1249711570-sup-2277@javelin> <1249807206-sup-55@javelin>
    750 Message-ID: <1260916831-sup-257@ezyang>
    751 
    752 Excerpts from Edward Z. Yang's message of Sun Aug 09 04:40:33 -0400 2009:
    753 > It looks like it's still a problem in some sporadic cases.  Going to
    754 > submit a more thorough patch soon.
    755 
    756 For the record, I've switched to OfflineIMAP and am not looking back,
    757 so consider this patchset orphaned.
    758 
    759 Edward
    760 
    761 From jayzer@gmail.com  Tue Dec 15 19:24:01 2009
    762 From: jayzer@gmail.com (Jay Mendoza)
    763 Date: Tue, 15 Dec 2009 18:24:01 -0600
    764 Subject: [sup-talk] phantom unread messages & address book autocomplete
    765 Message-ID: <1260922380-sup-33@orion>
    766 
    767 I've been using sup for a few weeks now and just have a couple of
    768 questions.
    769 
    770 I seem to run into an issue of having at least one elusive unread
    771 message from time to time. It appears in Unread, Inbox, Attachments, and
    772 Killed, but no amount of $ or @ seems to remedy the situation. Searching
    773 for is:unread turns up nothing, and none of the labels with which the
    774 message is marked will display anything, either. Is there a better way
    775 to track this down? I'm using sup 0.9.1/xapian.
    776 
    777 Is there a trick to getting autocomplete to work for email addresses in
    778 the To: field? I've only ever seen it work on two addresses (and one was
    779 my own), and even then, not very consistently. It almost seems like I've
    780 had to have use the address once before during the session for it to
    781 work properly. Maybe this is the desired behavior, but I feel like I'm
    782 missing something here.
    783 -- 
    784 Jay
    785 
    786 From ezyang@MIT.EDU  Tue Dec 15 19:35:08 2009
    787 From: ezyang@MIT.EDU (Edward Z. Yang)
    788 Date: Tue, 15 Dec 2009 19:35:08 -0500
    789 Subject: [sup-talk] phantom unread messages & address book autocomplete
    790 In-Reply-To: <1260922380-sup-33@orion>
    791 References: <1260922380-sup-33@orion>
    792 Message-ID: <1260923477-sup-3509@ezyang>
    793 
    794 No comment on the first issue, but...
    795 
    796 Excerpts from Jay Mendoza's message of Tue Dec 15 19:24:01 -0500 2009:
    797 > Is there a trick to getting autocomplete to work for email addresses in
    798 > the To: field? I've only ever seen it work on two addresses (and one was
    799 > my own), and even then, not very consistently. It almost seems like I've
    800 > had to have use the address once before during the session for it to
    801 > work properly. Maybe this is the desired behavior, but I feel like I'm
    802 > missing something here.
    803 
    804 My understanding of this is that you have to explicitly save the address
    805 in order to make it show up on autocomplete (I've forgotten the keybinding,
    806 since I'm /so/ terrible at doing this).
    807 
    808 I would love to see autocomplete not be braindead about two equivalent
    809 names; for example, sup-talk at rubyforge.org also comes up as
    810 sup-talk <sup-talk at rubyforge.org>, and I can't just type "sup" and
    811 autocomplete to something complete.
    812 
    813 Cheers,
    814 Edward
    815 
    816 From ezyang@MIT.EDU  Tue Dec 15 20:39:41 2009
    817 From: ezyang@MIT.EDU (Edward Z. Yang)
    818 Date: Tue, 15 Dec 2009 20:39:41 -0500
    819 Subject: [sup-talk] Current art for sup-sync-back and maildir
    820 Message-ID: <1260927504-sup-4241@ezyang>
    821 
    822 What is the current art of backwards synchronization for
    823 maildir sources?  I'm almost out of quota on my main account
    824 and I'd like to make OfflineImap purge all of the messages I've
    825 deleted over the years (I also don't relish the prospect of
    826 running a sup-sync after manually deleting messages myself).
    827 
    828 Cheers,
    829 Edward
    830 
    831 From jayzer@gmail.com  Wed Dec 16 00:43:23 2009
    832 From: jayzer@gmail.com (Jay Mendoza)
    833 Date: Tue, 15 Dec 2009 23:43:23 -0600
    834 Subject: [sup-talk] phantom unread messages & address book autocomplete
    835 In-Reply-To: <1260923477-sup-3509@ezyang>
    836 References: <1260922380-sup-33@orion> <1260923477-sup-3509@ezyang>
    837 Message-ID: <1260942098-sup-3347@orion>
    838 
    839 Excerpts from Edward Z. Yang's message of Tue Dec 15 18:35:08 -0600 2009:
    840 > No comment on the first issue, but...
    841 > 
    842 > Excerpts from Jay Mendoza's message of Tue Dec 15 19:24:01 -0500 2009:
    843 > > Is there a trick to getting autocomplete to work for email addresses in
    844 > > the To: field? I've only ever seen it work on two addresses (and one was
    845 > > my own), and even then, not very consistently. It almost seems like I've
    846 > > had to have use the address once before during the session for it to
    847 > > work properly. Maybe this is the desired behavior, but I feel like I'm
    848 > > missing something here.
    849 > 
    850 > My understanding of this is that you have to explicitly save the address
    851 > in order to make it show up on autocomplete (I've forgotten the keybinding,
    852 > since I'm /so/ terrible at doing this).
    853 > 
    854 > I would love to see autocomplete not be braindead about two equivalent
    855 > names; for example, sup-talk at rubyforge.org also comes up as
    856 > sup-talk <sup-talk at rubyforge.org>, and I can't just type "sup" and
    857 > autocomplete to something complete.
    858 
    859 Ah, thanks for the info. I'll have a look at the code.
    860 -- 
    861 Jay
    862 
    863 From johnbent@lanl.gov  Thu Dec 17 18:46:39 2009
    864 From: johnbent@lanl.gov (John Bent)
    865 Date: Thu, 17 Dec 2009 16:46:39 -0700
    866 Subject: [sup-talk] exception after polling
    867 Message-ID: <1261093538-sup-8147@tangerine.lanl.gov>
    868 
    869 So sup was sitting idle and it did a poll and I saw the new message
    870 briefly enter the inbox and then it crashed:
    871 
    872 [Thu Dec 17 16:42:45 -0700 2009] ERROR: oh crap, an exception
    873 ----------------------------------------------------------------
    874 I'm very sorry. It seems that an error occurred in Sup. Please
    875 accept my sincere apologies. If you don't mind, please send the
    876 contents of ~/.sup/exception-log.txt and a brief report of the
    877 circumstances to sup-talk at rubyforge dot orgs so that I might
    878 address this problem. Thank you!
    879 
    880 Sincerely,
    881 William
    882 ----------------------------------------------------------------
    883 --- NoMethodError from thread: periodic poll
    884 undefined method `content_width' for nil:NilClass
    885 ./lib/sup/modes/thread-index-mode.rb:876:in `from_width'
    886 ./lib/sup/modes/thread-index-mode.rb:801:in `text_for_thread_at'
    887 ./lib/sup/hook.rb:55:in `each_with_index'
    888 ./lib/sup/modes/thread-index-mode.rb:800:in `each'
    889 ./lib/sup/modes/thread-index-mode.rb:800:in `each_with_index'
    890 ./lib/sup/modes/thread-index-mode.rb:800:in `text_for_thread_at'
    891 ./lib/sup/modes/thread-index-mode.rb:758:in `regen_text'
    892 ./lib/sup/util.rb:364:in `map_with_index'
    893 ./lib/sup/hook.rb:55:in `each_with_index'
    894 ./lib/sup/util.rb:364:in `each'
    895 ./lib/sup/util.rb:364:in `each_with_index'
    896 ./lib/sup/util.rb:364:in `map_with_index'
    897 ./lib/sup/modes/thread-index-mode.rb:758:in `regen_text'
    898 ./lib/sup/modes/thread-index-mode.rb:230:in `update'
    899 ./lib/sup/modes/thread-index-mode.rb:702:in `add_or_unhide'
    900 ./lib/sup/modes/thread-index-mode.rb:188:in `handle_added_update'
    901 ./lib/sup/update.rb:26:in `send'
    902 ./lib/sup/update.rb:26:in `relay'
    903 ./lib/sup/update.rb:26:in `each'
    904 ./lib/sup/update.rb:26:in `relay'
    905 ./lib/sup/util.rb:520:in `send'
    906 ./lib/sup/util.rb:520:in `method_missing'
    907 ./lib/sup/poll.rb:166:in `add_new_message'
    908 ./lib/sup/poll.rb:109:in `do_poll'
    909 ./lib/sup/poll.rb:151:in `each_message_from'
    910 ./lib/sup/source.rb:104:in `each'
    911 ./lib/sup/util.rb:560:in `send'
    912 ./lib/sup/util.rb:560:in `__pass'
    913 ./lib/sup/util.rb:547:in `method_missing'
    914 ./lib/sup/poll.rb:139:in `each_message_from'
    915 ./lib/sup/poll.rb:93:in `do_poll'
    916 ./lib/sup/poll.rb:81:in `each'
    917 ./lib/sup/poll.rb:81:in `do_poll'
    918 ./lib/sup/poll.rb:80:in `synchronize'
    919 ./lib/sup/poll.rb:80:in `do_poll'
    920 ./lib/sup/util.rb:520:in `send'
    921 ./lib/sup/util.rb:520:in `method_missing'
    922 ./lib/sup/modes/poll-mode.rb:15:in `poll'
    923 ./lib/sup/poll.rb:48:in `poll'
    924 ./lib/sup/poll.rb:65:in `start'
    925 ./lib/sup.rb:77:in `reporting_thread'
    926 ./lib/sup.rb:75:in `initialize'
    927 ./lib/sup.rb:75:in `new'
    928 ./lib/sup.rb:75:in `reporting_thread'
    929 ./lib/sup/poll.rb:62:in `start'
    930 ./lib/sup/util.rb:520:in `send'
    931 ./lib/sup/util.rb:520:in `method_missing'
    932 bin/sup:203
    933 
    934 
    935 From eg@gaute.vetsj.com  Fri Dec 18 10:37:16 2009
    936 From: eg@gaute.vetsj.com (Gaute Hope)
    937 Date: Fri, 18 Dec 2009 16:37:16 +0100
    938 Subject: [sup-talk] Ruby 1.9: encodings
    939 In-Reply-To: <80055d7c0911061922w64ef7cb0qf0c7bed008cc728c@mail.gmail.com>
    940 References: <80055d7c0911061922w64ef7cb0qf0c7bed008cc728c@mail.gmail.com>
    941 Message-ID: <5a5b14cf0912180737n600fc2acx30fa14028d4a7662@mail.gmail.com>
    942 
    943 I just tried.. im getting the same, afraid im not skilled enough to
    944 figure out what is wrong thou..
    945 
    946 --- ArgumentError from thread: load threads for thread-index-mode
    947 invalid byte sequence in US-ASCII
    948 /home/gaute/dev/ruby/sup.git/lib/sup/util.rb:181:in `scan'
    949 /home/gaute/dev/ruby/sup.git/lib/sup/util.rb:181:in `display_length'
    950 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:224:in
    951 `block in draw_line_from_array'
    952 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:222:in `each'
    953 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:222:in
    954 `each_with_index'
    955 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:222:in
    956 `draw_line_from_array'
    957 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:197:in `draw_line'
    958 /home/gaute/dev/ruby/sup.git/lib/sup/modes/line-cursor-mode.rb:50:in `draw_line'
    959 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:48:in `block in draw'
    960 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:48:in `each'
    961 /home/gaute/dev/ruby/sup.git/lib/sup/modes/scroll-mode.rb:48:in `draw'
    962 /home/gaute/dev/ruby/sup.git/lib/sup/modes/line-cursor-mode.rb:37:in `draw'
    963 /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:108:in `draw'
    964 /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:92:in `redraw'
    965 /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:329:in `draw_screen'
    966 /home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:744:in `clear'
    967 /home/gaute/dev/ruby/sup.git/lib/sup/util.rb:520:in `method_missing'
    968 /home/gaute/dev/ruby/sup.git/lib/sup/modes/thread-index-mode.rb:638:in
    969 `load_n_threads'
    970 (eval):12:in `load_n_threads'
    971 /home/gaute/dev/ruby/sup.git/lib/sup/modes/thread-index-mode.rb:609:in
    972 `block in load_n_threads_background'
    973 /home/gaute/dev/ruby/sup.git/lib/sup.rb:78:in `block in reporting_thread'
    974 
    975 - gaute
    976 
    977 On Sat, Nov 7, 2009 at 4:22 AM, Andrei Thorp <garoth at gmail.com> wrote:
    978 > Eh, bad news.
    979 >
    980 > So I've been testing Sup in an 1.9 environment further, and I have
    981 > found that there are a great deal of problems with regards to
    982 > encodings. "invalid byte sequence in US-ASCII" is something you'll see
    983 > frequently. This seems to be when parsing messages that have non-ascii
    984 > chararacters.
    985 >
    986 > Ouch :(
    987 >
    988 > Has this already been taken care of in the git somewhere?
    989 >
    990 > -AT
    991 > _______________________________________________
    992 > sup-talk mailing list
    993 > sup-talk at rubyforge.org
    994 > http://rubyforge.org/mailman/listinfo/sup-talk
    995 >
    996 
    997 From jayzer@gmail.com  Fri Dec 18 15:26:12 2009
    998 From: jayzer@gmail.com (Jay Mendoza)
    999 Date: Fri, 18 Dec 2009 14:26:12 -0600
   1000 Subject: [sup-talk] AM/PM display
   1001 Message-ID: <1261167840-sup-592@orion>
   1002 
   1003 In inbox-mode, Sup seems to display all of my message as if they were
   1004 received in the PM hours. Is this a known defect, or just a
   1005 misconfiguration on my part?
   1006 -- 
   1007 Jay
   1008 
   1009 From pioto@pioto.org  Fri Dec 18 16:34:33 2009
   1010 From: pioto@pioto.org (Mike Kelly)
   1011 Date: Fri, 18 Dec 2009 16:34:33 -0500
   1012 Subject: [sup-talk] AM/PM display
   1013 In-Reply-To: <1261167840-sup-592@orion>
   1014 References: <1261167840-sup-592@orion>
   1015 Message-ID: <d682971d-dfa9-4107-824c-c879b71c0ae5@email.android.com>
   1016 
   1017 "Me too".
   1018 
   1019 I posted about similar issues a while ago, but I don't think I got far. 
   1020 
   1021 "Jay Mendoza" <jayzer at gmail.com> wrote:
   1022 
   1023 >In inbox-mode, Sup seems to display all of my message as if they were
   1024 >received in the PM hours. Is this a known defect, or just a
   1025 >misconfiguration on my part?
   1026 >-- 
   1027 >Jay
   1028 >_______________________________________________
   1029 >sup-talk mailing list
   1030 >sup-talk at rubyforge.org
   1031 >http://rubyforge.org/mailman/listinfo/sup-talk
   1032 >
   1033 
   1034 -- 
   1035 Mike Kelly
   1036 
   1037 From tero@tilus.net  Fri Dec 18 18:51:51 2009
   1038 From: tero@tilus.net (Tero Tilus)
   1039 Date: Sat, 19 Dec 2009 01:51:51 +0200
   1040 Subject: [sup-talk] [PATCH] Moar configurability (was: AM/PM display)
   1041 In-Reply-To: <1261167840-sup-592@orion>
   1042 References: <1261167840-sup-592@orion>
   1043 Message-ID: <1261179239-sup-9258@tilus.net>
   1044 
   1045 Jay Mendoza, 2009-12-18 22:26:
   1046 > In inbox-mode, Sup seems to display all of my message as if they
   1047 > were received in the PM hours. Is this a known defect, or just a
   1048 > misconfiguration on my part?
   1049 
   1050 I remember seeing AM hours (and see them now).  I also don't see how
   1051 it possibly could be caused by configuration.
   1052 
   1053 ...which reminds me of a couple of configurability hacks (configurable
   1054 "missing attachment detector" and configurable thread list date
   1055 formats) I cooked together quite a while ago and don't remenber
   1056 sharing yet.  Shame on me.  So here they are, keep them if you like
   1057 them (if they aren't already obsoleted by something I'm not aware of)
   1058 
   1059 -- 
   1060 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1061 -------------- next part --------------
   1062 A non-text attachment was scrubbed...
   1063 Name: 0006-configurable-listing-date-formats-and-attachment-det.patch
   1064 Type: application/octet-stream
   1065 Size: 2827 bytes
   1066 Desc: not available
   1067 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091219/ce94f2f9/attachment.obj>
   1068 
   1069 From barton.schaefer@gmail.com  Fri Dec 18 23:24:40 2009
   1070 From: barton.schaefer@gmail.com (Bart Schaefer)
   1071 Date: Fri, 18 Dec 2009 20:24:40 -0800
   1072 Subject: [sup-talk] Justin Mason reviews sup on his blog
   1073 Message-ID: <6bb609560912182024i3f8cd55fufb1cd90bcd5eb299@mail.gmail.com>
   1074 
   1075 Yes, the Justin Mason who heads up the SpamAssassin project.
   1076 
   1077 http://taint.org/2009/12/18/005520a.html
   1078 
   1079 From wmorgan-sup@masanjin.net  Sat Dec 19 12:09:11 2009
   1080 From: wmorgan-sup@masanjin.net (William Morgan)
   1081 Date: Sat, 19 Dec 2009 09:09:11 -0800
   1082 Subject: [sup-talk] Justin Mason reviews sup on his blog
   1083 In-Reply-To: <6bb609560912182024i3f8cd55fufb1cd90bcd5eb299@mail.gmail.com>
   1084 References: <6bb609560912182024i3f8cd55fufb1cd90bcd5eb299@mail.gmail.com>
   1085 Message-ID: <1261242535-sup-932@masanjin.net>
   1086 
   1087 Reformatted excerpts from Bart Schaefer's message of 2009-12-18:
   1088 > Yes, the Justin Mason who heads up the SpamAssassin project.
   1089 > 
   1090 > http://taint.org/2009/12/18/005520a.html
   1091 
   1092 Cool! All very valid criticisms.
   1093 -- 
   1094 William <wmorgan-sup at masanjin.net>
   1095 
   1096 From wmorgan-sup@masanjin.net  Sat Dec 19 13:09:57 2009
   1097 From: wmorgan-sup@masanjin.net (William Morgan)
   1098 Date: Sat, 19 Dec 2009 10:09:57 -0800
   1099 Subject: [sup-talk] line-wrapping
   1100 Message-ID: <1261246000-sup-3729@masanjin.net>
   1101 
   1102 I've just added a thread-view-mode feature in next where text portions
   1103 of messages are now wrapped at the current screen width, and pressing
   1104 'w' toggles between that and no wrapping at all.
   1105 
   1106 If anyone wants the old behavior of wrapping at 80 columns regardless of
   1107 screen width, you will have to submit a patch to make this a three-way
   1108 toggle, or keep your window at 80 chars. :)
   1109 
   1110 (Branch toggle-line-wrap, merged into next.)
   1111 
   1112 Probably a million other Sup things that are higher priority, but this
   1113 is what I felt like working on....
   1114 -- 
   1115 William <wmorgan-sup at masanjin.net>
   1116 
   1117 From wmorgan-sup@masanjin.net  Sat Dec 19 13:12:12 2009
   1118 From: wmorgan-sup@masanjin.net (William Morgan)
   1119 Date: Sat, 19 Dec 2009 10:12:12 -0800
   1120 Subject: [sup-talk] AM/PM display
   1121 In-Reply-To: <1261167840-sup-592@orion>
   1122 References: <1261167840-sup-592@orion>
   1123 Message-ID: <1261246208-sup-2909@masanjin.net>
   1124 
   1125 Reformatted excerpts from Jay Mendoza's message of 2009-12-18:
   1126 > In inbox-mode, Sup seems to display all of my message as if they were
   1127 > received in the PM hours. Is this a known defect, or just a
   1128 > misconfiguration on my part?
   1129 
   1130 Weird. Are the times otherwise correct?
   1131 -- 
   1132 William <wmorgan-sup at masanjin.net>
   1133 
   1134 From wmorgan-sup@masanjin.net  Sat Dec 19 13:12:54 2009
   1135 From: wmorgan-sup@masanjin.net (William Morgan)
   1136 Date: Sat, 19 Dec 2009 10:12:54 -0800
   1137 Subject: [sup-talk] [PATCH] Moar configurability (was: AM/PM display)
   1138 In-Reply-To: <1261179239-sup-9258@tilus.net>
   1139 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
   1140 Message-ID: <1261246334-sup-1438@masanjin.net>
   1141 
   1142 Reformatted excerpts from Tero Tilus's message of 2009-12-18:
   1143 > ...which reminds me of a couple of configurability hacks (configurable
   1144 > "missing attachment detector" and configurable thread list date
   1145 > formats) I cooked together quite a while ago and don't remenber
   1146 > sharing yet.
   1147 
   1148 Both of these are good ideas, but I would like to add them in hook form
   1149 rather than in configuration form, please.
   1150 -- 
   1151 William <wmorgan-sup at masanjin.net>
   1152 
   1153 From wmorgan-sup@masanjin.net  Sat Dec 19 13:34:22 2009
   1154 From: wmorgan-sup@masanjin.net (William Morgan)
   1155 Date: Sat, 19 Dec 2009 10:34:22 -0800
   1156 Subject: [sup-talk] Ruby 1.9: encodings
   1157 In-Reply-To: <5a5b14cf0912180737n600fc2acx30fa14028d4a7662@mail.gmail.com>
   1158 References: <80055d7c0911061922w64ef7cb0qf0c7bed008cc728c@mail.gmail.com>
   1159 	<5a5b14cf0912180737n600fc2acx30fa14028d4a7662@mail.gmail.com>
   1160 Message-ID: <1261246544-sup-7566@masanjin.net>
   1161 
   1162 Reformatted excerpts from Gaute Hope's message of 2009-12-18:
   1163 > I just tried.. im getting the same, afraid im not skilled enough to
   1164 > figure out what is wrong thou..
   1165 
   1166 Do the errors still occur if you apply this patch?
   1167 
   1168 diff --git a/lib/sup/util.rb b/lib/sup/util.rb
   1169 index f99e1c1..92aaff4 100644
   1170 --- a/lib/sup/util.rb
   1171 +++ b/lib/sup/util.rb
   1172 @@ -176,13 +176,7 @@ end
   1173  class String
   1174    ## nasty multibyte hack for ruby 1.8. if it's utf-8, split into chars using
   1175    ## the utf8 regex and count those. otherwise, use the byte length.
   1176 -  def display_length
   1177 -    if $encoding == "UTF-8" || $encoding == "utf8"
   1178 -      scan(/./u).size
   1179 -    else
   1180 -      size
   1181 -    end
   1182 -  end
   1183 +  def display_length; length end
   1184  
   1185    def camel_to_hyphy
   1186      self.gsub(/([a-z])([A-Z0-9])/, '\1-\2').downcase
   1187 
   1188 -- 
   1189 William <wmorgan-sup at masanjin.net>
   1190 
   1191 From wmorgan-sup@masanjin.net  Sat Dec 19 13:38:08 2009
   1192 From: wmorgan-sup@masanjin.net (William Morgan)
   1193 Date: Sat, 19 Dec 2009 10:38:08 -0800
   1194 Subject: [sup-talk] exception after polling
   1195 In-Reply-To: <1261093538-sup-8147@tangerine.lanl.gov>
   1196 References: <1261093538-sup-8147@tangerine.lanl.gov>
   1197 Message-ID: <1261247693-sup-9694@masanjin.net>
   1198 
   1199 Reformatted excerpts from John Bent's message of 2009-12-17:
   1200 > So sup was sitting idle and it did a poll and I saw the new message
   1201 > briefly enter the inbox and then it crashed:
   1202 
   1203 Please submit this to http://masanjin.net/sup-bugs/ after ensuring it
   1204 isn't already there. Thanks!
   1205 -- 
   1206 William <wmorgan-sup at masanjin.net>
   1207 
   1208 From wmorgan-sup@masanjin.net  Sat Dec 19 13:44:25 2009
   1209 From: wmorgan-sup@masanjin.net (William Morgan)
   1210 Date: Sat, 19 Dec 2009 10:44:25 -0800
   1211 Subject: [sup-talk] phantom unread messages & address book autocomplete
   1212 In-Reply-To: <1260923477-sup-3509@ezyang>
   1213 References: <1260922380-sup-33@orion> <1260923477-sup-3509@ezyang>
   1214 Message-ID: <1261248168-sup-7614@masanjin.net>
   1215 
   1216 Reformatted excerpts from Edward Z. Yang's message of 2009-12-15:
   1217 > My understanding of this is that you have to explicitly save the
   1218 > address in order to make it show up on autocomplete (I've forgotten
   1219 > the keybinding, since I'm /so/ terrible at doing this).
   1220 
   1221 That's basically correct. Currently it autocompletes everyone in your
   1222 contact list, plus the 10 most recent addresses from the index, plus the
   1223 results of the extra-contact-addresses hook. This could definitely be
   1224 improved. Please submit an issue to the issue tracker.
   1225 
   1226 > I would love to see autocomplete not be braindead about two equivalent
   1227 > names; for example, sup-talk at rubyforge.org also comes up as sup-talk
   1228 > <sup-talk at rubyforge.org>, and I can't just type "sup" and autocomplete
   1229 > to something complete.
   1230 
   1231 I find this irritating too.
   1232 -- 
   1233 William <wmorgan-sup at masanjin.net>
   1234 
   1235 From wmorgan-sup@masanjin.net  Sat Dec 19 13:57:21 2009
   1236 From: wmorgan-sup@masanjin.net (William Morgan)
   1237 Date: Sat, 19 Dec 2009 10:57:21 -0800
   1238 Subject: [sup-talk] Current art for sup-sync-back and maildir
   1239 In-Reply-To: <1260927504-sup-4241@ezyang>
   1240 References: <1260927504-sup-4241@ezyang>
   1241 Message-ID: <1261248273-sup-4768@masanjin.net>
   1242 
   1243 Reformatted excerpts from Edward Z. Yang's message of 2009-12-15:
   1244 > What is the current art of backwards synchronization for
   1245 > maildir sources?  I'm almost out of quota on my main account
   1246 > and I'd like to make OfflineImap purge all of the messages I've
   1247 > deleted over the years (I also don't relish the prospect of
   1248 > running a sup-sync after manually deleting messages myself).
   1249 
   1250 Sadly, there is no art. No one ever got around to implementing this.
   1251 You could do it manually via devel/console.sh (or the in-screen console)
   1252 with a little effort.
   1253 
   1254 Something like:
   1255 
   1256   $ sh devel/console.sh
   1257   > s = SourceManager.source_for "maildir:/WHATEVER"
   1258   > q = Index.parse_query "label:deleted source:#{s.id}"
   1259   > Index.each_id(q) { |id| fn = s.filename_for_id(id); puts "delete #{fn}" }
   1260 
   1261 (You'll have to use the most recent git because I just added the
   1262 Maildir#filename_for_id method.)
   1263 -- 
   1264 William <wmorgan-sup at masanjin.net>
   1265 
   1266 From ville.kovacs@gmail.com  Sun Dec  6 09:53:31 2009
   1267 From: ville.kovacs@gmail.com (Ville Kovacs)
   1268 Date: Sun, 6 Dec 2009 16:53:31 +0200
   1269 Subject: [sup-talk] Crash report
   1270 Message-ID: <43da20c0912060653l33fca60avcea69533da3da56@mail.gmail.com>
   1271 
   1272 Hello
   1273 
   1274 I get this error when running sup with one gmail address added as a
   1275 source. First i ran sup-config and then sup itself, this is a fresh
   1276 install of sup on this machine.
   1277 
   1278 I used this PKGBUILD to install: http://aur.archlinux.org/packages.php?ID=26439
   1279 
   1280 Thank you!
   1281 
   1282 --- NoMethodError from thread: poll after loading inbox
   1283 undefined method `>=' for true:TrueClass
   1284 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?'
   1285 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
   1286 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in `method_missing'
   1287 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:84:in `block (2
   1288 levels) in do_poll'
   1289 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:81:in `each'
   1290 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:81:in `block in do_poll'
   1291 <internal:prelude>:8:in `synchronize'
   1292 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:80:in `do_poll'
   1293 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   1294 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/modes/poll-mode.rb:15:in `poll'
   1295 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:48:in `poll'
   1296 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   1297 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup:196:in `block (2 levels)
   1298 in <module:Redwood>'
   1299 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup.rb:77:in `block in
   1300 reporting_thread'
   1301 
   1302 From chamill@wesleyan.edu  Fri Dec 11 09:19:12 2009
   1303 From: chamill@wesleyan.edu (C. Morgan Hamill)
   1304 Date: Fri, 11 Dec 2009 09:19:12 -0500
   1305 Subject: [sup-talk] Sent mail in inbox view
   1306 Message-ID: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1307 
   1308 Howdy folks,
   1309 
   1310 I've got a really straightforward question that I can't seem to find an
   1311 answer for in the wiki or the New Users Guide or Google, for that matter?is
   1312 it normal behavior for a newly composed and then sent message to appear in
   1313 inbox view, i.e. to be labled both 'inbox' and 'sent'? Or do I have
   1314 something misconfigured? Any help would be appreciated.
   1315 
   1316 Yours, Morgan
   1317 chamill at wesleyan.edu
   1318 -------------- next part --------------
   1319 An HTML attachment was scrubbed...
   1320 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091211/ac6b49d8/attachment-0001.html>
   1321 
   1322 From vernux@us.ibm.com  Tue Dec 15 17:10:47 2009
   1323 From: vernux@us.ibm.com (Vernon Mauery)
   1324 Date: Tue, 15 Dec 2009 14:10:47 -0800
   1325 Subject: [sup-talk] sup crash after a reply
   1326 Message-ID: <1260914644-sup-8154@bubs>
   1327 
   1328 
   1329 I am running the latest git version of sup (as of yesterday) and I
   1330 imported my 70000+ emails, archived most of them and have started
   1331 to receive and send new mails.  I just replied to a message, was
   1332 reading other messages in that thread, and then went back to the
   1333 index listing with 'x' and I got this crash.  In the mean time, it
   1334 is possible that the message I just sent had made it to the mailing
   1335 list and back to me before going back to the message index.  I am
   1336 not sure on that.  But here is the backtrace:
   1337 
   1338 [Tue Dec 15 14:01:29 -0800 2009] ERROR: oh crap, an exception
   1339 ----------------------------------------------------------------
   1340 I'm very sorry. It seems that an error occurred in Sup. Please
   1341 accept my sincere apologies. If you don't mind, please send the
   1342 contents of /home/vhmauery/.sup/exception-log.txt and a brief report of the
   1343 circumstances to sup-talk at rubyforge dot orgs so that I might
   1344 address this problem. Thank you!
   1345 
   1346 Sincerely,
   1347 William
   1348 ----------------------------------------------------------------
   1349 --- ArgumentError from thread: periodic poll
   1350 :(null) isn't a valid argument for IndexReader.get_document(index)
   1351 /usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
   1352 /usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
   1353 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   1354 /usr/lib/ruby/1.8/ferret/index.rb:413:in `[]'
   1355 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/ferret_index.rb:257:in `build_message'
   1356 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   1357 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/ferret_index.rb:256:in `build_message'
   1358 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `send'
   1359 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `method_missing'
   1360 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:95:in `do_poll'
   1361 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:154:in `each_message_from'
   1362 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/maildir.rb:160:in `each'
   1363 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/maildir.rb:157:in `upto'
   1364 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/maildir.rb:157:in `each'
   1365 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:560:in `send'
   1366 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:560:in `__pass'
   1367 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:547:in `method_missing'
   1368 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:142:in `each_message_from'
   1369 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:94:in `do_poll'
   1370 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:82:in `each'
   1371 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:82:in `do_poll'
   1372 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:81:in `synchronize'
   1373 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:81:in `do_poll'
   1374 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `send'
   1375 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `method_missing'
   1376 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/modes/poll-mode.rb:15:in `poll'
   1377 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:48:in `poll'
   1378 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:65:in `start'
   1379 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup.rb:77:in `reporting_thread'
   1380 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup.rb:75:in `initialize'
   1381 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup.rb:75:in `new'
   1382 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup.rb:75:in `reporting_thread'
   1383 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/poll.rb:62:in `start'
   1384 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `send'
   1385 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `method_missing'
   1386 /home/vhmauery/.gem/ruby/1.8/gems/sup-0.9.1/bin/sup:209
   1387 /home/vhmauery/.gem/ruby/1.8/bin/sup:19:in `load'
   1388 /home/vhmauery/.gem/ruby/1.8/bin/sup:19
   1389 
   1390 From byzkarl@yahoo.com  Mon Dec 14 07:41:04 2009
   1391 From: byzkarl@yahoo.com (Karl Schudt)
   1392 Date: Mon, 14 Dec 2009 06:41:04 -0600
   1393 Subject: [sup-talk] Crash when I search in buffer
   1394 Message-ID: <20091214124104.GA8637@linux-vk5u>
   1395 
   1396 Hi,
   1397 
   1398 I'm using sup 0.9.1, and it seems to work fine until I try to search in
   1399 the buffer. Then it crashes.
   1400 
   1401 
   1402 --- NoMethodError from thread: main
   1403 undefined method `new_field' for Ncurses::Form:Module
   1404 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/textfield.rb:36:in `activate'
   1405 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:561:in `ask'
   1406 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:26:in `synchronize'
   1407 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:26:in `sync'
   1408 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:560:in `ask'
   1409 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `send'
   1410 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/util.rb:520:in `method_missing'
   1411 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/modes/scroll-mode.rb:84:in `search_in_buffer'
   1412 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/mode.rb:51:in `send'
   1413 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/mode.rb:51:in `handle_input'
   1414 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/lib/sup/buffer.rb:265:in `handle_input'
   1415 /usr/lib64/ruby/gems/1.8/gems/sup-0.9.1/bin/sup:243
   1416 /usr/bin/sup:19:in `load'
   1417 /usr/bin/sup:19
   1418 
   1419 From mmcdermott@mad-computer-scientist.com  Mon Dec 14 15:45:28 2009
   1420 From: mmcdermott@mad-computer-scientist.com (Michael McDermott)
   1421 Date: Mon, 14 Dec 2009 14:45:28 -0600
   1422 Subject: [sup-talk] Sorting
   1423 In-Reply-To: <1260810592-sup-4853@nixos>
   1424 References: <1260809732-sup-4895@zion> <1260810592-sup-4853@nixos>
   1425 Message-ID: <1260822912-sup-2952@zion>
   1426 
   1427 The thing that brought it to mind was search results. In particular, I was
   1428 searching for messages with a particular label, then wanting to sort them by
   1429 date. (I am running sup version 0.8.1, installed from the Jaunty repositories,
   1430 if that is of any help).
   1431 
   1432 At least at my current version, the messages were not in a chronological order.
   1433 There were messages from the last couple of days interleaved for the first few
   1434 pages.
   1435 
   1436 That said, I am sure that arbitrary sorting would be useful. Heck, even 
   1437 Thunderbird and Outlook (much less powerful though they be) allow messages to be
   1438 sorted by fields other than date received.
   1439 
   1440 Excerpts from Marc Weber's message of Mon Dec 14 11:13:01 -0600 2009:
   1441 > Excerpts from Michael McDermott's message of Mon Dec 14 18:01:39 +0100 2009:
   1442 > > After running a search in Sup, is there any way to sort the result set? Or,
   1443 > > perhaps, specify the ordering in the query? (ala SQL)
   1444 > 
   1445 > Hi McDermott
   1446 > 
   1447 > Sup is lazy.
   1448 > 
   1449 > It only searches as much results as fit on screen unless you use !!
   1450 > I think threads are sorted by date which makes much sense.
   1451 > 
   1452 > You propose that you want a ORDER BY feature.
   1453 > >From SQL you should also know that this forces the database to fetch all
   1454 > rows even if you're interested only in LIMIT 1.
   1455 > 
   1456 > So try !! and wait. If it' fast enough tell so. If it's not think about
   1457 > another way to solve you real problem. Maybe just put your real problem
   1458 > here. There may be a different solution.
   1459 > 
   1460 > You want to stort your threads by which field?
   1461 > 
   1462 > Marc Weber
   1463 -- 
   1464 Michael McDermott
   1465 www.mad-computer-scientist.com
   1466 
   1467 From wmorgan-sup@masanjin.net  Sat Dec 19 14:02:40 2009
   1468 From: wmorgan-sup@masanjin.net (William Morgan)
   1469 Date: Sat, 19 Dec 2009 11:02:40 -0800
   1470 Subject: [sup-talk] Fwd: Automatic labels backup
   1471 In-Reply-To: <1260855317-sup-863@ezyang>
   1472 References: <1260855317-sup-863@ezyang>
   1473 Message-ID: <1261249329-sup-5626@masanjin.net>
   1474 
   1475 Reformatted excerpts from Edward Z. Yang's message of 2009-12-14:
   1476 > Ever had your index corrupted, and your last backup of your labels
   1477 > from a month ago?  Ever had to go speed through a month's worth of
   1478 > mail?
   1479 > 
   1480 > Well, now, you can /not/ have to do that, with a handy-dandy automated
   1481 > index dump tool that I've written.
   1482 
   1483 Thanks, great idea and thank you for adding it to the wiki. I assume you
   1484 put this in the startup hooks file?
   1485 -- 
   1486 William <wmorgan-sup at masanjin.net>
   1487 
   1488 From wmorgan-sup@masanjin.net  Sat Dec 19 14:06:18 2009
   1489 From: wmorgan-sup@masanjin.net (William Morgan)
   1490 Date: Sat, 19 Dec 2009 11:06:18 -0800
   1491 Subject: [sup-talk] Crash of Sup 0.9.1
   1492 In-Reply-To: <80055d7c0912141351q4313a3fbp71b1974b1adeae42@mail.gmail.com>
   1493 References: <20091214212804.GA4198@linux-vk5u.ben.pri>
   1494 	<80055d7c0912141351q4313a3fbp71b1974b1adeae42@mail.gmail.com>
   1495 Message-ID: <1261249415-sup-7810@masanjin.net>
   1496 
   1497 Reformatted excerpts from Andrei Thorp's message of 2009-12-14:
   1498 > As a somewhat obvious thing to say, I would guess that your ruby
   1499 > ncurses or ncurses is too old/new. Try upgrading your ncurses stuff --
   1500 > might help.
   1501 
   1502 I think this is probably correct---there's something screwey about your
   1503 ncurses gem. Are you running Ruby 1.9 by any chance?
   1504 -- 
   1505 William <wmorgan-sup at masanjin.net>
   1506 
   1507 From wmorgan-sup@masanjin.net  Sat Dec 19 14:08:13 2009
   1508 From: wmorgan-sup@masanjin.net (William Morgan)
   1509 Date: Sat, 19 Dec 2009 11:08:13 -0800
   1510 Subject: [sup-talk] sup crash after a reply
   1511 In-Reply-To: <1260914644-sup-8154@bubs>
   1512 References: <1260914644-sup-8154@bubs>
   1513 Message-ID: <1261249617-sup-1685@masanjin.net>
   1514 
   1515 Reformatted excerpts from Vernon Mauery's message of 2009-12-15:
   1516 > I am running the latest git version of sup (as of yesterday) and I
   1517 > imported my 70000+ emails, archived most of them and have started to
   1518 > receive and send new mails.
   1519 
   1520 I am going to throw this bug report in the big bucket of "weird Ferret
   1521 issues that will go away once we stop using Ferret."
   1522 
   1523 In the mean time, you may want to switch to the Xapian backend.
   1524 
   1525 -- 
   1526 William <wmorgan-sup at masanjin.net>
   1527 
   1528 From wmorgan-sup@masanjin.net  Sat Dec 19 14:10:17 2009
   1529 From: wmorgan-sup@masanjin.net (William Morgan)
   1530 Date: Sat, 19 Dec 2009 11:10:17 -0800
   1531 Subject: [sup-talk] Sorting
   1532 In-Reply-To: <1260822912-sup-2952@zion>
   1533 References: <1260809732-sup-4895@zion> <1260810592-sup-4853@nixos>
   1534 	<1260822912-sup-2952@zion>
   1535 Message-ID: <1261249723-sup-5051@masanjin.net>
   1536 
   1537 Reformatted excerpts from Michael McDermott's message of 2009-12-14:
   1538 > At least at my current version, the messages were not in a
   1539 > chronological order.  There were messages from the last couple of days
   1540 > interleaved for the first few pages.
   1541 
   1542 That's a bug, then. Messages should always be in chronological order. If
   1543 this behavior persists with Sup 0.9.1, please submit a bug report to
   1544 http://masanjin.net/sup-bugs/
   1545 
   1546 > That said, I am sure that arbitrary sorting would be useful. Heck,
   1547 > even Thunderbird and Outlook (much less powerful though they be) allow
   1548 > messages to be sorted by fields other than date received.
   1549 
   1550 Sorting by other fields is not so useful when you have a good full-text
   1551 search. I doubt I will spend energy working on this, though as always,
   1552 patches are welcome.
   1553 -- 
   1554 William <wmorgan-sup at masanjin.net>
   1555 
   1556 From wmorgan-sup@masanjin.net  Sat Dec 19 14:11:32 2009
   1557 From: wmorgan-sup@masanjin.net (William Morgan)
   1558 Date: Sat, 19 Dec 2009 11:11:32 -0800
   1559 Subject: [sup-talk] Crash when I search in buffer
   1560 In-Reply-To: <20091214124104.GA8637@linux-vk5u>
   1561 References: <20091214124104.GA8637@linux-vk5u>
   1562 Message-ID: <1261249855-sup-6929@masanjin.net>
   1563 
   1564 Reformatted excerpts from Karl Schudt's message of 2009-12-14:
   1565 > I'm using sup 0.9.1, and it seems to work fine until I try to search in
   1566 > the buffer. Then it crashes.
   1567 
   1568 Hm, another such report. Please submit this to
   1569 http://masanjin.net/sup-bugs with the sup version, ruby version,
   1570 ncurses gem version, and any other system information you think is
   1571 relevant.
   1572 -- 
   1573 William <wmorgan-sup at masanjin.net>
   1574 
   1575 From wmorgan-sup@masanjin.net  Sat Dec 19 14:14:33 2009
   1576 From: wmorgan-sup@masanjin.net (William Morgan)
   1577 Date: Sat, 19 Dec 2009 11:14:33 -0800
   1578 Subject: [sup-talk] Sent mail in inbox view
   1579 In-Reply-To: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1580 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1581 Message-ID: <1261249910-sup-9552@masanjin.net>
   1582 
   1583 Reformatted excerpts from C. Morgan Hamill's message of 2009-12-11:
   1584 > I've got a really straightforward question that I can't seem to find
   1585 > an answer for in the wiki or the New Users Guide or Google, for that
   1586 > matter?is it normal behavior for a newly composed and then sent
   1587 > message to appear in inbox view, i.e. to be labled both 'inbox' and
   1588 > 'sent'? Or do I have something misconfigured? Any help would be
   1589 > appreciated.
   1590 
   1591 Nope, that's normal. It's easy to change that though. I wonder what
   1592 people think--is it reassuring to see it in the inbox, or is it
   1593 irritating?
   1594 
   1595 I think it might be better to auto-archive sent messages and to flash a
   1596 message saying "Message sent!" or something instead.
   1597 -- 
   1598 William <wmorgan-sup at masanjin.net>
   1599 
   1600 From wmorgan-sup@masanjin.net  Sat Dec 19 14:16:40 2009
   1601 From: wmorgan-sup@masanjin.net (William Morgan)
   1602 Date: Sat, 19 Dec 2009 11:16:40 -0800
   1603 Subject: [sup-talk] sup-server
   1604 In-Reply-To: <1260291857-sup-4773@zyrg.net>
   1605 References: <1260291857-sup-4773@zyrg.net>
   1606 Message-ID: <1261250138-sup-9301@masanjin.net>
   1607 
   1608 Reformatted excerpts from Rich Lane's message of 2009-12-08:
   1609 > I've pushed a branch sup-server to my github*.
   1610 
   1611 Very interesting!  The approach is quite different from my (perennially
   1612 unfinished and unpublished) sup-server code so I'm very curious to see
   1613 where this goes. Nice work.
   1614 -- 
   1615 William <wmorgan-sup at masanjin.net>
   1616 
   1617 From wmorgan-sup@masanjin.net  Sat Dec 19 14:19:08 2009
   1618 From: wmorgan-sup@masanjin.net (William Morgan)
   1619 Date: Sat, 19 Dec 2009 11:19:08 -0800
   1620 Subject: [sup-talk] sup finds exception and exits
   1621 In-Reply-To: <20091207154502.GA7611@depaul.edu>
   1622 References: <20091207154502.GA7611@depaul.edu>
   1623 Message-ID: <1261250290-sup-2455@masanjin.net>
   1624 
   1625 Reformatted excerpts from Susana Core's message of 2009-12-07:
   1626 > I have been using sup for about six months and today it started
   1627 > having fatal problems.  I'll appreciate any suggestions. 
   1628 
   1629 Based on the backtrace I think you have a fairly old version of Sup. Can
   1630 you try it with 0.9.1 please?
   1631 
   1632 If the problem persists, please submit a bug report at
   1633 http://masanjin.net/sup-bugs/. Thanks!
   1634 -- 
   1635 William <wmorgan-sup at masanjin.net>
   1636 
   1637 From ezyang@MIT.EDU  Sat Dec 19 14:13:44 2009
   1638 From: ezyang@MIT.EDU (Edward Z. Yang)
   1639 Date: Sat, 19 Dec 2009 14:13:44 -0500
   1640 Subject: [sup-talk] Fwd: Automatic labels backup
   1641 In-Reply-To: <1261249329-sup-5626@masanjin.net>
   1642 References: <1260855317-sup-863@ezyang> <1261249329-sup-5626@masanjin.net>
   1643 Message-ID: <1261250002-sup-7910@ezyang>
   1644 
   1645 Excerpts from William Morgan's message of Sat Dec 19 14:02:40 -0500 2009:
   1646 > Thanks, great idea and thank you for adding it to the wiki. I assume you
   1647 > put this in the startup hooks file?
   1648 
   1649 Yep!
   1650 
   1651 Edward
   1652 
   1653 From byzkarl@yahoo.com  Sat Dec 19 15:00:30 2009
   1654 From: byzkarl@yahoo.com (Karl Schudt)
   1655 Date: Sat, 19 Dec 2009 14:00:30 -0600
   1656 Subject: [sup-talk] Crash when I search in buffer
   1657 In-Reply-To: <1261249855-sup-6929@masanjin.net>
   1658 References: <20091214124104.GA8637@linux-vk5u>
   1659 	<1261249855-sup-6929@masanjin.net>
   1660 Message-ID: <1261252732-sup-8065@Vergil>
   1661 
   1662 Excerpts from William Morgan's message of Sat Dec 19 13:11:32 -0600 2009:
   1663 > Reformatted excerpts from Karl Schudt's message of 2009-12-14:
   1664 > > I'm using sup 0.9.1, and it seems to work fine until I try to search in
   1665 > > the buffer. Then it crashes.
   1666 > 
   1667 > Hm, another such report. Please submit this to
   1668 > http://masanjin.net/sup-bugs with the sup version, ruby version,
   1669 > ncurses gem version, and any other system information you think is
   1670 > relevant.
   1671 
   1672 I'm sorry--I re-installed linux on my computer, using Fedora instead of
   1673 Opensuse. Sup installed and worked fine. It must be some peculiarity of
   1674 Opensuse.
   1675 
   1676 
   1677 .
   1678 
   1679 From web-sup@superscript.com  Sat Dec 19 18:57:24 2009
   1680 From: web-sup@superscript.com (William Baxter)
   1681 Date: Sat, 19 Dec 2009 18:57:24 -0500
   1682 Subject: [sup-talk] Fwd: Automatic labels backup
   1683 In-Reply-To: <1260855317-sup-863@ezyang>
   1684 References: <1260855317-sup-863@ezyang>
   1685 Message-ID: <1261265869-sup-7604@kronos>
   1686 
   1687 Excerpts from Edward Z. Yang's message of Tue Dec 15 00:35:42 -0500 2009:
   1688 > Ever had your index corrupted, and your last backup of your labels from
   1689 > a month ago?  Ever had to go speed through a month's worth of mail?
   1690 > 
   1691 > Well, now, you can /not/ have to do that, with a handy-dandy automated
   1692 > index dump tool that I've written.  It's at the bottom of the
   1693 > hooks page here: <http://sup.rubyforge.org/wiki/wiki.pl?Hooks> and I've
   1694 > reproduced it below for completeness.
   1695 
   1696 For a few weeks I have used sup to read the same mail on two hosts: an office
   1697 desktop and a laptop.  Each host fetches mail from the same IMAP server.  I use
   1698 the desktop all day, altering labels frequently, and consequently find reading
   1699 from the laptop less useful.  I want to sync labels across the two hosts.
   1700 
   1701 How much additional work does it take to turn an index dump into a sup-to-sup
   1702 sync mechanism?  Suppose that on one host you dump the index and send a signed
   1703 message.  This reaches the receiving host when you read mail there.  Use it to
   1704 update the index, and the receiving host has labels matching those on the
   1705 sending host.
   1706 
   1707 Cheers, W.
   1708 
   1709 From cam+sup@cammunism.org  Sat Dec 19 20:22:44 2009
   1710 From: cam+sup@cammunism.org (Cameron Matheson)
   1711 Date: Sat, 19 Dec 2009 18:22:44 -0700
   1712 Subject: [sup-talk] Sent mail in inbox view
   1713 In-Reply-To: <1261249910-sup-9552@masanjin.net>
   1714 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1715 	<1261249910-sup-9552@masanjin.net>
   1716 Message-ID: <1261272023-sup-2671@cammunism.org>
   1717 
   1718 Excerpts from William Morgan's message of Sat Dec 19 12:14:33 -0700 2009:
   1719 > Reformatted excerpts from C. Morgan Hamill's message of 2009-12-11:
   1720 > > I've got a really straightforward question that I can't seem to find
   1721 > > an answer for in the wiki or the New Users Guide or Google, for that
   1722 > > matter?is it normal behavior for a newly composed and then sent
   1723 > > message to appear in inbox view, i.e. to be labled both 'inbox' and
   1724 > > 'sent'? Or do I have something misconfigured? Any help would be
   1725 > > appreciated.
   1726 > 
   1727 > Nope, that's normal. It's easy to change that though. I wonder what
   1728 > people think--is it reassuring to see it in the inbox, or is it
   1729 > irritating?
   1730 
   1731 I really appreciate the current behavior.
   1732 
   1733 From helgedt@tihlde.org  Sat Dec 19 16:27:28 2009
   1734 From: helgedt@tihlde.org (Helge Titlestad)
   1735 Date: Sat, 19 Dec 2009 22:27:28 +0100
   1736 Subject: [sup-talk] Sent mail in inbox view
   1737 In-Reply-To: <1261249910-sup-9552@masanjin.net>
   1738 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1739 	<1261249910-sup-9552@masanjin.net>
   1740 Message-ID: <1261257668-sup-8010@tihlde.org>
   1741 
   1742 Excerpts from William Morgan's message of Sat Dec 19 20:14:33 +0100 2009:
   1743 > [sent messages appering in inbox]
   1744 > I wonder what people think--is it reassuring to see it in the inbox, or is it
   1745 > irritating?
   1746 
   1747 I like the way sup does it at the moment. Somebody (me) started a new thread,
   1748 so it's something I'm interested in (seeing replies to). The way I use sup I
   1749 will only keep emails in the inbox if they have some kind of outstanding
   1750 action (me to reply or someone else to reply), so getting sent emails in the
   1751 inbox is purrfect.
   1752 
   1753 The only mails I always archive at once are mails I've forwarded to my gmail
   1754 account so I can see its attachments in a browser.
   1755 -- 
   1756 alge
   1757 
   1758 From tero@tilus.net  Sat Dec 19 21:17:28 2009
   1759 From: tero@tilus.net (Tero Tilus)
   1760 Date: Sun, 20 Dec 2009 04:17:28 +0200
   1761 Subject: [sup-talk] Sent mail in inbox view
   1762 In-Reply-To: <1261249910-sup-9552@masanjin.net>
   1763 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1764 	<1261249910-sup-9552@masanjin.net>
   1765 Message-ID: <1261275173-sup-3191@tilus.net>
   1766 
   1767 William Morgan, 2009-12-19 21:14:
   1768 > I think it might be better to auto-archive sent messages and to
   1769 > flash a message saying "Message sent!" or something instead.
   1770 
   1771 I don't.  ;)
   1772 
   1773 One of the reasons I L-O-V-E sup is that it shows sent and drafts in
   1774 inbox.  If the default behavior changes at some point, I'm fine as
   1775 long as I can configure (so that I don't have to patch) my sup back to
   1776 current behavior.
   1777 
   1778 -- 
   1779 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1780 
   1781 From tero@tilus.net  Sat Dec 19 21:31:26 2009
   1782 From: tero@tilus.net (Tero Tilus)
   1783 Date: Sun, 20 Dec 2009 04:31:26 +0200
   1784 Subject: [sup-talk] [PATCH] Moar configurability (was: AM/PM display)
   1785 In-Reply-To: <1261246334-sup-1438@masanjin.net>
   1786 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
   1787 	<1261246334-sup-1438@masanjin.net>
   1788 Message-ID: <1261276156-sup-5510@tilus.net>
   1789 
   1790 William Morgan, 2009-12-19 20:12:
   1791 > Both of these are good ideas, but I would like to add them in hook
   1792 > form rather than in configuration form, please.
   1793 
   1794 The detect-missing-attachment hook is pretty self evident but what you
   1795 had in mind for the dates?  Formatter for the thread-index-mode date
   1796 widget maybe?
   1797 
   1798 -- 
   1799 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1800 
   1801 From bwalton@artsci.utoronto.ca  Sat Dec 19 17:26:23 2009
   1802 From: bwalton@artsci.utoronto.ca (Ben Walton)
   1803 Date: Sat, 19 Dec 2009 17:26:23 -0500
   1804 Subject: [sup-talk] Sent mail in inbox view
   1805 In-Reply-To: <1261249910-sup-9552@masanjin.net>
   1806 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1807 	<1261249910-sup-9552@masanjin.net>
   1808 Message-ID: <1261261488-sup-6981@ntdws12.chass.utoronto.ca>
   1809 
   1810 Excerpts from William Morgan's message of Sat Dec 19 14:14:33 -0500 2009:
   1811 
   1812 > I think it might be better to auto-archive sent messages and to flash a
   1813 > message saying "Message sent!" or something instead.
   1814 
   1815 I'm not opposed to a changed default (a configure knob would be nice
   1816 though), but I've always liked the current behaviour and now find
   1817 gmail's behaviour annoying.  To me, it fits more with the 'big stack
   1818 of mail' approach, although it's definitely a grey area when you
   1819 consider auto-archived sources.
   1820 
   1821 Thanks
   1822 -Ben
   1823 -- 
   1824 Ben Walton
   1825 Systems Programmer - CHASS
   1826 University of Toronto
   1827 C:416.407.5610 | W:416.978.4302
   1828 
   1829 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
   1830 Contact me to arrange for a CAcert assurance meeting.
   1831 -------------- next part --------------
   1832 A non-text attachment was scrubbed...
   1833 Name: signature.asc
   1834 Type: application/pgp-signature
   1835 Size: 189 bytes
   1836 Desc: not available
   1837 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091219/9c908b9f/attachment.bin>
   1838 
   1839 From wmorgan-sup@masanjin.net  Mon Dec 21 08:38:30 2009
   1840 From: wmorgan-sup@masanjin.net (William Morgan)
   1841 Date: Mon, 21 Dec 2009 05:38:30 -0800
   1842 Subject: [sup-talk] [PATCH] Moar configurability (was: AM/PM display)
   1843 In-Reply-To: <1261276156-sup-5510@tilus.net>
   1844 References: <1261167840-sup-592@orion> <1261179239-sup-9258@tilus.net>
   1845 	<1261246334-sup-1438@masanjin.net> <1261276156-sup-5510@tilus.net>
   1846 Message-ID: <1261402666-sup-8068@masanjin.net>
   1847 
   1848 Reformatted excerpts from Tero Tilus's message of 2009-12-19:
   1849 > The detect-missing-attachment hook is pretty self evident but what you
   1850 > had in mind for the dates?  Formatter for the thread-index-mode date
   1851 > widget maybe?
   1852 
   1853 Exactly. We already have index-mode-size-widget, so
   1854 index-mode-date-widget would be analogous.
   1855 -- 
   1856 William <wmorgan-sup at masanjin.net>
   1857 
   1858 From wmorgan-sup@masanjin.net  Mon Dec 21 08:45:07 2009
   1859 From: wmorgan-sup@masanjin.net (William Morgan)
   1860 Date: Mon, 21 Dec 2009 05:45:07 -0800
   1861 Subject: [sup-talk] Sent mail in inbox view
   1862 In-Reply-To: <1261275173-sup-3191@tilus.net>
   1863 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   1864 	<1261249910-sup-9552@masanjin.net> <1261275173-sup-3191@tilus.net>
   1865 Message-ID: <1261402858-sup-6317@masanjin.net>
   1866 
   1867 Reformatted excerpts from Tero Tilus's message of 2009-12-19:
   1868 > One of the reasons I L-O-V-E sup is that it shows sent and drafts in
   1869 > inbox.
   1870 
   1871 Ok, this seems like quite a consensus!
   1872 
   1873 Morgan, if you are really bugged by this behavior, I suggest you make a
   1874 feature request on the bug tracker http://masanjin.net/sup-bugs/. It
   1875 would not be difficult to make this configurable per-user. The easiest
   1876 solution would be to have SentLoader act more like a regular source and
   1877 generate labels based on its #archived? attribute instead of hardcoding
   1878 them. 
   1879 -- 
   1880 William <wmorgan-sup at masanjin.net>
   1881 
   1882 From wmorgan-sup@masanjin.net  Mon Dec 21 09:38:33 2009
   1883 From: wmorgan-sup@masanjin.net (William Morgan)
   1884 Date: Mon, 21 Dec 2009 06:38:33 -0800
   1885 Subject: [sup-talk] Justin Mason reviews sup on his blog
   1886 In-Reply-To: <6c399e450912210630x572b2131xb143fd3b28cd8404@mail.gmail.com>
   1887 References: <6bb609560912182024i3f8cd55fufb1cd90bcd5eb299@mail.gmail.com>
   1888 	<1261242535-sup-932@masanjin.net>
   1889 	<6c399e450912210630x572b2131xb143fd3b28cd8404@mail.gmail.com>
   1890 Message-ID: <1261406116-sup-6518@masanjin.net>
   1891 
   1892 Reformatted excerpts from Justin Mason's message of 2009-12-21:
   1893 >  I _am_ really enjoying sup, btw ;)
   1894 
   1895 Excellent. The URL wrapping issue should be addressed in git next, btw.
   1896 
   1897 > Thanks for writing it!
   1898 
   1899 Thanks for SpamAssassin, which I use 10000 times a day.
   1900 -- 
   1901 William <wmorgan-sup at masanjin.net>
   1902 
   1903 From jm@jmason.org  Mon Dec 21 09:30:26 2009
   1904 From: jm@jmason.org (Justin Mason)
   1905 Date: Mon, 21 Dec 2009 14:30:26 +0000
   1906 Subject: [sup-talk] Justin Mason reviews sup on his blog
   1907 In-Reply-To: <1261242535-sup-932@masanjin.net>
   1908 References: <6bb609560912182024i3f8cd55fufb1cd90bcd5eb299@mail.gmail.com>
   1909 	<1261242535-sup-932@masanjin.net>
   1910 Message-ID: <6c399e450912210630x572b2131xb143fd3b28cd8404@mail.gmail.com>
   1911 
   1912 On Sat, Dec 19, 2009 at 17:09, William Morgan <wmorgan-sup at masanjin.net> wrote:
   1913 > Reformatted excerpts from Bart Schaefer's message of 2009-12-18:
   1914 >> Yes, the Justin Mason who heads up the SpamAssassin project.
   1915 >>
   1916 >> http://taint.org/2009/12/18/005520a.html
   1917 >
   1918 > Cool! All very valid criticisms.
   1919 
   1920 cheers!  I _am_ really enjoying sup, btw ;)   Thanks for writing it!
   1921 
   1922 -- 
   1923 --j.
   1924 
   1925 From jesler@sourcefire.com  Mon Dec 21 11:28:17 2009
   1926 From: jesler@sourcefire.com (Joel Esler)
   1927 Date: Mon, 21 Dec 2009 11:28:17 -0500
   1928 Subject: [sup-talk] Gmail question
   1929 Message-ID: <314cf0830912210828i278fd9efxd8d688c10a2a4b73@mail.gmail.com>
   1930 
   1931 As I am sure you guys are inundated with "OMG sup and Gmail!" questions,
   1932 I'll try and keep this brief.
   1933 
   1934 Either using Gmail via IMAP or using Gmail via offlineimap (either with
   1935 sup), I have a bunch of labels that I let Gmail act as my "procmail" for.
   1936 (match on "x", skip inbox, apply label)
   1937 
   1938 Obviously I'd like to be able to mash the "L" and see all these labels and
   1939 their unread counts, however, I am obviously missing how to configure this,
   1940 and I am sure it's quite easy.  Heck, I don't mind if you guys RTFM me to
   1941 the right section of the 'manual', but please do.
   1942 
   1943 -- 
   1944 Joel Esler | 302-223-5974 | gtalk: jesler at sourcefire.com
   1945 -------------- next part --------------
   1946 An HTML attachment was scrubbed...
   1947 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091221/619c62a0/attachment.html>
   1948 
   1949 From wmorgan-sup@masanjin.net  Mon Dec 21 11:35:44 2009
   1950 From: wmorgan-sup@masanjin.net (William Morgan)
   1951 Date: Mon, 21 Dec 2009 08:35:44 -0800
   1952 Subject: [sup-talk] Fwd: Automatic labels backup
   1953 In-Reply-To: <1261265869-sup-7604@kronos>
   1954 References: <1260855317-sup-863@ezyang> <1261265869-sup-7604@kronos>
   1955 Message-ID: <1261412908-sup-5527@masanjin.net>
   1956 
   1957 Reformatted excerpts from William Baxter's message of 2009-12-19:
   1958 > How much additional work does it take to turn an index dump into a
   1959 > sup-to-sup sync mechanism?  Suppose that on one host you dump the
   1960 > index and send a signed message.  This reaches the receiving host when
   1961 > you read mail there.  Use it to update the index, and the receiving
   1962 > host has labels matching those on the sending host.
   1963 
   1964 It might not be fast or pretty, but should be easy. To sync an index
   1965 on computer B based on a dump from computer A, you should be able to
   1966 just:
   1967 
   1968 computer B> sup-sync --restore <dumpfile from A>
   1969 
   1970 That should both a) load any new messages from the source, and b) update
   1971 them with the labels from the dumpfile.
   1972 
   1973 It's a little silly because you're transmitting the dumpfile for the
   1974 entire index back and forth between the two. If it were ordered, you
   1975 could just take a portion of it.
   1976 
   1977 I've never tried this, but based on a visual inspection of the code, I
   1978 Guarantee It Works (tm).
   1979 -- 
   1980 William <wmorgan-sup at masanjin.net>
   1981 
   1982 From wmorgan-sup@masanjin.net  Mon Dec 21 11:56:19 2009
   1983 From: wmorgan-sup@masanjin.net (William Morgan)
   1984 Date: Mon, 21 Dec 2009 08:56:19 -0800
   1985 Subject: [sup-talk] Gmail question
   1986 In-Reply-To: <314cf0830912210828i278fd9efxd8d688c10a2a4b73@mail.gmail.com>
   1987 References: <314cf0830912210828i278fd9efxd8d688c10a2a4b73@mail.gmail.com>
   1988 Message-ID: <1261414173-sup-9168@masanjin.net>
   1989 
   1990 Reformatted excerpts from Joel Esler's message of 2009-12-21:
   1991 > Obviously I'd like to be able to mash the "L" and see all these labels
   1992 > and their unread counts, however, I am obviously missing how to
   1993 > configure this, and I am sure it's quite easy.  Heck, I don't mind if
   1994 > you guys RTFM me to the right section of the 'manual', but please do.
   1995 
   1996 I believe that Gmail exposes those types of things to IMAP clients as
   1997 IMAP folders with funny names. (If you see these messages in Sup's
   1998 inbox, then I am wrong about that.)
   1999 
   2000 So the easiest approach to duplicate them in Sup is add each source by
   2001 hand as sup-add, and have Sup auto-apply labels when it sees new
   2002 messages in those "folders". (And auto-archive them.)
   2003 
   2004 Unfortunately Sup's stupid URI syntax for sources combines very poorly
   2005 with Gmail's names for these types of folders, so you'll have to do
   2006 something horrible like:
   2007 
   2008   sup-add imaps://imap.gmail.com/%5BGmail%5D%2FSent+Mail
   2009   sup-add imaps://imap.gmail.com/%5BGmail%5D%2Flabelname
   2010 
   2011 etc., with the appropriate arguments to sup-add for auto-archiving and
   2012 auto-applying labels.
   2013 
   2014 Anyone more familiar with Gmail+Sup, please correct me if I'm wrong.
   2015 -- 
   2016 William <wmorgan-sup at masanjin.net>
   2017 
   2018 From johnbent@lanl.gov  Mon Dec 21 11:56:53 2009
   2019 From: johnbent@lanl.gov (John Bent)
   2020 Date: Mon, 21 Dec 2009 09:56:53 -0700
   2021 Subject: [sup-talk] Sent mail in inbox view
   2022 In-Reply-To: <1261272023-sup-2671@cammunism.org>
   2023 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   2024 	<1261249910-sup-9552@masanjin.net>
   2025 	<1261272023-sup-2671@cammunism.org>
   2026 Message-ID: <1261414540-sup-87@tangerine.lanl.gov>
   2027 
   2028 Excerpts from Cameron Matheson's message of Sat Dec 19 18:22:44 -0700 2009:
   2029 > Excerpts from William Morgan's message of Sat Dec 19 12:14:33 -0700 2009:
   2030 > > Reformatted excerpts from C. Morgan Hamill's message of 2009-12-11:
   2031 > > > I've got a really straightforward question that I can't seem to find
   2032 > > > an answer for in the wiki or the New Users Guide or Google, for that
   2033 > > > matter?is it normal behavior for a newly composed and then sent
   2034 > > > message to appear in inbox view, i.e. to be labled both 'inbox' and
   2035 > > > 'sent'? Or do I have something misconfigured? Any help would be
   2036 > > > appreciated.
   2037 > > 
   2038 > > Nope, that's normal. It's easy to change that though. I wonder what
   2039 > > people think--is it reassuring to see it in the inbox, or is it
   2040 > > irritating?
   2041 > 
   2042 > I really appreciate the current behavior.
   2043 >
   2044 +1.  But I wish forwarded emails would be part of the thread instead of
   2045 a new one.  I often just reply and change the to: field in order to get
   2046 this behavior.  If joining worked, that would also be fine.
   2047 
   2048 John
   2049 
   2050 From wmorgan-sup@masanjin.net  Mon Dec 21 13:13:45 2009
   2051 From: wmorgan-sup@masanjin.net (William Morgan)
   2052 Date: Mon, 21 Dec 2009 10:13:45 -0800
   2053 Subject: [sup-talk] Sent mail in inbox view
   2054 In-Reply-To: <1261414540-sup-87@tangerine.lanl.gov>
   2055 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   2056 	<1261249910-sup-9552@masanjin.net>
   2057 	<1261272023-sup-2671@cammunism.org>
   2058 	<1261414540-sup-87@tangerine.lanl.gov>
   2059 Message-ID: <1261419192-sup-3957@masanjin.net>
   2060 
   2061 Reformatted excerpts from John Bent's message of 2009-12-21:
   2062 > +1.  But I wish forwarded emails would be part of the thread instead of
   2063 > a new one.
   2064 
   2065 Me too!
   2066 
   2067 > I often just reply and change the to: field in order to get this
   2068 > behavior.  If joining worked, that would also be fine.
   2069 
   2070 I thought joining worked in recent Sups.
   2071 -- 
   2072 William <wmorgan-sup at masanjin.net>
   2073 
   2074 From johnbent@lanl.gov  Mon Dec 21 13:25:47 2009
   2075 From: johnbent@lanl.gov (John Bent)
   2076 Date: Mon, 21 Dec 2009 11:25:47 -0700
   2077 Subject: [sup-talk] Sent mail in inbox view
   2078 In-Reply-To: <1261419192-sup-3957@masanjin.net>
   2079 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   2080 	<1261249910-sup-9552@masanjin.net>
   2081 	<1261272023-sup-2671@cammunism.org>
   2082 	<1261414540-sup-87@tangerine.lanl.gov>
   2083 	<1261419192-sup-3957@masanjin.net>
   2084 Message-ID: <1261419908-sup-2164@tangerine.lanl.gov>
   2085 
   2086 Excerpts from William Morgan's message of Mon Dec 21 11:13:45 -0700 2009:
   2087 > Reformatted excerpts from John Bent's message of 2009-12-21:
   2088 > > +1.  But I wish forwarded emails would be part of the thread instead of
   2089 > > a new one.
   2090 > 
   2091 > Me too!
   2092 > 
   2093 > > I often just reply and change the to: field in order to get this
   2094 > > behavior.  If joining worked, that would also be fine.
   2095 > 
   2096 > I thought joining worked in recent Sups.
   2097 >
   2098 I'm on 0.9 and it's not working.  It works but is not persistent across
   2099 quitting and restarting.
   2100 
   2101 John
   2102 
   2103 From wmorgan-sup@masanjin.net  Mon Dec 21 13:34:30 2009
   2104 From: wmorgan-sup@masanjin.net (William Morgan)
   2105 Date: Mon, 21 Dec 2009 10:34:30 -0800
   2106 Subject: [sup-talk] Sent mail in inbox view
   2107 In-Reply-To: <1261419908-sup-2164@tangerine.lanl.gov>
   2108 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   2109 	<1261249910-sup-9552@masanjin.net>
   2110 	<1261272023-sup-2671@cammunism.org>
   2111 	<1261414540-sup-87@tangerine.lanl.gov>
   2112 	<1261419192-sup-3957@masanjin.net>
   2113 	<1261419908-sup-2164@tangerine.lanl.gov>
   2114 Message-ID: <1261420436-sup-4009@masanjin.net>
   2115 
   2116 Reformatted excerpts from John Bent's message of 2009-12-21:
   2117 > I'm on 0.9 and it's not working.  It works but is not persistent
   2118 > across quitting and restarting.
   2119 
   2120 Rats. It works consistently for me. Ferret or Xapian?
   2121 -- 
   2122 William <wmorgan-sup at masanjin.net>
   2123 
   2124 From johnbent@lanl.gov  Mon Dec 21 13:47:45 2009
   2125 From: johnbent@lanl.gov (John Bent)
   2126 Date: Mon, 21 Dec 2009 11:47:45 -0700
   2127 Subject: [sup-talk] Sent mail in inbox view
   2128 In-Reply-To: <1261420436-sup-4009@masanjin.net>
   2129 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   2130 	<1261249910-sup-9552@masanjin.net>
   2131 	<1261272023-sup-2671@cammunism.org>
   2132 	<1261414540-sup-87@tangerine.lanl.gov>
   2133 	<1261419192-sup-3957@masanjin.net>
   2134 	<1261419908-sup-2164@tangerine.lanl.gov>
   2135 	<1261420436-sup-4009@masanjin.net>
   2136 Message-ID: <1261421239-sup-6142@tangerine.lanl.gov>
   2137 
   2138 Excerpts from William Morgan's message of Mon Dec 21 11:34:30 -0700 2009:
   2139 > Reformatted excerpts from John Bent's message of 2009-12-21:
   2140 > > I'm on 0.9 and it's not working.  It works but is not persistent
   2141 > > across quitting and restarting.
   2142 > 
   2143 > Rats. It works consistently for me. Ferret or Xapian?
   2144 >
   2145 Ferret still.  Scared to change.  One day... This adds motivation.
   2146 
   2147 John
   2148 
   2149 From wmorgan-sup@masanjin.net  Mon Dec 21 14:31:21 2009
   2150 From: wmorgan-sup@masanjin.net (William Morgan)
   2151 Date: Mon, 21 Dec 2009 11:31:21 -0800
   2152 Subject: [sup-talk] Sent mail in inbox view
   2153 In-Reply-To: <1261421239-sup-6142@tangerine.lanl.gov>
   2154 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   2155 	<1261249910-sup-9552@masanjin.net>
   2156 	<1261272023-sup-2671@cammunism.org>
   2157 	<1261414540-sup-87@tangerine.lanl.gov>
   2158 	<1261419192-sup-3957@masanjin.net>
   2159 	<1261419908-sup-2164@tangerine.lanl.gov>
   2160 	<1261420436-sup-4009@masanjin.net>
   2161 	<1261421239-sup-6142@tangerine.lanl.gov>
   2162 Message-ID: <1261423846-sup-2484@masanjin.net>
   2163 
   2164 Reformatted excerpts from John Bent's message of 2009-12-21:
   2165 > Ferret still.  Scared to change.  One day... This adds motivation.
   2166 
   2167 I'm still using Ferret too. Weird that it would work for me and not for
   2168 you.
   2169 
   2170 Poll time: is joining threads NOT persistent for anyone else?
   2171 -- 
   2172 William <wmorgan-sup at masanjin.net>
   2173 
   2174 From tarko@lanparty.ee  Mon Dec 21 15:02:07 2009
   2175 From: tarko@lanparty.ee (Tarko Tikan)
   2176 Date: Mon, 21 Dec 2009 22:02:07 +0200
   2177 Subject: [sup-talk] Sent mail in inbox view
   2178 In-Reply-To: <1261423846-sup-2484@masanjin.net>
   2179 References: <d3f3bcb00912110619h68436338uc1da581868e795ca@mail.gmail.com>
   2180 	<1261249910-sup-9552@masanjin.net>
   2181 	<1261272023-sup-2671@cammunism.org>
   2182 	<1261414540-sup-87@tangerine.lanl.gov>
   2183 	<1261419192-sup-3957@masanjin.net>
   2184 	<1261419908-sup-2164@tangerine.lanl.gov>
   2185 	<1261420436-sup-4009@masanjin.net>
   2186 	<1261421239-sup-6142@tangerine.lanl.gov>
   2187 	<1261423846-sup-2484@masanjin.net>
   2188 Message-ID: <1261425612-sup-5555@lanparty.ee>
   2189 
   2190 hey,
   2191 
   2192 > Poll time: is joining threads NOT persistent for anyone else?
   2193 
   2194 0.9.1+ferret: tag 2 threads, join with # -> threads appear as one
   2195 save index with $, reload with @ -> threads appear separate again
   2196 
   2197 -- 
   2198 tarko
   2199 
   2200 From bwalton@artsci.utoronto.ca  Mon Dec 21 18:45:14 2009
   2201 From: bwalton@artsci.utoronto.ca (Ben Walton)
   2202 Date: Mon, 21 Dec 2009 18:45:14 -0500
   2203 Subject: [sup-talk] Gmail question
   2204 In-Reply-To: <1261414173-sup-9168@masanjin.net>
   2205 References: <314cf0830912210828i278fd9efxd8d688c10a2a4b73@mail.gmail.com>
   2206 	<1261414173-sup-9168@masanjin.net>
   2207 Message-ID: <1261438895-sup-2073@ntdws12.chass.utoronto.ca>
   2208 
   2209 Excerpts from William Morgan's message of Mon Dec 21 11:56:19 -0500 2009:
   2210 
   2211 > I believe that Gmail exposes those types of things to IMAP clients as
   2212 > IMAP folders with funny names. (If you see these messages in Sup's
   2213 > inbox, then I am wrong about that.)
   2214 
   2215 Yes, it definitely does.  I had to migrate 300+ accounts out of gmail
   2216 via IMAP.  If you're doing offlineimap for this task, I'd suggest
   2217 mapping each 'folder' to a separate Maildir and, if possible, use hard
   2218 links for messages that land in multiple 'folders.'  An md5sum of the
   2219 headers is the heuristic I used to detect this.
   2220 
   2221 >   sup-add imaps://imap.gmail.com/%5BGmail%5D%2FSent+Mail
   2222 >   sup-add imaps://imap.gmail.com/%5BGmail%5D%2Flabelname
   2223 
   2224 Depending on the age and 'type' of account, you may also see things
   2225 like .../%5BGoogle%20%5B%2Flabelname.
   2226 
   2227 > Anyone more familiar with Gmail+Sup, please correct me if I'm wrong.
   2228 
   2229 I don't use sup for any of my gmail needs, this is all based on my
   2230 export experience.
   2231 
   2232 HTH.
   2233 -Ben
   2234 -- 
   2235 Ben Walton
   2236 Systems Programmer - CHASS
   2237 University of Toronto
   2238 C:416.407.5610 | W:416.978.4302
   2239 
   2240 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
   2241 Contact me to arrange for a CAcert assurance meeting.
   2242 -------------- next part --------------
   2243 A non-text attachment was scrubbed...
   2244 Name: signature.asc
   2245 Type: application/pgp-signature
   2246 Size: 189 bytes
   2247 Desc: not available
   2248 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091221/0e3c9df9/attachment.bin>
   2249 
   2250 From garoth@gmail.com  Thu Dec 24 11:43:30 2009
   2251 From: garoth@gmail.com (Andrei Thorp)
   2252 Date: Thu, 24 Dec 2009 11:43:30 -0500
   2253 Subject: [sup-talk] Ruby 1.9: encodings
   2254 In-Reply-To: <1261246544-sup-7566@masanjin.net>
   2255 References: <80055d7c0911061922w64ef7cb0qf0c7bed008cc728c@mail.gmail.com>
   2256 	<5a5b14cf0912180737n600fc2acx30fa14028d4a7662@mail.gmail.com>
   2257 	<1261246544-sup-7566@masanjin.net>
   2258 Message-ID: <80055d7c0912240843h38c0b1e9r5916829de8b510df@mail.gmail.com>
   2259 
   2260 On Sat, Dec 19, 2009 at 1:34 PM, William Morgan
   2261 <wmorgan-sup at masanjin.net> wrote:
   2262 > Reformatted excerpts from Gaute Hope's message of 2009-12-18:
   2263 >> I just tried.. im getting the same, afraid im not skilled enough to
   2264 >> figure out what is wrong thou..
   2265 >
   2266 > Do the errors still occur if you apply this patch?
   2267 >
   2268 > diff --git a/lib/sup/util.rb b/lib/sup/util.rb
   2269 > index f99e1c1..92aaff4 100644
   2270 > --- a/lib/sup/util.rb
   2271 > +++ b/lib/sup/util.rb
   2272 > @@ -176,13 +176,7 @@ end
   2273 > ?class String
   2274 > ? ## nasty multibyte hack for ruby 1.8. if it's utf-8, split into chars using
   2275 > ? ## the utf8 regex and count those. otherwise, use the byte length.
   2276 > - ?def display_length
   2277 > - ? ?if $encoding == "UTF-8" || $encoding == "utf8"
   2278 > - ? ? ?scan(/./u).size
   2279 > - ? ?else
   2280 > - ? ? ?size
   2281 > - ? ?end
   2282 > - ?end
   2283 > + ?def display_length; length end
   2284 >
   2285 > ? def camel_to_hyphy
   2286 > ? ? self.gsub(/([a-z])([A-Z0-9])/, '\1-\2').downcase
   2287 >
   2288 > --
   2289 > William <wmorgan-sup at masanjin.net>
   2290 > _______________________________________________
   2291 > sup-talk mailing list
   2292 > sup-talk at rubyforge.org
   2293 > http://rubyforge.org/mailman/listinfo/sup-talk
   2294 >
   2295 
   2296 Nope, sorry. After deleting that function,
   2297 
   2298 --- ArgumentError from thread: load threads for thread-index-mode
   2299 invalid byte sequence in US-ASCII
   2300 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/person.rb:10:in `gsub'
   2301 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/person.rb:10:in `initialize'
   2302 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:84:in `new'
   2303 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:84:in
   2304 `block in build_message'
   2305 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:86:in `map!'
   2306 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:86:in
   2307 `build_message'
   2308 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in
   2309 `block (2 levels) in each_message_in_thread_for'
   2310 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:343:in `call'
   2311 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:343:in
   2312 `block in load_thread_for_message'
   2313 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in
   2314 `block in each_message_in_thread_for'
   2315 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in `each'
   2316 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in
   2317 `each_message_in_thread_for'
   2318 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:341:in
   2319 `load_thread_for_message'
   2320 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:333:in
   2321 `block in load_n_threads'
   2322 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:151:in
   2323 `block in each_id_by_date'
   2324 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:144:in
   2325 `block in each_id'
   2326 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:144:in `each'
   2327 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:144:in `each_id'
   2328 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:151:in
   2329 `each_id_by_date'
   2330 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:328:in
   2331 `load_n_threads'
   2332 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/modes/thread-index-mode.rb:625:in
   2333 `load_n_threads'
   2334 (eval):12:in `load_n_threads'
   2335 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/modes/thread-index-mode.rb:609:in
   2336 `block in load_n_threads_background'
   2337 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup.rb:77:in `block in
   2338 reporting_thread'
   2339 
   2340 Though perhaps it would be easier for you to try out 1.9 + sup + utf8
   2341 for yourself? I'm sure you already have some UTF8 in your messages, so
   2342 you'd just need the new ruby. I have a feeling there are a lot of
   2343 small bugs and it may be a hassle doing debugging by proxy (though I'm
   2344 willing).
   2345 
   2346 -AT
   2347 
   2348 From garoth@gmail.com  Thu Dec 24 11:47:41 2009
   2349 From: garoth@gmail.com (Andrei Thorp)
   2350 Date: Thu, 24 Dec 2009 11:47:41 -0500
   2351 Subject: [sup-talk] Ruby 1.9: encodings
   2352 In-Reply-To: <80055d7c0912240843h38c0b1e9r5916829de8b510df@mail.gmail.com>
   2353 References: <80055d7c0911061922w64ef7cb0qf0c7bed008cc728c@mail.gmail.com>
   2354 	<5a5b14cf0912180737n600fc2acx30fa14028d4a7662@mail.gmail.com>
   2355 	<1261246544-sup-7566@masanjin.net>
   2356 	<80055d7c0912240843h38c0b1e9r5916829de8b510df@mail.gmail.com>
   2357 Message-ID: <80055d7c0912240847p2b89b299hc7be9381e18b6f19@mail.gmail.com>
   2358 
   2359 On Thu, Dec 24, 2009 at 11:43 AM, Andrei Thorp <garoth at gmail.com> wrote:
   2360 > On Sat, Dec 19, 2009 at 1:34 PM, William Morgan
   2361 > <wmorgan-sup at masanjin.net> wrote:
   2362 >> Reformatted excerpts from Gaute Hope's message of 2009-12-18:
   2363 >>> I just tried.. im getting the same, afraid im not skilled enough to
   2364 >>> figure out what is wrong thou..
   2365 >>
   2366 >> Do the errors still occur if you apply this patch?
   2367 >>
   2368 >> diff --git a/lib/sup/util.rb b/lib/sup/util.rb
   2369 >> index f99e1c1..92aaff4 100644
   2370 >> --- a/lib/sup/util.rb
   2371 >> +++ b/lib/sup/util.rb
   2372 >> @@ -176,13 +176,7 @@ end
   2373 >> ?class String
   2374 >> ? ## nasty multibyte hack for ruby 1.8. if it's utf-8, split into chars using
   2375 >> ? ## the utf8 regex and count those. otherwise, use the byte length.
   2376 >> - ?def display_length
   2377 >> - ? ?if $encoding == "UTF-8" || $encoding == "utf8"
   2378 >> - ? ? ?scan(/./u).size
   2379 >> - ? ?else
   2380 >> - ? ? ?size
   2381 >> - ? ?end
   2382 >> - ?end
   2383 >> + ?def display_length; length end
   2384 >>
   2385 >> ? def camel_to_hyphy
   2386 >> ? ? self.gsub(/([a-z])([A-Z0-9])/, '\1-\2').downcase
   2387 >>
   2388 >> --
   2389 >> William <wmorgan-sup at masanjin.net>
   2390 >> _______________________________________________
   2391 >> sup-talk mailing list
   2392 >> sup-talk at rubyforge.org
   2393 >> http://rubyforge.org/mailman/listinfo/sup-talk
   2394 >>
   2395 >
   2396 > Nope, sorry. After deleting that function,
   2397 >
   2398 > --- ArgumentError from thread: load threads for thread-index-mode
   2399 > invalid byte sequence in US-ASCII
   2400 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/person.rb:10:in `gsub'
   2401 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/person.rb:10:in `initialize'
   2402 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:84:in `new'
   2403 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:84:in
   2404 > `block in build_message'
   2405 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:86:in `map!'
   2406 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:86:in
   2407 > `build_message'
   2408 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in
   2409 > `block (2 levels) in each_message_in_thread_for'
   2410 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:343:in `call'
   2411 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:343:in
   2412 > `block in load_thread_for_message'
   2413 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in
   2414 > `block in each_message_in_thread_for'
   2415 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in `each'
   2416 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:176:in
   2417 > `each_message_in_thread_for'
   2418 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:341:in
   2419 > `load_thread_for_message'
   2420 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:333:in
   2421 > `block in load_n_threads'
   2422 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:151:in
   2423 > `block in each_id_by_date'
   2424 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:144:in
   2425 > `block in each_id'
   2426 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:144:in `each'
   2427 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:144:in `each_id'
   2428 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/xapian_index.rb:151:in
   2429 > `each_id_by_date'
   2430 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/thread.rb:328:in
   2431 > `load_n_threads'
   2432 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/modes/thread-index-mode.rb:625:in
   2433 > `load_n_threads'
   2434 > (eval):12:in `load_n_threads'
   2435 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup/modes/thread-index-mode.rb:609:in
   2436 > `block in load_n_threads_background'
   2437 > /usr/lib/ruby/gems/1.9.1/gems/sup-0.9.1/lib/sup.rb:77:in `block in
   2438 > reporting_thread'
   2439 >
   2440 > Though perhaps it would be easier for you to try out 1.9 + sup + utf8
   2441 > for yourself? I'm sure you already have some UTF8 in your messages, so
   2442 > you'd just need the new ruby. I have a feeling there are a lot of
   2443 > small bugs and it may be a hassle doing debugging by proxy (though I'm
   2444 > willing).
   2445 >
   2446 > -AT
   2447 
   2448 Err, sorry. And when I say "deleting that function" I mean manually
   2449 applying your patch carefully.
   2450 
   2451 From jesler@sourcefire.com  Sun Dec 27 10:45:38 2009
   2452 From: jesler@sourcefire.com (Joel Esler)
   2453 Date: Sun, 27 Dec 2009 10:45:38 -0500
   2454 Subject: [sup-talk] Gmail question
   2455 In-Reply-To: <1261438895-sup-2073@ntdws12.chass.utoronto.ca>
   2456 References: <314cf0830912210828i278fd9efxd8d688c10a2a4b73@mail.gmail.com>
   2457 	<1261414173-sup-9168@masanjin.net>
   2458 	<1261438895-sup-2073@ntdws12.chass.utoronto.ca>
   2459 Message-ID: <20091227154535.GA96297@new-host-2.home>
   2460 
   2461 On Mon, Dec 21, 2009 at 06:45:14PM -0500, Ben Walton wrote:
   2462 > Excerpts from William Morgan's message of Mon Dec 21 11:56:19 -0500 2009:
   2463 > 
   2464 > > I believe that Gmail exposes those types of things to IMAP clients as
   2465 > > IMAP folders with funny names. (If you see these messages in Sup's
   2466 > > inbox, then I am wrong about that.)
   2467 > 
   2468 > Yes, it definitely does.  I had to migrate 300+ accounts out of gmail
   2469 > via IMAP.  If you're doing offlineimap for this task, I'd suggest
   2470 > mapping each 'folder' to a separate Maildir and, if possible, use hard
   2471 > links for messages that land in multiple 'folders.'  An md5sum of the
   2472 > headers is the heuristic I used to detect this.
   2473 > 
   2474 > >   sup-add imaps://imap.gmail.com/%5BGmail%5D%2FSent+Mail
   2475 > >   sup-add imaps://imap.gmail.com/%5BGmail%5D%2Flabelname
   2476 > 
   2477 > Depending on the age and 'type' of account, you may also see things
   2478 > like .../%5BGoogle%20%5B%2Flabelname.
   2479 > 
   2480 > > Anyone more familiar with Gmail+Sup, please correct me if I'm wrong.
   2481 > 
   2482 > I don't use sup for any of my gmail needs, this is all based on my
   2483 > export experience.
   2484 > 
   2485 > HTH.
   2486 > -Ben
   2487 > -- 
   2488 > Ben Walton
   2489 > Systems Programmer - CHASS
   2490 > University of Toronto
   2491 > C:416.407.5610 | W:416.978.4302
   2492 > 
   2493 > GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
   2494 > Contact me to arrange for a CAcert assurance meeting.
   2495 
   2496 
   2497 Ben -- Your key isn't verifying correctly -- btw.
   2498 
   2499 I tried this on a couple folders.  Sup can't load the 53000+ emails I have in one label.  I'll have to stick with Mutt for now.  But I like sup's concept of threading.
   2500 
   2501 
   2502 -- 
   2503 Joel Esler | 302-223-5974 | gtalk: jesler at sourcefire.com
   2504 
   2505 From wmorgan-sup@masanjin.net  Sun Dec 27 10:48:23 2009
   2506 From: wmorgan-sup@masanjin.net (William Morgan)
   2507 Date: Sun, 27 Dec 2009 07:48:23 -0800
   2508 Subject: [sup-talk] Gmail question
   2509 In-Reply-To: <20091227154535.GA96297@new-host-2.home>
   2510 References: <314cf0830912210828i278fd9efxd8d688c10a2a4b73@mail.gmail.com>
   2511 	<1261414173-sup-9168@masanjin.net>
   2512 	<1261438895-sup-2073@ntdws12.chass.utoronto.ca>
   2513 	<20091227154535.GA96297@new-host-2.home>
   2514 Message-ID: <1261928861-sup-6807@masanjin.net>
   2515 
   2516 Reformatted excerpts from Joel Esler's message of 2009-12-27:
   2517 > I tried this on a couple folders.  Sup can't load the 53000+ emails I
   2518 > have in one label.
   2519 
   2520 What's the exact error? I've used Sup with many more emails than that.
   2521 -- 
   2522 William <wmorgan-sup at masanjin.net>
   2523 
   2524 From eslerj@gmail.com  Sun Dec 27 18:05:27 2009
   2525 From: eslerj@gmail.com (Joel Esler)
   2526 Date: Sun, 27 Dec 2009 18:05:27 -0500
   2527 Subject: [sup-talk] Gmail question
   2528 In-Reply-To: <1261928861-sup-6807@masanjin.net>
   2529 References: <314cf0830912210828i278fd9efxd8d688c10a2a4b73@mail.gmail.com>
   2530 	<1261414173-sup-9168@masanjin.net>
   2531 	<1261438895-sup-2073@ntdws12.chass.utoronto.ca>
   2532 	<20091227154535.GA96297@new-host-2.home>
   2533 	<1261928861-sup-6807@masanjin.net>
   2534 Message-ID: <20091227230525.GE97100@new-host-2.home>
   2535 
   2536 On Sun, Dec 27, 2009 at 07:48:23AM -0800, William Morgan wrote:
   2537 > Reformatted excerpts from Joel Esler's message of 2009-12-27:
   2538 > > I tried this on a couple folders.  Sup can't load the 53000+ emails I
   2539 > > have in one label.
   2540 > 
   2541 > What's the exact error? I've used Sup with many more emails than that.
   2542 
   2543 Next time I recreate the error, I'll post
   2544 
   2545 -- 
   2546 Joel Esler | 302-223-5974 | gtalk: jesler at sourcefire.com
   2547 
   2548 From aep@exys.org  Mon Dec 28 00:51:01 2009
   2549 From: aep@exys.org (Arvid Picciani)
   2550 Date: Mon, 28 Dec 2009 06:51:01 +0100
   2551 Subject: [sup-talk] sup with 120K mail
   2552 Message-ID: <4B384745.7080207@exys.org>
   2553 
   2554 hey,
   2555 are there any plans to support large amounts of mails?
   2556 It doesn't appear to me much changed during the last months.
   2557 Last time i tried it was unusable slow.
   2558 -- 
   2559 Arvid
   2560 Asgaard Technologies
   2561 
   2562 From wmorgan-sup@masanjin.net  Mon Dec 28 10:12:12 2009
   2563 From: wmorgan-sup@masanjin.net (William Morgan)
   2564 Date: Mon, 28 Dec 2009 07:12:12 -0800
   2565 Subject: [sup-talk] sup with 120K mail
   2566 In-Reply-To: <4B384745.7080207@exys.org>
   2567 References: <4B384745.7080207@exys.org>
   2568 Message-ID: <1262013098-sup-6005@masanjin.net>
   2569 
   2570 Reformatted excerpts from Arvid Picciani's message of 2009-12-27:
   2571 > are there any plans to support large amounts of mails?
   2572 > It doesn't appear to me much changed during the last months.
   2573 > Last time i tried it was unusable slow.
   2574 
   2575 Can you be more specific about what's slow? I used Sup with a 160k
   2576 index for a long time without trouble.
   2577 -- 
   2578 William <wmorgan-sup at masanjin.net>
   2579 
   2580 From aep@exys.org  Mon Dec 28 03:32:29 2009
   2581 From: aep@exys.org (Arvid Picciani)
   2582 Date: Mon, 28 Dec 2009 09:32:29 +0100
   2583 Subject: [sup-talk] sup with 120K mail
   2584 In-Reply-To: <1262013098-sup-6005@masanjin.net>
   2585 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2586 Message-ID: <4B386D1D.4000609@exys.org>
   2587 
   2588 On 12/28/2009 04:12 PM, William Morgan wrote:
   2589 > Reformatted excerpts from Arvid Picciani's message of 2009-12-27:
   2590 >> are there any plans to support large amounts of mails?
   2591 >> It doesn't appear to me much changed during the last months.
   2592 >> Last time i tried it was unusable slow.
   2593 >
   2594 > Can you be more specific about what's slow? I used Sup with a 160k
   2595 > index for a long time without trouble.
   2596 
   2597 "everything"  sums it up.  it takes forever to start, to quit, to show 
   2598 the index, to show a single message, etc..
   2599 
   2600 -- 
   2601 Arvid
   2602 Asgaard Technologies
   2603 
   2604 From hyperbolist@gmail.com  Mon Dec 28 11:45:01 2009
   2605 From: hyperbolist@gmail.com (Eric Sherman)
   2606 Date: Mon, 28 Dec 2009 11:45:01 -0500
   2607 Subject: [sup-talk] sup with 120K mail
   2608 In-Reply-To: <4B386D1D.4000609@exys.org>
   2609 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2610 	<4B386D1D.4000609@exys.org>
   2611 Message-ID: <1262018249-sup-4764@changeling.local>
   2612 
   2613 Excerpts from Arvid Picciani's message of Mon Dec 28 03:32:29 -0500 2009:
   2614 > On 12/28/2009 04:12 PM, William Morgan wrote:
   2615 > > Reformatted excerpts from Arvid Picciani's message of 2009-12-27:
   2616 > >> are there any plans to support large amounts of mails?
   2617 > >> It doesn't appear to me much changed during the last months.
   2618 > >> Last time i tried it was unusable slow.
   2619 > >
   2620 > > Can you be more specific about what's slow? I used Sup with a 160k
   2621 > > index for a long time without trouble.
   2622 > 
   2623 > "everything"  sums it up.  it takes forever to start, to quit, to show 
   2624 > the index, to show a single message, etc..
   2625 
   2626 I imagine [offlineimap][1] will make your life easier.  sup is speedy on my 
   2627 index of 35000 emails in maildir, while it was relatively unusable with raw 
   2628 imap.
   2629 
   2630 [1]:http://software.complete.org/software/projects/show/offlineimap
   2631 
   2632 From sgoldman@tower-research.com  Mon Dec 28 11:45:58 2009
   2633 From: sgoldman@tower-research.com (Steve Goldman)
   2634 Date: Mon, 28 Dec 2009 11:45:58 -0500
   2635 Subject: [sup-talk] sup with 120K mail
   2636 In-Reply-To: <4B386D1D.4000609@exys.org>
   2637 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2638 	<4B386D1D.4000609@exys.org>
   2639 Message-ID: <1262018619-sup-8709@sgoldmanlinux.tower-research.com>
   2640 
   2641 Excerpts from Arvid Picciani's message of Mon Dec 28 03:32:29 -0500 2009:
   2642 > On 12/28/2009 04:12 PM, William Morgan wrote:
   2643 > > Reformatted excerpts from Arvid Picciani's message of 2009-12-27:
   2644 > >> are there any plans to support large amounts of mails?
   2645 > >> It doesn't appear to me much changed during the last months.
   2646 > >> Last time i tried it was unusable slow.
   2647 > >
   2648 > > Can you be more specific about what's slow? I used Sup with a 160k
   2649 > > index for a long time without trouble.
   2650 > 
   2651 > "everything"  sums it up.  it takes forever to start, to quit, to show 
   2652 > the index, to show a single message, etc..
   2653 > 
   2654 
   2655 I'm in the same boat.  Starting up, it takes over a minute before it
   2656 begins to show new messages.  My workaround is to run sup in screen.
   2657 
   2658 There's a lot of variance in how long it takes to show a message once
   2659 I press enter on it.  Sometimes it's upwards of thirty seconds, other
   2660 times instant.
   2661 
   2662 I always assumed this is because my mail server is on a remote host
   2663 and highly utilized.
   2664 
   2665 Saving messages happens at the rate of about two messages per second.
   2666 
   2667 Quitting happens quickly.
   2668 
   2669 I have almost 60k messages in my index.
   2670 
   2671 Thanks.
   2672 -- 
   2673 
   2674 Steve Goldman
   2675 sgoldman at tower-research.com
   2676 
   2677 T: 212.219.6014
   2678 F: 212.219.6007
   2679 
   2680 Tower Research Capital, LLC
   2681 377 Broadway, 11th Fl.
   2682 New York, NY 10013
   2683 
   2684 From wmorgan-sup@masanjin.net  Mon Dec 28 12:34:38 2009
   2685 From: wmorgan-sup@masanjin.net (William Morgan)
   2686 Date: Mon, 28 Dec 2009 09:34:38 -0800
   2687 Subject: [sup-talk] sup with 120K mail
   2688 In-Reply-To: <4B386D1D.4000609@exys.org>
   2689 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2690 	<4B386D1D.4000609@exys.org>
   2691 Message-ID: <1262021650-sup-9496@masanjin.net>
   2692 
   2693 Reformatted excerpts from Arvid Picciani's message of 2009-12-28:
   2694 > "everything"  sums it up.  it takes forever to start, to quit, to show
   2695 > the index, to show a single message, etc..
   2696 
   2697 Are you using IMAP?
   2698 -- 
   2699 William <wmorgan-sup at masanjin.net>
   2700 
   2701 From tero@tilus.net  Mon Dec 28 14:34:07 2009
   2702 From: tero@tilus.net (Tero Tilus)
   2703 Date: Mon, 28 Dec 2009 21:34:07 +0200
   2704 Subject: [sup-talk] sup with 120K mail
   2705 In-Reply-To: <4B386D1D.4000609@exys.org>
   2706 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2707 	<4B386D1D.4000609@exys.org>
   2708 Message-ID: <1262027723-sup-4292@tilus.net>
   2709 
   2710 Arvid Picciani, 2009-12-28 10:32:
   2711 > On 12/28/2009 04:12 PM, William Morgan wrote:
   2712 >> Can you be more specific about what's slow? I used Sup with a 160k
   2713 >> index for a long time without trouble.
   2714 > 
   2715 > "everything"  sums it up.  it takes forever to start, to quit, to show 
   2716 > the index, to show a single message, etc..
   2717 
   2718 I've got 103k messages from 172 sources (137 imap sources, including
   2719 all sources receiving new mail).  I run sup on 512 MB Bytemark virtual
   2720 machine.  Startup is instantaneous, it takes 2-3 seconds to list first
   2721 screenfull of threads.  Practically all searches are instantaneous (I
   2722 remember hitting "slow queries" a couple of times).  Thread is
   2723 displayed in about messagecount/5 seconds.  Pretty much nothing feels
   2724 slow.  But there is that "pretty much nothing".
   2725 
   2726 Quit is slow.  If I "just check" mail (launch, first poll adds 10-15
   2727 messages, archive them and quit) sup exits in a couple of seconds
   2728 (just long enough that you start to wonder if you pressed Q or not)
   2729 but if sup has been running days quit takes easily minutes.
   2730 
   2731 -- 
   2732 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2733 
   2734 From eg@gaute.vetsj.com  Mon Dec 28 14:57:11 2009
   2735 From: eg@gaute.vetsj.com (Gaute Hope)
   2736 Date: Mon, 28 Dec 2009 20:57:11 +0100
   2737 Subject: [sup-talk] sup with 120K mail
   2738 In-Reply-To: <1262027723-sup-4292@tilus.net>
   2739 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2740 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2741 Message-ID: <1262029984-sup-8991@dolk>
   2742 
   2743 Excerpts from Tero Tilus's message of 2009-12-28 20:34:07 +0100:
   2744 > Quit is slow.  If I "just check" mail (launch, first poll adds 10-15
   2745 > messages, archive them and quit) sup exits in a couple of seconds
   2746 > (just long enough that you start to wonder if you pressed Q or not)
   2747 > but if sup has been running days quit takes easily minutes.
   2748 
   2749 Quit is slow for me too - but seldom above one minute, but I normally
   2750 don't quit (just suspending my machine) - so either my machine has
   2751 crashed or sup has crashed. So I hit $ occasionally to save the index,
   2752 otherwise I need to re-do everything I did manually since my last
   2753 'crash'. It would help if this is done when there is a sufficient amount
   2754 of stuff to save or on regular intervals.
   2755 
   2756 - gaute
   2757 -------------- next part --------------
   2758 A non-text attachment was scrubbed...
   2759 Name: signature.asc
   2760 Type: application/pgp-signature
   2761 Size: 198 bytes
   2762 Desc: not available
   2763 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091228/bdff788b/attachment.bin>
   2764 
   2765 From wmorgan-sup@masanjin.net  Mon Dec 28 15:17:39 2009
   2766 From: wmorgan-sup@masanjin.net (William Morgan)
   2767 Date: Mon, 28 Dec 2009 12:17:39 -0800
   2768 Subject: [sup-talk] sup with 120K mail
   2769 In-Reply-To: <1262027723-sup-4292@tilus.net>
   2770 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2771 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2772 Message-ID: <1262031447-sup-787@masanjin.net>
   2773 
   2774 Reformatted excerpts from Tero Tilus's message of 2009-12-28:
   2775 > Quit is slow.  If I "just check" mail (launch, first poll adds 10-15
   2776 > messages, archive them and quit) sup exits in a couple of seconds
   2777 > (just long enough that you start to wonder if you pressed Q or not)
   2778 > but if sup has been running days quit takes easily minutes.
   2779 
   2780 Is this with Xapian?
   2781 -- 
   2782 William <wmorgan-sup at masanjin.net>
   2783 
   2784 From tero@tilus.net  Mon Dec 28 15:24:13 2009
   2785 From: tero@tilus.net (Tero Tilus)
   2786 Date: Mon, 28 Dec 2009 22:24:13 +0200
   2787 Subject: [sup-talk] sup with 120K mail
   2788 In-Reply-To: <1262031447-sup-787@masanjin.net>
   2789 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2790 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2791 	<1262031447-sup-787@masanjin.net>
   2792 Message-ID: <1262031768-sup-468@tilus.net>
   2793 
   2794 William Morgan, 2009-12-28 22:17:
   2795 > Is this with Xapian?
   2796 
   2797 Goodness!  Forgot the most important part...
   2798 
   2799 Yes.  Xapian and git next.
   2800 
   2801 -- 
   2802 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2803 
   2804 From sgoldman@tower-research.com  Mon Dec 28 15:24:18 2009
   2805 From: sgoldman@tower-research.com (Steve Goldman)
   2806 Date: Mon, 28 Dec 2009 15:24:18 -0500
   2807 Subject: [sup-talk] sup with 120K mail
   2808 In-Reply-To: <1262031447-sup-787@masanjin.net>
   2809 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2810 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2811 	<1262031447-sup-787@masanjin.net>
   2812 Message-ID: <1262031833-sup-9424@sgoldmanlinux.tower-research.com>
   2813 
   2814 Excerpts from William Morgan's message of Mon Dec 28 15:17:39 -0500 2009:
   2815 > Reformatted excerpts from Tero Tilus's message of 2009-12-28:
   2816 > > Quit is slow.  If I "just check" mail (launch, first poll adds 10-15
   2817 > > messages, archive them and quit) sup exits in a couple of seconds
   2818 > > (just long enough that you start to wonder if you pressed Q or not)
   2819 > > but if sup has been running days quit takes easily minutes.
   2820 > 
   2821 > Is this with Xapian?
   2822 
   2823 Is Xapian sup fully functional?  Last I read, there were some critical
   2824 functions that were supported.
   2825 -- 
   2826 
   2827 Steve Goldman
   2828 sgoldman at tower-research.com
   2829 
   2830 T: 212.219.6014
   2831 F: 212.219.6007
   2832 
   2833 Tower Research Capital, LLC
   2834 377 Broadway, 11th Fl.
   2835 New York, NY 10013
   2836 
   2837 From ezyang@MIT.EDU  Mon Dec 28 15:30:58 2009
   2838 From: ezyang@MIT.EDU (Edward Z. Yang)
   2839 Date: Mon, 28 Dec 2009 15:30:58 -0500
   2840 Subject: [sup-talk] sup with 120K mail
   2841 In-Reply-To: <1262031833-sup-9424@sgoldmanlinux.tower-research.com>
   2842 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2843 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2844 	<1262031447-sup-787@masanjin.net>
   2845 	<1262031833-sup-9424@sgoldmanlinux.tower-research.com>
   2846 Message-ID: <1262032197-sup-3586@ezyang>
   2847 
   2848 Excerpts from Steve Goldman's message of Mon Dec 28 15:24:18 -0500 2009:
   2849 > Is Xapian sup fully functional?  Last I read, there were some critical
   2850 > functions that were supported.
   2851 
   2852 I've been using Xapian sup for a few weeks now, and the primary difficulty
   2853 is that you have to specify from_email/from_to instead of just from.  But
   2854 it's very snappy, I haven't noticed any other problems and I haven't had
   2855 any major index corruption (which is what prompted the switch in the first
   2856 place).
   2857 
   2858 Cheers,
   2859 Edward
   2860 
   2861 From tero@tilus.net  Mon Dec 28 15:59:19 2009
   2862 From: tero@tilus.net (Tero Tilus)
   2863 Date: Mon, 28 Dec 2009 22:59:19 +0200
   2864 Subject: [sup-talk] sup with 120K mail
   2865 In-Reply-To: <1262031833-sup-9424@sgoldmanlinux.tower-research.com>
   2866 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2867 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2868 	<1262031447-sup-787@masanjin.net>
   2869 	<1262031833-sup-9424@sgoldmanlinux.tower-research.com>
   2870 Message-ID: <1262033757-sup-2564@tilus.net>
   2871 
   2872 Steve Goldman, 2009-12-28 22:24:
   2873 > Is Xapian sup fully functional?
   2874 
   2875 I've been on Xapian since september.  It has given me smooth and fully
   2876 functional ride.  I'd recommed trying it out.
   2877 
   2878 -- 
   2879 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2880 
   2881 From wmorgan-sup@masanjin.net  Mon Dec 28 16:06:39 2009
   2882 From: wmorgan-sup@masanjin.net (William Morgan)
   2883 Date: Mon, 28 Dec 2009 13:06:39 -0800
   2884 Subject: [sup-talk] sup with 120K mail
   2885 In-Reply-To: <1262031833-sup-9424@sgoldmanlinux.tower-research.com>
   2886 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2887 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2888 	<1262031447-sup-787@masanjin.net>
   2889 	<1262031833-sup-9424@sgoldmanlinux.tower-research.com>
   2890 Message-ID: <1262034335-sup-9328@masanjin.net>
   2891 
   2892 Reformatted excerpts from Steve Goldman's message of 2009-12-28:
   2893 > Is Xapian sup fully functional?  Last I read, there were some critical
   2894 > functions that were supported.
   2895 
   2896 Functional enough that it's going to be the default in the next release
   2897 of Sup, and you're going to get yelled at for Ferret.
   2898 
   2899 A few things don't work or are weird, but it could break everything and
   2900 still provide a better user experience than Ferret.
   2901 -- 
   2902 William <wmorgan-sup at masanjin.net>
   2903 
   2904 From wmorgan-sup@masanjin.net  Mon Dec 28 16:07:24 2009
   2905 From: wmorgan-sup@masanjin.net (William Morgan)
   2906 Date: Mon, 28 Dec 2009 13:07:24 -0800
   2907 Subject: [sup-talk] sup with 120K mail
   2908 In-Reply-To: <1262031768-sup-468@tilus.net>
   2909 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   2910 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   2911 	<1262031447-sup-787@masanjin.net> <1262031768-sup-468@tilus.net>
   2912 Message-ID: <1262034406-sup-5724@masanjin.net>
   2913 
   2914 Reformatted excerpts from Tero Tilus's message of 2009-12-28:
   2915 > William Morgan, 2009-12-28 22:17:
   2916 > > Is this with Xapian?
   2917 > 
   2918 > Goodness!  Forgot the most important part...
   2919 > 
   2920 > Yes.  Xapian and git next.
   2921 
   2922 Yeah, Xapian is the cause of that delay on quit. I think there was a
   2923 workaround posted at some point about an environment variable or
   2924 something...
   2925 -- 
   2926 William <wmorgan-sup at masanjin.net>
   2927 
   2928 From rlane@club.cc.cmu.edu  Mon Dec 28 18:12:54 2009
   2929 From: rlane@club.cc.cmu.edu (Rich Lane)
   2930 Date: Mon, 28 Dec 2009 18:12:54 -0500
   2931 Subject: [sup-talk] xapian-full and ncursesw gems
   2932 Message-ID: <1262035134-sup-4921@zyrg.net>
   2933 
   2934 I've pushed two useful gems to gemcutter.
   2935 
   2936 xapian-full: This is based on the existing xapian gem, but compiles
   2937 xapian-core as well as the bindings so it isn't dependent on the version
   2938 of the system xapian. It's also a newer development version that
   2939 includes the Chert backend.
   2940 
   2941 ncursesw: This is a version of the ncurses gem modified to link against
   2942 the ncursesw library so you get wide character support. It also includes
   2943 the ruby 1.9.1 compile fixes.
   2944 
   2945 When we switch the default index to Xapian, for ease of installation I
   2946 think we should add xapian-full as a gem dependency even though it may
   2947 be redundant with a system xapian install. The only thing I worry about
   2948 here is users lacking the full toolchain required to build Xapian.
   2949 
   2950 One potential problem with the ncursesw gem is that I've kept
   2951 source compatibility with the old ncurses gem by not renaming the
   2952 files/module. This means they interact badly if both are installed. We
   2953 could change the Sup source to use new ncursesw names, but that's
   2954 annoying and breaks people doing "git pull". Thoughts?
   2955 
   2956 From hollunder@lavabit.com  Tue Dec 29 09:47:53 2009
   2957 From: hollunder@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
   2958 Date: Tue, 29 Dec 2009 15:47:53 +0100
   2959 Subject: [sup-talk] unread status
   2960 Message-ID: <1262098048-sup-7303@tw>
   2961 
   2962 Hi,
   2963 during the last couple of days I managed to get sup up and running,
   2964 using ruby 1.8.7, xapian, msmtp and offlineimap.
   2965 
   2966 Now that I use it I noticed strange behavior regarding unread messages.
   2967 It works like this:
   2968 
   2969 New messages in the inbox, I read through them, hitting 'a'.
   2970 The messages vanish from the Inbox. So far so good.
   2971 
   2972 I hit 'L' 'Enter' and notice that all messages I just read are listed as
   2973 unread. I navigate to unread, read the messages again and hit 'a'. Now
   2974 they aren't marked as unread anymore.
   2975 
   2976 Also, when I read them in the inbox and they are still labeled unread
   2977 and I restart sup they aren't labeled unread anymore.
   2978 
   2979 Well, expected behavior is to have them labeled read after I read them,
   2980 obviously.
   2981 
   2982 
   2983 
   2984 I experienced something similar when I used the built-in imap support.
   2985 There it wouldn't really Poll when I hit P, new messages only showed up
   2986 after I restarted sup.
   2987 
   2988 
   2989 Either these are bugs or I don't get how sup works,
   2990 either way, help is appreciated.
   2991 
   2992 Regards,
   2993 Philipp
   2994 
   2995 
   2996 From wmorgan-sup@masanjin.net  Tue Dec 29 17:53:54 2009
   2997 From: wmorgan-sup@masanjin.net (William Morgan)
   2998 Date: Tue, 29 Dec 2009 14:53:54 -0800
   2999 Subject: [sup-talk] unread status
   3000 In-Reply-To: <1262098048-sup-7303@tw>
   3001 References: <1262098048-sup-7303@tw>
   3002 Message-ID: <1262127103-sup-307@masanjin.net>
   3003 
   3004 Reformatted excerpts from Philipp ?berbacher's message of 2009-12-29:
   3005 > I hit 'L' 'Enter' and notice that all messages I just read are listed as
   3006 > unread. I navigate to unread, read the messages again and hit 'a'. Now
   3007 > they aren't marked as unread anymore.
   3008 
   3009 If you press "$" before hitting L, I think the counts will be correct.
   3010 An unhappy consequence of using explicit save, combined with the fact
   3011 that label-list-mode counts come from the index.
   3012 
   3013 > I experienced something similar when I used the built-in imap support.
   3014 > There it wouldn't really Poll when I hit P, new messages only showed up
   3015 > after I restarted sup.
   3016 
   3017 That sounds like a bug.
   3018 -- 
   3019 William <wmorgan-sup at masanjin.net>
   3020 
   3021 From wmorgan-sup@masanjin.net  Tue Dec 29 18:00:52 2009
   3022 From: wmorgan-sup@masanjin.net (William Morgan)
   3023 Date: Tue, 29 Dec 2009 15:00:52 -0800
   3024 Subject: [sup-talk] xapian-full and ncursesw gems
   3025 In-Reply-To: <1262035134-sup-4921@zyrg.net>
   3026 References: <1262035134-sup-4921@zyrg.net>
   3027 Message-ID: <1262127243-sup-4569@masanjin.net>
   3028 
   3029 Reformatted excerpts from Rich Lane's message of 2009-12-28:
   3030 > xapian-full: This is based on the existing xapian gem, but compiles
   3031 > xapian-core as well as the bindings so it isn't dependent on the version
   3032 > of the system xapian. It's also a newer development version that
   3033 > includes the Chert backend.
   3034 
   3035 Awesome!
   3036 
   3037 > ncursesw: This is a version of the ncurses gem modified to link
   3038 > against the ncursesw library so you get wide character support. It
   3039 > also includes the ruby 1.9.1 compile fixes.
   3040 
   3041 Awesome!
   3042 
   3043 Thanks for doing this. This will bring us singificantly closer to
   3044 solving two of the most common problems (my ferret index crashed / my
   3045 non-ASCII chars look funny) out of the box.
   3046 
   3047 > When we switch the default index to Xapian, for ease of installation I
   3048 > think we should add xapian-full as a gem dependency even though it may
   3049 > be redundant with a system xapian install. The only thing I worry
   3050 > about here is users lacking the full toolchain required to build
   3051 > Xapian.
   3052 
   3053 I'm fine with this, especially if the Chert backend is significantly
   3054 better.
   3055 
   3056 > One potential problem with the ncursesw gem is that I've kept source
   3057 > compatibility with the old ncurses gem by not renaming the
   3058 > files/module. This means they interact badly if both are installed. We
   3059 > could change the Sup source to use new ncursesw names, but that's
   3060 > annoying and breaks people doing "git pull". Thoughts?
   3061 
   3062 I think keeping source compatibility is a good idea. The conflict only
   3063 happens if both gems are loaded, so Sup can require 'ncursesw', and then
   3064 fall back to 'ncurses'.
   3065 -- 
   3066 William <wmorgan-sup at masanjin.net>
   3067 
   3068 From hollunder@lavabit.com  Tue Dec 29 18:12:13 2009
   3069 From: hollunder@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
   3070 Date: Wed, 30 Dec 2009 00:12:13 +0100
   3071 Subject: [sup-talk] unread status
   3072 In-Reply-To: <1262127103-sup-307@masanjin.net>
   3073 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   3074 Message-ID: <1262128268-sup-2780@tw>
   3075 
   3076 Excerpts from William Morgan's message of Tue Dec 29 23:53:54 +0100 2009:
   3077 > Reformatted excerpts from Philipp ?berbacher's message of 2009-12-29:
   3078 > > I hit 'L' 'Enter' and notice that all messages I just read are listed as
   3079 > > unread. I navigate to unread, read the messages again and hit 'a'. Now
   3080 > > they aren't marked as unread anymore.
   3081 > 
   3082 > If you press "$" before hitting L, I think the counts will be correct.
   3083 > An unhappy consequence of using explicit save, combined with the fact
   3084 > that label-list-mode counts come from the index.
   3085 
   3086 Thanks, this seems to work. What's the reasoning behind explicit save?
   3087 
   3088 
   3089 From tero@tilus.net  Tue Dec 29 18:17:59 2009
   3090 From: tero@tilus.net (Tero Tilus)
   3091 Date: Wed, 30 Dec 2009 01:17:59 +0200
   3092 Subject: [sup-talk] xapian-full and ncursesw gems
   3093 In-Reply-To: <1262035134-sup-4921@zyrg.net>
   3094 References: <1262035134-sup-4921@zyrg.net>
   3095 Message-ID: <1262127955-sup-7589@tilus.net>
   3096 
   3097 Rich Lane, 2009-12-29 01:12:
   3098 > ncursesw: This is a version of the ncurses gem modified to link
   3099 > against the ncursesw library so you get wide character support.
   3100 
   3101 Rich rocks!  \o/
   3102 
   3103 > The only thing I worry about here is users lacking the full
   3104 > toolchain required to build Xapian.
   3105 
   3106 Doesn't sound bad to me.  How tough a requirement "full toolchain
   3107 required to build Xapian" really is?  What platforms would be
   3108 problematic?
   3109 
   3110 > I've kept source compatibility with the old ncurses gem by not
   3111 > renaming the files/module. This means they interact badly if both
   3112 > are installed. Thoughts?
   3113 
   3114 If you say "don't you dare to require both ncurses and ncursesw" in
   3115 README and make ncursesw complain if ncurses is already required I'd
   3116 say it's as good a gem-citizen as it gets.  Then just (as William
   3117 already said) make sup try ncursesw first and fall back to ncurses if
   3118 it fails.
   3119 
   3120 -- 
   3121 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   3122 
   3123 From tero@tilus.net  Tue Dec 29 18:24:09 2009
   3124 From: tero@tilus.net (Tero Tilus)
   3125 Date: Wed, 30 Dec 2009 01:24:09 +0200
   3126 Subject: [sup-talk] unread status
   3127 In-Reply-To: <1262128268-sup-2780@tw>
   3128 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   3129 	<1262128268-sup-2780@tw>
   3130 Message-ID: <1262128724-sup-1138@tilus.net>
   3131 
   3132 Philipp ?berbacher, 2009-12-30 01:12:
   3133 > Thanks, this seems to work. What's the reasoning behind explicit save?
   3134 
   3135 I'd assume performance, but (at least with Xapian) it feels like a
   3136 non-issue.  I'd like implicit save, or automatic save after every n
   3137 operations/seconds with $ to explicitly invoke save if the performance
   3138 really is an issue.
   3139 
   3140 -- 
   3141 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   3142 
   3143 From wmorgan-sup@masanjin.net  Tue Dec 29 18:33:07 2009
   3144 From: wmorgan-sup@masanjin.net (William Morgan)
   3145 Date: Tue, 29 Dec 2009 15:33:07 -0800
   3146 Subject: [sup-talk] unread status
   3147 In-Reply-To: <1262128268-sup-2780@tw>
   3148 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   3149 	<1262128268-sup-2780@tw>
   3150 Message-ID: <1262129551-sup-5211@masanjin.net>
   3151 
   3152 Reformatted excerpts from Philipp ?berbacher's message of 2009-12-29:
   3153 > Thanks, this seems to work. What's the reasoning behind explicit save?
   3154 
   3155 An accident of history. Will be gone at some point soon.
   3156 -- 
   3157 William <wmorgan-sup at masanjin.net>
   3158 
   3159 From wmorgan-sup@masanjin.net  Tue Dec 29 18:33:46 2009
   3160 From: wmorgan-sup@masanjin.net (William Morgan)
   3161 Date: Tue, 29 Dec 2009 15:33:46 -0800
   3162 Subject: [sup-talk] sup with 120K mail
   3163 In-Reply-To: <1262034406-sup-5724@masanjin.net>
   3164 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   3165 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   3166 	<1262031447-sup-787@masanjin.net> <1262031768-sup-468@tilus.net>
   3167 	<1262034406-sup-5724@masanjin.net>
   3168 Message-ID: <1262129621-sup-2519@masanjin.net>
   3169 
   3170 Reformatted excerpts from William Morgan's message of 2009-12-28:
   3171 > Reformatted excerpts from Tero Tilus's message of 2009-12-28:
   3172 > > William Morgan, 2009-12-28 22:17:
   3173 > > > Is this with Xapian?
   3174 > > 
   3175 > > Goodness!  Forgot the most important part...
   3176 > > 
   3177 > > Yes.  Xapian and git next.
   3178 > 
   3179 > Yeah, Xapian is the cause of that delay on quit. I think there was a
   3180 > workaround posted at some point about an environment variable or
   3181 > something...
   3182 
   3183 Ah yes, try setting XAPIAN_FLUSH_THRESHOLD=10 when running sup (but not
   3184 sup-sync!) and see if that reduces the delay on quit.
   3185 
   3186 Unfortunately there's no way (that I know of) to force a Xapian flush
   3187 from within Ruby. Correction from Xapian experts welcome.
   3188 -- 
   3189 William <wmorgan-sup at masanjin.net>
   3190 
   3191 From rlane@club.cc.cmu.edu  Tue Dec 29 18:42:10 2009
   3192 From: rlane@club.cc.cmu.edu (Rich Lane)
   3193 Date: Tue, 29 Dec 2009 18:42:10 -0500
   3194 Subject: [sup-talk] sup with 120K mail
   3195 In-Reply-To: <1262129621-sup-2519@masanjin.net>
   3196 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   3197 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   3198 	<1262031447-sup-787@masanjin.net> <1262031768-sup-468@tilus.net>
   3199 	<1262034406-sup-5724@masanjin.net>
   3200 	<1262129621-sup-2519@masanjin.net>
   3201 Message-ID: <1262129967-sup-1203@zyrg.net>
   3202 
   3203 Excerpts from William Morgan's message of Tue Dec 29 18:33:46 -0500 2009:
   3204 > Reformatted excerpts from William Morgan's message of 2009-12-28:
   3205 > > Reformatted excerpts from Tero Tilus's message of 2009-12-28:
   3206 > > > William Morgan, 2009-12-28 22:17:
   3207 > > > > Is this with Xapian?
   3208 > > > 
   3209 > > > Goodness!  Forgot the most important part...
   3210 > > > 
   3211 > > > Yes.  Xapian and git next.
   3212 > > 
   3213 > > Yeah, Xapian is the cause of that delay on quit. I think there was a
   3214 > > workaround posted at some point about an environment variable or
   3215 > > something...
   3216 > 
   3217 > Ah yes, try setting XAPIAN_FLUSH_THRESHOLD=10 when running sup (but not
   3218 > sup-sync!) and see if that reduces the delay on quit.
   3219 > 
   3220 > Unfortunately there's no way (that I know of) to force a Xapian flush
   3221 > from within Ruby. Correction from Xapian experts welcome.
   3222 
   3223 Xapian::WritableDatabase#flush
   3224 
   3225 This should really be called from XapianIndex#save_index, along with a
   3226 friendly message explaining what's going on.
   3227 
   3228 From rlane@club.cc.cmu.edu  Tue Dec 29 18:49:11 2009
   3229 From: rlane@club.cc.cmu.edu (Rich Lane)
   3230 Date: Tue, 29 Dec 2009 18:49:11 -0500
   3231 Subject: [sup-talk] unread status
   3232 In-Reply-To: <1262128724-sup-1138@tilus.net>
   3233 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   3234 	<1262128268-sup-2780@tw> <1262128724-sup-1138@tilus.net>
   3235 Message-ID: <1262130179-sup-8306@zyrg.net>
   3236 
   3237 Excerpts from Tero Tilus's message of Tue Dec 29 18:24:09 -0500 2009:
   3238 > Philipp ?berbacher, 2009-12-30 01:12:
   3239 > > Thanks, this seems to work. What's the reasoning behind explicit save?
   3240 > 
   3241 > I'd assume performance, but (at least with Xapian) it feels like a
   3242 > non-issue.  I'd like implicit save, or automatic save after every n
   3243 > operations/seconds with $ to explicitly invoke save if the performance
   3244 > really is an issue.
   3245 
   3246 I have a patch that hasn't been merged yet that completely removes the
   3247 notion of saving with '$'. It's one of the branches I keep merged in to
   3248 the branch I actually use, so I tend to forget it's not upstream. I
   3249 should dust it off and resubmit. It will cause a UI-responsiveness
   3250 regression for ferret users, but if ferret is going to be deprecated in
   3251 the next release then I don't care too much.
   3252 
   3253 From wmorgan-sup@masanjin.net  Tue Dec 29 18:54:13 2009
   3254 From: wmorgan-sup@masanjin.net (William Morgan)
   3255 Date: Tue, 29 Dec 2009 15:54:13 -0800
   3256 Subject: [sup-talk] sup with 120K mail
   3257 In-Reply-To: <1262129967-sup-1203@zyrg.net>
   3258 References: <4B384745.7080207@exys.org> <1262013098-sup-6005@masanjin.net>
   3259 	<4B386D1D.4000609@exys.org> <1262027723-sup-4292@tilus.net>
   3260 	<1262031447-sup-787@masanjin.net> <1262031768-sup-468@tilus.net>
   3261 	<1262034406-sup-5724@masanjin.net>
   3262 	<1262129621-sup-2519@masanjin.net> <1262129967-sup-1203@zyrg.net>
   3263 Message-ID: <1262130712-sup-484@masanjin.net>
   3264 
   3265 Reformatted excerpts from Rich Lane's message of 2009-12-29:
   3266 > Xapian::WritableDatabase#flush
   3267 > 
   3268 > This should really be called from XapianIndex#save_index, along with a
   3269 > friendly message explaining what's going on.
   3270 
   3271 Calling it from #save_index will have the advantage of us being able to
   3272 present a message, but what about calling it when "$" is pressed, or
   3273 periodically in the background? Does it block search?
   3274 -- 
   3275 William <wmorgan-sup at masanjin.net>
   3276 
   3277 From hollunder@lavabit.com  Tue Dec 29 18:54:20 2009
   3278 From: hollunder@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
   3279 Date: Wed, 30 Dec 2009 00:54:20 +0100
   3280 Subject: [sup-talk] unread status
   3281 In-Reply-To: <1262129551-sup-5211@masanjin.net>
   3282 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   3283 	<1262128268-sup-2780@tw> <1262129551-sup-5211@masanjin.net>
   3284 Message-ID: <1262130794-sup-2045@tw>
   3285 
   3286 Excerpts from William Morgan's message of Wed Dec 30 00:33:07 +0100 2009:
   3287 > Reformatted excerpts from Philipp ?berbacher's message of 2009-12-29:
   3288 > > Thanks, this seems to work. What's the reasoning behind explicit save?
   3289 > 
   3290 > An accident of history. Will be gone at some point soon.
   3291 
   3292 Ok, great if there's a good solution for this.
   3293 
   3294 Regards,
   3295 Philipp
   3296 
   3297 
   3298 From wmorgan-sup@masanjin.net  Tue Dec 29 18:54:54 2009
   3299 From: wmorgan-sup@masanjin.net (William Morgan)
   3300 Date: Tue, 29 Dec 2009 15:54:54 -0800
   3301 Subject: [sup-talk] unread status
   3302 In-Reply-To: <1262130179-sup-8306@zyrg.net>
   3303 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   3304 	<1262128268-sup-2780@tw> <1262128724-sup-1138@tilus.net>
   3305 	<1262130179-sup-8306@zyrg.net>
   3306 Message-ID: <1262130868-sup-2032@masanjin.net>
   3307 
   3308 Reformatted excerpts from Rich Lane's message of 2009-12-29:
   3309 > I should dust it off and resubmit. It will cause a UI-responsiveness
   3310 > regression for ferret users, but if ferret is going to be deprecated
   3311 > in the next release then I don't care too much.
   3312 
   3313 Please do. Encouraging Ferret users to switch is fine. :)
   3314 -- 
   3315 William <wmorgan-sup at masanjin.net>
   3316 
   3317 From rlane@club.cc.cmu.edu  Tue Dec 29 18:58:05 2009
   3318 From: rlane@club.cc.cmu.edu (Rich Lane)
   3319 Date: Tue, 29 Dec 2009 18:58:05 -0500
   3320 Subject: [sup-talk] xapian-full and ncursesw gems
   3321 In-Reply-To: <1262127243-sup-4569@masanjin.net>
   3322 References: <1262035134-sup-4921@zyrg.net> <1262127243-sup-4569@masanjin.net>
   3323 Message-ID: <1262127725-sup-1052@zyrg.net>
   3324 
   3325 Excerpts from William Morgan's message of Tue Dec 29 18:00:52 -0500 2009:
   3326 > Reformatted excerpts from Rich Lane's message of 2009-12-28:
   3327 > > One potential problem with the ncursesw gem is that I've kept source
   3328 > > compatibility with the old ncurses gem by not renaming the
   3329 > > files/module. This means they interact badly if both are installed. We
   3330 > > could change the Sup source to use new ncursesw names, but that's
   3331 > > annoying and breaks people doing "git pull". Thoughts?
   3332 > 
   3333 > I think keeping source compatibility is a good idea. The conflict only
   3334 > happens if both gems are loaded, so Sup can require 'ncursesw', and then
   3335 > fall back to 'ncurses'.
   3336 
   3337 AFAIK rubygems (at least in 1.9.1) works by adding (one version of) all
   3338 installed gems to the load path. Since I didn't rename any of the
   3339 ncurses gem files/directories "require 'ncursesw'" won't work - the main
   3340 file in lib/ is still ncurses.rb. Renaming the files seems like the
   3341 most logical thing to do so I'll push an update to the gem and send in a
   3342 Sup patch to try ncursesw first.
   3343 
   3344 From wmorgan-sup@masanjin.net  Tue Dec 29 19:06:25 2009
   3345 From: wmorgan-sup@masanjin.net (William Morgan)
   3346 Date: Tue, 29 Dec 2009 16:06:25 -0800
   3347 Subject: [sup-talk] xapian-full and ncursesw gems
   3348 In-Reply-To: <1262127725-sup-1052@zyrg.net>
   3349 References: <1262035134-sup-4921@zyrg.net> <1262127243-sup-4569@masanjin.net>
   3350 	<1262127725-sup-1052@zyrg.net>
   3351 Message-ID: <1262131461-sup-3945@masanjin.net>
   3352 
   3353 Reformatted excerpts from Rich Lane's message of 2009-12-29:
   3354 > Renaming the files seems like the most logical thing to do so I'll
   3355 > push an update to the gem and send in a Sup patch to try ncursesw
   3356 > first.
   3357 
   3358 Agreed. Sounds great. Thanks!
   3359 -- 
   3360 William <wmorgan-sup at masanjin.net>
   3361 
   3362 From johnbent@lanl.gov  Tue Dec 29 19:32:59 2009
   3363 From: johnbent@lanl.gov (John Bent)
   3364 Date: Tue, 29 Dec 2009 17:32:59 -0700
   3365 Subject: [sup-talk] unread status
   3366 In-Reply-To: <1262130868-sup-2032@masanjin.net>
   3367 References: <1262098048-sup-7303@tw> <1262127103-sup-307@masanjin.net>
   3368 	<1262128268-sup-2780@tw> <1262128724-sup-1138@tilus.net>
   3369 	<1262130179-sup-8306@zyrg.net> <1262130868-sup-2032@masanjin.net>
   3370 Message-ID: <1262133096-sup-2807@tangerine.lanl.gov>
   3371 
   3372 Excerpts from William Morgan's message of Tue Dec 29 16:54:54 -0700 2009:
   3373 > Reformatted excerpts from Rich Lane's message of 2009-12-29:
   3374 > > I should dust it off and resubmit. It will cause a UI-responsiveness
   3375 > > regression for ferret users, but if ferret is going to be deprecated
   3376 > > in the next release then I don't care too much.
   3377 > 
   3378 > Please do. Encouraging Ferret users to switch is fine. :)
   3379 >
   3380 I spent a couple of unsuccessful hours last week trying to switch.
   3381 Anyway else on an old PPC OS X who has been able to transition?
   3382 
   3383 John
   3384 
   3385 From btricha@gmail.com  Thu Dec 31 12:44:57 2009
   3386 From: btricha@gmail.com (Bryan T. Richardson)
   3387 Date: Thu, 31 Dec 2009 10:44:57 -0700
   3388 Subject: [sup-talk] Question About Sending New Emails
   3389 Message-ID: <1262281249-sup-8341@s897313>
   3390 
   3391 Hello All,
   3392 
   3393 Well, I've been wanting to switch over to Sup for a long time now, and
   3394 since I finally found out about OfflineIMAP I'm able to. :)
   3395 
   3396 Here's a question though... I have multiple email accounts, and I
   3397 understand how Sup will automatically select the right 'From' address to
   3398 use when replying to a previous email, which is way cool. However, is it
   3399 possible to set the 'From' address when composing a brand new email?
   3400 MSMTP has an option to select the SMTP account to use based on the
   3401 'From' address, but I can't figure out of it's possible to set the
   3402 'From' address in Sup. If so, cool. If not then oh well, I love Sup
   3403 anyway! :)
   3404 
   3405 Thanks for a great piece of software... and better yet, it's in Ruby! :)
   3406 
   3407 --
   3408 Bryan
   3409 
   3410 From bwalton@artsci.utoronto.ca  Thu Dec 31 13:12:11 2009
   3411 From: bwalton@artsci.utoronto.ca (Ben Walton)
   3412 Date: Thu, 31 Dec 2009 13:12:11 -0500
   3413 Subject: [sup-talk] Question About Sending New Emails
   3414 In-Reply-To: <1262281249-sup-8341@s897313>
   3415 References: <1262281249-sup-8341@s897313>
   3416 Message-ID: <1262283000-sup-2677@ntdws12.chass.utoronto.ca>
   3417 
   3418 Excerpts from Bryan T. Richardson's message of Thu Dec 31 12:44:57 -0500 2009:
   3419 
   3420 Hi Bryan,
   3421 
   3422 > 'From' address, but I can't figure out of it's possible to set the
   3423 > 'From' address in Sup. If so, cool. If not then oh well, I love Sup
   3424 > anyway! :)
   3425 
   3426 You can use one or both of the before-edit and reply-from hooks to do
   3427 what you need.  Here is my reply-from hook
   3428 (~/.sup/hooks/reply-from.rb):
   3429 
   3430 --snip--
   3431 case [message.to, message.cc].flatten.to_s
   3432 when /opencsw/, /bolthole/ then "bwalton at OBFUSCATED"
   3433 else "bwalton at DEFAULT"
   3434 end
   3435 --snip--
   3436 
   3437 HTH.
   3438 -Ben
   3439 -- 
   3440 Ben Walton
   3441 Systems Programmer - CHASS
   3442 University of Toronto
   3443 C:416.407.5610 | W:416.978.4302
   3444 
   3445 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
   3446 Contact me to arrange for a CAcert assurance meeting.
   3447 -------------- next part --------------
   3448 A non-text attachment was scrubbed...
   3449 Name: signature.asc
   3450 Type: application/pgp-signature
   3451 Size: 189 bytes
   3452 Desc: not available
   3453 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20091231/53710179/attachment-0001.bin>
   3454 
   3455 From kll@swip.net  Fri Dec 25 12:30:41 2009
   3456 From: kll@swip.net (Kristian Larsson)
   3457 Date: Fri, 25 Dec 2009 18:30:41 +0100
   3458 Subject: [sup-talk] Exception when syncing mailbox.
   3459 Message-ID: <20091225173041.GA9253@swip.net>
   3460 
   3461 Hello!
   3462 
   3463 I'm a long time mutt user and just recently heard of sup,
   3464 reading its homepage I got hooked just at "If you're the
   3465 type of person who treats email as an extension of your
   3466 long-term memory, Sup is for you." and so I thought I would
   3467 give it a spin.
   3468 
   3469 After installing all the binaries and downloading 0.9, I ran
   3470 sup-config to configure the client. A very nice way to get
   3471 started, much more so than the config file of mutt which
   3472 offers quite a steep entry for usage.
   3473 
   3474 When starting sup, I've noticed some character encoding
   3475 problems which I have yet to identify the details of, more
   3476 on that when I'll get the client up and running properly.
   3477 You see after "a while", it dies by throwing an exception
   3478 and it is due to this exception that I write to this list.
   3479 Find the exception-log attached. All I've done is configure
   3480 the client and try to sync my mailbox, sup will sync som 375
   3481 threads and then throw the exception.
   3482 
   3483 What can I do to troubleshoot? Try some later HEAD branch or
   3484 something?
   3485 
   3486 Kind regards,
   3487     Kristian.
   3488 
   3489 -- 
   3490 Kristian Larsson                                        KLL-RIPE
   3491 Network Engineer / Internet Core        Tele2 / SWIPnet [AS1257]
   3492 +46 704 264511                                      kll at swip.net
   3493 -------------- next part --------------
   3494 /usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
   3495 /usr/lib/ruby/1.8/ferret/index.rb:421:in `[]'
   3496 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   3497 /usr/lib/ruby/1.8/ferret/index.rb:413:in `[]'
   3498 ./sup/ferret_index.rb:257:in `build_message'
   3499 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   3500 ./sup/ferret_index.rb:256:in `build_message'
   3501 ../bin/sup-sync:149
   3502 ./sup/poll.rb:151:in `each_message_from'
   3503 ./sup/imap.rb:197:in `each'
   3504 ./sup/imap.rb:185:in `upto'
   3505 ./sup/imap.rb:185:in `each'
   3506 ./sup/util.rb:560:in `send'
   3507 ./sup/util.rb:560:in `__pass'
   3508 ./sup/util.rb:547:in `method_missing'
   3509 ./sup/poll.rb:139:in `each_message_from'
   3510 ./sup/util.rb:520:in `send'
   3511 ./sup/util.rb:520:in `method_missing'
   3512 ../bin/sup-sync:146
   3513 ../bin/sup-sync:141:in `each'
   3514 ../bin/sup-sync:141
   3515 
   3516 From murks@lavabit.com  Tue Dec 29 08:45:38 2009
   3517 From: murks@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
   3518 Date: Tue, 29 Dec 2009 14:45:38 +0100
   3519 Subject: [sup-talk] unread status
   3520 Message-ID: <1262093816-sup-8151@tw>
   3521 
   3522 Hi,
   3523 during the last couple of days I managed to get sup up and running,
   3524 using ruby 1.8.7, xapian, msmtp and offlineimap.
   3525 
   3526 Now that I use it I noticed strange behavior regarding unread messages.
   3527 It works like this:
   3528 
   3529 New messages in the inbox, I read through them, hitting 'a'.
   3530 The messages vanish from the Inbox. So far so good.
   3531 
   3532 I hit 'L' 'Enter' and notice that all messages I just read are listed as
   3533 unread. I navigate to unread, read the messages again and hit 'a'. Now
   3534 they aren't marked as unread anymore.
   3535 
   3536 Also, when I read them in the inbox and they are still labeled unread
   3537 and I restart sup they aren't labeled unread anymore.
   3538 
   3539 Well, expected behavior is to have them labeled read after I read them,
   3540 obviously.
   3541 
   3542 
   3543 
   3544 I experienced something similar when I used the built-in imap support.
   3545 There it wouldn't really Poll when I hit P, new messages only showed up
   3546 after I restarted sup.
   3547 
   3548 
   3549 Either these are bugs or I don't get how sup works,
   3550 either way, help is appreciated.
   3551 
   3552 Regards,
   3553 Philipp
   3554 
   3555