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/2010-10.txt (51475B) - raw

      1 From rlane@club.cc.cmu.edu  Wed Oct  6 23:21:15 2010
      2 From: rlane@club.cc.cmu.edu (Rich Lane)
      3 Date: Wed, 06 Oct 2010 23:21:15 -0400
      4 Subject: [sup-talk] my list subscription is broken
      5 Message-ID: <1286421412-sup-6614@zyrg.net>
      6 
      7 Mailman claims I'm still subscribed to the sup lists even though I
      8 haven't received any mails from them for months, and I see the archive
      9 has many messages. Please CC me for now until I get this figured out.
     10 If there are any bugfixes I haven't responded to please resubmit them.
     11 
     12 From andrew@pimlott.net  Fri Oct 15 12:01:49 2010
     13 From: andrew@pimlott.net (Andrew Pimlott)
     14 Date: Fri, 15 Oct 2010 09:01:49 -0700
     15 Subject: [sup-talk] Reply-To: not offered as reply recipient
     16 Message-ID: <1287156818-sup-6475@pimlott.net>
     17 
     18 Just a ping: there was this thread on what reply recipients to offer in
     19 some mailing list cases:
     20 
     21 http://www.mail-archive.com/sup-talk at rubyforge.org/msg02206.html
     22 
     23 Replying to list admin messages is still pretty broken.  They set
     24 Reply-To to a magic address, but sup does not offer it as an option
     25 because of the mailing list headers.  Really annoying.  Any further
     26 thoughts on resolving this?
     27 
     28 Andrew
     29 
     30 From daniel@degu.cl  Mon Oct 18 21:52:54 2010
     31 From: daniel@degu.cl (=?utf-8?q?Daniel_Hern=C3=A1ndez?=)
     32 Date: Mon, 18 Oct 2010 22:52:54 -0300
     33 Subject: [sup-talk] deleting files from source
     34 Message-ID: <1287452900-sup-9784@maullin>
     35 
     36 Hello,
     37 
     38 I started using sup recently. Now I have only one source that is a
     39 inbox maildir folder. I want to delete some emails from the source
     40 forever, but when I delete or kill emails they are not really deleted
     41 from the maildir folder. How can I clean the maildir folder, removing
     42 deleted or killed emails?
     43 
     44 Thanks,
     45 Daniel
     46 
     47 From shadowfirebird@gmail.com  Tue Oct 19 05:18:03 2010
     48 From: shadowfirebird@gmail.com (Shadowfirebird)
     49 Date: Tue, 19 Oct 2010 10:18:03 +0100
     50 Subject: [sup-talk] Hints on debugging hooks
     51 Message-ID: <1287479408-sup-4846@blake>
     52 
     53 Hi, I'm new to Sup.  (I can code Ruby, a bit, but I'm finding the source hard to read, so configuration is going slower than I would like. It's me, not you...)
     54 
     55 Can someone give me some hints on debugging hooks? For example, is there an easy way to get just one message object in the console, so I can play with it?  
     56 
     57 Is it true that the before-add-message hook can die silently if my code is bad?  Will wrapping my code in begin ... rescue ... end guarantee that this doesn't happen?
     58 
     59 Ta. 
     60 
     61 -- 
     62 "All snakes who wish to remain in Ireland will please raise their right hands."
     63 		-- Saint Patrick
     64 
     65 From daniel@degu.cl  Tue Oct 19 07:31:23 2010
     66 From: daniel@degu.cl (=?utf-8?q?Daniel_Hern=C3=A1ndez?=)
     67 Date: Tue, 19 Oct 2010 08:31:23 -0300
     68 Subject: [sup-talk] deleting files from source
     69 In-Reply-To: <1287452900-sup-9784@maullin>
     70 References: <1287452900-sup-9784@maullin>
     71 Message-ID: <1287487562-sup-6426@maullin>
     72 
     73 Excerpts from Daniel Hern?ndez's message of Mon Oct 18 22:52:54 -0300 2010:
     74 > Hello,
     75 > 
     76 > I started using sup recently. Now I have only one source that is a
     77 > inbox maildir folder. I want to delete some emails from the source
     78 > forever, but when I delete or kill emails they are not really deleted
     79 > from the maildir folder. How can I clean the maildir folder, removing
     80 > deleted or killed emails?
     81 
     82 I found the answer in the faq.
     83 
     84 Q: But I want to delete it for real, not just add a 'deleted' flag in
     85    the index. I want it gone from disk!
     86 A: Currently, for mbox sources, there is a batch deletion tool that
     87    will strip out all messages marked as spam or deleted.
     88 
     89 And this not works with maildir folders.
     90 
     91 Daniel
     92 
     93 From phorrillo@aurigae.com  Tue Oct 19 08:18:17 2010
     94 From: phorrillo@aurigae.com (=?utf-8?q?Pedro_F._=C2=ABpancho=C2=BB_Horrillo?=)
     95 Date: Tue, 19 Oct 2010 14:18:17 +0200
     96 Subject: [sup-talk] deleting files from source
     97 In-Reply-To: <1287487562-sup-6426@maullin>
     98 References: <1287452900-sup-9784@maullin> <1287487562-sup-6426@maullin>
     99 Message-ID: <1287490577-sup-4798@aurigae120.hi.inet>
    100 
    101 Hi!
    102 
    103 I think that using mutt for this deletion was suggested some time ago...
    104 
    105 Cheers,
    106 
    107 Excerpts from Daniel Hern?ndez's message of Tue Oct 19 13:31:23 +0200 2010:
    108 > Excerpts from Daniel Hern?ndez's message of Mon Oct 18 22:52:54 -0300 2010:
    109 > > Hello,
    110 > > 
    111 > > I started using sup recently. Now I have only one source that is a
    112 > > inbox maildir folder. I want to delete some emails from the source
    113 > > forever, but when I delete or kill emails they are not really deleted
    114 > > from the maildir folder. How can I clean the maildir folder, removing
    115 > > deleted or killed emails?
    116 > 
    117 > I found the answer in the faq.
    118 > 
    119 > Q: But I want to delete it for real, not just add a 'deleted' flag in
    120 >    the index. I want it gone from disk!
    121 > A: Currently, for mbox sources, there is a batch deletion tool that
    122 >    will strip out all messages marked as spam or deleted.
    123 > 
    124 > And this not works with maildir folders.
    125 > 
    126 > Daniel
    127 -- 
    128 Pedro F. ?pancho? Horrillo
    129 
    130 From michael+sup@stapelberg.de  Tue Oct 19 13:31:55 2010
    131 From: michael+sup@stapelberg.de (Michael Stapelberg)
    132 Date: Tue, 19 Oct 2010 19:31:55 +0200
    133 Subject: [sup-talk] Hints on debugging hooks
    134 In-Reply-To: <1287479408-sup-4846@blake>
    135 References: <1287479408-sup-4846@blake>
    136 Message-ID: <1287508635-sup-7410@midna.zekjur.net>
    137 
    138 Hi,
    139 
    140 Excerpts from Shadowfirebird's message of 2010-10-19 11:18:03 +0200:
    141 > Can someone give me some hints on debugging hooks? For example, is there an
    142 > easy way to get just one message object in the console, so I can play with
    143 > it?  
    144 Yep, there is:
    145 $ irb1.9.1 -Ilib
    146 >> require 'sup'
    147 >> include Redwood
    148 >> start
    149 >> i = Index.init
    150 >> i.load
    151 
    152 If you have some message ID you want to load, you can do so. If you don?t know
    153 which one to load, you could print them all (beware, on a big index, this of
    154 course will be a very long listing):
    155 >> i.each_id { |i| puts i }
    156 
    157 To actually load the message:
    158 >> m = i.build_message("201010062050.45778.kern at sibbald.com")
    159 
    160 You can then play with the masseg as you like.
    161 
    162 > Is it true that the before-add-message hook can die silently if my code is
    163 > bad?  Will wrapping my code in begin ... rescue ... end guarantee that this
    164 > doesn't happen?
    165 Not sure about that. At least in the system log (press ; to open the buffer
    166 manager) it will leave a trace about hooks dying, but I don?t know if it?s
    167 display very obviously when you?re not having an eye on the log.
    168 
    169 Best regards,
    170 Michael
    171 
    172 From dmishd@gmail.com  Tue Oct 19 14:18:29 2010
    173 From: dmishd@gmail.com (Hamish D)
    174 Date: Tue, 19 Oct 2010 19:18:29 +0100
    175 Subject: [sup-talk] Hints on debugging hooks
    176 In-Reply-To: <1287479408-sup-4846@blake>
    177 References: <1287479408-sup-4846@blake>
    178 Message-ID: <AANLkTim+3+rbZQ79Wct4iwio49Te4r6cqL0udZni5m-N@mail.gmail.com>
    179 
    180 > Can someone give me some hints on debugging hooks? For example, is there an easy way to get just one message object in the console, so I can play with it?
    181 
    182 For hooks, I tried using debug. So in the before-add-message hook you
    183 could have:
    184 
    185   debug ("message subject is #{message.subj} and is from #{message.from.email}")
    186 
    187 Then launch sup with debug on:
    188 
    189   $ SUP_LOG_LEVEL=debug sup
    190 
    191 And you will get extra logging, including your hook debug message, in
    192 the log buffer (press ; to see the buffer list).
    193 
    194 One thing to watch out for in the message hooks is that the regex is
    195 case sensitive by default. To change that, just put an i at the end,
    196 eg
    197 
    198 if message.subj =~ /\[sup-talk\]/i
    199   message.add_label "sup"
    200 end
    201 
    202 Good luck
    203 Hamish
    204 
    205 From cjparsons1@yahoo.co.uk  Wed Oct 20 00:09:21 2010
    206 From: cjparsons1@yahoo.co.uk (Chris Parsons)
    207 Date: Wed, 20 Oct 2010 05:09:21 +0100
    208 Subject: [sup-talk] Sup won't run because of chert version issue
    209 In-Reply-To: <op.vklxqoqo0495wc@localhost>
    210 References: <op.vklwzirc0495wc@localhost> <op.vklxqoqo0495wc@localhost>
    211 Message-ID: <op.vkuwhvxz0495wc@localhost>
    212 
    213 On Fri, 15 Oct 2010 08:57:50 +0100, Chris Parsons <cjparsons1 at yahoo.co.uk>  
    214 wrote:
    215 
    216 
    217 > Hello, I've made a mess of updating my (arch linux) system and annoyed  
    218 > sup.
    219 >
    220 > I get the error below related to chert version.
    221 >
    222 ... snip ...
    223 
    224 > DatabaseVersionError: /home/archie/.sup/xapian/iamchert: Chert version
    225 > file is version 200912150 but I only understand 200903070
    226 
    227 I fixed my problem. The error message above comes from Xapian, not sup. In  
    228 trying to fix the original problem I'd installed a personal version of the  
    229 xapian ruby bindings in ~/.gem which ruby finding in preference to the  
    230 system gem, but which was the wrong version for the system xapian. For the  
    231 record I have
    232 
    233 community/xapian-core 1.2.3-1
    234 local/xapian-ruby-bindings 1.2.3-1
    235 local/sup 999-1 (i.e. current mainline)
    236 extra/ruby 1.9.1_p429-1
    237 
    238 From cjparsons1@yahoo.co.uk  Wed Oct 20 01:26:13 2010
    239 From: cjparsons1@yahoo.co.uk (Chris Parsons)
    240 Date: Wed, 20 Oct 2010 06:26:13 +0100
    241 Subject: [sup-talk] deleting files from source
    242 In-Reply-To: <1287452900-sup-9784@maullin>
    243 References: <1287452900-sup-9784@maullin>
    244 Message-ID: <op.vkuz1znr0495wc@localhost>
    245 
    246 On Tue, 19 Oct 2010 02:52:54 +0100, Daniel Hern?ndez <daniel at degu.cl>  
    247 wrote:
    248 
    249 > I started using sup recently. Now I have only one source that is a
    250 > inbox maildir folder. I want to delete some emails from the source
    251 > forever, but when I delete or kill emails they are not really deleted
    252 > from the maildir folder. How can I clean the maildir folder, removing
    253 > deleted or killed emails?
    254 
    255 The design intent of sup is to specifically remove the need to worry about  
    256 deleting e-mails. But if you really need to do that then one way might be  
    257 to do the following (assuming your machine has the right tools installed).  
    258 Doing stuff like this could lose your messages. Info supplied for  
    259 education purposes only. Proceed at your own risk!
    260 
    261 # change to top of the Maildir
    262    cd ~/Mail
    263 # get message id of all files with tag 'deleted' and put in temp file
    264    FL=/tmp/del-filelist
    265    rm -f $FL
    266    for i in `sup-dump | grep deleted | cut -f 1 -d' '`; do grep -l -r $i  
    267 ./*  >> $FL;done
    268 # delete the files in the file list
    269    for i in `cat $FL`; do rm $i; done
    270 # sync the index. New versions of sup-sync don't have the --changed  
    271 argument
    272    sup-sync --verbose --changed
    273 
    274 repeat for "killed" instead of "deleted"
    275 
    276 From daniel@degu.cl  Wed Oct 20 10:17:11 2010
    277 From: daniel@degu.cl (=?utf-8?q?Daniel_Hern=C3=A1ndez?=)
    278 Date: Wed, 20 Oct 2010 11:17:11 -0300
    279 Subject: [sup-talk] deleting files from source
    280 In-Reply-To: <op.vkuz1znr0495wc@localhost>
    281 References: <1287452900-sup-9784@maullin> <op.vkuz1znr0495wc@localhost>
    282 Message-ID: <1287582761-sup-3447@maullin>
    283 
    284 Excerpts from Chris Parsons's message of Wed Oct 20 02:26:13 -0300 2010:
    285 > On Tue, 19 Oct 2010 02:52:54 +0100, Daniel Hern?ndez <daniel at degu.cl>  
    286 > wrote:
    287 > 
    288 > > I started using sup recently. Now I have only one source that is a
    289 > > inbox maildir folder. I want to delete some emails from the source
    290 > > forever, but when I delete or kill emails they are not really deleted
    291 > > from the maildir folder. How can I clean the maildir folder, removing
    292 > > deleted or killed emails?
    293 > 
    294 > The design intent of sup is to specifically remove the need to worry about  
    295 > deleting e-mails. But if you really need to do that then one way might be  
    296 > to do the following (assuming your machine has the right tools installed).  
    297 > Doing stuff like this could lose your messages. Info supplied for  
    298 > education purposes only. Proceed at your own risk!
    299 
    300 The reason because I need to delete some emails is that I read emails
    301 in several computers. In each computer I have sup installed and I
    302 synchronize the maildir with other maildirs using a primary imap
    303 server. Thus I like to delete some unimportant emails to reduce the
    304 network traffic.
    305 
    306 I started with this practice using mutt and the wanderlust email
    307 client, but I prefer the sup email client. I like the tagging system
    308 of sup and its capacity to manage threads. But now I have another
    309 problem, because tags are not stored in the maildir and I don't know
    310 how to synchronize tags in several computers.
    311  
    312 > # change to top of the Maildir
    313 >    cd ~/Mail
    314 > # get message id of all files with tag 'deleted' and put in temp file
    315 >    FL=/tmp/del-filelist
    316 >    rm -f $FL
    317 >    for i in `sup-dump | grep deleted | cut -f 1 -d' '`; do grep -l -r $i  
    318 > ./*  >> $FL;done
    319 > # delete the files in the file list
    320 >    for i in `cat $FL`; do rm $i; done
    321 > # sync the index. New versions of sup-sync don't have the --changed  
    322 > argument
    323 >    sup-sync --verbose --changed
    324 > 
    325 > repeat for "killed" instead of "deleted"
    326 
    327 That works fine, but I have written some modifications because my
    328 maildir don't store emails using the message-id.
    329 
    330 Thanks,
    331 Daniel
    332 
    333 From helgedt@tihlde.org  Wed Oct 20 11:11:59 2010
    334 From: helgedt@tihlde.org (Helge Titlestad)
    335 Date: Wed, 20 Oct 2010 17:11:59 +0200
    336 Subject: [sup-talk] deleting files from source
    337 In-Reply-To: <1287582761-sup-3447@maullin>
    338 References: <1287452900-sup-9784@maullin> <op.vkuz1znr0495wc@localhost>
    339 	<1287582761-sup-3447@maullin>
    340 Message-ID: <1287587200-sup-5302@colargol.tihlde.org>
    341 
    342 Excerpts from Daniel Hern?ndez's message of Wed Oct 20 16:17:11 +0200 2010:
    343 > The reason because I need to delete some emails is that I read emails
    344 > in several computers. In each computer I have sup installed and I
    345 > synchronize the maildir with other maildirs using a primary imap
    346 > server. Thus I like to delete some unimportant emails to reduce the
    347 > network traffic.
    348 
    349 Could I suggest running sup on only one machine under screen, and then
    350 ssh'ing in to that machine and attaching the screen from any of the
    351 other computers?
    352 
    353 Sup is not (yet:) designed for syncing back tags and read/delete-flags
    354 to a central server. There's been talk both about sync-back features to
    355 update Maildir/IMAP and a specialized sup server for distributing the
    356 index, but we're not there yet.
    357 
    358 -- 
    359 Helge
    360 
    361 From shadowfirebird@gmail.com  Wed Oct 20 17:00:10 2010
    362 From: shadowfirebird@gmail.com (Shadowfirebird)
    363 Date: Wed, 20 Oct 2010 22:00:10 +0100
    364 Subject: [sup-talk] Hints on debugging hooks
    365 In-Reply-To: <1287479408-sup-4846@blake>
    366 References: <1287479408-sup-4846@blake>
    367 Message-ID: <1287608310-sup-1766@blake>
    368 
    369 Thanks for all those suggestions.  
    370 
    371 I hadn't even known how to get to sup from irb!  And I don't think debug is documented -- or is it?
    372 
    373 Lot of stuff for me to try here.   Expect more dumb questions a bit later...
    374 
    375 
    376 -- 
    377 There are two types of people in this world, good and bad.  The good
    378 sleep better, but the bad seem to enjoy the waking hours much more.
    379 		-- Woody Allen
    380 
    381 From dmishd@gmail.com  Thu Oct 21 14:11:12 2010
    382 From: dmishd@gmail.com (Hamish D)
    383 Date: Thu, 21 Oct 2010 19:11:12 +0100
    384 Subject: [sup-talk] deleting files from source
    385 In-Reply-To: <1287452900-sup-9784@maullin>
    386 References: <1287452900-sup-9784@maullin>
    387 Message-ID: <AANLkTi=vpgkevAEa981ikPz2gi9uwOEa-L0ka1yqWFtk@mail.gmail.com>
    388 
    389 > I started using sup recently. Now I have only one source that is a
    390 > inbox maildir folder. I want to delete some emails from the source
    391 > forever, but when I delete or kill emails they are not really deleted
    392 > from the maildir folder. How can I clean the maildir folder, removing
    393 > deleted or killed emails?
    394 
    395 You can't do it with maildir, but if you have mbox you should be able to do:
    396 
    397 sup-sync-back --drop-deleted mbox:/home/name/mail/mbox
    398 sup-sync --changed mbox:/home/name/mail/mbox
    399 
    400 Make sure sup is NOT running when you do this, and obviously put the
    401 path to your own mbox there. Also note that currently the git version
    402 says that sup-sync-back doesn't work ...
    403 
    404 Hamish
    405 
    406 From shadowfirebird@gmail.com  Fri Oct 22 04:34:04 2010
    407 From: shadowfirebird@gmail.com (Shadowfirebird)
    408 Date: Fri, 22 Oct 2010 09:34:04 +0100
    409 Subject: [sup-talk] mime-view.rb: content_type not found
    410 Message-ID: <1287736097-sup-8064@blake>
    411 
    412 Hi, I'm having trouble setting up the mime-view.rb hook.
    413 
    414 According to the wiki, there should be a "variable" content_type.  
    415 
    416 But, here's my program:
    417 
    418     begin
    419        log content_type filename
    420 
    421     rescue
    422        log "Error: #{$!}"
    423     end
    424 
    425 And here's what the log file says:
    426 
    427     hook[mime-view]: Error: undefined method `content_type' for #<Redwood::HookManager::HookContext:0x7f13003fe110>
    428 
    429 
    430 Anyone got any ideas?
    431 
    432 -- 
    433 Bones: "The man's DEAD, Jim!"
    434 -------------- next part --------------
    435 A non-text attachment was scrubbed...
    436 Name: signature.asc
    437 Type: application/pgp-signature
    438 Size: 197 bytes
    439 Desc: not available
    440 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/75caa1e7/attachment.bin>
    441 
    442 From shadowfirebird@gmail.com  Fri Oct 22 05:23:42 2010
    443 From: shadowfirebird@gmail.com (Shadowfirebird)
    444 Date: Fri, 22 Oct 2010 10:23:42 +0100
    445 Subject: [sup-talk] Slow opening of threads?
    446 Message-ID: <1287739347-sup-2987@blake>
    447 
    448 Is it me, or is Sup sometimes very slow at opening a thread?  I mean: a couple of minutes to open a thread with two or three messages and no attachments, about one time in three?
    449 
    450 It *could* be because my maildir is on the other side of an NFS mount.  Or, not.   
    451 
    452 I'm just wondering if anyone else is experiencing it.
    453 
    454 -- 
    455 "One day I woke up and discovered that I was in love with tripe."
    456 		-- Tom Anderson
    457 -------------- next part --------------
    458 A non-text attachment was scrubbed...
    459 Name: signature.asc
    460 Type: application/pgp-signature
    461 Size: 197 bytes
    462 Desc: not available
    463 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/37bba7b3/attachment-0001.bin>
    464 
    465 From aidecoe@aidecoe.name  Fri Oct 22 06:40:22 2010
    466 From: aidecoe@aidecoe.name (=?utf-8?q?Amadeusz_=C5=BBo=C5=82nowski?=)
    467 Date: Fri, 22 Oct 2010 12:40:22 +0200
    468 Subject: [sup-talk] Slow opening of threads?
    469 In-Reply-To: <1287739347-sup-2987@blake>
    470 References: <1287739347-sup-2987@blake>
    471 Message-ID: <1287743891-sup-1864@etiriah>
    472 
    473 Excerpts from Shadowfirebird's message of Fri Oct 22 11:23:42 +0200 2010:
    474 > Is it me, or is Sup sometimes very slow at opening a thread?  I mean:
    475 > a couple of minutes to open a thread with two or three messages and no
    476 > attachments, about one time in three?
    477 > 
    478 > It *could* be because my maildir is on the other side of an NFS mount.
    479 > Or, not.   
    480 > 
    481 > I'm just wondering if anyone else is experiencing it.
    482 
    483 I've just opened thread of 18 messages in less than second.  My maildir
    484 holds above 7000 messages and my machine is quite antique.
    485 --
    486 Amadeusz ?o?nowski
    487 
    488 PGP key fpr: C700 CEDE 0C18 212E 49DA  4653 F013 4531 E1DB FAB5
    489 -------------- next part --------------
    490 A non-text attachment was scrubbed...
    491 Name: signature.asc
    492 Type: application/pgp-signature
    493 Size: 490 bytes
    494 Desc: not available
    495 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/41bf762d/attachment.bin>
    496 
    497 From hollunder@lavabit.com  Fri Oct 22 06:31:08 2010
    498 From: hollunder@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
    499 Date: Fri, 22 Oct 2010 12:31:08 +0200
    500 Subject: [sup-talk] mime-view.rb: content_type not found
    501 In-Reply-To: <1287736097-sup-8064@blake>
    502 References: <1287736097-sup-8064@blake>
    503 Message-ID: <1287743238-sup-1964@eris>
    504 
    505 Excerpts from Shadowfirebird's message of 2010-10-22 10:34:04 +0200:
    506 > Hi, I'm having trouble setting up the mime-view.rb hook.
    507 > 
    508 > According to the wiki, there should be a "variable" content_type.  
    509 > 
    510 > But, here's my program:
    511 > 
    512 >     begin
    513 >        log content_type filename
    514 > 
    515 >     rescue
    516 >        log "Error: #{$!}"
    517 >     end
    518 > 
    519 > And here's what the log file says:
    520 > 
    521 >     hook[mime-view]: Error: undefined method `content_type' for #<Redwood::HookManager::HookContext:0x7f13003fe110>
    522 > 
    523 > 
    524 > Anyone got any ideas?
    525 
    526 I might be wrong, but I seem to remember that the mime type checking
    527 depends on some funky debian/ubuntu script. I ran into this when I tried
    528 to get this to work:
    529 http://sup.rubyforge.org/wiki/wiki.pl?ViewingAttachments
    530 
    531 Regards,
    532 Philipp
    533 
    534 
    535 From eg@gaute.vetsj.com  Fri Oct 22 07:04:34 2010
    536 From: eg@gaute.vetsj.com (Gaute Hope)
    537 Date: Fri, 22 Oct 2010 13:04:34 +0200
    538 Subject: [sup-talk] Slow opening of threads?
    539 In-Reply-To: <1287739347-sup-2987@blake>
    540 References: <1287739347-sup-2987@blake>
    541 Message-ID: <1287745423-sup-8192@qwerzila>
    542 
    543 Excerpts from Shadowfirebird's message of fr. okt. 22 11:23:42 +0200 2010:
    544 > It *could* be because my maildir is on the other side of an NFS mount.  Or, not.   
    545 
    546 I'd test that :) I have no problems - might be that simple seek
    547 operations are really expansive over NFS.
    548 
    549 - gaute
    550 
    551 From hollunder@lavabit.com  Fri Oct 22 07:16:13 2010
    552 From: hollunder@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
    553 Date: Fri, 22 Oct 2010 13:16:13 +0200
    554 Subject: [sup-talk] Slow opening of threads?
    555 In-Reply-To: <1287739347-sup-2987@blake>
    556 References: <1287739347-sup-2987@blake>
    557 Message-ID: <1287746050-sup-6114@eris>
    558 
    559 Excerpts from Shadowfirebird's message of 2010-10-22 11:23:42 +0200:
    560 > Is it me, or is Sup sometimes very slow at opening a thread?  I mean: a couple of minutes to open a thread with two or three messages and no attachments, about one time in three?
    561 > 
    562 > It *could* be because my maildir is on the other side of an NFS mount.  Or, not.   
    563 > 
    564 > I'm just wondering if anyone else is experiencing it.
    565 
    566 That sounds weird. In my experience it's only slow when flushing index,
    567 which means everything is frozen for a couple of seconds. Opening
    568 threads is fast enough here. Threads with 50-100 messages take a couple
    569 of seconds though, but it's acceptable.
    570 
    571 
    572 From shadowfirebird@gmail.com  Fri Oct 22 07:48:45 2010
    573 From: shadowfirebird@gmail.com (Shadowfirebird)
    574 Date: Fri, 22 Oct 2010 12:48:45 +0100
    575 Subject: [sup-talk] Slow opening of threads?
    576 In-Reply-To: <1287743891-sup-1864@etiriah>
    577 References: <1287739347-sup-2987@blake> <1287743891-sup-1864@etiriah>
    578 Message-ID: <1287748027-sup-7412@blake>
    579 
    580 Excerpts from Amadeusz ?o?nowski's message of Fri Oct 22 11:40:22 +0100 2010:
    581 > I've just opened thread of 18 messages in less than second.  My maildir
    582 > holds above 7000 messages and my machine is quite antique.
    583 
    584 I've got 343,000 messages.  Maybe that's it...
    585 
    586 -- 
    587 Some performers on television appear to be horrible people, but when
    588 you finally get to know them in person, they turn out to be even worse.
    589 		-- Avery
    590 -------------- next part --------------
    591 A non-text attachment was scrubbed...
    592 Name: signature.asc
    593 Type: application/pgp-signature
    594 Size: 197 bytes
    595 Desc: not available
    596 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/b30cebbe/attachment.bin>
    597 
    598 From marka@pobox.com  Fri Oct 22 08:38:16 2010
    599 From: marka@pobox.com (Mark Alexander)
    600 Date: Fri, 22 Oct 2010 08:38:16 -0400
    601 Subject: [sup-talk] Slow opening of threads?
    602 In-Reply-To: <1287739347-sup-2987@blake>
    603 References: <1287739347-sup-2987@blake>
    604 Message-ID: <1287750098-sup-8825@r61>
    605 
    606 Excerpts from Shadowfirebird's message of Fri Oct 22 05:23:42 -0400 2010:
    607 > Is it me, or is Sup sometimes very slow at opening a thread?  I mean: a couple of minutes to open a thread with two or three messages and no attachments, about one time in three?
    608 > 
    609 > It *could* be because my maildir is on the other side of an NFS mount.  Or, not.   
    610 
    611 I have that experience with one of my maildirs that is in an ecryptfs
    612 directory.  It's not quite a couple of minutes, but sometimes up to 30
    613 seconds opening a very long thread.  I've seen slowdowns on ecryptfs
    614 doing other things like compiles.
    615 
    616 So my guess is that the slowdown you're seeing is due to NFS.  In my
    617 experience NFS is a performance hog and should be avoided at all
    618 costs.  If at all possible, run sup on a single machine with your
    619 maildirs (and your .sup directory) on a local disk.  If you need to
    620 access your mail from other machines, log into your sup-running
    621 machine via ssh.
    622 
    623 Also (and this is perhaps the most important thing), run sup inside a
    624 screen session so you won't lose any of your work if the ssh
    625 connection goes down.  Screen is useful even if you only access your
    626 mail from a single machine, because it will keep your session alive if
    627 Gnome/KDE crashes or you have to log out and back in for any other
    628 reason.
    629 
    630 From shadowfirebird@gmail.com  Fri Oct 22 09:03:15 2010
    631 From: shadowfirebird@gmail.com (Shadowfirebird)
    632 Date: Fri, 22 Oct 2010 14:03:15 +0100
    633 Subject: [sup-talk] Slow opening of threads?
    634 In-Reply-To: <1287750098-sup-8825@r61>
    635 References: <1287739347-sup-2987@blake> <1287750098-sup-8825@r61>
    636 Message-ID: <1287752134-sup-9563@blake>
    637 
    638 Excerpts from Mark Alexander's message of Fri Oct 22 13:38:16 +0100 2010:
    639 > Excerpts from Shadowfirebird's message of Fri Oct 22 05:23:42 -0400 2010:
    640 > I have that experience with one of my maildirs that is in an ecryptfs
    641 > directory.  It's not quite a couple of minutes, but sometimes up to 30
    642 > seconds opening a very long thread.  I've seen slowdowns on ecryptfs
    643 > doing other things like compiles.
    644 
    645 Interesting that you should mention that, because I have an encrypted $HOME (bad choice at Ubuntu install time -- ::shrug:: ).  I suppose it might apply the other way around, too.
    646 
    647 > So my guess is that the slowdown you're seeing is due to NFS.  In my
    648 > experience NFS is a performance hog and should be avoided at all
    649 > costs.  If at all possible, run sup on a single machine with your
    650 > maildirs (and your .sup directory) on a local disk.  If you need to
    651 > access your mail from other machines, log into your sup-running
    652 > machine via ssh.
    653 
    654 I think I'll plan to run something like offlineIMAP (or just rsync) to sync my maildir to a local folder when I rework my machine in the near future.  Also, I'm moving the whole house to gigabit ethernet, so maybe that will help.
    655 
    656 > Also (and this is perhaps the most important thing), run sup inside a
    657 > screen session so you won't lose any of your work if the ssh
    658 > connection goes down.
    659 
    660 Not a problem here; there's no ssh involved.  The maildir is on the server downstairs, and I've got my home directory there mounted here via NFS.
    661 
    662 -- 
    663 If you will practice being fictional for a while, you will understand that
    664 fictional characters are sometimes more real than people with bodies and
    665 heartbeats.
    666 -------------- next part --------------
    667 A non-text attachment was scrubbed...
    668 Name: signature.asc
    669 Type: application/pgp-signature
    670 Size: 197 bytes
    671 Desc: not available
    672 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/d8b3c9c9/attachment.bin>
    673 
    674 From moritz+sup@wzff.de  Fri Oct 22 09:09:00 2010
    675 From: moritz+sup@wzff.de (Moritz Wilhelmy)
    676 Date: Fri, 22 Oct 2010 15:09:00 +0200
    677 Subject: [sup-talk] Slow opening of threads?
    678 In-Reply-To: <1287748027-sup-7412@blake>
    679 References: <1287739347-sup-2987@blake> <1287743891-sup-1864@etiriah>
    680 	<1287748027-sup-7412@blake>
    681 Message-ID: <1287752579-sup-8292@niflheimr>
    682 
    683 Excerpts from Shadowfirebird's message of Fri Oct 22 13:48:45 +0200 2010:
    684 Dear all,
    685  
    686 > I've got 343,000 messages.  Maybe that's it...
    687 
    688 I heard rumours that notmuch is supposed to be significantly faster than sup
    689 with huge amounts of mail, while also being tag-based.  If you don't mind using
    690 emacs, which is - I think - the only usable interface to it, you could give it
    691 a try (sorry for promoting different mailclients here :)
    692 
    693 I like sup, because I love the UI (and because I am not bound to emacs)
    694 I love the thread and signature folding. Keep up the good work!
    695 
    696 Best regards,
    697 
    698 Moritz
    699 
    700 From bwalton@artsci.utoronto.ca  Fri Oct 22 08:21:26 2010
    701 From: bwalton@artsci.utoronto.ca (Ben Walton)
    702 Date: Fri, 22 Oct 2010 08:21:26 -0400
    703 Subject: [sup-talk] Slow opening of threads?
    704 In-Reply-To: <1287746050-sup-6114@eris>
    705 References: <1287739347-sup-2987@blake> <1287746050-sup-6114@eris>
    706 Message-ID: <1287750034-sup-6402@pinkfloyd.chass.utoronto.ca>
    707 
    708 Excerpts from Philipp ?berbacher's message of Fri Oct 22 07:16:13 -0400 2010:
    709 
    710 > That sounds weird. In my experience it's only slow when flushing index,
    711 > which means everything is frozen for a couple of seconds. Opening
    712 > threads is fast enough here. Threads with 50-100 messages take a couple
    713 > of seconds though, but it's acceptable.
    714 
    715 I periodically see slow thread loading and I'm also doing Maildir over
    716 NFS.  It's not frequent enough that I've bothered to look into it, but
    717 it does happen from time to time.  I've seen it on threads of various
    718 sizes.
    719 
    720 HTH.
    721 -Ben
    722 
    723 --
    724 Ben Walton
    725 Systems Programmer - CHASS
    726 University of Toronto
    727 C:416.407.5610 | W:416.978.4302
    728 
    729 
    730 From marka@pobox.com  Fri Oct 22 12:28:01 2010
    731 From: marka@pobox.com (Mark Alexander)
    732 Date: Fri, 22 Oct 2010 12:28:01 -0400
    733 Subject: [sup-talk] Slow opening of threads?
    734 In-Reply-To: <1287752134-sup-9563@blake>
    735 References: <1287739347-sup-2987@blake> <1287750098-sup-8825@r61>
    736 	<1287752134-sup-9563@blake>
    737 Message-ID: <1287764701-sup-6487@r61>
    738 
    739 Excerpts from Shadowfirebird's message of Fri Oct 22 09:03:15 -0400 2010:
    740 > Interesting that you should mention that, because I have an
    741 > encrypted $HOME (bad choice at Ubuntu install time -- ::shrug:: ).  I
    742 > suppose it might apply the other way around, too. 
    743 
    744 That could do it.  It would mean your .sup directory (and the Xapian
    745 index) would be on ecryptfs, which could be slow.
    746 
    747 In my case, my home directory is not encrypted.  I only put
    748 work-related stuff (e.g., email) on an encrypted directory
    749 ($HOME/Private) that I set up initially with ecryptfs-setup-private.
    750 
    751 From sascha-ml-reply-to-2010-3@silbe.org  Fri Oct 22 13:19:39 2010
    752 From: sascha-ml-reply-to-2010-3@silbe.org (Sascha Silbe)
    753 Date: Fri, 22 Oct 2010 19:19:39 +0200
    754 Subject: [sup-talk] Slow opening of threads?
    755 In-Reply-To: <1287739347-sup-2987@blake>
    756 References: <1287739347-sup-2987@blake>
    757 Message-ID: <1287766308-sup-224@twin.sascha.silbe.org>
    758 
    759 Excerpts from Shadowfirebird's message of Fri Oct 22 11:23:42 +0200 2010:
    760 
    761 > Is it me, or is Sup sometimes very slow at opening a thread?  I mean: a couple of minutes to open a thread with two or three messages and no attachments, about one time in three?
    762 
    763 My experience is that 
    764 a) thread opening time is proportional to cumulated message size and
    765 b) time for collapsing/expanding a message is proportional to the number
    766    of (expanded) lines in the buffer.
    767 
    768 In both cases there's a large factor involved.
    769 
    770 Are you getting different timings for the same thread (remember to flush
    771 all OS level caches to check this) or are some threads always slow?
    772 Does it happen in conjunction with polling? I noticed that sup doesn't
    773 always display "Flushing index..." right away (maybe it doesn't flush
    774 the output buffer when displaying the message?).
    775 
    776 
    777 FWIW, notmuch is not much faster (SCNR) on my systems. Sup is
    778 alternating between IO bound and CPU bound; notmuch kind of eliminates
    779 the CPU bound part, but because it doesn't support mbox the IO bound
    780 part increases significantly. I imagine that notmuch would benefit
    781 greatly from an SSD.
    782 
    783 Sascha
    784 
    785 --
    786 http://sascha.silbe.org/
    787 http://www.infra-silbe.de/
    788 -------------- next part --------------
    789 A non-text attachment was scrubbed...
    790 Name: signature.asc
    791 Type: application/pgp-signature
    792 Size: 490 bytes
    793 Desc: not available
    794 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/e9ca6b1b/attachment.bin>
    795 
    796 From shadowfirebird@gmail.com  Fri Oct 22 14:02:39 2010
    797 From: shadowfirebird@gmail.com (Shadowfirebird)
    798 Date: Fri, 22 Oct 2010 19:02:39 +0100
    799 Subject: [sup-talk] Slow opening of threads?
    800 In-Reply-To: <1287752579-sup-8292@niflheimr>
    801 References: <1287739347-sup-2987@blake> <1287743891-sup-1864@etiriah>
    802 	<1287748027-sup-7412@blake> <1287752579-sup-8292@niflheimr>
    803 Message-ID: <1287770413-sup-279@blake>
    804 
    805 > I heard rumours that notmuch is supposed to be significantly faster than sup
    806 > with huge amounts of mail, while also being tag-based.  If you don't mind using
    807 > emacs, which is - I think - the only usable interface to it, you could give it
    808 > a try (sorry for promoting different mailclients here :)
    809 
    810 Oh gods.  I'm emacs-phobic.
    811 
    812 But I can live with Sup taking an age to open threads every so often, at least until I reorganise away from NFS and/or it gets fixed.  
    813 
    814 I love Sup for Ruby-ness as much as anything.  The other day I had a corrupt index and I fixed it myself!  </smug>
    815 
    816 -- 
    817 Advice from an old carpenter: measure twice, saw once.
    818 -------------- next part --------------
    819 A non-text attachment was scrubbed...
    820 Name: signature.asc
    821 Type: application/pgp-signature
    822 Size: 197 bytes
    823 Desc: not available
    824 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/cdfe9b7b/attachment.bin>
    825 
    826 From shadowfirebird@gmail.com  Fri Oct 22 15:56:07 2010
    827 From: shadowfirebird@gmail.com (Shadowfirebird)
    828 Date: Fri, 22 Oct 2010 20:56:07 +0100
    829 Subject: [sup-talk] Slow opening of threads?
    830 In-Reply-To: <1287766308-sup-224@twin.sascha.silbe.org>
    831 References: <1287739347-sup-2987@blake>
    832 	<1287766308-sup-224@twin.sascha.silbe.org>
    833 Message-ID: <1287777291-sup-9882@blake>
    834 
    835 > Are you getting different timings for the same thread (remember to flush
    836 > all OS level caches to check this) or are some threads always slow?
    837 
    838 It seems pretty random, but how do I flush my caches?
    839 
    840 -- 
    841 No one can guarantee the actions of another.
    842 		-- Spock, "Day of the Dove", stardate unknown
    843 -------------- next part --------------
    844 A non-text attachment was scrubbed...
    845 Name: signature.asc
    846 Type: application/pgp-signature
    847 Size: 197 bytes
    848 Desc: not available
    849 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101022/a9526488/attachment.bin>
    850 
    851 From moritz+sup@wzff.de  Fri Oct 22 19:32:46 2010
    852 From: moritz+sup@wzff.de (Moritz Wilhelmy)
    853 Date: Sat, 23 Oct 2010 01:32:46 +0200
    854 Subject: [sup-talk] Slow opening of threads?
    855 In-Reply-To: <1287770413-sup-279@blake>
    856 References: <1287739347-sup-2987@blake> <1287743891-sup-1864@etiriah>
    857 	<1287748027-sup-7412@blake> <1287752579-sup-8292@niflheimr>
    858 	<1287770413-sup-279@blake>
    859 Message-ID: <1287790246-sup-3757@niflheimr>
    860 
    861 Excerpts from Shadowfirebird's message of Fri Oct 22 20:02:39 +0200 2010:
    862 > Oh gods.  I'm emacs-phobic.
    863 
    864 I meant to say, you could try if notmuch performs any better. You don't have to
    865 use the emacs extension, it also works as plain command line command. 
    866 If the performance is not better, it's probably your NFS.
    867 
    868 From sascha-ml-reply-to-2010-3@silbe.org  Sat Oct 23 04:28:42 2010
    869 From: sascha-ml-reply-to-2010-3@silbe.org (Sascha Silbe)
    870 Date: Sat, 23 Oct 2010 10:28:42 +0200
    871 Subject: [sup-talk] Slow opening of threads?
    872 In-Reply-To: <1287777291-sup-9882@blake>
    873 References: <1287739347-sup-2987@blake>
    874 	<1287766308-sup-224@twin.sascha.silbe.org>
    875 	<1287777291-sup-9882@blake>
    876 Message-ID: <1287822209-sup-8113@twin.sascha.silbe.org>
    877 
    878 Excerpts from Shadowfirebird's message of Fri Oct 22 21:56:07 +0200 2010:
    879 > > Are you getting different timings for the same thread (remember to flush
    880 > > all OS level caches to check this) or are some threads always slow?
    881 > 
    882 > It seems pretty random, but how do I flush my caches?
    883 
    884 From [1]:
    885 
    886 >> drop_caches
    887 
    888 >> Writing to this will cause the kernel to drop clean caches, dentries
    889 >> and inodes from memory, causing that memory to become free.
    890 
    891 >> To free pagecache:
    892 >>         echo 1 > /proc/sys/vm/drop_caches
    893 >> To free dentries and inodes:
    894 >>         echo 2 > /proc/sys/vm/drop_caches
    895 >> To free pagecache, dentries and inodes:
    896 >>         echo 3 > /proc/sys/vm/drop_caches
    897 
    898 >> As this is a non-destructive operation and dirty objects are not
    899 >> freeable, the user should run `sync' first.
    900 
    901 Sascha
    902 
    903 [1] http://www.kernel.org/doc/Documentation/sysctl/vm.txt
    904 
    905 --
    906 http://sascha.silbe.org/
    907 http://www.infra-silbe.de/
    908 -------------- next part --------------
    909 A non-text attachment was scrubbed...
    910 Name: signature.asc
    911 Type: application/pgp-signature
    912 Size: 490 bytes
    913 Desc: not available
    914 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101023/46ccc801/attachment.bin>
    915 
    916 From shadowfirebird@gmail.com  Sat Oct 23 05:28:29 2010
    917 From: shadowfirebird@gmail.com (Shadowfirebird)
    918 Date: Sat, 23 Oct 2010 10:28:29 +0100
    919 Subject: [sup-talk] mime-view.rb: content_type not found
    920 In-Reply-To: <1287743238-sup-1964@eris>
    921 References: <1287736097-sup-8064@blake> <1287743238-sup-1964@eris>
    922 Message-ID: <1287826034-sup-7074@blake>
    923 
    924 > I might be wrong, but I seem to remember that the mime type checking
    925 > depends on some funky debian/ubuntu script. I ran into this when I tried
    926 > to get this to work:
    927 > http://sup.rubyforge.org/wiki/wiki.pl?ViewingAttachments
    928 
    929 Has *anyone* got mime-view.rb working?  If so, what OS?
    930 
    931 -- 
    932 A synonym is a word you use when you can't spell the word you first
    933 thought of.
    934 		-- Burt Bacharach
    935 -------------- next part --------------
    936 A non-text attachment was scrubbed...
    937 Name: signature.asc
    938 Type: application/pgp-signature
    939 Size: 197 bytes
    940 Desc: not available
    941 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101023/da3c1690/attachment.bin>
    942 
    943 From shadowfirebird@gmail.com  Sat Oct 23 06:42:11 2010
    944 From: shadowfirebird@gmail.com (Shadowfirebird)
    945 Date: Sat, 23 Oct 2010 11:42:11 +0100
    946 Subject: [sup-talk] Slow opening of threads?
    947 In-Reply-To: <1287822209-sup-8113@twin.sascha.silbe.org>
    948 References: <1287739347-sup-2987@blake>
    949 	<1287766308-sup-224@twin.sascha.silbe.org>
    950 	<1287777291-sup-9882@blake>
    951 	<1287822209-sup-8113@twin.sascha.silbe.org>
    952 Message-ID: <1287830479-sup-4229@blake>
    953 
    954 > >> drop_caches
    955 > 
    956 > >> Writing to this will cause the kernel to drop clean caches, dentries
    957 > >> and inodes from memory, causing that memory to become free.
    958 > 
    959 > >> To free pagecache:
    960 > >>         echo 1 > /proc/sys/vm/drop_caches
    961 > >> To free dentries and inodes:
    962 > >>         echo 2 > /proc/sys/vm/drop_caches
    963 > >> To free pagecache, dentries and inodes:
    964 > >>         echo 3 > /proc/sys/vm/drop_caches
    965 > 
    966 > >> As this is a non-destructive operation and dirty objects are not
    967 > >> freeable, the user should run `sync' first.
    968 > 
    969 > Sascha
    970 > 
    971 > [1] http://www.kernel.org/doc/Documentation/sysctl/vm.txt
    972 
    973 Thank you!  
    974 
    975 -- 
    976 Know what I hate most?  Rhetorical questions.
    977 		-- Henry N. Camp
    978 -------------- next part --------------
    979 A non-text attachment was scrubbed...
    980 Name: signature.asc
    981 Type: application/pgp-signature
    982 Size: 197 bytes
    983 Desc: not available
    984 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101023/9e5c5c97/attachment.bin>
    985 
    986 From sascha-ml-reply-to-2010-3@silbe.org  Sat Oct 23 08:00:56 2010
    987 From: sascha-ml-reply-to-2010-3@silbe.org (Sascha Silbe)
    988 Date: Sat, 23 Oct 2010 14:00:56 +0200
    989 Subject: [sup-talk] mime-view.rb: content_type not found
    990 In-Reply-To: <1287736097-sup-8064@blake>
    991 References: <1287736097-sup-8064@blake>
    992 Message-ID: <1287834835-sup-5649@twin.sascha.silbe.org>
    993 
    994 Excerpts from Shadowfirebird's message of Fri Oct 22 10:34:04 +0200 2010:
    995 
    996 > According to the wiki, there should be a "variable" content_type.  
    997 > 
    998 >        log content_type filename
    999 > 
   1000 >     hook[mime-view]: Error: undefined method `content_type' for #<Redwood::HookManager::HookContext:0x7f13003fe110>
   1001 
   1002 Looks like a syntax error to me (in Ruby you don't have to add
   1003 parentheses around the parameters, but as in your case above things can
   1004 get ambiguous then). Also log doesn't support more than one parameter.
   1005 
   1006 Try:
   1007 
   1008        log content_type
   1009        log filename
   1010 
   1011 Or:
   1012 
   1013        log "content_type=#{content_type} filename=#{filename}"
   1014 
   1015 Sascha
   1016 
   1017 --
   1018 http://sascha.silbe.org/
   1019 http://www.infra-silbe.de/
   1020 -------------- next part --------------
   1021 A non-text attachment was scrubbed...
   1022 Name: signature.asc
   1023 Type: application/pgp-signature
   1024 Size: 490 bytes
   1025 Desc: not available
   1026 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101023/bb8fad1a/attachment.bin>
   1027 
   1028 From shadowfirebird@gmail.com  Sat Oct 23 17:42:23 2010
   1029 From: shadowfirebird@gmail.com (Shadowfirebird)
   1030 Date: Sat, 23 Oct 2010 22:42:23 +0100
   1031 Subject: [sup-talk] mime-view.rb: content_type not found
   1032 In-Reply-To: <1287834835-sup-5649@twin.sascha.silbe.org>
   1033 References: <1287736097-sup-8064@blake>
   1034 	<1287834835-sup-5649@twin.sascha.silbe.org>
   1035 Message-ID: <1287870023-sup-2367@blake>
   1036 
   1037 > Looks like a syntax error to me (in Ruby you don't have to add
   1038 > parentheses around the parameters, but as in your case above things can
   1039 > get ambiguous then). Also log doesn't support more than one parameter.
   1040 
   1041 ::headdesk::  You called it.  The error message threw me, I guess.  That's me, though: the only mistakes I make are stupid ones.  Many thanks.
   1042 
   1043 -- 
   1044 What this country needs is a good five cent microcomputer.
   1045 -------------- next part --------------
   1046 A non-text attachment was scrubbed...
   1047 Name: signature.asc
   1048 Type: application/pgp-signature
   1049 Size: 197 bytes
   1050 Desc: not available
   1051 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101023/f0eb2471/attachment-0001.bin>
   1052 
   1053 From dogsaw@thecyberplains.com  Sat Oct 23 17:46:00 2010
   1054 From: dogsaw@thecyberplains.com (Matthew Goodall)
   1055 Date: Sun, 24 Oct 2010 10:46:00 +1300
   1056 Subject: [sup-talk] mime-view.rb: content_type not found
   1057 In-Reply-To: <1287826034-sup-7074@blake>
   1058 References: <1287736097-sup-8064@blake> <1287743238-sup-1964@eris>
   1059 	<1287826034-sup-7074@blake>
   1060 Message-ID: <1287868822-sup-9296@ethicsgradient.lan>
   1061 
   1062 Excerpts from Shadowfirebird's message of Sat Oct 23 22:28:29 +1300 2010:
   1063 > > I might be wrong, but I seem to remember that the mime type checking
   1064 > > depends on some funky debian/ubuntu script. I ran into this when I tried
   1065 > > to get this to work:
   1066 > > http://sup.rubyforge.org/wiki/wiki.pl?ViewingAttachments
   1067 > 
   1068 > Has *anyone* got mime-view.rb working?  If so, what OS?
   1069 > 
   1070 
   1071 I guess I have it going, I use a standard OSX configuration.
   1072 
   1073 mime-view.rb:
   1074 
   1075     system "open '#{filename}'"
   1076 
   1077 >From the open man page "The open command opens a file (or a directory
   1078 or URL), just as if you had double-clicked the file's icon."
   1079 
   1080 If you are on linux you may want to try xdg-open and iirc you can use 
   1081 'cmd /c start' on windows.
   1082 
   1083 From ulricha@informatik.uni-tuebingen.de  Sun Oct 24 06:52:17 2010
   1084 From: ulricha@informatik.uni-tuebingen.de (Alexander Ulrich)
   1085 Date: Sun, 24 Oct 2010 12:52:17 +0200
   1086 Subject: [sup-talk] deleting files from source
   1087 In-Reply-To: <1287452900-sup-9784@maullin>
   1088 References: <1287452900-sup-9784@maullin>
   1089 Message-ID: <1287916961-sup-4654@difference.lan>
   1090 
   1091 > I started using sup recently. Now I have only one source that is a
   1092 > inbox maildir folder. I want to delete some emails from the source
   1093 > forever, but when I delete or kill emails they are not really deleted
   1094 > from the maildir folder. How can I clean the maildir folder, removing
   1095 > deleted or killed emails?
   1096 
   1097 Apparently this hasn't been mentioned before: There is a
   1098 'maildir-sync' branch in the git repository by Damien Leone which does
   1099 what you want. It adds a tool 'sup-sync-back-maildir' for syncing back
   1100 manually and an option ':sync_back_to_maildir:' which does the sync
   1101 automatically.
   1102 
   1103 The branch has worked quite well for me so far in normal operation,
   1104 although I haven't done extensive testing.
   1105 
   1106 How are chances to have the branch merged to master?
   1107 
   1108 Alex
   1109 
   1110 From damien.leone@fensalir.fr  Sun Oct 24 16:11:49 2010
   1111 From: damien.leone@fensalir.fr (Damien Leone)
   1112 Date: Sun, 24 Oct 2010 22:11:49 +0200
   1113 Subject: [sup-talk] deleting files from source
   1114 In-Reply-To: <1287916961-sup-4654@difference.lan>
   1115 References: <1287452900-sup-9784@maullin> <1287916961-sup-4654@difference.lan>
   1116 Message-ID: <1287950838-sup-5470@mailer>
   1117 
   1118 Hello,
   1119 
   1120 Some news about this, I have been testing the branch for months and
   1121 months without trouble so I guess it is stable enough, however I still
   1122 have a todo list to finish and some commits to push. I did not have
   1123 time to do this yet but I hope I'll finish soon.
   1124 
   1125 However this thread reminds me to add an option to whether delete
   1126 emails from Maildirs or just mark them as deleted (the T flag) and let
   1127 another software (such as offlineimap) handle them.
   1128 
   1129 Cheers,
   1130 
   1131 Excerpts from Alexander Ulrich's message of Sun Oct 24 12:52:17 +0200 2010:
   1132 > > I started using sup recently. Now I have only one source that is a
   1133 > > inbox maildir folder. I want to delete some emails from the source
   1134 > > forever, but when I delete or kill emails they are not really deleted
   1135 > > from the maildir folder. How can I clean the maildir folder, removing
   1136 > > deleted or killed emails?
   1137 > 
   1138 > Apparently this hasn't been mentioned before: There is a
   1139 > 'maildir-sync' branch in the git repository by Damien Leone which does
   1140 > what you want. It adds a tool 'sup-sync-back-maildir' for syncing back
   1141 > manually and an option ':sync_back_to_maildir:' which does the sync
   1142 > automatically.
   1143 > 
   1144 > The branch has worked quite well for me so far in normal operation,
   1145 > although I haven't done extensive testing.
   1146 > 
   1147 > How are chances to have the branch merged to master?
   1148 > 
   1149 > Alex
   1150 
   1151 --
   1152 Damien Leone <damien.leone at fensalir.fr>
   1153 
   1154 Web: http://dleone.fensalir.fr/
   1155 GPG: 0x82EB4DDF
   1156 -------------- next part --------------
   1157 A non-text attachment was scrubbed...
   1158 Name: signature.asc
   1159 Type: application/pgp-signature
   1160 Size: 198 bytes
   1161 Desc: not available
   1162 URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101024/c864bc5d/attachment.bin>
   1163 
   1164 From dmishd@gmail.com  Mon Oct 25 19:06:51 2010
   1165 From: dmishd@gmail.com (Hamish D)
   1166 Date: Tue, 26 Oct 2010 00:06:51 +0100
   1167 Subject: [sup-talk] sup and ruby 1.9
   1168 Message-ID: <AANLkTinRQ9A+8630CnUKam1h2X5o_N_n9e6GgY_weLkQ@mail.gmail.com>
   1169 
   1170 Hello all
   1171 
   1172 I'm wondering what the status of sup and ruby 1.9 is. Is it stable and
   1173 no more buggy than on ruby 1.8? Is it significantly faster than on
   1174 ruby 1.8?
   1175 
   1176 If I did go for the change, can I switch back and forth between ruby
   1177 versions? Should I reinstall all the gems that sup depends on?
   1178 
   1179 Thanks in advance
   1180 Hamish
   1181 
   1182 From michael+sup@stapelberg.de  Tue Oct 26 02:06:25 2010
   1183 From: michael+sup@stapelberg.de (Michael Stapelberg)
   1184 Date: Tue, 26 Oct 2010 08:06:25 +0200
   1185 Subject: [sup-talk] sup and ruby 1.9
   1186 In-Reply-To: <AANLkTinRQ9A+8630CnUKam1h2X5o_N_n9e6GgY_weLkQ@mail.gmail.com>
   1187 References: <AANLkTinRQ9A+8630CnUKam1h2X5o_N_n9e6GgY_weLkQ@mail.gmail.com>
   1188 Message-ID: <1288073067-sup-885@midna.zekjur.net>
   1189 
   1190 Hi Hamish,
   1191 
   1192 Excerpts from Hamish D's message of 2010-10-26 01:06:51 +0200:
   1193 > I'm wondering what the status of sup and ruby 1.9 is. Is it stable and
   1194 > no more buggy than on ruby 1.8? Is it significantly faster than on
   1195 > ruby 1.8?
   1196 It works just fine. I run it since a few months without any problems. For ruby
   1197 1.9.2, you need some patches:
   1198 http://rubyforge.org/pipermail/sup-talk/2010-September/004223.html
   1199 
   1200 > If I did go for the change, can I switch back and forth between ruby
   1201 > versions? Should I reinstall all the gems that sup depends on?
   1202 Yes, you need to install all gems.
   1203 
   1204 Best regards,
   1205 Michael
   1206 
   1207 From hollunder@lavabit.com  Tue Oct 26 06:04:29 2010
   1208 From: hollunder@lavabit.com (=?utf-8?q?Philipp_=C3=9Cberbacher?=)
   1209 Date: Tue, 26 Oct 2010 12:04:29 +0200
   1210 Subject: [sup-talk] sup and ruby 1.9
   1211 In-Reply-To: <AANLkTinRQ9A+8630CnUKam1h2X5o_N_n9e6GgY_weLkQ@mail.gmail.com>
   1212 References: <AANLkTinRQ9A+8630CnUKam1h2X5o_N_n9e6GgY_weLkQ@mail.gmail.com>
   1213 Message-ID: <1288087383-sup-6381@eris>
   1214 
   1215 Excerpts from Hamish D's message of 2010-10-26 01:06:51 +0200:
   1216 > Hello all
   1217 > 
   1218 > I'm wondering what the status of sup and ruby 1.9 is. Is it stable and
   1219 > no more buggy than on ruby 1.8? Is it significantly faster than on
   1220 > ruby 1.8?
   1221 > 
   1222 > If I did go for the change, can I switch back and forth between ruby
   1223 > versions? Should I reinstall all the gems that sup depends on?
   1224 > 
   1225 > Thanks in advance
   1226 > Hamish
   1227 
   1228 All I can tell you is that sup 0.11 works with ruby 1.9.1_p429 but
   1229 breaks with 1.9.2.
   1230 
   1231 
   1232 From moritz+sup@wzff.de  Tue Oct 26 06:45:02 2010
   1233 From: moritz+sup@wzff.de (Moritz Wilhelmy)
   1234 Date: Tue, 26 Oct 2010 12:45:02 +0200
   1235 Subject: [sup-talk] sup and ruby 1.9
   1236 In-Reply-To: <1288087383-sup-6381@eris>
   1237 References: <AANLkTinRQ9A+8630CnUKam1h2X5o_N_n9e6GgY_weLkQ@mail.gmail.com>
   1238 	<1288087383-sup-6381@eris>
   1239 Message-ID: <1288089771-sup-406@niflheimr>
   1240 
   1241 > Excerpts from Hamish D's message of 2010-10-26 01:06:51 +0200:
   1242 > > I'm wondering what the status of sup and ruby 1.9 is. Is it stable and
   1243 > > no more buggy than on ruby 1.8? Is it significantly faster than on
   1244 > > ruby 1.8?
   1245 
   1246 I myself have 1.8 installed in /opt and use it for running sup. My distro
   1247 (arch) likes upgrading to beta-versions way too much, and I want my mailclient
   1248 to be stable ;)
   1249 
   1250 From tero@tilus.net  Thu Oct 28 20:31:59 2010
   1251 From: tero@tilus.net (Tero Tilus)
   1252 Date: Fri, 29 Oct 2010 03:31:59 +0300
   1253 Subject: [sup-talk] Behavior for sent messages
   1254 In-Reply-To: <1284051347-sup-9359@ezyang>
   1255 References: <1280546878-sup-5384@ezyang>
   1256 	<1280575476-sup-2567@pinkfloyd.chass.utoronto.ca>
   1257 	<1280628309-sup-7092@ezyang>
   1258 	<1280628833-sup-7698@pinkfloyd.chass.utoronto.ca>
   1259 	<1281916596-sup-8793@ezyang> <1284051347-sup-9359@ezyang>
   1260 Message-ID: <1288311632-sup-2088@tilus.net>
   1261 
   1262 Edward Z. Yang, 2010-09-09 19:56:
   1263 > Has anyone been able to reproduce this bug on the relevant commit?
   1264 
   1265 I'm running git next and my sent mail gets archived right away.  What
   1266 I see by reading the code is that the default SentLoader (which I use)
   1267 is hardwired to be "archived", which means the inbox tag is removed
   1268 from new messages added to index from that source.
   1269 
   1270 SentLoader has been like that since 2007, but I definitely have seen
   1271 my sent mail appear to my inbox up until I updated from e97f535e9 to
   1272 927b6bae94.
   1273 
   1274 Does anyone have sent mail showing up in inbox?
   1275 
   1276 --
   1277 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1278 
   1279 http://seurakuntavaalit.fi/      1.-5. ja 14.-15.11.
   1280 http://www.seurakuntavaki.net/       ehdokas nro 126
   1281 
   1282 From tero@tilus.net  Fri Oct 29 19:00:08 2010
   1283 From: tero@tilus.net (Tero Tilus)
   1284 Date: Sat, 30 Oct 2010 02:00:08 +0300
   1285 Subject: [sup-talk] Behavior for sent messages
   1286 In-Reply-To: <1288311632-sup-2088@tilus.net>
   1287 References: <1280546878-sup-5384@ezyang>
   1288 	<1280575476-sup-2567@pinkfloyd.chass.utoronto.ca>
   1289 	<1280628309-sup-7092@ezyang>
   1290 	<1280628833-sup-7698@pinkfloyd.chass.utoronto.ca>
   1291 	<1281916596-sup-8793@ezyang> <1284051347-sup-9359@ezyang>
   1292 	<1288311632-sup-2088@tilus.net>
   1293 Message-ID: <1288392786-sup-8176@tilus.net>
   1294 
   1295 I just noticed that when I replied, the thread appeared to inbox and
   1296 disappeared when I refreshed (hit @) the inbox buffer.
   1297 
   1298 --
   1299 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1300 
   1301 http://seurakuntavaalit.fi/      1.-5. ja 14.-15.11.
   1302 http://www.seurakuntavaki.net/       ehdokas nro 126
   1303 
   1304 From ezyang@MIT.EDU  Fri Oct 29 19:29:55 2010
   1305 From: ezyang@MIT.EDU (Edward Z. Yang)
   1306 Date: Fri, 29 Oct 2010 19:29:55 -0400
   1307 Subject: [sup-talk] Behavior for sent messages
   1308 In-Reply-To: <1288392786-sup-8176@tilus.net>
   1309 References: <1280546878-sup-5384@ezyang>
   1310 	<1280575476-sup-2567@pinkfloyd.chass.utoronto.ca>
   1311 	<1280628309-sup-7092@ezyang>
   1312 	<1280628833-sup-7698@pinkfloyd.chass.utoronto.ca>
   1313 	<1281916596-sup-8793@ezyang> <1284051347-sup-9359@ezyang>
   1314 	<1288311632-sup-2088@tilus.net> <1288392786-sup-8176@tilus.net>
   1315 Message-ID: <1288394971-sup-9573@ezyang>
   1316 
   1317 Excerpts from Tero Tilus's message of Fri Oct 29 19:00:08 -0400 2010:
   1318 > I just noticed that when I replied, the thread appeared to inbox and
   1319 > disappeared when I refreshed (hit @) the inbox buffer.
   1320 
   1321 That's quite interesting :-)  I haven't had time to dig into this, but
   1322 a verification is good to hear.
   1323 
   1324 Edward
   1325 
   1326 From matias@insophia.com  Fri Oct 29 19:49:40 2010
   1327 From: matias@insophia.com (Matias Aguirre)
   1328 Date: Fri, 29 Oct 2010 21:49:40 -0200
   1329 Subject: [sup-talk] Behavior for sent messages
   1330 In-Reply-To: <1288394971-sup-9573@ezyang>
   1331 References: <1280546878-sup-5384@ezyang>
   1332 	<1280575476-sup-2567@pinkfloyd.chass.utoronto.ca>
   1333 	<1280628309-sup-7092@ezyang>
   1334 	<1280628833-sup-7698@pinkfloyd.chass.utoronto.ca>
   1335 	<1281916596-sup-8793@ezyang> <1284051347-sup-9359@ezyang>
   1336 	<1288311632-sup-2088@tilus.net> <1288392786-sup-8176@tilus.net>
   1337 	<1288394971-sup-9573@ezyang>
   1338 Message-ID: <1288396090-sup-7184@mintaka>
   1339 
   1340 I didn't dug on this one, but I can confirm behavior difference, I
   1341 liked previous one and noticed immediately. Just adding my vote here.
   1342 
   1343 Thanks,
   1344 Mat?as
   1345 
   1346 Excerpts from Edward Z. Yang's message of Fri Oct 29 21:29:55 -0200 2010:
   1347 > Excerpts from Tero Tilus's message of Fri Oct 29 19:00:08 -0400 2010:
   1348 > > I just noticed that when I replied, the thread appeared to inbox and
   1349 > > disappeared when I refreshed (hit @) the inbox buffer.
   1350 > 
   1351 > That's quite interesting :-)  I haven't had time to dig into this, but
   1352 > a verification is good to hear.
   1353 > 
   1354 > Edward
   1355 --
   1356 Mat?as Aguirre <matias at insophia.com>
   1357