sup

A curses threads-with-tags style email client

sup-website.git

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

community/pipermail-archives/sup-devel/2009-11.txt (106432B) - raw

      1 From wmorgan-sup@masanjin.net  Tue Nov  3 12:45:17 2009
      2 From: wmorgan-sup@masanjin.net (William Morgan)
      3 Date: Tue, 03 Nov 2009 09:45:17 -0800
      4 Subject: [sup-devel] test
      5 Message-ID: <1257270304-sup-3058@masanjin.net>
      6 
      7 Just making sure the new list works.
      8 -- 
      9 William <wmorgan-sup at masanjin.net>
     10 
     11 From wmorgan-sup@masanjin.net  Tue Nov  3 13:12:02 2009
     12 From: wmorgan-sup@masanjin.net (William Morgan)
     13 Date: Tue, 03 Nov 2009 10:12:02 -0800
     14 Subject: [sup-devel] test
     15 In-Reply-To: <1257270304-sup-3058@masanjin.net>
     16 References: <1257270304-sup-3058@masanjin.net>
     17 Message-ID: <1257271895-sup-7431@masanjin.net>
     18 
     19 Reformatted excerpts from William Morgan's message of 2009-11-03:
     20 > Just making sure the new list works.
     21 
     22 Trying again.
     23 -- 
     24 William <wmorgan-sup at masanjin.net>
     25 
     26 From pi+sup@pihost.us  Tue Nov  3 22:05:19 2009
     27 From: pi+sup@pihost.us (Anthony Martinez)
     28 Date: Tue,  3 Nov 2009 20:05:19 -0700
     29 Subject: [sup-devel] [PATCH] If we have a COLUMNS environment variable,
     30 	wrap to that instead of 80.
     31 Message-ID: <1257303919-30524-1-git-send-email-pi+sup@pihost.us>
     32 
     33 From: Anthony Martinez <pi at pihost.us>
     34 
     35 I find that this provides a much smoother terminal experience,
     36 especially with dumped HTML output. At least on Linux+zsh, this
     37 environment variable is automatically updated, and if it doesn't exist,
     38 sup will continue to happily default to 80.
     39 ---
     40  lib/sup/message-chunks.rb |    2 +-
     41  1 files changed, 1 insertions(+), 1 deletions(-)
     42 
     43 diff --git a/lib/sup/message-chunks.rb b/lib/sup/message-chunks.rb
     44 index 581b707..881ac4b 100644
     45 --- a/lib/sup/message-chunks.rb
     46 +++ b/lib/sup/message-chunks.rb
     47 @@ -41,7 +41,7 @@ end
     48  
     49  module Redwood
     50  module Chunk
     51 -  WRAP_LEN = 80 # wrap messages and text attachments at this width
     52 +  WRAP_LEN = ENV["COLUMNS"] || 80 # wrap messages and text attachments at this width
     53  
     54    class Attachment
     55      HookManager.register "mime-decode", <<EOS
     56 -- 
     57 1.6.5
     58 
     59 
     60 From pi+sup@pihost.us  Tue Nov  3 22:22:24 2009
     61 From: pi+sup@pihost.us (Anthony Martinez)
     62 Date: Tue, 03 Nov 2009 20:22:24 -0700
     63 Subject: [sup-devel] [PATCH] If we have a COLUMNS environment variable,
     64 	wrap to that instead of 80.
     65 In-Reply-To: <1257303919-30524-1-git-send-email-pi+sup@pihost.us>
     66 References: <1257303919-30524-1-git-send-email-pi+sup@pihost.us>
     67 Message-ID: <1257304795-sup-5302@home.mrtheplague.net>
     68 
     69 Excerpts from Anthony Martinez's message of Tue Nov 03 20:05:19 -0700 2009:
     70 > I find that this provides a much smoother terminal experience,
     71 Or it would if I tested it. Sorry about the bad patch, seems today isn't my day.
     72 :)
     73 
     74 Either way, I'd like to see something like this. Discussion?
     75 
     76 From pi+sup@pihost.us  Tue Nov  3 22:51:46 2009
     77 From: pi+sup@pihost.us (Anthony Martinez)
     78 Date: Tue, 03 Nov 2009 20:51:46 -0700
     79 Subject: [sup-devel] [CORRECTED PATCH] If we can get the terminal width,
     80 	use that for WRAP_LEN.
     81 In-Reply-To: <1257303919-30524-1-git-send-email-pi+sup@pihost.us>
     82 References: <1257303919-30524-1-git-send-email-pi+sup@pihost.us>
     83 Message-ID: <1257306460-sup-1506@home.mrtheplague.net>
     84 
     85 I find that this provides a much smoother terminal experience,
     86 especially with elinks configured to dump to the same size in hook
     87 scripts.
     88 
     89 At least on Linux, "stty size"'s second numerical output is the number
     90 of columns, and if that fails somehow, sup will continue to happily
     91 default to 80.
     92 ---
     93  lib/sup/message-chunks.rb |    3 ++-
     94  1 files changed, 2 insertions(+), 1 deletions(-)
     95 
     96 diff --git a/lib/sup/message-chunks.rb b/lib/sup/message-chunks.rb
     97 index 581b707..56ddf1e 100644
     98 --- a/lib/sup/message-chunks.rb
     99 +++ b/lib/sup/message-chunks.rb
    100 @@ -41,7 +41,8 @@ end
    101 
    102  module Redwood
    103  module Chunk
    104 -  WRAP_LEN = 80 # wrap messages and text attachments at this width
    105 +  TERM_WIDTH = `stty size 2>/dev/null`.split[1].to_i # to_i returns 0 if it fails.
    106 +  WRAP_LEN = TERM_WIDTH > 0 && TERM_WIDTH || 80 # wrap messages and text attachments at this width
    107 
    108    class Attachment
    109      HookManager.register "mime-decode", <<EOS
    110 
    111 From bburky@bburky.com  Wed Nov  4 11:50:29 2009
    112 From: bburky@bburky.com (Blake Burkhart)
    113 Date: Wed, 04 Nov 2009 10:50:29 -0600
    114 Subject: [sup-devel] [PATCH] If we have a COLUMNS environment variable,
    115 	wrap to that instead of 80.
    116 In-Reply-To: <1257304795-sup-5302@home.mrtheplague.net>
    117 References: <1257303919-30524-1-git-send-email-pi+sup@pihost.us>
    118 	<1257304795-sup-5302@home.mrtheplague.net>
    119 Message-ID: <1257349056-sup-7760@Backspace.local>
    120 
    121 Excerpt from Anthony Martinez's message of Tue Nov 03 21:22:24 -0600 2009:
    122 > Either way, I'd like to see something like this. Discussion?
    123 
    124 Personally, I regularly use a full-screen width terminal. I'm on a Mac using a
    125 drop-down terminal app called Visor [1]. It lets me have an always accessible
    126 terminal app. However it's the with of the entire screen (probably 200-ish
    127 columns wide), which would be almost unusable if the things were wrapped to
    128 the full width.
    129 
    130 Also, general typography rules say to have a line length of about 2 to 3
    131 lowercase alphabets wide for easily readable text. With monospaced fonts, as
    132 in a terminal, all you characters are the same with. So you get a suggested
    133 line length of 26 * 3 which is 78. I have no idea if anyone reasonably tries
    134 to apply typography rules to terminal apps though...
    135 
    136 [1] http://visor.binaryage.com/
    137 
    138 -- 
    139 Blake Burkhart
    140 
    141 From rlane@club.cc.cmu.edu  Thu Nov  5 00:49:38 2009
    142 From: rlane@club.cc.cmu.edu (Rich Lane)
    143 Date: Wed,  4 Nov 2009 21:49:38 -0800
    144 Subject: [sup-devel] [PATCH] handle UpdateManager events in the main loop
    145 Message-ID: <1257400178-26889-1-git-send-email-rlane@club.cc.cmu.edu>
    146 
    147 ---
    148  bin/sup                            |    2 +
    149  lib/sup/buffer.rb                  |   17 +++++++++++---
    150  lib/sup/draft.rb                   |    2 +-
    151  lib/sup/modes/thread-index-mode.rb |   42 ++++++++++++++++++------------------
    152  lib/sup/modes/thread-view-mode.rb  |   12 +++++-----
    153  lib/sup/poll.rb                    |    2 +-
    154  lib/sup/update.rb                  |   21 ++++++++++++++++++
    155  7 files changed, 65 insertions(+), 33 deletions(-)
    156 
    157 diff --git a/bin/sup b/bin/sup
    158 index 78c396a..348070a 100755
    159 --- a/bin/sup
    160 +++ b/bin/sup
    161 @@ -224,6 +224,8 @@ begin
    162        nil
    163      end
    164  
    165 +    UpdateManager.dequeue_all
    166 +
    167      if c.nil?
    168        if BufferManager.sigwinch_happened?
    169          debug "redrawing screen on sigwinch"
    170 diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
    171 index 35b7080..42005e8 100644
    172 --- a/lib/sup/buffer.rb
    173 +++ b/lib/sup/buffer.rb
    174 @@ -4,6 +4,13 @@ require 'ncurses'
    175  
    176  if defined? Ncurses
    177  module Ncurses
    178 +  $event_read_fd, $event_write_fd = IO.pipe
    179 +
    180 +  def post_event
    181 +    $event_write_fd << 'x'
    182 +    $event_write_fd.flush
    183 +  end
    184 +
    185    def rows
    186      lame, lamer = [], []
    187      stdscr.getmaxyx lame, lamer
    188 @@ -32,9 +39,11 @@ module Ncurses
    189      ## it is NECESSARY to wrap Ncurses.getch in a select() otherwise all
    190      ## background threads will be BLOCKED. (except in very modern versions
    191      ## of libncurses-ruby. the current one on ubuntu seems to work well.)
    192 -    if IO.select([$stdin], nil, nil, 0.5)
    193 -      c = Ncurses.getch
    194 -    end
    195 +    read_fds, = IO.select([$stdin, $event_read_fd], nil, nil, 0.5)
    196 +    return unless read_fds
    197 +
    198 +    $event_read_fd.readpartial 1024 if read_fds.member? $event_read_fd
    199 +    Ncurses.getch if read_fds.member? $stdin
    200    end
    201  
    202    ## pretends ctrl-c's are ctrl-g's
    203 @@ -44,7 +53,7 @@ module Ncurses
    204      KEY_CANCEL
    205    end
    206  
    207 -  module_function :rows, :cols, :curx, :nonblocking_getch, :safe_nonblocking_getch, :mutex, :sync
    208 +  module_function :rows, :cols, :curx, :nonblocking_getch, :safe_nonblocking_getch, :mutex, :sync, :post_event
    209  
    210    remove_const :KEY_ENTER
    211    remove_const :KEY_CANCEL
    212 diff --git a/lib/sup/draft.rb b/lib/sup/draft.rb
    213 index 5ea2935..5632e67 100644
    214 --- a/lib/sup/draft.rb
    215 +++ b/lib/sup/draft.rb
    216 @@ -31,7 +31,7 @@ class DraftManager
    217      raise ArgumentError, "not a draft: source id #{m.source.id.inspect}, should be #{DraftManager.source_id.inspect} for #{m.id.inspect}" unless m.source.id.to_i == DraftManager.source_id
    218      Index.delete m.id
    219      File.delete @source.fn_for_offset(m.source_info)
    220 -    UpdateManager.relay self, :single_message_deleted, m
    221 +    UpdateManager.enqueue self, :single_message_deleted, m
    222    end
    223  end
    224  
    225 diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
    226 index 12a76f9..323c565 100644
    227 --- a/lib/sup/modes/thread-index-mode.rb
    228 +++ b/lib/sup/modes/thread-index-mode.rb
    229 @@ -117,7 +117,7 @@ EOS
    230        ## are set, and the second to show the cursor having moved
    231  
    232        update_text_for_line curpos
    233 -      UpdateManager.relay self, :read, t.first
    234 +      UpdateManager.enqueue self, :read, t.first
    235        when_done.call if when_done
    236      end
    237    end
    238 @@ -246,18 +246,18 @@ EOS
    239      pos = curpos
    240      if t.has_label? :starred # if ANY message has a star
    241        t.remove_label :starred # remove from all
    242 -      UpdateManager.relay self, :unstarred, t.first
    243 +      UpdateManager.enqueue self, :unstarred, t.first
    244        lambda do
    245          t.first.add_label :starred
    246 -        UpdateManager.relay self, :starred, t.first
    247 +        UpdateManager.enqueue self, :starred, t.first
    248          regen_text
    249        end
    250      else
    251        t.first.add_label :starred # add only to first
    252 -      UpdateManager.relay self, :starred, t.first
    253 +      UpdateManager.enqueue self, :starred, t.first
    254        lambda do
    255          t.remove_label :starred
    256 -        UpdateManager.relay self, :unstarred, t.first
    257 +        UpdateManager.enqueue self, :unstarred, t.first
    258          regen_text
    259        end
    260      end
    261 @@ -283,19 +283,19 @@ EOS
    262      pos = curpos
    263      if t.has_label? :inbox
    264        t.remove_label :inbox
    265 -      UpdateManager.relay self, :archived, t.first
    266 +      UpdateManager.enqueue self, :archived, t.first
    267        lambda do
    268          thread.apply_label :inbox
    269          update_text_for_line pos
    270 -        UpdateManager.relay self,:unarchived, thread.first
    271 +        UpdateManager.enqueue self,:unarchived, thread.first
    272        end
    273      else
    274        t.apply_label :inbox
    275 -      UpdateManager.relay self, :unarchived, t.first
    276 +      UpdateManager.enqueue self, :unarchived, t.first
    277        lambda do
    278          thread.remove_label :inbox
    279          update_text_for_line pos
    280 -        UpdateManager.relay self, :unarchived, thread.first
    281 +        UpdateManager.enqueue self, :unarchived, thread.first
    282        end
    283      end
    284    end
    285 @@ -306,20 +306,20 @@ EOS
    286      if t.has_label? :spam
    287        t.remove_label :spam
    288        add_or_unhide t.first
    289 -      UpdateManager.relay self, :unspammed, t.first
    290 +      UpdateManager.enqueue self, :unspammed, t.first
    291        lambda do
    292          thread.apply_label :spam
    293          self.hide_thread thread
    294 -        UpdateManager.relay self,:spammed, thread.first
    295 +        UpdateManager.enqueue self,:spammed, thread.first
    296        end
    297      else
    298        t.apply_label :spam
    299        hide_thread t
    300 -      UpdateManager.relay self, :spammed, t.first
    301 +      UpdateManager.enqueue self, :spammed, t.first
    302        lambda do
    303          thread.remove_label :spam
    304          add_or_unhide thread.first
    305 -        UpdateManager.relay self,:unspammed, thread.first
    306 +        UpdateManager.enqueue self,:unspammed, thread.first
    307        end
    308      end
    309    end
    310 @@ -329,20 +329,20 @@ EOS
    311      if t.has_label? :deleted
    312        t.remove_label :deleted
    313        add_or_unhide t.first
    314 -      UpdateManager.relay self, :undeleted, t.first
    315 +      UpdateManager.enqueue self, :undeleted, t.first
    316        lambda do
    317          t.apply_label :deleted
    318          hide_thread t
    319 -        UpdateManager.relay self, :deleted, t.first
    320 +        UpdateManager.enqueue self, :deleted, t.first
    321        end
    322      else
    323        t.apply_label :deleted
    324        hide_thread t
    325 -      UpdateManager.relay self, :deleted, t.first
    326 +      UpdateManager.enqueue self, :deleted, t.first
    327        lambda do
    328          t.remove_label :deleted
    329          add_or_unhide t.first
    330 -        UpdateManager.relay self, :undeleted, t.first
    331 +        UpdateManager.enqueue self, :undeleted, t.first
    332        end
    333      end
    334    end
    335 @@ -542,10 +542,10 @@ EOS
    336      UndoManager.register "labeling thread" do
    337        thread.labels = old_labels
    338        update_text_for_line pos
    339 -      UpdateManager.relay self, :labeled, thread.first
    340 +      UpdateManager.enqueue self, :labeled, thread.first
    341      end
    342  
    343 -    UpdateManager.relay self, :labeled, thread.first
    344 +    UpdateManager.enqueue self, :labeled, thread.first
    345    end
    346  
    347    def multi_edit_labels threads
    348 @@ -570,7 +570,7 @@ EOS
    349            LabelManager << l
    350          end
    351        end
    352 -      UpdateManager.relay self, :labeled, t.first
    353 +      UpdateManager.enqueue self, :labeled, t.first
    354      end
    355  
    356      regen_text
    357 @@ -578,7 +578,7 @@ EOS
    358      UndoManager.register "labeling #{threads.size.pluralize 'thread'}" do
    359        threads.zip(old_labels).map do |t, old_labels|
    360          t.labels = old_labels
    361 -        UpdateManager.relay self, :labeled, t.first
    362 +        UpdateManager.enqueue self, :labeled, t.first
    363        end
    364        regen_text
    365      end
    366 diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
    367 index 2da0555..4e4290f 100644
    368 --- a/lib/sup/modes/thread-view-mode.rb
    369 +++ b/lib/sup/modes/thread-view-mode.rb
    370 @@ -262,7 +262,7 @@ EOS
    371      @thread.labels = Set.new(reserved_labels) + new_labels
    372      new_labels.each { |l| LabelManager << l }
    373      update
    374 -    UpdateManager.relay self, :labeled, @thread.first
    375 +    UpdateManager.enqueue self, :labeled, @thread.first
    376    end
    377  
    378    def toggle_starred
    379 @@ -284,7 +284,7 @@ EOS
    380      ## TODO: don't recalculate EVERYTHING just to add a stupid little
    381      ## star to the display
    382      update
    383 -    UpdateManager.relay self, :single_message_labeled, m
    384 +    UpdateManager.enqueue self, :single_message_labeled, m
    385    end
    386  
    387    ## called when someone presses enter when the cursor is highlighting
    388 @@ -502,28 +502,28 @@ EOS
    389    def archive_and_then op
    390      dispatch op do
    391        @thread.remove_label :inbox
    392 -      UpdateManager.relay self, :archived, @thread.first
    393 +      UpdateManager.enqueue self, :archived, @thread.first
    394      end
    395    end
    396  
    397    def spam_and_then op
    398      dispatch op do
    399        @thread.apply_label :spam
    400 -      UpdateManager.relay self, :spammed, @thread.first
    401 +      UpdateManager.enqueue self, :spammed, @thread.first
    402      end
    403    end
    404  
    405    def delete_and_then op
    406      dispatch op do
    407        @thread.apply_label :deleted
    408 -      UpdateManager.relay self, :deleted, @thread.first
    409 +      UpdateManager.enqueue self, :deleted, @thread.first
    410      end
    411    end
    412  
    413    def unread_and_then op
    414      dispatch op do
    415        @thread.apply_label :unread
    416 -      UpdateManager.relay self, :unread, @thread.first
    417 +      UpdateManager.enqueue self, :unread, @thread.first
    418      end
    419    end
    420  
    421 diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb
    422 index ec51dec..a6ed912 100644
    423 --- a/lib/sup/poll.rb
    424 +++ b/lib/sup/poll.rb
    425 @@ -178,7 +178,7 @@ EOS
    426    ## does the gui callback stuff, etc.
    427    def add_new_message m
    428      Index.add_message m
    429 -    UpdateManager.relay self, :added, m
    430 +    UpdateManager.enqueue self, :added, m
    431    end
    432  end
    433  
    434 diff --git a/lib/sup/update.rb b/lib/sup/update.rb
    435 index d386801..31c4b3c 100644
    436 --- a/lib/sup/update.rb
    437 +++ b/lib/sup/update.rb
    438 @@ -16,12 +16,33 @@ class UpdateManager
    439  
    440    def initialize
    441      @targets = {}
    442 +    @queue = []
    443 +    @lock = Mutex.new
    444    end
    445  
    446    def register o; @targets[o] = true; end
    447    def unregister o; @targets.delete o; end
    448  
    449 +  def enqueue sender, type, *args
    450 +    @lock.synchronize { @queue << [sender, type, args] }
    451 +    Ncurses.post_event if defined? Ncurses
    452 +    debug "enqueued #{([type] + args) * ' '}"
    453 +  end
    454 +
    455 +  def dequeue_all
    456 +    until @queue.empty?
    457 +      old_queue = @lock.synchronize do
    458 +        returning(@queue) { @queue = [] }
    459 +      end
    460 +
    461 +      old_queue.each do |sender, type, args|
    462 +        relay sender, type, *args
    463 +      end
    464 +    end
    465 +  end
    466 +
    467    def relay sender, type, *args
    468 +    debug "relaying #{([type] + args) * ' '}" unless type == :tick
    469      meth = "handle_#{type}_update".intern
    470      @targets.keys.each { |o| o.send meth, sender, *args unless o == sender if o.respond_to? meth }
    471    end
    472 -- 
    473 1.6.4.2
    474 
    475 
    476 From wmorgan-sup@masanjin.net  Thu Nov  5 15:23:11 2009
    477 From: wmorgan-sup@masanjin.net (William Morgan)
    478 Date: Thu, 05 Nov 2009 12:23:11 -0800
    479 Subject: [sup-devel] test
    480 In-Reply-To: <1257270304-sup-3058@masanjin.net>
    481 References: <1257270304-sup-3058@masanjin.net>
    482 Message-ID: <1257452583-sup-3041@masanjin.net>
    483 
    484 Reformatted excerpts from William Morgan's message of 2009-11-03:
    485 > Just making sure the new list works.
    486 
    487 One more time.
    488 -- 
    489 William <wmorgan-sup at masanjin.net>
    490 
    491 From sup-bugs@masanjin.net  Thu Nov  5 15:27:38 2009
    492 From: sup-bugs@masanjin.net (William Morgan)
    493 Date: Thu, 05 Nov 2009 20:27:38 +0000
    494 Subject: [sup-devel] [issue1] signature block not separated by a newline in
    495 	sent messages
    496 Message-ID: <1257452858.49.0.55077786119.issue1@masanjin.net>
    497 
    498 
    499 New submission from William Morgan <wmorgan-sup at masanjin.net>:
    500 
    501 In messages with no extra newlines at the end, the preview window displays the 
    502 signature block with a newline prepended, which is correct. However, the actual 
    503 sent message doesn't have this newline, and the signature follows the text 
    504 immediately without a blank line.
    505 
    506 ----------
    507 messages: 1
    508 nosy: w
    509 priority: bug
    510 ruby_version: 1.8.7
    511 status: unread
    512 sup_version: git master
    513 title: signature block not separated by a newline in sent messages
    514 
    515 _________________________________________
    516 Sup issue tracker <sup-bugs at masanjin.net>
    517 <http://masanjin.net/sup-bugs/issue1>
    518 _________________________________________
    519 
    520 From wmorgan-sup@masanjin.net  Thu Nov  5 15:34:12 2009
    521 From: wmorgan-sup@masanjin.net (William Morgan)
    522 Date: Thu, 05 Nov 2009 12:34:12 -0800
    523 Subject: [sup-devel] [issue1] signature block not separated by a newline
    524 	in sent messages
    525 In-Reply-To: <1257452858.49.0.55077786119.issue1@masanjin.net>
    526 References: <1257452858.49.0.55077786119.issue1@masanjin.net>
    527 Message-ID: <1257452945-sup-9932@masanjin.net>
    528 
    529 Reformatted excerpts from William Morgan's message of 2009-11-05:
    530 > messages: 1
    531 > nosy: w
    532 > priority: bug
    533 > ruby_version: 1.8.7
    534 > status: unread
    535 > sup_version: git master
    536 > title: signature block not separated by a newline in sent messages
    537 
    538 Ok, so I have roundup set up at this address:
    539 http://masanjin.net/sup-bugs/
    540 
    541 There are a couple things I don't like about it, but we can give it a
    542 shot for now.
    543 
    544 You don't have to register to create an issue (or to edit any of the
    545 existing ones, sigh), but if you'd like to assign yourself issues, you
    546 should set up an account.
    547 
    548 Any email that's cc'ed to sup-bugs with the appropriate subject will
    549 become part of the bug record. Automatic emails to sup-devel are only
    550 triggered on the creation of an issue. So if you're replying to an
    551 issue, you should think about what's on the to line a little.
    552 
    553 Feel free to add your issues! I'm going to point to this thing in the
    554 0.9.1. error message, instead of sup-talk.
    555 -- 
    556 William <wmorgan-sup at masanjin.net>
    557 
    558 From plz@z-labs.com.ar  Thu Nov  5 18:02:36 2009
    559 From: plz@z-labs.com.ar (Pablo Luis Zorzoli)
    560 Date: Thu, 05 Nov 2009 20:02:36 -0300
    561 Subject: [sup-devel] test
    562 In-Reply-To: <1257452583-sup-3041@masanjin.net>
    563 References: <1257270304-sup-3058@masanjin.net>
    564 	<1257452583-sup-3041@masanjin.net>
    565 Message-ID: <1257462081-sup-247@mini-z>
    566 
    567 Excerpts from William Morgan's message of Thu Nov 05 17:23:11 -0300 2009:
    568 > Reformatted excerpts from William Morgan's message of 2009-11-03:
    569 > > Just making sure the new list works.
    570 > 
    571 > One more time.
    572 
    573 It works like a charm.
    574 
    575 From bburky@bburky.com  Thu Nov  5 20:18:02 2009
    576 From: bburky@bburky.com (Blake Burkhart)
    577 Date: Thu, 05 Nov 2009 19:18:02 -0600
    578 Subject: [sup-devel] Bug: Closing main inbox buffer and crashing
    579 Message-ID: <1257469857-sup-4704@Backspace.local>
    580 
    581 I managed to close the main inbox buffer in sup. This seems reproducible by
    582 creating a new message, exiting from the editor and then not immediately
    583 sending it. While this draft message is open in "compose-mode", switch back to
    584 "inbox-mode" and attempt to close sup, answering "yes" to "Really quit?" but
    585 "no" to "Discard message?"
    586 
    587 At this point the only buffers open are "compose-mode" and "log-mode"
    588 according to the buffer list. If you close all buffers with the "x" key, sup
    589 will crash with the following error:
    590 
    591 --- NoMethodError from thread: main
    592 undefined method `title' for nil:NilClass
    593 /Users/blake/Code/Others/sup/lib/sup/buffer.rb:775:in `get_status_and_title'
    594 /Users/blake/Code/Others/sup/lib/sup/buffer.rb:307:in `draw_screen'
    595 /Users/blake/Code/Others/sup/bin/sup:324
    596 
    597 I'm currently running the "next" branch, but I can also reproduce this with
    598 "master."
    599 
    600 Note, if the "compose-mode" buffer is open when attempting to close sup, there
    601 is no problem, sup does not close the main inbox buffer.
    602 
    603 -- Blake Burkhart
    604 
    605 From markr.anderson@amd.com  Fri Nov  6 15:00:38 2009
    606 From: markr.anderson@amd.com (Mark Anderson)
    607 Date: Fri, 6 Nov 2009 13:00:38 -0700
    608 Subject: [sup-devel] Crash when I tried to resync after moving files from my
    609 	offlineimap repo to a separate archive maildir
    610 Message-ID: <1257537462-sup-4310@testarossa>
    611 
    612 I'm still really raw with this Ruby stuff.
    613 
    614 I wonder if there's some way to prevent the running of before-add-message in sup-sync. I get the message on many of the mails that have already been categorized.
    615 
    616 But this seems like it could be separate. Perhaps my offlineimap was moving files around? I guess that's possible, I do have a web interface to the same IMAP box.
    617 
    618 Could it gracefully handle things when possible?
    619 
    620 -Mark
    621 
    622 
    623 [Fri Nov 06 12:45:10 -0700 2009] WARNING: problem getting messages from maildir:/home/manderso/MailExchange/INBOX: Problem reading file for id 12569185230017708: "/home/manderso/MailExc
    624 hange/INBOX/new/1256918523_0.28833.testarossa,U=146122,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,": No such file or directory - /home/manderso/MailExchange/INBOX/new/1256918523_0.28833.te
    625 starossa,U=146122,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,.
    626 (eval):1: warning: instance variable @source_marked_read not initialized
    627 [Fri Nov 06 12:45:10 -0700 2009] hook: error running /home/manderso/.sup/hooks/before-add-message.rb: undefined method `index' for nil:NilClass
    628 [Fri Nov 06 12:45:10 -0700 2009] hook: /home/manderso/.sup/hooks/before-add-message.rb:49:in `__run'
    629 /home/manderso/.sup/hooks/before-add-message.rb:47:in `each'
    630 /home/manderso/.sup/hooks/before-add-message.rb:47:in `__run'
    631 /home/manderso/src/sup-git/mainline/lib/sup/hook.rb:42:in `__run'
    632 /home/manderso/src/sup-git/mainline/lib/sup/hook.rb:83:in `run'
    633 /home/manderso/src/sup-git/mainline/lib/sup/util.rb:520:in `send'
    634 /home/manderso/src/sup-git/mainline/lib/sup/util.rb:520:in `method_missing'
    635 /home/manderso/src/sup-git/mainline/lib/sup/poll.rb:150:in `each_message_from'
    636 /home/manderso/src/sup-git/mainline/lib/sup/maildir.rb:160:in `each'
    637 /home/manderso/src/sup-git/mainline/lib/sup/maildir.rb:157:in `upto'
    638 /home/manderso/src/sup-git/mainline/lib/sup/maildir.rb:157:in `each'
    639 /home/manderso/src/sup-git/mainline/lib/sup/util.rb:560:in `send'
    640 /home/manderso/src/sup-git/mainline/lib/sup/util.rb:560:in `__pass'
    641 /home/manderso/src/sup-git/mainline/lib/sup/util.rb:547:in `method_missing'
    642 /home/manderso/src/sup-git/mainline/lib/sup/poll.rb:139:in `each_message_from'
    643 /home/manderso/src/sup-git/mainline/lib/sup/util.rb:520:in `send'
    644 /home/manderso/src/sup-git/mainline/lib/sup/util.rb:520:in `method_missing'
    645 /home/manderso/src/sup-git/mainline/bin/sup-sync:146
    646 /home/manderso/src/sup-git/mainline/bin/sup-sync:141:in `each'
    647 /home/manderso/src/sup-git/mainline/bin/sup-sync:141
    648 [Fri Nov 06 12:45:10 -0700 2009] unlocking /home/manderso/.sup/lock...
    649 /home/manderso/src/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:421:in `[]': :(null) isn't a valid argument for IndexReader.get_document(index) (ArgumentError)
    650         from /home/manderso/src/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:421:in `[]'
    651         from /tool/pandora64/.package/ruby-1.8.7-p72/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    652         from /home/manderso/src/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:413:in `[]'
    653         from /home/manderso/src/sup-git/mainline/lib/sup/ferret_index.rb:257:in `build_message'
    654         from /tool/pandora64/.package/ruby-1.8.7-p72/lib/ruby/1.8/monitor.rb:242:in `synchronize'
    655         from /home/manderso/src/sup-git/mainline/lib/sup/ferret_index.rb:256:in `build_message'
    656         from /home/manderso/src/sup-git/mainline/bin/sup-sync:149
    657         from /home/manderso/src/sup-git/mainline/lib/sup/poll.rb:151:in `each_message_from'
    658         from /home/manderso/src/sup-git/mainline/lib/sup/maildir.rb:160:in `each'
    659         from /home/manderso/src/sup-git/mainline/lib/sup/maildir.rb:157:in `upto'
    660         from /home/manderso/src/sup-git/mainline/lib/sup/maildir.rb:157:in `each'
    661         from /home/manderso/src/sup-git/mainline/lib/sup/util.rb:560:in `send'
    662         from /home/manderso/src/sup-git/mainline/lib/sup/util.rb:560:in `__pass'
    663         from /home/manderso/src/sup-git/mainline/lib/sup/util.rb:547:in `method_missing'
    664         from /home/manderso/src/sup-git/mainline/lib/sup/poll.rb:139:in `each_message_from'
    665         from /home/manderso/src/sup-git/mainline/lib/sup/util.rb:520:in `send'
    666         from /home/manderso/src/sup-git/mainline/lib/sup/util.rb:520:in `method_missing'
    667         from /home/manderso/src/sup-git/mainline/bin/sup-sync:146
    668         from /home/manderso/src/sup-git/mainline/bin/sup-sync:141:in `each'
    669         from /home/manderso/src/sup-git/mainline/bin/sup-sync:141
    670 
    671 
    672 From pi+sup@pihost.us  Fri Nov  6 21:16:42 2009
    673 From: pi+sup@pihost.us (Anthony Martinez)
    674 Date: Fri, 06 Nov 2009 19:16:42 -0700
    675 Subject: [sup-devel] [sup-talk] Sup-sync exception
    676 In-Reply-To: <1257537789-sup-1961@testarossa>
    677 References: <1257452860-sup-7983@testarossa> <1257520288-sup-8595@onnadayr.ca>
    678 	<1257537789-sup-1961@testarossa>
    679 Message-ID: <1257556260-sup-1272@home.mrtheplague.net>
    680 
    681 Excerpts from Mark Anderson's message of Fri Nov 06 13:06:17 -0700 2009:
    682 > There was another patch that is complementary in getting the console to
    683 > recognize the width of the terminal, I forget the tname, but here's what I
    684 > have in my message-chunks.rb:
    685 > 
    686 >   TERM_WIDTH = `stty size 2>/dev/null`.split[1].to_i # to_i returns 0 if it fails
    687 >   WRAP_LEN = TERM_WIDTH > 0 && TERM_WIDTH || 80 # wrap messages and text attachments at this width
    688 > 
    689 > I don't know why that patch preferred `stty` to ENV["COLUMNS"], since that one
    690 > had worked for me.
    691 
    692 That'd be my patch. I used stty because ENV["COLUMNS"] doesn't consistently work
    693 for me:
    694 
    695 $ echo $COLUMNS
    696 132
    697 $ perl -wE 'say $ENV{COLUMNS}'
    698 Use of uninitialized value in say at -e line 1.
    699 
    700 $ ruby -e 'puts ENV["COLUMNS"]'
    701 nil
    702 $ irb
    703 irb(main):001:0> ENV["COLUMNS"]
    704 => "132"
    705 
    706 In Sup's console mode, ENV["COLUMNS"] is set, but when I tried
    707   WRAP_LEN = ENV["COLUMNS"]
    708 in message-chunks.rb, it gets nil. It appears to have something to do with
    709 readline:
    710 
    711 $ irb --noreadline
    712 irb(main):001:0> ENV["COLUMNS"]
    713 => nil
    714 
    715 I also tried Ncurses.cols, as suggested on sup-devel, and got a similar
    716 exception to yours. `stty`, albeit cheesy, works well enough for right now (even
    717 though I'm not quite happy with it, since, in addition to its reliance on the
    718 output of an external command, it also won't react to window size changes)
    719 
    720 Perhaps this should be a configuration option -- give it a number to wrap to
    721 that width, :auto to wrap to the terminal size (in some fashion that will allow
    722 it to resize when the terminal does), and in the absence of any configuration,
    723 80.
    724 
    725 -- 
    726 Every program has at least one bug and can be shortened by at least one
    727 instruction -- from which, by induction, one can deduce that every
    728 program can be reduced to one instruction which doesn't work.
    729 
    730 From marka@pobox.com  Fri Nov  6 23:10:33 2009
    731 From: marka@pobox.com (Mark Alexander)
    732 Date: Fri, 06 Nov 2009 23:10:33 -0500
    733 Subject: [sup-devel] [sup-talk] Sup-sync exception
    734 In-Reply-To: <1257556260-sup-1272@home.mrtheplague.net>
    735 References: <1257452860-sup-7983@testarossa> <1257520288-sup-8595@onnadayr.ca>
    736 	<1257537789-sup-1961@testarossa>
    737 	<1257556260-sup-1272@home.mrtheplague.net>
    738 Message-ID: <1257566953-sup-306@r50p>
    739 
    740 Excerpts from Anthony Martinez's message of Fri Nov 06 21:16:42 -0500 2009:
    741 > That'd be my patch. I used stty because ENV["COLUMNS"] doesn't consistently work
    742 > for me:
    743 > 
    744 > $ echo $COLUMNS
    745 > 132
    746 > $ perl -wE 'say $ENV{COLUMNS}'
    747 > Use of uninitialized value in say at -e line 1.
    748 
    749 It sounds like you didn't do this:
    750 
    751 export COLUMNS
    752 
    753 From sup-bugs@masanjin.net  Sat Nov  7 13:06:30 2009
    754 From: sup-bugs@masanjin.net (anonymous)
    755 Date: Sat, 07 Nov 2009 18:06:30 +0000
    756 Subject: [sup-devel] [issue2] msgid non-uniqueness
    757 Message-ID: <1257617190.5.0.336645039558.issue2@masanjin.net>
    758 
    759 
    760 New submission from anonymous:
    761 
    762 An important assumption in Sup is that message IDs are unique (or, at least that
    763 duplicate message IDs refer to the same abstract message). Normally this is
    764 true, but an attacker could trivially copy the id of a legitimate message,
    765 overwriting it in the index.
    766 
    767 Is this a problem we care about? Is there anything we can do about it?
    768 
    769 ----------
    770 messages: 2
    771 nosy: anonymous
    772 priority: bug
    773 ruby_version: any
    774 status: unread
    775 sup_version: 0.9
    776 title: msgid non-uniqueness
    777 
    778 _________________________________________
    779 Sup issue tracker <sup-bugs at masanjin.net>
    780 <http://masanjin.net/sup-bugs/issue2>
    781 _________________________________________
    782 
    783 From sup-bugs@masanjin.net  Sat Nov  7 14:39:56 2009
    784 From: sup-bugs@masanjin.net (Blake Burkhart)
    785 Date: Sat, 07 Nov 2009 19:39:56 +0000
    786 Subject: [sup-devel] [issue3] Closing main inbox buffer and crashing
    787 Message-ID: <1257622796.53.0.0965044838271.issue3@masanjin.net>
    788 
    789 
    790 New submission from Blake Burkhart <bburky at bburky.com>:
    791 
    792 I posted this a couple days ago on sup-devel, and didn't get a response. Thought 
    793 I'd repost it here on the tracker anyway.
    794 
    795 I managed to close the main inbox buffer in sup. This seems reproducible by
    796 creating a new message, exiting from the editor and then not immediately
    797 sending it. While this draft message is open in "compose-mode", switch back to
    798 "inbox-mode" and attempt to close sup, answering "yes" to "Really quit?" but
    799 "no" to "Discard message?"
    800 
    801 At this point the only buffers open are "compose-mode" and "log-mode"
    802 according to the buffer list. If you close all buffers with the "x" key, sup
    803 will crash with the following error:
    804 
    805 --- NoMethodError from thread: main
    806 undefined method `title' for nil:NilClass
    807 /Users/blake/Code/Others/sup/lib/sup/buffer.rb:775:in `get_status_and_title'
    808 /Users/blake/Code/Others/sup/lib/sup/buffer.rb:307:in `draw_screen'
    809 /Users/blake/Code/Others/sup/bin/sup:324
    810 
    811 I'm currently running the "next" branch, but I can also reproduce this with
    812 "master."
    813 
    814 Note, if the "compose-mode" buffer is open when attempting to close sup, there
    815 is no problem, sup does not close the main inbox buffer.
    816 
    817 ----------
    818 messages: 3
    819 nosy: bburky
    820 priority: bug
    821 ruby_version: 1.8.7
    822 status: unread
    823 sup_version: git master
    824 title: Closing main inbox buffer and crashing
    825 
    826 _________________________________________
    827 Sup issue tracker <sup-bugs at masanjin.net>
    828 <http://masanjin.net/sup-bugs/issue3>
    829 _________________________________________
    830 
    831 From sup-bugs@masanjin.net  Sat Nov  7 15:24:10 2009
    832 From: sup-bugs@masanjin.net (William Morgan)
    833 Date: Sat, 07 Nov 2009 20:24:10 +0000
    834 Subject: [sup-devel] [issue4] be able to kill buffers in buffer-list-mode
    835 Message-ID: <1257625450.85.0.697495716313.issue4@masanjin.net>
    836 
    837 
    838 New submission from William Morgan <wmorgan-sup at masanjin.net>:
    839 
    840 i'd like to be able to kill buffers in buffer-list-mode by pressing 'x'. 
    841 currently i have to hit enter to raise the buffer and then 'x'.
    842 
    843 ----------
    844 messages: 4
    845 nosy: w
    846 priority: feature request
    847 ruby_version: 1.8.7
    848 status: unread
    849 sup_version: 0.9
    850 title: be able to kill buffers in buffer-list-mode
    851 
    852 _________________________________________
    853 Sup issue tracker <sup-bugs at masanjin.net>
    854 <http://masanjin.net/sup-bugs/issue4>
    855 _________________________________________
    856 
    857 From sup-bugs@masanjin.net  Sat Nov  7 16:09:17 2009
    858 From: sup-bugs@masanjin.net (seschwar)
    859 Date: Sat, 07 Nov 2009 21:09:17 +0000
    860 Subject: [sup-devel] [issue5] white on black in colors.yaml looks like
    861 	default on default
    862 Message-ID: <1257628157.53.0.667373052282.issue5@masanjin.net>
    863 
    864 
    865 New submission from seschwar <seschwar at googlemail.com>:
    866 
    867 I use a terminal with a light background color.  Whenever I set
    868 an element to white foreground and black background color -- like
    869 :status in this example -- the element looks like I had set the colors
    870 to default/default.
    871 
    872 ---
    873 :status:
    874     :fg: white
    875     :bg: black
    876 ...
    877 looks like
    878 ---
    879 :status:
    880     :fg: default
    881     :bg: default
    882 ...
    883 
    884 However these are all displayed correctly:
    885 
    886 ---
    887 :status:
    888     :fg: blue
    889     :bg: black
    890 ...
    891 ---
    892 :status:
    893     :fg: white
    894     :bg: blue
    895 ...
    896 ---
    897 :status:
    898     :fg: white
    899     :bg: default
    900 ...
    901 
    902 This problem is still present in the current "next" branch.
    903 
    904 ----------
    905 messages: 5
    906 nosy: seschwar
    907 priority: bug
    908 ruby_version: 1.8.7_p174
    909 status: unread
    910 sup_version: 0.9
    911 title: white on black in colors.yaml looks like default on default
    912 
    913 _________________________________________
    914 Sup issue tracker <sup-bugs at masanjin.net>
    915 <http://masanjin.net/sup-bugs/issue5>
    916 _________________________________________
    917 
    918 From sup-bugs@masanjin.net  Sat Nov  7 16:21:51 2009
    919 From: sup-bugs@masanjin.net (seschwar)
    920 Date: Sat, 07 Nov 2009 21:21:51 +0000
    921 Subject: [sup-devel] [issue6] add an ask_for_to config option
    922 Message-ID: <1257628911.55.0.104494796803.issue6@masanjin.net>
    923 
    924 
    925 New submission from seschwar <seschwar at googlemail.com>:
    926 
    927 Adding and an ask_for_to config option would allow to edit the header
    928 along with all others later in $EDITOR only.
    929 
    930 Together with the already existing ask_for_* options it would work
    931 like Mutt's $edit_headers.  This would allow to skip *all* prompts
    932 when composing a message and editing the headers in $EDITOR only.
    933 
    934 ----------
    935 messages: 6
    936 nosy: seschwar
    937 priority: feature request
    938 ruby_version: 1.8.7_p174
    939 status: unread
    940 sup_version: 0.9
    941 title: add an ask_for_to config option
    942 
    943 _________________________________________
    944 Sup issue tracker <sup-bugs at masanjin.net>
    945 <http://masanjin.net/sup-bugs/issue6>
    946 _________________________________________
    947 
    948 From sup-bugs@masanjin.net  Tue Nov 10 00:16:03 2009
    949 From: sup-bugs@masanjin.net (Rich Lane)
    950 Date: Tue, 10 Nov 2009 05:16:03 +0000
    951 Subject: [sup-devel] [issue7] per-source poll interval
    952 Message-ID: <1257830163.81.0.281752964078.issue7@masanjin.net>
    953 
    954 
    955 New submission from Rich Lane <rlane at club.cc.cmu.edu>:
    956 
    957 It would be nice to be able to configure the poll interval per-source in
    958 sources.yaml. This would probably also mean refactoring the poll loop so that
    959 sources could be polled independently and changing the definition of the poll hooks.
    960 
    961 ----------
    962 messages: 7
    963 nosy: rlane
    964 priority: feature request
    965 ruby_version: 1.8.7
    966 status: unread
    967 sup_version: 0.9.1
    968 title: per-source poll interval
    969 
    970 _________________________________________
    971 Sup issue tracker <sup-bugs at masanjin.net>
    972 <http://masanjin.net/sup-bugs/issue7>
    973 _________________________________________
    974 
    975 From sup-bugs@masanjin.net  Tue Nov 10 01:59:42 2009
    976 From: sup-bugs@masanjin.net (Rich Lane)
    977 Date: Tue, 10 Nov 2009 06:59:42 +0000
    978 Subject: [sup-devel] [issue8] ruby 1.9 compatibility
    979 Message-ID: <1257836382.46.0.473802932084.issue8@masanjin.net>
    980 
    981 
    982 New submission from Rich Lane <rlane at club.cc.cmu.edu>:
    983 
    984 Tracking bug for 1.9 compatibility.
    985 
    986 ncurses needs a few fixes: http://github.com/rlane/ncurses
    987 
    988 rmail has encoding issues: http://github.com/rlane/rubymail
    989 
    990 Opening mbox files with the "BINARY" encoding seems to work. Patch attached.
    991 
    992 
    993 The rmail patch above is very hacky. But, these combined are enough to let me
    994 index a bunch of spam and run sup with no obvious problems.
    995 
    996 ----------
    997 assignedto: rlane
    998 files: mbox-binary-encoding.patch
    999 messages: 8
   1000 nosy: rlane
   1001 priority: bug
   1002 ruby_version: 1.9.1
   1003 status: unread
   1004 sup_version: 0.9
   1005 title: ruby 1.9 compatibility
   1006 
   1007 _________________________________________
   1008 Sup issue tracker <sup-bugs at masanjin.net>
   1009 <http://masanjin.net/sup-bugs/issue8>
   1010 _________________________________________
   1011 -------------- next part --------------
   1012 A non-text attachment was scrubbed...
   1013 Name: mbox-binary-encoding.patch
   1014 Type: text/x-patch
   1015 Size: 569 bytes
   1016 Desc: not available
   1017 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091110/88600908/attachment.bin>
   1018 
   1019 From sup-bugs@masanjin.net  Tue Nov 10 18:30:32 2009
   1020 From: sup-bugs@masanjin.net (micah)
   1021 Date: Tue, 10 Nov 2009 23:30:32 +0000
   1022 Subject: [sup-devel] [issue9] VCS artifacts being shipped in the gem
   1023 Message-ID: <1257895832.25.0.688101043926.issue9@masanjin.net>
   1024 
   1025 
   1026 New submission from micah <micah at riseup.net>:
   1027 
   1028 There appears to be some VCS artifacts that are the result of a merge that
   1029 wasn't cleaned up being distributed:
   1030 
   1031 pond% find ./ -name \*hook\*                                                   
   1032                                              ~/.gem/ruby/1.8
   1033 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb.html
   1034 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_BASE_8625_rb.html
   1035 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_BASE_8681_rb.html
   1036 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_REMOTE_8681_rb.html
   1037 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_BACKUP_8625_rb.html
   1038 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_LOCAL_8625_rb.html
   1039 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_LOCAL_8681_rb.html
   1040 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_BACKUP_8681_rb.html
   1041 ./doc/sup-0.9/rdoc/files/lib/sup/hook_rb_REMOTE_8625_rb.html
   1042 ./doc/sup-0.9/ri/Redwood/Console/clear_hooks-i.yaml
   1043 ./doc/sup-0.9/ri/Redwood/HookManager/print_hooks-i.yaml
   1044 ./gems/sup-0.9/lib/sup/hook.rb.BASE.8625.rb
   1045 ./gems/sup-0.9/lib/sup/hook.rb.REMOTE.8681.rb
   1046 ./gems/sup-0.9/lib/sup/hook.rb
   1047 ./gems/sup-0.9/lib/sup/hook.rb.BASE.8681.rb
   1048 ./gems/sup-0.9/lib/sup/hook.rb.BACKUP.8625.rb
   1049 ./gems/sup-0.9/lib/sup/hook.rb.LOCAL.8681.rb
   1050 ./gems/sup-0.9/lib/sup/hook.rb.LOCAL.8625.rb
   1051 ./gems/sup-0.9/lib/sup/hook.rb.REMOTE.8625.rb
   1052 ./gems/sup-0.9/lib/sup/hook.rb.BACKUP.8681.rb
   1053 
   1054 ----------
   1055 messages: 9
   1056 nosy: micah
   1057 priority: bug
   1058 ruby_version: 1.8
   1059 status: unread
   1060 sup_version: 0.9
   1061 title: VCS artifacts being shipped in the gem
   1062 
   1063 _________________________________________
   1064 Sup issue tracker <sup-bugs at masanjin.net>
   1065 <http://masanjin.net/sup-bugs/issue9>
   1066 _________________________________________
   1067 
   1068 From sup-bugs@masanjin.net  Wed Nov 11 11:11:29 2009
   1069 From: sup-bugs@masanjin.net (Christopher Bertels)
   1070 Date: Wed, 11 Nov 2009 16:11:29 +0000
   1071 Subject: [sup-devel] [issue10] Show labels of polled messages
   1072 Message-ID: <1257955889.47.0.883956565031.issue10@masanjin.net>
   1073 
   1074 
   1075 New submission from Christopher Bertels <mailinglist at flasht.de>:
   1076 
   1077 I've posted this to the sup-talk mailinglist a month ago, but no one replied and
   1078 so I'll repost it here, since this is what the tracker is for, ain't it ;)
   1079 
   1080 here's the original message, I've also attached the patch (it's based on my
   1081 m17n-branch but it can be easily rebased on master - that is, if there's any
   1082 interest of including this into sup's mainline).
   1083 
   1084 ---------
   1085 
   1086 I always thought it would be nice to see to which labels new polled
   1087 messages have been added. Usually, when I see new messages arrived,
   1088 most of them aren't in my inbox, since I archive the messages of most
   1089 of my sources (e.g. mailinglists like this one).
   1090 
   1091 Then, I usually go and look at the labels-list-mode to see where new
   1092 messages got added. I've attached a patch that displays the labels of
   1093 newly polled messages at the bottom, next to the amount of total
   1094 messages added from polling. The patch is based on my i18n branch, but
   1095 it should be easy to rebase it on next or master.
   1096 
   1097 What do you think of it?
   1098 
   1099 ----------
   1100 files: label_notification.patch
   1101 messages: 10
   1102 nosy: bakkdoor
   1103 priority: feature request
   1104 ruby_version: 1.8
   1105 status: unread
   1106 sup_version: 0.9
   1107 title: Show labels of polled messages
   1108 
   1109 _________________________________________
   1110 Sup issue tracker <sup-bugs at masanjin.net>
   1111 <http://masanjin.net/sup-bugs/issue10>
   1112 _________________________________________
   1113 -------------- next part --------------
   1114 A non-text attachment was scrubbed...
   1115 Name: label_notification.patch
   1116 Type: text/x-patch
   1117 Size: 3505 bytes
   1118 Desc: not available
   1119 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091111/a3c616d3/attachment.bin>
   1120 
   1121 From ph@malaprop.org  Wed Nov 11 14:05:19 2009
   1122 From: ph@malaprop.org (Peter Harkins)
   1123 Date: Wed, 11 Nov 2009 13:05:19 -0600
   1124 Subject: [sup-devel] patches for issues 6 and 10; q about 7
   1125 Message-ID: <1257965837-sup-1835@argyle>
   1126 
   1127 Howdy, new sup user here. I was poking around the issue tracker and
   1128 issues 6 and 10 looked pretty straightforward. 
   1129 http://masanjin.net/sup-bugs/issue6
   1130 http://masanjin.net/sup-bugs/issue10
   1131 
   1132 I've attached my patches to this email as well as uploaded to the
   1133 tracker (it sounds like the workflow is in flux a little right now).
   1134 My git repo is public at http://github.com/Harkins/sup for anyone
   1135 curious.
   1136 
   1137 
   1138 William, would you be interested in a patch for issue 7, adding a
   1139 configurable timeout to each source? I could do this as well.
   1140 http://masanjin.net/sup-bugs/issue7
   1141 
   1142 
   1143 -- 
   1144 Peter Harkins  -  http://push.cx  -  http://NearbyGamers.com
   1145 -------------- next part --------------
   1146 A non-text attachment was scrubbed...
   1147 Name: 0001-Edited-bakkdoor-s-patch-for-issue10-for-next.patch
   1148 Type: application/octet-stream
   1149 Size: 2108 bytes
   1150 Desc: not available
   1151 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091111/93b16c9e/attachment.obj>
   1152 -------------- next part --------------
   1153 A non-text attachment was scrubbed...
   1154 Name: 0001-issue6-Added-ask_for_to-to-match-_cc-_bcc-and-_subje.patch
   1155 Type: application/octet-stream
   1156 Size: 2458 bytes
   1157 Desc: not available
   1158 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091111/93b16c9e/attachment-0001.obj>
   1159 
   1160 From sup-bugs@masanjin.net  Wed Nov 11 17:14:34 2009
   1161 From: sup-bugs@masanjin.net (anonymous)
   1162 Date: Wed, 11 Nov 2009 22:14:34 +0000
   1163 Subject: [sup-devel] [issue11] Add "Reply-To" to the "Reply To" menu
   1164 In-Reply-To: <1257977674.17.0.0680341683131.issue11@masanjin.net>
   1165 Message-ID: <1257977674.17.0.0680341683131.issue11@masanjin.net>
   1166 
   1167 
   1168 New submission from anonymous:
   1169 
   1170 Currently in the "Reply To" menu there are three options: "Sender" "Mailing
   1171 List" and "Customized".
   1172 
   1173 However sometimes (such when subscribing to mailing list) there is mime
   1174 "Reply-To" field that is different from the sender address.
   1175 
   1176 IMO when there is a "Reply-To" mime field, another option should be added to the
   1177 "Reply To" menu (can't think of a good name for it tough).
   1178 
   1179 ----------
   1180 messages: 16
   1181 nosy: anonymous
   1182 priority: feature request
   1183 ruby_version: 1.8.7
   1184 status: unread
   1185 sup_version: 0.9
   1186 title: Add "Reply-To" to the "Reply To" menu
   1187 
   1188 _________________________________________
   1189 Sup issue tracker <sup-bugs at masanjin.net>
   1190 <http://masanjin.net/sup-bugs/issue11>
   1191 _________________________________________
   1192 
   1193 From rlane@club.cc.cmu.edu  Wed Nov 11 23:31:08 2009
   1194 From: rlane@club.cc.cmu.edu (Rich Lane)
   1195 Date: Wed, 11 Nov 2009 23:31:08 -0500
   1196 Subject: [sup-devel] patches for issues 6 and 10; q about 7
   1197 In-Reply-To: <1257965837-sup-1835@argyle>
   1198 References: <1257965837-sup-1835@argyle>
   1199 Message-ID: <1257999287-sup-7196@zyrg.net>
   1200 
   1201 Excerpts from Peter Harkins's message of Wed Nov 11 14:05:19 -0500 2009:
   1202 > Howdy, new sup user here. I was poking around the issue tracker and
   1203 > issues 6 and 10 looked pretty straightforward. 
   1204 > http://masanjin.net/sup-bugs/issue6
   1205 > http://masanjin.net/sup-bugs/issue10
   1206 > 
   1207 > I've attached my patches to this email as well as uploaded to the
   1208 > tracker (it sounds like the workflow is in flux a little right now).
   1209 > My git repo is public at http://github.com/Harkins/sup for anyone
   1210 > curious.
   1211 
   1212 These look good to me. I've pushed them to branches display-poll-labels
   1213 and config-ask-for-to in my repo* and merged them to master.
   1214 
   1215 * git://github.com/rlane/sup
   1216 
   1217 > William, would you be interested in a patch for issue 7, adding a
   1218 > configurable timeout to each source? I could do this as well.
   1219 > http://masanjin.net/sup-bugs/issue7
   1220 
   1221 Go for it. I've had several people want to change the poll interval and
   1222 I've had to tell them to edit the source.
   1223 
   1224 From tero@tilus.net  Thu Nov 12 11:00:18 2009
   1225 From: tero@tilus.net (Tero Tilus)
   1226 Date: Thu, 12 Nov 2009 18:00:18 +0200
   1227 Subject: [sup-devel] [issue11] Add "Reply-To" to the "Reply To" menu
   1228 In-Reply-To: <1257977674.17.0.0680341683131.issue11@masanjin.net>
   1229 References: <1257977674.17.0.0680341683131.issue11@masanjin.net>
   1230 Message-ID: <1258039714-sup-5426@tilus.net>
   1231 
   1232 anonymous, 2009-11-12 00:14:
   1233 > IMO when there is a "Reply-To" mime field, another option should be
   1234 > added to the "Reply To" menu
   1235 
   1236 IMO Reply-To should be the default when available and it seems to be
   1237 too.  This is how recipient is sorted out for reply to option "Sender"
   1238 (from reply-mode.rb, @m is the message)
   1239 
   1240   to = @m.is_list_message? ? @m.from : (@m.replyto || @m.from)
   1241 
   1242 What would be the use-case for separate sender and "reply-to" options?
   1243 
   1244 > (can't think of a good name for it tough).
   1245 
   1246 If there really is need for separate options like that I would pick
   1247 
   1248  - Sender: Reply-To (or From), which would be always available
   1249  - Bounce back: Return-Path (or From), available when it differs from
   1250    the previous
   1251 
   1252 -- 
   1253 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1254 
   1255 From web-sup@superscript.com  Sun Nov 15 18:27:37 2009
   1256 From: web-sup@superscript.com (William Erik Baxter)
   1257 Date: Sun, 15 Nov 2009 18:27:37 -0500
   1258 Subject: [sup-devel] Correct AM/PM selector in DATE_FORMAT
   1259 Message-ID: <1258327627-sup-6728@kronos>
   1260 
   1261 The selector case was incorrect in DATE_FORMAT: %P instead of %p.
   1262 -------------- next part --------------
   1263 A non-text attachment was scrubbed...
   1264 Name: 0001-Correct-AM-PM-selector-in-DATE_FORMAT.patch
   1265 Type: application/octet-stream
   1266 Size: 799 bytes
   1267 Desc: not available
   1268 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091115/02e6c90b/attachment.obj>
   1269 
   1270 From sup-bugs@masanjin.net  Mon Nov 16 16:16:34 2009
   1271 From: sup-bugs@masanjin.net (micah)
   1272 Date: Mon, 16 Nov 2009 21:16:34 +0000
   1273 Subject: [sup-devel] [issue12] fixing gpg keyid handling in signing
   1274 In-Reply-To: <1258406194.83.0.679207394644.issue12@masanjin.net>
   1275 Message-ID: <1258406194.83.0.679207394644.issue12@masanjin.net>
   1276 
   1277 
   1278 New submission from micah <micah at riseup.net>:
   1279 
   1280 I propose that the following gpg invocation in the sign function contained in
   1281 lib/crypto.rb is changed.
   1282 
   1283 from:
   1284 
   1285     output = run_gpg "--output - --armor --detach-sign --textmode --local-user
   1286 '#{from}' #{payload_fn.path}"
   1287 
   1288 to:
   1289 
   1290     output = run_gpg "--output - --armor --detach-sign --textmode
   1291 #{payload_fn.path}"
   1292 
   1293 The reason is because (as I discussed on sup-talk), sup is using the From
   1294 address to guess which gpg key it should use for signing, this is not the right
   1295 thing to do, instead sup should use the default-key that gpg provides, which is
   1296 user configurable in .gnupg/gpg.conf. As it is now, if the user has configured
   1297 this, they are surprised to find that their preferred key is not used, and
   1298 instead a different one could be used, causing issues.
   1299 
   1300 The --local-user flag overrides the default-key setting, which when set in
   1301 .gnupg/gpg.conf is intended to be used unless it is explicitly overridden by the
   1302 --local-user flag, overriding it implicitly is the wrong way to do that.
   1303 
   1304 If I remove the "--local-user '#{from}'" then sup behaves the way I
   1305 expect, ie. it uses the key I have specified in my gpg.conf. 
   1306 
   1307 I'd also suggest that a :gpgkey: account configuration variable is added to sup
   1308 so that a user can specify, for their different account identities, in
   1309 .sup/config.yaml the specific key they wish to use, if they want to. If they do
   1310 not, the behavior should be to use the one that gpg uses, which can be done by
   1311 *not* passing the --local-user flag *unless* the :gpgkey: is specified for that
   1312 account.
   1313 
   1314 ----------
   1315 messages: 20
   1316 nosy: micah
   1317 priority: bug
   1318 ruby_version: 1.8
   1319 status: unread
   1320 sup_version: next
   1321 title: fixing gpg keyid handling in signing
   1322 
   1323 _________________________________________
   1324 Sup issue tracker <sup-bugs at masanjin.net>
   1325 <http://masanjin.net/sup-bugs/issue12>
   1326 _________________________________________
   1327 
   1328 From sup-bugs@masanjin.net  Tue Nov 17 06:31:05 2009
   1329 From: sup-bugs@masanjin.net (Carlos Garcia Campos)
   1330 Date: Tue, 17 Nov 2009 11:31:05 +0000
   1331 Subject: [sup-devel] [issue13] Crypto selector default options
   1332 In-Reply-To: <1258457465.08.0.918987088694.issue13@masanjin.net>
   1333 Message-ID: <1258457465.08.0.918987088694.issue13@masanjin.net>
   1334 
   1335 
   1336 New submission from Carlos Garcia Campos <carlosgc at gnome.org>:
   1337 
   1338 I always send emails from a certain account signed, so every time I compose an email from such 
   1339 account I have to change the Crypto selector option from none to Sign. The thing is that I forget to 
   1340 change that option quite often, so it would be nice if there were an option in the config file to change 
   1341 default crypto options for every account. Or maybe a crypto-hook where I can do it myself. 
   1342 
   1343 Thanks.
   1344 
   1345 ----------
   1346 messages: 21
   1347 nosy: carlosgc
   1348 priority: feature request
   1349 ruby_version: 1.8
   1350 status: unread
   1351 sup_version: next
   1352 title: Crypto selector default options
   1353 
   1354 _________________________________________
   1355 Sup issue tracker <sup-bugs at masanjin.net>
   1356 <http://masanjin.net/sup-bugs/issue13>
   1357 _________________________________________
   1358 
   1359 From sup-bugs@masanjin.net  Tue Nov 17 13:32:20 2009
   1360 From: sup-bugs@masanjin.net (anonymous)
   1361 Date: Tue, 17 Nov 2009 18:32:20 +0000
   1362 Subject: [sup-devel] [issue14] Poll update message should accumulate changes
   1363 	if UI is idle
   1364 In-Reply-To: <1258482740.0.0.442361884723.issue14@masanjin.net>
   1365 Message-ID: <1258482740.0.0.442361884723.issue14@masanjin.net>
   1366 
   1367 
   1368 New submission from anonymous:
   1369 
   1370 I usually leave my sup window up for a long time, and I have lots of filter
   1371 rules in my before-add-message hook, so many of the messages that come in don't
   1372 show up in my inbox.
   1373 
   1374 Could someone who knows what they're doing help me patch the polling update to
   1375 keep a running total of the messages (Found 2 messages, 0 to inbox), so that I
   1376 can see how active mail has been since I last touched it.
   1377 
   1378 We could keep the last update separate from the running total, if that's valuable.
   1379 
   1380 ----------
   1381 messages: 22
   1382 nosy: anonymous
   1383 priority: feature request
   1384 ruby_version: 1.8.7-p72
   1385 status: unread
   1386 sup_version: 0.9.1
   1387 title: Poll update message should accumulate changes if UI is idle
   1388 
   1389 _________________________________________
   1390 Sup issue tracker <sup-bugs at masanjin.net>
   1391 <http://masanjin.net/sup-bugs/issue14>
   1392 _________________________________________
   1393 
   1394 From sup-bugs@masanjin.net  Tue Nov 17 13:36:04 2009
   1395 From: sup-bugs@masanjin.net (Mark Anderson)
   1396 Date: Tue, 17 Nov 2009 18:36:04 +0000
   1397 Subject: [sup-devel] [issue15] BugTracker: Feature requests shouldn't
   1398 	require the Ruby	version
   1399 In-Reply-To: <1258482964.38.0.699410028803.issue15@masanjin.net>
   1400 Message-ID: <1258482964.38.0.699410028803.issue15@masanjin.net>
   1401 
   1402 
   1403 New submission from Mark Anderson <MarkR.Anderson at amd.com>:
   1404 
   1405 I was just entering a feature request, and the ticket wouldn't accept creation
   1406 without a Ruby version.
   1407 
   1408 I agree that Ruby version is a must-have field for bug submission, but perhaps
   1409 the web logic could detect that a feature request doesn't have to have the Ruby
   1410 version supplied.
   1411 
   1412 Just a thought.
   1413 
   1414 ----------
   1415 messages: 23
   1416 nosy: mranders
   1417 priority: feature request
   1418 ruby_version: 1.8.7-p72
   1419 status: unread
   1420 sup_version: 0.9.1
   1421 title: BugTracker: Feature requests shouldn't require the Ruby version
   1422 
   1423 _________________________________________
   1424 Sup issue tracker <sup-bugs at masanjin.net>
   1425 <http://masanjin.net/sup-bugs/issue15>
   1426 _________________________________________
   1427 
   1428 From sup-bugs@masanjin.net  Tue Nov 17 15:29:35 2009
   1429 From: sup-bugs@masanjin.net (Mark Anderson)
   1430 Date: Tue, 17 Nov 2009 20:29:35 +0000
   1431 Subject: [sup-devel] [issue16] Messages on sup startup
   1432 In-Reply-To: <1258489775.12.0.817458172429.issue16@masanjin.net>
   1433 Message-ID: <1258489775.12.0.817458172429.issue16@masanjin.net>
   1434 
   1435 
   1436 New submission from Mark Anderson <MarkR.Anderson at amd.com>:
   1437 
   1438 I see these warnings on startup, and I wondered if they are fixed in some branch
   1439 I'm unaware of? Do they only show up in my version of Ruby?
   1440 
   1441 I had some simple fixes for them, but I still haven't figured out how to
   1442 generate patches.
   1443 
   1444 
   1445 $HOME/src/sup-git/mainline/lib/sup/util.rb:9: warning: method redefined;
   1446 discarding old gen_lock_id
   1447 $HOME/src/sup-git/mainline/lib/sup/util.rb:20: warning: method redefined;
   1448 discarding old dump_lock_id
   1449 [Tue Nov 17 11:37:39 -0700 2009] WARNING: can't find character set by using
   1450 locale, defaulting to utf-8
   1451 $HOME/src/sup-git/mainline/lib/sup/message-chunks.rb:36: warning: method
   1452 redefined; discarding old make_tmpname
   1453 $HOME/src/sup-git/mainline/lib/sup/imap.rb:119: warning: ambiguous first
   1454 argument; put parentheses or even spaces
   1455 $HOME/src/sup-git/mainline/lib/sup/xapian_index.rb:398: warning: `&' interpreted
   1456 as argument prefix
   1457 
   1458 ----------
   1459 messages: 24
   1460 nosy: mranders
   1461 priority: bug
   1462 ruby_version: 1.8.7-p72
   1463 status: unread
   1464 sup_version: 0.9.1
   1465 title: Messages on sup startup
   1466 
   1467 _________________________________________
   1468 Sup issue tracker <sup-bugs at masanjin.net>
   1469 <http://masanjin.net/sup-bugs/issue16>
   1470 _________________________________________
   1471 
   1472 From sup-bugs@masanjin.net  Tue Nov 17 15:43:57 2009
   1473 From: sup-bugs@masanjin.net (Benoit PIERRE)
   1474 Date: Tue, 17 Nov 2009 20:43:57 +0000
   1475 Subject: [sup-devel] [issue17] signature dectecion regexp to liberal
   1476 In-Reply-To: <1258490637.79.0.340874377555.issue17@masanjin.net>
   1477 Message-ID: <1258490637.79.0.340874377555.issue17@masanjin.net>
   1478 
   1479 
   1480 New submission from Benoit PIERRE <benoit.pierre at gmail.com>:
   1481 
   1482 For example I receive some messages from http://appdb.winehq.org who look like this:
   1483 
   1484 Test Results added to version 1.x of Fallout 3 by xxxx
   1485 -------------------------------------------------------
   1486 http://appdb.winehq.org/objectManager.php?sClass=version&iId=14322&iTestingId=46626
   1487 This Test data has been submitted by xxxx.
   1488 Appdb admin reply text:
   1489 Since something is not working, it's not gold.
   1490 
   1491 Best regards.
   1492 The AppDB team
   1493 http://appdb.winehq.org/
   1494 
   1495 resulting in sup marking the whole body (except the fist line) as a signature.
   1496 
   1497 I know not every mailer stick to ^-- $, but maybe sup could use some kind of
   1498 heuristic based on the size of the signature?
   1499 
   1500 Also, ironically, the messages I receive from the sup mailing list end in:
   1501 
   1502 _______________________________________________
   1503 sup-talk mailing list
   1504 sup-talk at rubyforge.org
   1505 http://rubyforge.org/mailman/listinfo/sup-talk
   1506 
   1507 with an added:
   1508 _________________________________________
   1509 Sup issue tracker <sup-bugs at masanjin.net>
   1510 <http://masanjin.net/sup-bugs/issue12>
   1511 _________________________________________
   1512 
   1513 
   1514 when they come from the tracker...
   1515 
   1516 ----------
   1517 messages: 25
   1518 nosy: bpierre
   1519 priority: bug
   1520 ruby_version: 1.8.7
   1521 status: unread
   1522 sup_version: all
   1523 title: signature dectecion regexp to liberal
   1524 
   1525 _________________________________________
   1526 Sup issue tracker <sup-bugs at masanjin.net>
   1527 <http://masanjin.net/sup-bugs/issue17>
   1528 _________________________________________
   1529 
   1530 From ingmar@exherbo.org  Tue Nov 17 18:25:26 2009
   1531 From: ingmar@exherbo.org (Ingmar Vanhassel)
   1532 Date: Wed, 18 Nov 2009 00:25:26 +0100
   1533 Subject: [sup-devel] [PATCH] Comment tweak,
   1534 	XapianIndex doesn't use GDBM anymore since 4d82ef88
   1535 Message-ID: <1258500326-17510-1-git-send-email-ingmar@exherbo.org>
   1536 
   1537 ---
   1538  lib/sup/xapian_index.rb |    2 +-
   1539  1 files changed, 1 insertions(+), 1 deletions(-)
   1540 
   1541 A really minor comment tweak, but I'd still like to see it fixed... :-)
   1542 
   1543 diff --git a/lib/sup/xapian_index.rb b/lib/sup/xapian_index.rb
   1544 index 34d67d5..cebb148 100644
   1545 --- a/lib/sup/xapian_index.rb
   1546 +++ b/lib/sup/xapian_index.rb
   1547 @@ -3,7 +3,7 @@ require 'set'
   1548  
   1549  module Redwood
   1550  
   1551 -# This index implementation uses Xapian for searching and GDBM for storage. It
   1552 +# This index implementation uses Xapian for searching and storage. It
   1553  # tends to be slightly faster than Ferret for indexing and significantly faster
   1554  # for searching due to precomputing thread membership.
   1555  class XapianIndex < BaseIndex
   1556 -- 
   1557 1.6.5.2.433.g23cdb
   1558 
   1559 
   1560 From bburky@bburky.com  Wed Nov 18 02:08:00 2009
   1561 From: bburky@bburky.com (Blake Burkhart)
   1562 Date: Wed, 18 Nov 2009 01:08:00 -0600
   1563 Subject: [sup-devel] [PATCH] Added Growl notifications for new messages
   1564 Message-ID: <1258526534-sup-7223@Backspace.local>
   1565 
   1566 I use sup on a Mac and often use the Growl notification system in many apps.
   1567 This would be a useful feature in sup because I often don't have my terminal
   1568 window visible.
   1569 
   1570 The attached patch uses the ruby growl bindings (in the growl gem) to display
   1571 a notification with the text that is normally displayed in the sup window when
   1572 new messages are added to the inbox after polling. For the notification icon I
   1573 just borrowed the Apple Mail.app icon.
   1574 
   1575 I realize this probably isn't something that most people want as it's Mac
   1576 only, but I thought I'd share it for others. If anyone does try it, make sure
   1577 you have the growl gem installed and the growlnotify command line tool
   1578 installed.
   1579 
   1580 As this is currently it will fail if the gem is not installed. I'm not really
   1581 that familiar with this binding enough to make it fail gracefully.
   1582 
   1583 Growl website: http://growl.info/
   1584 
   1585 -- 
   1586 Blake Burkhart
   1587 -------------- next part --------------
   1588 A non-text attachment was scrubbed...
   1589 Name: 0001-Added-Growl-notifications-for-new-messages.patch
   1590 Type: application/octet-stream
   1591 Size: 1203 bytes
   1592 Desc: not available
   1593 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091118/e700eccf/attachment-0001.obj>
   1594 
   1595 From sup-bugs@masanjin.net  Wed Nov 18 04:24:13 2009
   1596 From: sup-bugs@masanjin.net (James Rowe)
   1597 Date: Wed, 18 Nov 2009 09:24:13 +0000
   1598 Subject: [sup-devel] [issue18] Thread loading exception with xapian
   1599 In-Reply-To: <1258536253.12.0.977685357393.issue18@masanjin.net>
   1600 Message-ID: <1258536253.12.0.977685357393.issue18@masanjin.net>
   1601 
   1602 
   1603 New submission from James Rowe <jnrowe at gmail.com>:
   1604 
   1605 When loading all threads using the xapian backend I receive the following 
   1606 exception:
   1607 
   1608     --- RuntimeError from thread: load threads for thread-index-mode
   1609     wrong id called on nil
   1610     ./lib/sup.rb:17:in `id'
   1611     ./lib/sup/modes/thread-index-mode.rb:225:in `update'
   1612     ./lib/sup/hook.rb:122:in `sort_by'
   1613     ./lib/sup/modes/thread-index-mode.rb:225:in `each'
   1614     ./lib/sup/modes/thread-index-mode.rb:225:in `sort_by'
   1615     ./lib/sup/modes/thread-index-mode.rb:225:in `update'
   1616     ./lib/sup/modes/thread-index-mode.rb:223:in `synchronize'
   1617     ./lib/sup/modes/thread-index-mode.rb:223:in `update'
   1618     ./lib/sup/modes/thread-index-mode.rb:637:in `__unprotected_load_n_threads'
   1619     (eval):12:in `load_n_threads'
   1620     ./lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background'
   1621     ./lib/sup.rb:77:in `reporting_thread'
   1622     ./lib/sup.rb:75:in `initialize'
   1623     ./lib/sup.rb:75:in `new'
   1624     ./lib/sup.rb:75:in `reporting_thread'
   1625     ./lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   1626     ./lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   1627     (eval):12:in `load_threads'
   1628     ./bin/sup:199
   1629 
   1630 The message that triggers the exception is attached, luckily it was to a public 
   1631 ML.
   1632 
   1633 ----------
   1634 files: 2,S
   1635 messages: 26
   1636 nosy: jnrowe
   1637 priority: bug
   1638 ruby_version: 1.8.7
   1639 status: unread
   1640 sup_version: 0.9
   1641 title: Thread loading exception with xapian
   1642 
   1643 _________________________________________
   1644 Sup issue tracker <sup-bugs at masanjin.net>
   1645 <http://masanjin.net/sup-bugs/issue18>
   1646 _________________________________________
   1647 -------------- next part --------------
   1648 A non-text attachment was scrubbed...
   1649 Name: 2,S
   1650 Type: application/octet-stream
   1651 Size: 8557 bytes
   1652 Desc: not available
   1653 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091118/627c0497/attachment.obj>
   1654 
   1655 From tero@tilus.net  Wed Nov 18 08:03:20 2009
   1656 From: tero@tilus.net (Tero Tilus)
   1657 Date: Wed, 18 Nov 2009 15:03:20 +0200
   1658 Subject: [sup-devel] [issue14] Poll update message should accumulate
   1659 	changes if UI is idle
   1660 In-Reply-To: <1258482740.0.0.442361884723.issue14@masanjin.net>
   1661 References: <1258482740.0.0.442361884723.issue14@masanjin.net>
   1662 Message-ID: <1258548374-sup-6031@tilus.net>
   1663 
   1664 anonymous, 2009-11-17 20:32:
   1665 > Could someone who knows what they're doing help me patch the polling
   1666 > update to keep a running total of the messages (Found 2 messages, 0
   1667 > to inbox), so that I can see how active mail has been since I last
   1668 > touched it.
   1669 
   1670 Peeking into log buffer doesn't work for you?
   1671 
   1672 > We could keep the last update separate from the running total, if
   1673 > that's valuable.
   1674 
   1675 What would be the appropriate starting point for the running total?
   1676 Sup startup?  You can (I think) write an after-poll hook to do the
   1677 thing.  It might look something like this (minus typos and bugs).
   1678 
   1679 class PollTotals
   1680   cattr_accessor :all
   1681   cattr_accessor :inbox
   1682 end
   1683 
   1684 PollTotals.all ||= 0
   1685 PollTotals.inbox ||= 0
   1686 
   1687 PollTotals.all += num
   1688 PollTotals.inbox += num_inbox
   1689 
   1690 info "Total #{PollTotals.all} messages, #{PollTotals.inbox} to inbox"
   1691 # or however the logger thingy worked...
   1692 
   1693 -- 
   1694 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   1695 
   1696 From sup-bugs@masanjin.net  Wed Nov 18 08:19:49 2009
   1697 From: sup-bugs@masanjin.net (micah)
   1698 Date: Wed, 18 Nov 2009 13:19:49 +0000
   1699 Subject: [sup-devel] [issue19] crash when temporary space is unavailable
   1700 In-Reply-To: <1258550389.35.0.535342663935.issue19@masanjin.net>
   1701 Message-ID: <1258550389.35.0.535342663935.issue19@masanjin.net>
   1702 
   1703 
   1704 New submission from micah <micah at riseup.net>:
   1705 
   1706 My /tmp filled up. This caused sup to crash and burn horribly, leaving me with a
   1707 messed up terminal and some nasty stuff on the screen:
   1708 
   1709 [Wed Nov 18 06:29:03 -0500 2009] ERROR: oh crap, an exception
   1710                                                             
   1711 ----------------------------------------------------------------
   1712                                                                                
   1713                                              I'm very sorry. It seems that an
   1714 error occurred in Sup. Please
   1715                                               accept my sincere apologies. If
   1716 you don't mind, please send the
   1717                                                                                
   1718                              contents of ~/.sup/exception-log.txt and a brief
   1719 report of the
   1720                               circumstances to sup-talk at rubyforge dot orgs so
   1721 that I might
   1722                                                                                
   1723              address this problem. Thank you!
   1724                                                                                
   1725                                              
   1726                                                                                
   1727                                              Sincerely,
   1728                                                                                
   1729                                                        William
   1730  ----------------------------------------------------------------
   1731                                                                  ---
   1732 RuntimeError from thread: periodic poll
   1733                                                                                
   1734                             cannot generate tempfile `/tmp/21653-12-redwood.payload'
   1735                        /usr/lib/ruby/1.8/tempfile.rb:52:in `initialize'
   1736                                                                       
   1737 /usr/lib/ruby/1.8/sup/crypto.rb:84:in `new'
   1738                                                                                
   1739                                   /usr/lib/ruby/1.8/sup/crypto.rb:84:in `verify'
   1740                    /usr/lib/ruby/1.8/sup/util.rb:520:in `send'
   1741 
   1742 THe exception log has this:
   1743 
   1744 --- RuntimeError from thread: periodic poll
   1745 cannot generate tempfile `/tmp/21653-12-redwood.payload'
   1746 /usr/lib/ruby/1.8/tempfile.rb:52:in `initialize'
   1747 /usr/lib/ruby/1.8/sup/crypto.rb:84:in `new'
   1748 /usr/lib/ruby/1.8/sup/crypto.rb:84:in `verify'
   1749 /usr/lib/ruby/1.8/sup/util.rb:520:in `send'
   1750 /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
   1751 /usr/lib/ruby/1.8/sup/message.rb:388:in `multipart_signed_to_chunks'
   1752 /usr/lib/ruby/1.8/sup/message.rb:428:in `message_to_chunks'
   1753 /usr/lib/ruby/1.8/sup/message.rb:239:in `load_from_source!'
   1754 /usr/lib/ruby/1.8/sup/message.rb:335:in `build_from_source'
   1755 /usr/lib/ruby/1.8/sup/poll.rb:145:in `each_message_from'
   1756 /usr/lib/ruby/1.8/sup/maildir.rb:160:in `each'
   1757 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `upto'
   1758 /usr/lib/ruby/1.8/sup/maildir.rb:157:in `each'
   1759 /usr/lib/ruby/1.8/sup/util.rb:560:in `send'
   1760 /usr/lib/ruby/1.8/sup/util.rb:560:in `__pass'
   1761 /usr/lib/ruby/1.8/sup/util.rb:547:in `method_missing'
   1762 /usr/lib/ruby/1.8/sup/poll.rb:139:in `each_message_from'
   1763 /usr/lib/ruby/1.8/sup/poll.rb:93:in `do_poll'
   1764 /usr/lib/ruby/1.8/sup/poll.rb:81:in `each'
   1765 /usr/lib/ruby/1.8/sup/poll.rb:81:in `do_poll'
   1766 /usr/lib/ruby/1.8/sup/poll.rb:80:in `synchronize'
   1767 /usr/lib/ruby/1.8/sup/poll.rb:80:in `do_poll'
   1768 /usr/lib/ruby/1.8/sup/util.rb:520:in `send'
   1769 /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
   1770 /usr/lib/ruby/1.8/sup/modes/poll-mode.rb:15:in `poll'
   1771 /usr/lib/ruby/1.8/sup/poll.rb:48:in `poll'
   1772 /usr/lib/ruby/1.8/sup/poll.rb:65:in `start'
   1773 /usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
   1774 /usr/lib/ruby/1.8/sup.rb:74:in `initialize'
   1775 /usr/lib/ruby/1.8/sup.rb:74:in `new'
   1776 /usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread'
   1777 /usr/lib/ruby/1.8/sup/poll.rb:62:in `start'
   1778 /usr/lib/ruby/1.8/sup/util.rb:520:in `send'
   1779 /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
   1780 /usr/bin/sup-mail:202
   1781 
   1782 I certainly don't expect sup to work when /tmp is full, but perhaps a more
   1783 graceful handling of these conditions is in order?
   1784 
   1785 ----------
   1786 messages: 30
   1787 nosy: micah
   1788 priority: bug
   1789 ruby_version: 1.8
   1790 status: unread
   1791 sup_version: next
   1792 title: crash when temporary space is unavailable
   1793 
   1794 _________________________________________
   1795 Sup issue tracker <sup-bugs at masanjin.net>
   1796 <http://masanjin.net/sup-bugs/issue19>
   1797 _________________________________________
   1798 
   1799 From sup-bugs@masanjin.net  Wed Nov 18 09:56:31 2009
   1800 From: sup-bugs@masanjin.net (Jon Dowland)
   1801 Date: Wed, 18 Nov 2009 14:56:31 +0000
   1802 Subject: [sup-devel] [issue20] Rakefile tweaks relating to dependencies
   1803 In-Reply-To: <1258556191.32.0.524787040794.issue20@masanjin.net>
   1804 Message-ID: <1258556191.32.0.524787040794.issue20@masanjin.net>
   1805 
   1806 
   1807 New submission from Jon Dowland <jon+masanjin.net at alcopop.org>:
   1808 
   1809 Disclaimer: I know next to nothing about rake, and I didn't want to install sup 
   1810 via rubygems.
   1811 
   1812 I've just gone through a dance like so
   1813 
   1814 $ rake
   1815    rake aborted!
   1816    no such file to load -- <some-dependency>
   1817 
   1818 resolve the dependency, rinse and repeat, until I figure out that there's no 
   1819 default target for the Rakefile anyway.
   1820 
   1821 Is it possible for rake to emit a list of all required (and missing) packages, 
   1822 the first time a load fails? That would be nice.
   1823 
   1824 Also, some dependencies did not fail in this way, and instead caused sup-config 
   1825 to die later on. These were highline and trollop. I've no idea why the "rake" 
   1826 step didn't pick up on these, they are clearly in the Rakefile...
   1827 
   1828 ----------
   1829 messages: 31
   1830 nosy: jon
   1831 priority: feature request
   1832 ruby_version: 1.8
   1833 status: unread
   1834 sup_version: 44336aa8ce39ea0769ad03ec3fac483ddc0e855b
   1835 title: Rakefile tweaks relating to dependencies
   1836 
   1837 _________________________________________
   1838 Sup issue tracker <sup-bugs at masanjin.net>
   1839 <http://masanjin.net/sup-bugs/issue20>
   1840 _________________________________________
   1841 
   1842 From rlane@club.cc.cmu.edu  Wed Nov 18 12:20:52 2009
   1843 From: rlane@club.cc.cmu.edu (Rich Lane)
   1844 Date: Wed, 18 Nov 2009 12:20:52 -0500
   1845 Subject: [sup-devel] [PATCH] Added Growl notifications for new messages
   1846 In-Reply-To: <1258526534-sup-7223@Backspace.local>
   1847 References: <1258526534-sup-7223@Backspace.local>
   1848 Message-ID: <1258564558-sup-4079@zyrg.net>
   1849 
   1850 Excerpts from Blake Burkhart's message of Wed Nov 18 02:08:00 -0500 2009:
   1851 > The attached patch uses the ruby growl bindings (in the growl gem) to display
   1852 > a notification with the text that is normally displayed in the sup window when
   1853 > new messages are added to the inbox after polling. For the notification icon I
   1854 > just borrowed the Apple Mail.app icon.
   1855 
   1856 I think the after-poll hook provides the variables you need. If you
   1857 could refactor it into that hook it would be a nice addition to the
   1858 Hooks wiki page.
   1859 
   1860 From markr.anderson@amd.com  Wed Nov 18 14:30:49 2009
   1861 From: markr.anderson@amd.com (Mark Anderson)
   1862 Date: Wed, 18 Nov 2009 12:30:49 -0700
   1863 Subject: [sup-devel] [issue14] Poll update message should accumulate
   1864 	changes if UI is idle
   1865 In-Reply-To: <1258548374-sup-6031@tilus.net>
   1866 References: <1258482740.0.0.442361884723.issue14@masanjin.net>
   1867 	<1258548374-sup-6031@tilus.net>
   1868 Message-ID: <1258571852-sup-3843@testarossa>
   1869 
   1870 Excerpts from Tero Tilus's message of Wed Nov 18 06:03:20 -0700 2009:
   1871 > anonymous, 2009-11-17 20:32:
   1872 > > Could someone who knows what they're doing help me patch the polling
   1873 > > update to keep a running total of the messages (Found 2 messages, 0
   1874 > > to inbox), so that I can see how active mail has been since I last
   1875 > > touched it.
   1876 > 
   1877 > Peeking into log buffer doesn't work for you?
   1878 
   1879 Peeking into the log buffer requires me to do an action when all I
   1880 want to know is a summary of the actions the program has taken while
   1881 I've been away. It's actually already trying to tell me what it's
   1882 done, but it's only telling me what happened as a part of the last
   1883 polling action.
   1884 
   1885 I'd like to know the summary of the polling actions since I last
   1886 *touched* sup, not just the result of the last polling action, which
   1887 is often along the line of "0 messages, 0 to inbox".
   1888 
   1889 I don't have a memory location inside my brain dedicated to the time
   1890 of my last interaction with the mail client. To make sense of the
   1891 polling log I need to have some idea of what the changes are since I
   1892 last looked at it, more things to remember.  The computer should be
   1893 able to relieve me of some of those things, at least that's what I
   1894 want it to do.
   1895 
   1896 > > > We could keep the last update separate from the running total, if
   1897 > > that's valuable.
   1898 > 
   1899 > What would be the appropriate starting point for the running total?
   1900 > Sup startup?  You can (I think) write an after-poll hook to do the
   1901 > thing.  It might look something like this (minus typos and bugs).
   1902 
   1903 I want to clear the running total each time I interact with the
   1904 interface, but that's too vague.  I don't think I want some flag
   1905 updated each time I press a key, although that would probably give me
   1906 most of what I'm looking for here.
   1907 
   1908 I need a tighter definition of when I want to have the PollTotals
   1909 cleared.  Here is a short list of some possibilities.
   1910 
   1911 1. Every time I press any key on the keyboard
   1912 
   1913 2. Every time I intentionally visit the inbox-mode (such as 'I' or
   1914    visiting the inbox-mode buffer from the buffer-list screen, not
   1915    just cycling 'b', that might be an accidental visit)
   1916 
   1917 3. Some new command to specifically flush the counter
   1918 
   1919 4. The right thing I can't think of yet.
   1920 
   1921 -Mark
   1922 
   1923 
   1924 From markr.anderson@amd.com  Wed Nov 18 15:27:03 2009
   1925 From: markr.anderson@amd.com (Mark Anderson)
   1926 Date: Wed, 18 Nov 2009 13:27:03 -0700
   1927 Subject: [sup-devel] [issue14] Poll update message should accumulate
   1928 	changes if UI is idle
   1929 In-Reply-To: <1258571852-sup-3843@testarossa>
   1930 References: <1258482740.0.0.442361884723.issue14@masanjin.net>
   1931 	<1258548374-sup-6031@tilus.net> <1258571852-sup-3843@testarossa>
   1932 Message-ID: <1258575879-sup-7642@testarossa>
   1933 
   1934 
   1935 So I tried cattr_accessor, and that doesn't work without Rails, apparently, so I just did this:
   1936 
   1937 class PollTotals
   1938   def PollTotals.all
   1939     @@all
   1940   end
   1941   def PollTotals.all=(value)
   1942     @@all=value
   1943   end
   1944 
   1945   def PollTotals.inbox
   1946     @@inbox
   1947   end
   1948   def PollTotals.inbox=(value)
   1949     @@inbox=value
   1950   end
   1951 
   1952   @@all=0
   1953   @@inbox=0
   1954 end
   1955 
   1956 PollTotals.all   += num
   1957 PollTotals.inbox += num_inbox
   1958 
   1959 info "Total #{PollTotals.all} messages, #{PollTotals.inbox} to inbox"
   1960 # or however the logger thingy worked...
   1961 
   1962 However, that gives the following. 
   1963 
   1964 Loaded 1 new message, 0 to inbox.
   1965 /home/manderso/.sup/hooks/after-poll.rb:2: warning: redefine all
   1966 /home/manderso/.sup/hooks/after-poll.rb:5: warning: redefine all=
   1967 /home/manderso/.sup/hooks/after-poll.rb:9: warning: redefine inbox
   1968 /home/manderso/.sup/hooks/after-poll.rb:12: warning: redefine inbox=
   1969 
   1970 It seems a bit wasteful to redefine the class every time through, is there a better hook to put this in?
   1971 
   1972 
   1973 From bburky@bburky.com  Wed Nov 18 16:52:09 2009
   1974 From: bburky@bburky.com (Blake Burkhart)
   1975 Date: Wed, 18 Nov 2009 15:52:09 -0600
   1976 Subject: [sup-devel] [PATCH] Added Growl notifications for new messages
   1977 In-Reply-To: <1258569836-sup-5572@Backspace.local>
   1978 References: <1258526534-sup-7223@Backspace.local>
   1979 	<1258564558-sup-4079@zyrg.net>
   1980 	<1258569836-sup-5572@Backspace.local>
   1981 Message-ID: <1258580571-sup-648@Backspace.local>
   1982 
   1983 Excerpts from Blake Burkhart's message of Wed Nov 18 12:46:03 -0600 2009:
   1984 > Excerpts from Rich Lane's message of Wed Nov 18 11:20:52 -0600 2009:
   1985 > > I think the after-poll hook provides the variables you need. If you
   1986 > > could refactor it into that hook it would be a nice addition to the
   1987 > > Hooks wiki page.
   1988 > 
   1989 > Oh, really? I didn't really know too much about the hooks other than the basic
   1990 > before-add-message one I'm using. Sure, I'll try to refactor it and add to the
   1991 > wiki.
   1992 
   1993 Okay. I added it to the Hooks wiki page in the form of a after-poll hook. I
   1994 didn't realize there were so many hooks.
   1995 
   1996 -- 
   1997 Blake Burkhart
   1998 
   1999 From markr.anderson@amd.com  Wed Nov 18 17:50:39 2009
   2000 From: markr.anderson@amd.com (Mark Anderson)
   2001 Date: Wed, 18 Nov 2009 15:50:39 -0700
   2002 Subject: [sup-devel] thread confusion
   2003 Message-ID: <1258584557-sup-3267@testarossa>
   2004 
   2005 I have a thread that shows up 2 messages in one view (search on a number in the title)
   2006 
   2007 And shows up as 1 message in another view (search-mode on a label)
   2008 
   2009 When I added another label to the view where I could see both messages in one thread, and '$' to commit the changes, the thread shows up properly in the label view.
   2010 
   2011 Any ideas what was going on?
   2012 
   2013 I'm using Xapian.
   2014 
   2015 -Mark
   2016 
   2017 
   2018 From tero@tilus.net  Thu Nov 19 00:43:02 2009
   2019 From: tero@tilus.net (Tero Tilus)
   2020 Date: Thu, 19 Nov 2009 07:43:02 +0200
   2021 Subject: [sup-devel] [issue14] Poll update message should accumulate
   2022 	changes if UI is idle
   2023 In-Reply-To: <1258575879-sup-7642@testarossa>
   2024 References: <1258482740.0.0.442361884723.issue14@masanjin.net>
   2025 	<1258548374-sup-6031@tilus.net> <1258571852-sup-3843@testarossa>
   2026 	<1258575879-sup-7642@testarossa>
   2027 Message-ID: <1258609244-sup-8616@tilus.net>
   2028 
   2029 Mark Anderson, 2009-11-18 22:27:
   2030 > It seems a bit wasteful to redefine the class every time through, is
   2031 > there a better hook to put this in?
   2032 
   2033 Put the class in poll_totals.rb and require 'poll_totals' in the hook.
   2034 You might need to hardcode path to require.
   2035 
   2036 -- 
   2037 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2038 
   2039 From markr.anderson@amd.com  Thu Nov 19 02:21:44 2009
   2040 From: markr.anderson@amd.com (Mark Anderson)
   2041 Date: Thu, 19 Nov 2009 00:21:44 -0700
   2042 Subject: [sup-devel] [issue14] Poll update message should accumulate
   2043 	changes if UI is idle
   2044 In-Reply-To: <1258609244-sup-8616@tilus.net>
   2045 References: <1258482740.0.0.442361884723.issue14@masanjin.net>
   2046 	<1258548374-sup-6031@tilus.net> <1258571852-sup-3843@testarossa>
   2047 	<1258575879-sup-7642@testarossa> <1258609244-sup-8616@tilus.net>
   2048 Message-ID: <1258615176-sup-3338@testarossa>
   2049 
   2050 Excerpts from Tero Tilus's message of Wed Nov 18 22:43:02 -0700 2009:
   2051 > Mark Anderson, 2009-11-18 22:27:
   2052 > > It seems a bit wasteful to redefine the class every time through, is
   2053 > > there a better hook to put this in?
   2054 > 
   2055 > Put the class in poll_totals.rb and require 'poll_totals' in the hook.
   2056 > You might need to hardcode path to require.
   2057 
   2058 I actually just put the class definition in startup.rb, which I prefer. 
   2059 
   2060 It's probably not considered as "clean", but it works.
   2061 
   2062 -Mark
   2063 
   2064 
   2065 From cam+sup@cammunism.org  Thu Nov 19 03:13:51 2009
   2066 From: cam+sup@cammunism.org (Cameron Matheson)
   2067 Date: Thu, 19 Nov 2009 01:13:51 -0700
   2068 Subject: [sup-devel] [PATCH] Make sup's textfield behave more like readline
   2069 Message-ID: <1258618384-sup-3721@cammunism.org>
   2070 
   2071 Hello,
   2072 
   2073 I've noticed that when using the Ctrl-a keybinding in sup's textfield,
   2074 the entire input is deleted after typing anything if C-a was the first
   2075 key pressed.  I've also been missing readline's C-u (deletes anything
   2076 before the cursor).  I've attached a patch to fix/implement these
   2077 issues.  The C-u implementation is a bit ugly, but I couldn't find a
   2078 better way to do it in ncurses.
   2079 
   2080 I also switched some of the key-code integers to character-literal
   2081 syntax as I thought that was a bit more readable.
   2082 
   2083 Thanks,
   2084 Cameron
   2085 -------------- next part --------------
   2086 A non-text attachment was scrubbed...
   2087 Name: sup-readline.patch
   2088 Type: application/octet-stream
   2089 Size: 1354 bytes
   2090 Desc: not available
   2091 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091119/9be23329/attachment.obj>
   2092 
   2093 From tero@tilus.net  Thu Nov 19 03:30:33 2009
   2094 From: tero@tilus.net (Tero Tilus)
   2095 Date: Thu, 19 Nov 2009 10:30:33 +0200
   2096 Subject: [sup-devel] [issue15] BugTracker: Feature requests shouldn't
   2097 	require the Ruby version
   2098 In-Reply-To: <1258482964.38.0.699410028803.issue15@masanjin.net>
   2099 References: <1258482964.38.0.699410028803.issue15@masanjin.net>
   2100 Message-ID: <1258619263-sup-3040@tilus.net>
   2101 
   2102 Mark Anderson, 2009-11-17 20:36:
   2103 > I was just entering a feature request, and the ticket wouldn't
   2104 > accept creation without a Ruby version.
   2105 
   2106 For now it might be better to use 'none' in cases where version really
   2107 doesn't matter at all.
   2108 
   2109 > I agree that Ruby version is a must-have field for bug submission,
   2110 > but perhaps the web logic could detect that a feature request
   2111 > doesn't have to have the Ruby version supplied.
   2112 
   2113 Ruby version could IMO be a list just like 'Tags'.  If it is made
   2114 mandatory for bugs only the list should contain 'dunno' too and the
   2115 name could be 'Affected ruby versions'.
   2116 
   2117 Could we already kick off a discussion regarding wanted/needed changes
   2118 to tracker layout?
   2119 
   2120 -- 
   2121 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2122 
   2123 From markr.anderson@amd.com  Thu Nov 19 17:46:19 2009
   2124 From: markr.anderson@amd.com (Mark Anderson)
   2125 Date: Thu, 19 Nov 2009 15:46:19 -0700
   2126 Subject: [sup-devel] Exception log
   2127 Message-ID: <1258670687-sup-3418@testarossa>
   2128 
   2129 I was just going through and deleting an older buffer.
   2130 
   2131 I don't know anything specifically about the state of the thread that was being visited.
   2132 
   2133 -Mark
   2134 
   2135 
   2136 --- NoMethodError from thread: load messages for thread-view-mode
   2137 undefined method `content_width' for nil:NilClass
   2138 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:876:in `from_width'
   2139 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:801:in `text_for_thread_at'
   2140 /home/manderso/src/sup-git/mainline/lib/sup/hook.rb:55:in `each_with_index'
   2141 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:800:in `each'
   2142 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:800:in `each_with_index'
   2143 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:800:in `text_for_thread_at'
   2144 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:751:in `update_text_for_line'
   2145 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:119:in `select'
   2146 /home/manderso/src/sup-git/mainline/lib/sup.rb:77:in `reporting_thread'
   2147 /home/manderso/src/sup-git/mainline/lib/sup.rb:75:in `initialize'
   2148 /home/manderso/src/sup-git/mainline/lib/sup.rb:75:in `new'
   2149 /home/manderso/src/sup-git/mainline/lib/sup.rb:75:in `reporting_thread'
   2150 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:101:in `select'
   2151 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:151:in `launch_another_thread'
   2152 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-index-mode.rb:133:in `launch_next_thread_after'
   2153 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-view-mode.rb:518:in `dispatch'
   2154 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-view-mode.rb:490:in `delete_and_then'
   2155 /home/manderso/src/sup-git/mainline/lib/sup/modes/thread-view-mode.rb:465:in `delete_and_next'
   2156 /home/manderso/src/sup-git/mainline/lib/sup/mode.rb:51:in `send'
   2157 /home/manderso/src/sup-git/mainline/lib/sup/mode.rb:51:in `handle_input'
   2158 /home/manderso/src/sup-git/mainline/lib/sup/buffer.rb:265:in `handle_input'
   2159 /home/manderso/src/sup-git/mainline/bin/sup:243
   2160 
   2161 
   2162 From rlane@club.cc.cmu.edu  Thu Nov 19 23:51:02 2009
   2163 From: rlane@club.cc.cmu.edu (Rich Lane)
   2164 Date: Thu, 19 Nov 2009 23:51:02 -0500
   2165 Subject: [sup-devel] Correct AM/PM selector in DATE_FORMAT
   2166 In-Reply-To: <1258327627-sup-6728@kronos>
   2167 References: <1258327627-sup-6728@kronos>
   2168 Message-ID: <1258691207-sup-5245@zyrg.net>
   2169 
   2170 Excerpts from William Erik Baxter's message of Sun Nov 15 18:27:37 -0500 2009:
   2171 > The selector case was incorrect in DATE_FORMAT: %P instead of %p.
   2172 
   2173 Branch date-format-fix, merged to master.
   2174 
   2175 git://github.com/rlane/sup
   2176 
   2177 From rlane@club.cc.cmu.edu  Thu Nov 19 23:51:12 2009
   2178 From: rlane@club.cc.cmu.edu (Rich Lane)
   2179 Date: Thu, 19 Nov 2009 23:51:12 -0500
   2180 Subject: [sup-devel] [PATCH] Make sup's textfield behave more like
   2181 	readline
   2182 In-Reply-To: <1258618384-sup-3721@cammunism.org>
   2183 References: <1258618384-sup-3721@cammunism.org>
   2184 Message-ID: <1258691037-sup-6789@zyrg.net>
   2185 
   2186 Excerpts from Cameron Matheson's message of Thu Nov 19 03:13:51 -0500 2009:
   2187 > Hello,
   2188 > 
   2189 > I've noticed that when using the Ctrl-a keybinding in sup's textfield,
   2190 > the entire input is deleted after typing anything if C-a was the first
   2191 > key pressed.  I've also been missing readline's C-u (deletes anything
   2192 > before the cursor).  I've attached a patch to fix/implement these
   2193 > issues.  The C-u implementation is a bit ugly, but I couldn't find a
   2194 > better way to do it in ncurses.
   2195 > 
   2196 > I also switched some of the key-code integers to character-literal
   2197 > syntax as I thought that was a bit more readable.
   2198 > 
   2199 > Thanks,
   2200 > Cameron
   2201 
   2202 I definitely like the control key literals. I'm not an ncurses expert
   2203 though, so I'll hold off on merging this to give one (anyone?) a chance
   2204 to comment.
   2205 
   2206 Branch textfield-tweaks at git://github.com/rlane/sup
   2207 
   2208 From rlane@club.cc.cmu.edu  Thu Nov 19 23:51:17 2009
   2209 From: rlane@club.cc.cmu.edu (Rich Lane)
   2210 Date: Thu, 19 Nov 2009 23:51:17 -0500
   2211 Subject: [sup-devel] [PATCH] Comment tweak,
   2212 	XapianIndex doesn't use GDBM anymore since 4d82ef88
   2213 In-Reply-To: <1258500326-17510-1-git-send-email-ingmar@exherbo.org>
   2214 References: <1258500326-17510-1-git-send-email-ingmar@exherbo.org>
   2215 Message-ID: <1258691742-sup-2434@zyrg.net>
   2216 
   2217 Excerpts from Ingmar Vanhassel's message of Tue Nov 17 18:25:26 -0500 2009:
   2218 > ---
   2219 >  lib/sup/xapian_index.rb |    2 +-
   2220 >  1 files changed, 1 insertions(+), 1 deletions(-)
   2221 > 
   2222 > A really minor comment tweak, but I'd still like to see it fixed... :-)
   2223 
   2224 Branch xapian-comment-fix, merged to master at git://github.com/rlane/sup
   2225 
   2226 From stevenrwalter@gmail.com  Fri Nov 20 09:07:14 2009
   2227 From: stevenrwalter@gmail.com (Steven Walter)
   2228 Date: Fri, 20 Nov 2009 09:07:14 -0500
   2229 Subject: [sup-devel] [PATCH] Make sup's textfield behave more like
   2230 	readline
   2231 In-Reply-To: <1258691037-sup-6789@zyrg.net>
   2232 References: <1258618384-sup-3721@cammunism.org> <1258691037-sup-6789@zyrg.net>
   2233 Message-ID: <e06498070911200607k4575134fla5adf57c11c76c5d@mail.gmail.com>
   2234 
   2235 On Thu, Nov 19, 2009 at 11:51 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   2236 >> I also switched some of the key-code integers to character-literal
   2237 >> syntax as I thought that was a bit more readable.
   2238 >>
   2239 >> Thanks,
   2240 >> Cameron
   2241 >
   2242 > I definitely like the control key literals. I'm not an ncurses expert
   2243 > though, so I'll hold off on merging this to give one (anyone?) a chance
   2244 > to comment.
   2245 
   2246 I like it.  Here's C-w.
   2247 -- 
   2248 -Steven Walter <stevenrwalter at gmail.com>
   2249 "The rotter who simpers that he sees no difference between the power
   2250 of the dollar and the power of the whip, ought to learn the difference
   2251 on his own hide."
   2252     -Francisco d'Anconia, Atlas Shrugged
   2253 -------------- next part --------------
   2254 A non-text attachment was scrubbed...
   2255 Name: 0001-Implement-C-W-for-textfields.patch
   2256 Type: text/x-patch
   2257 Size: 874 bytes
   2258 Desc: not available
   2259 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091120/9d9ad842/attachment.bin>
   2260 
   2261 From sup-bugs@masanjin.net  Fri Nov 20 13:15:35 2009
   2262 From: sup-bugs@masanjin.net (anonymous)
   2263 Date: Fri, 20 Nov 2009 18:15:35 +0000
   2264 Subject: [sup-devel] [issue21] "undefined method" error on sup-sync
   2265 In-Reply-To: <1258740935.07.0.108445056294.issue21@masanjin.net>
   2266 Message-ID: <1258740935.07.0.108445056294.issue21@masanjin.net>
   2267 
   2268 
   2269 New submission from anonymous:
   2270 
   2271 When I run "sup-sync", regardless or the source (I tried IMAP and
   2272 Maildir), I get this error:
   2273 
   2274 $ sup-sync
   2275 Scanning maildir:/home/nedludd/.mail/INBOX...
   2276 /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?':
   2277 undefined method `>=' for true:TrueClass (NoMethodError)
   2278        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
   2279        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in
   2280 `method_missing'
   2281        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:137:in
   2282 `each_message_from'
   2283        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in
   2284 `method_missing'
   2285        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:146:in `block
   2286 in <top (required)>'
   2287        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `each'
   2288        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `<top
   2289 (required)>'
   2290        from /usr/bin/supbin/sup-sync:19:in `load'
   2291        from /usr/bin/supbin/sup-sync:19:in `<main>'
   2292 
   2293 
   2294 [I'm on Arch with sup 0.9 and Ruby 1.9.1]
   2295 
   2296 ----------
   2297 messages: 36
   2298 nosy: anonymous
   2299 priority: bug
   2300 ruby_version: 1.9.1
   2301 status: unread
   2302 sup_version: 0.9
   2303 title: "undefined method" error on sup-sync
   2304 
   2305 _________________________________________
   2306 Sup issue tracker <sup-bugs at masanjin.net>
   2307 <http://masanjin.net/sup-bugs/issue21>
   2308 _________________________________________
   2309 
   2310 From sup-bugs@masanjin.net  Sat Nov 21 14:33:47 2009
   2311 From: sup-bugs@masanjin.net (anonymous)
   2312 Date: Sat, 21 Nov 2009 19:33:47 +0000
   2313 Subject: [sup-devel] [issue22] Remove ncurses gem dependency
   2314 In-Reply-To: <1258832027.7.0.329764082628.issue22@masanjin.net>
   2315 Message-ID: <1258832027.7.0.329764082628.issue22@masanjin.net>
   2316 
   2317 
   2318 New submission from anonymous:
   2319 
   2320 On ubuntu 9.10 there is not gem for ncurses
   2321 sudo gem install ncurses
   2322 ERROR:  could not find gem ncurses locally or in a repository
   2323 
   2324 instead you must install ncurses via apt-get
   2325 sudo apt-get install libncurses-ruby
   2326 
   2327 now when installing a gem that depends on ncurses I still run into problems:
   2328 sudo gem install sup
   2329 ERROR:  Error installing sup:
   2330        sup requires ncurses (>= 0.9.1, runtime)
   2331 
   2332 Now try:
   2333 sudo gem install --ignore-dependencies ncurses sup
   2334 ...
   2335 
   2336 Now execute sup
   2337 /usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find
   2338 RubyGem ncurses (>= 0.9.1) (Gem::LoadError)
   2339        from /usr/lib/ruby/1.8/rubygems.rb:261:in `activate'
   2340        from /usr/lib/ruby/1.8/rubygems.rb:296:in `activate'
   2341        from /usr/lib/ruby/1.8/rubygems.rb:295:in `each'
   2342        from /usr/lib/ruby/1.8/rubygems.rb:295:in `activate'
   2343        from /usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
   2344        from ../bin/sup:18
   2345 
   2346 To fix this issue I had to manually edit the gemspec and comment out the ncurses
   2347 dependency.
   2348 
   2349 I thought maybe it was only ubuntu that didn't have an ncurses gem so I opened a
   2350 feature request with rubygems to maybe automatically comment out ignored
   2351 dependencies and they replied that there is no such gem.    
   2352 
   2353 http://rubyforge.org/tracker/?func=detail&atid=578&aid=27468&group_id=126
   2354 
   2355 ----------
   2356 messages: 37
   2357 nosy: anonymous
   2358 priority: bug
   2359 ruby_version: 1.8.7
   2360 status: unread
   2361 sup_version: 0.9
   2362 title: Remove ncurses gem dependency
   2363 
   2364 _________________________________________
   2365 Sup issue tracker <sup-bugs at masanjin.net>
   2366 <http://masanjin.net/sup-bugs/issue22>
   2367 _________________________________________
   2368 
   2369 From tero@tilus.net  Sun Nov 22 04:08:21 2009
   2370 From: tero@tilus.net (Tero Tilus)
   2371 Date: Sun, 22 Nov 2009 11:08:21 +0200
   2372 Subject: [sup-devel] [issue22] Remove ncurses gem dependency
   2373 In-Reply-To: <1258832027.7.0.329764082628.issue22@masanjin.net>
   2374 References: <1258832027.7.0.329764082628.issue22@masanjin.net>
   2375 Message-ID: <1258879815-sup-3348@tilus.net>
   2376 
   2377 Long story short: I believe there is no reason to remove dependency.
   2378 If I don't hear anything that changes my opinion, I'll close this.
   2379 
   2380 anonymous, 2009-11-21 21:33:
   2381 > On ubuntu 9.10 there is not gem for ncurses
   2382 > sudo gem install ncurses
   2383 > ERROR:  could not find gem ncurses locally or in a repository
   2384 
   2385 Rubygems has its own repo where it looks for gems no matter what
   2386 distro you are on.  On Debian Lenny the situation with ncurses looks
   2387 like this
   2388 
   2389 terotil at kuovi:~$ gem list --remote ncurses
   2390 *** REMOTE GEMS ***
   2391 terotil at kuovi:~$ gem list ncurses
   2392 *** LOCAL GEMS ***
   2393 ncurses (0.9.1)
   2394 terotil at kuovi:~$
   2395 
   2396 I've installed ncurses, but it is not available now.  This is probably
   2397 temporary and due to fact that gems.rubyforge.org has been repointed
   2398 to the gemcutter.org.  I just got this mail
   2399 
   2400  * * *
   2401 From: noreply <noreply at rubyforge.org> 
   2402 To: tero <tero tilus net>
   2403 Date: Sat, 21 Nov 2009 22:51:51 -0500 (EST)
   2404 Subject: [RubyForge] Gem index has been shut down 
   2405 Labels: inbox, rubyforge  
   2406 
   2407 Hello -
   2408 
   2409 You're receiving this email because you're a RubyForge project admin
   2410 and a recent change probably affects you. A few days ago we repointed
   2411 gems.rubyforge.org to the gemcutter.org box.  This means that Nick
   2412 Quaranto's excellent gemcutter app is now indexing and serving all the
   2413 gems - so rather than having two gem indexes, we now have one.  As a
   2414 consequence of this, when you release files to RubyForge you will
   2415 probably also want to do a "gem push" to get them onto gemcutter and
   2416 into the main gem index.
   2417 
   2418 Note that you can continue to release gems (and other files) at
   2419 RubyForge; it's just that gems won't automatically make it into the
   2420 main gem index.
   2421 
   2422 Yours,
   2423 
   2424 The RubyForge support team
   2425 http://rubyforge.org/projects/support/
   2426 
   2427 -- 
   2428 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2429 
   2430 From tero@tilus.net  Mon Nov 23 16:47:55 2009
   2431 From: tero@tilus.net (Tero Tilus)
   2432 Date: Mon, 23 Nov 2009 23:47:55 +0200
   2433 Subject: [sup-devel] [issue22] Remove ncurses gem dependency
   2434 In-Reply-To: <1258879815-sup-3348@tilus.net>
   2435 References: <1258832027.7.0.329764082628.issue22@masanjin.net>
   2436 	<1258879815-sup-3348@tilus.net>
   2437 Message-ID: <1259011961-sup-4195@tilus.net>
   2438 
   2439 Sorry about asking stupid things, but why is sup depending on gem
   2440 ncurses bindings instead of the one bundled with Ruby?  (besides the
   2441 obvious fact that a gem can't quite "depend" on extensions like it
   2442 depends on other gems)
   2443 
   2444 ps. FYI, the ncurses gem is back online.
   2445     http://gems.rubyforge.org/gems/ncurses
   2446 
   2447     terotil at kuovi:~$ gem list --remote ncurses
   2448     *** REMOTE GEMS ***
   2449     ncurses (0.9.1)
   2450 
   2451 -- 
   2452 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2453 
   2454 From cam+sup@cammunism.org  Mon Nov 23 17:25:53 2009
   2455 From: cam+sup@cammunism.org (Cameron Matheson)
   2456 Date: Mon, 23 Nov 2009 15:25:53 -0700
   2457 Subject: [sup-devel] [issue22] Remove ncurses gem dependency
   2458 In-Reply-To: <1259011961-sup-4195@tilus.net>
   2459 References: <1258832027.7.0.329764082628.issue22@masanjin.net>
   2460 	<1258879815-sup-3348@tilus.net> <1259011961-sup-4195@tilus.net>
   2461 Message-ID: <1259014446-sup-128@cammunism.org>
   2462 
   2463 Excerpts from Tero Tilus's message of Mon Nov 23 14:47:55 -0700 2009:
   2464 > Sorry about asking stupid things, but why is sup depending on gem
   2465 > ncurses bindings instead of the one bundled with Ruby?
   2466 
   2467 I think the Curses module is included in the ruby standard lib, but not
   2468 Ncurses (which defines the Form library that sup uses)
   2469 
   2470 Cam
   2471 
   2472 From sup-bugs@masanjin.net  Tue Nov 24 13:58:38 2009
   2473 From: sup-bugs@masanjin.net (anonymous)
   2474 Date: Tue, 24 Nov 2009 18:58:38 +0000
   2475 Subject: [sup-devel] [issue23] Crash shortly after startup
   2476 In-Reply-To: <1259089118.99.0.85235123109.issue23@masanjin.net>
   2477 Message-ID: <1259089118.99.0.85235123109.issue23@masanjin.net>
   2478 
   2479 
   2480 New submission from anonymous:
   2481 
   2482 I added an IMAP source to sup using sup-add, and after that, sup crashed with
   2483 the attached exception-log.txt consistantly shortly after startup. Removing the
   2484 IMAP source prevented the crash.
   2485 
   2486 ----------
   2487 files: exception-log.txt
   2488 messages: 44
   2489 nosy: anonymous
   2490 priority: bug
   2491 ruby_version: 1.8.7
   2492 status: unread
   2493 sup_version: 0.9
   2494 title: Crash shortly after startup
   2495 
   2496 _________________________________________
   2497 Sup issue tracker <sup-bugs at masanjin.net>
   2498 <http://masanjin.net/sup-bugs/issue23>
   2499 _________________________________________
   2500 -------------- next part --------------
   2501 --- ArgumentError from thread: poll after loading inbox
   2502 :(null) isn't a valid argument for IndexReader.get_document(index)
   2503 /var/lib/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:421:in `[]'
   2504 /var/lib/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:421:in `[]'
   2505 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   2506 /var/lib/gems/1.8/gems/ferret-0.11.6/lib/ferret/index.rb:413:in `[]'
   2507 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:257:in `build_message'
   2508 /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
   2509 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:256:in `build_message'
   2510 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
   2511 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   2512 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:94:in `do_poll'
   2513 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:151:in `each_message_from'
   2514 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/imap.rb:197:in `each'
   2515 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/imap.rb:185:in `upto'
   2516 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/imap.rb:185:in `each'
   2517 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `send'
   2518 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
   2519 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:547:in `method_missing'
   2520 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:139:in `each_message_from'
   2521 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:93:in `do_poll'
   2522 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:81:in `each'
   2523 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:81:in `do_poll'
   2524 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:80:in `synchronize'
   2525 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:80:in `do_poll'
   2526 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
   2527 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   2528 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/poll-mode.rb:15:in `poll'
   2529 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:48:in `poll'
   2530 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
   2531 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   2532 /var/lib/gems/1.8/gems/sup-0.9/bin/sup:196
   2533 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:77:in `reporting_thread'
   2534 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `initialize'
   2535 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `new'
   2536 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `reporting_thread'
   2537 /var/lib/gems/1.8/gems/sup-0.9/bin/sup:196
   2538 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:669:in `call'
   2539 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:669:in `__unprotected_load_threads'
   2540 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:610:in `call'
   2541 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:610:in `load_n_threads_background'
   2542 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:77:in `reporting_thread'
   2543 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `initialize'
   2544 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `new'
   2545 /var/lib/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `reporting_thread'
   2546 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
   2547 /var/lib/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
   2548 (eval):12:in `load_threads'
   2549 /var/lib/gems/1.8/gems/sup-0.9/bin/sup:196
   2550 /var/lib/gems/1.8/bin/sup:19:in `load'
   2551 /var/lib/gems/1.8/bin/sup:19
   2552 
   2553 From sup-bugs@masanjin.net  Wed Nov 25 12:26:37 2009
   2554 From: sup-bugs@masanjin.net (Gaute Hope)
   2555 Date: Wed, 25 Nov 2009 17:26:37 +0000
   2556 Subject: [sup-devel] [issue24] sup doesn't understand inline encoding of
   2557 	file names
   2558 In-Reply-To: <1259169997.29.0.0635477316095.issue24@masanjin.net>
   2559 Message-ID: <1259169997.29.0.0635477316095.issue24@masanjin.net>
   2560 
   2561 
   2562 New submission from Gaute Hope <eg at gaute.vetsj.com>:
   2563 
   2564 When I receive emails with attachments with inline encoding such as:
   2565 
   2566 =?ISO-8859-1?Q?framside_sm=E5_stader_STORE_VYER.jpg?=
   2567 
   2568 sup should convert them to: framside_sm?_stader_STORE_VYER.jpg
   2569 
   2570 this has been happening on all different checkouts i've tried.
   2571 
   2572 - gaute
   2573 
   2574 ----------
   2575 messages: 45
   2576 nosy: gauteh
   2577 priority: bug
   2578 ruby_version: 1.8.7
   2579 status: unread
   2580 sup_version: stettberger/time_marks rebased on recent next
   2581 title: sup doesn't understand inline encoding of file names
   2582 
   2583 _________________________________________
   2584 Sup issue tracker <sup-bugs at masanjin.net>
   2585 <http://masanjin.net/sup-bugs/issue24>
   2586 _________________________________________
   2587 
   2588 From sup-bugs@masanjin.net  Wed Nov 25 12:41:44 2009
   2589 From: sup-bugs@masanjin.net (Gaute Hope)
   2590 Date: Wed, 25 Nov 2009 17:41:44 +0000
   2591 Subject: [sup-devel] [issue25] config option: gpg encrypt on default
   2592 In-Reply-To: <1259170904.16.0.17203785843.issue25@masanjin.net>
   2593 Message-ID: <1259170904.16.0.17203785843.issue25@masanjin.net>
   2594 
   2595 
   2596 New submission from Gaute Hope <eg at gaute.vetsj.com>:
   2597 
   2598 Excuse me if this already exists;
   2599 
   2600 An config option to make sup already have the gpg: encrypt, signed, both or none 
   2601 set by default when replying or creating new messages.
   2602 
   2603 - gaute
   2604 
   2605 ----------
   2606 messages: 46
   2607 nosy: gauteh
   2608 priority: feature request
   2609 ruby_version: 1.8.7
   2610 status: unread
   2611 sup_version: git
   2612 title: config option: gpg encrypt on default
   2613 
   2614 _________________________________________
   2615 Sup issue tracker <sup-bugs at masanjin.net>
   2616 <http://masanjin.net/sup-bugs/issue25>
   2617 _________________________________________
   2618 
   2619 From rlane@club.cc.cmu.edu  Thu Nov 26 02:55:42 2009
   2620 From: rlane@club.cc.cmu.edu (Rich Lane)
   2621 Date: Thu, 26 Nov 2009 02:55:42 -0500
   2622 Subject: [sup-devel] encoding branch
   2623 Message-ID: <1259209351-sup-4273@zyrg.net>
   2624 
   2625 I've pushed a branch "encoding" to my repo (git://github.com/rlane/sup)
   2626 which has many fixes for the encoding issues ruby 1.9 creates. It
   2627 successfully indexes the Enron and SpamAssassin corpuses, as well as all
   2628 my own mail. AFAIK we've taken care of all the other ruby 1.9 issues, so
   2629 sup should work fine now. Let me know if it doesn't.
   2630 
   2631 Caveats:
   2632   Xapian-only
   2633   still contains debugging code, so it will be slower
   2634 
   2635 From tero@tilus.net  Thu Nov 26 08:10:31 2009
   2636 From: tero@tilus.net (Tero Tilus)
   2637 Date: Thu, 26 Nov 2009 15:10:31 +0200
   2638 Subject: [sup-devel] [issue24] sup doesn't understand inline encoding of
   2639 	file names
   2640 In-Reply-To: <1259169997.29.0.0635477316095.issue24@masanjin.net>
   2641 References: <1259169997.29.0.0635477316095.issue24@masanjin.net>
   2642 Message-ID: <1259240959-sup-1704@tilus.net>
   2643 
   2644 Gaute Hope, 2009-11-25 19:26:
   2645 > When I receive emails with attachments with inline encoding such as:
   2646 > 
   2647 > =?ISO-8859-1?Q?framside_sm=E5_stader_STORE_VYER.jpg?=
   2648 > 
   2649 > sup should convert them to: framside_sm?_stader_STORE_VYER.jpg
   2650 
   2651 Patch attached.
   2652 
   2653 -- 
   2654 Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
   2655 -------------- next part --------------
   2656 A non-text attachment was scrubbed...
   2657 Name: 0005-RFC-2047-decode-attachment-file-names.patch
   2658 Type: application/octet-stream
   2659 Size: 903 bytes
   2660 Desc: not available
   2661 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091126/ebd263a3/attachment.obj>
   2662 
   2663 From rlane@club.cc.cmu.edu  Fri Nov 27 14:42:34 2009
   2664 From: rlane@club.cc.cmu.edu (Rich Lane)
   2665 Date: Fri, 27 Nov 2009 14:42:34 -0500
   2666 Subject: [sup-devel] [issue24] sup doesn't understand inline encoding of
   2667 	file names
   2668 In-Reply-To: <1259240959-sup-1704@tilus.net>
   2669 References: <1259169997.29.0.0635477316095.issue24@masanjin.net>
   2670 	<1259240959-sup-1704@tilus.net>
   2671 Message-ID: <1259350580-sup-2386@zyrg.net>
   2672 
   2673 Excerpts from Tero Tilus's message of Thu Nov 26 08:10:31 -0500 2009:
   2674 > Gaute Hope, 2009-11-25 19:26:
   2675 > > When I receive emails with attachments with inline encoding such as:
   2676 > > 
   2677 > > =?ISO-8859-1?Q?framside_sm=E5_stader_STORE_VYER.jpg?=
   2678 > > 
   2679 > > sup should convert them to: framside_sm?_stader_STORE_VYER.jpg
   2680 > 
   2681 > Patch attached.
   2682 
   2683 Branch decode-attachment-filenames, merged to master.
   2684 
   2685 From rlane@club.cc.cmu.edu  Fri Nov 27 14:42:42 2009
   2686 From: rlane@club.cc.cmu.edu (Rich Lane)
   2687 Date: Fri, 27 Nov 2009 14:42:42 -0500
   2688 Subject: [sup-devel] [PATCH] Make sup's textfield behave more like
   2689 	readline
   2690 In-Reply-To: <e06498070911200607k4575134fla5adf57c11c76c5d@mail.gmail.com>
   2691 References: <1258618384-sup-3721@cammunism.org> <1258691037-sup-6789@zyrg.net>
   2692 	<e06498070911200607k4575134fla5adf57c11c76c5d@mail.gmail.com>
   2693 Message-ID: <1259350479-sup-2904@zyrg.net>
   2694 
   2695 Excerpts from Steven Walter's message of Fri Nov 20 09:07:14 -0500 2009:
   2696 > On Thu, Nov 19, 2009 at 11:51 PM, Rich Lane <rlane at club.cc.cmu.edu> wrote:
   2697 > >> I also switched some of the key-code integers to character-literal
   2698 > >> syntax as I thought that was a bit more readable.
   2699 > >>
   2700 > >> Thanks,
   2701 > >> Cameron
   2702 > >
   2703 > > I definitely like the control key literals. I'm not an ncurses expert
   2704 > > though, so I'll hold off on merging this to give one (anyone?) a chance
   2705 > > to comment.
   2706 > 
   2707 > I like it.  Here's C-w.
   2708 
   2709 Committed to textfield-tweaks and branch merged to master.
   2710 
   2711 From rlane@club.cc.cmu.edu  Fri Nov 27 16:14:03 2009
   2712 From: rlane@club.cc.cmu.edu (Rich Lane)
   2713 Date: Fri, 27 Nov 2009 16:14:03 -0500
   2714 Subject: [sup-devel] pull request
   2715 Message-ID: <1259356302-sup-3408@zyrg.net>
   2716 
   2717 Hi William,
   2718 
   2719 Please pull branch master from git://github.com/rlane/sup. This includes
   2720 the following topic branches:
   2721 
   2722 xapian-comment-fix
   2723 config-ask-for-to
   2724 fix-bounce-cmd
   2725 display-poll-labels
   2726 decode-attachment-filenames
   2727 textfield-tweaks
   2728 thread-view-mode-undo
   2729 date-format-fix
   2730 
   2731 From sup-bugs@masanjin.net  Sat Nov 28 10:00:20 2009
   2732 From: sup-bugs@masanjin.net (Gaute Hope)
   2733 Date: Sat, 28 Nov 2009 15:00:20 +0000
   2734 Subject: [sup-devel] [issue26] spam protection doesn't work good enough for
   2735 	bug tracker
   2736 In-Reply-To: <1259420420.18.0.727314222342.issue26@masanjin.net>
   2737 Message-ID: <1259420420.18.0.727314222342.issue26@masanjin.net>
   2738 
   2739 
   2740 New submission from Gaute Hope <eg at gaute.vetsj.com>:
   2741 
   2742 I.e.: http://masanjin.net/sup-bugs/issue6
   2743 
   2744 or check the history of: http://masanjin.net/sup-bugs/issue11, i reverted the 
   2745 changes.
   2746 
   2747 - gaute
   2748 
   2749 ----------
   2750 keyword: bugtracker
   2751 messages: 54
   2752 nosy: gauteh
   2753 priority: bug
   2754 ruby_version: ?
   2755 status: unread
   2756 sup_version: ?
   2757 title: spam protection doesn't work good enough for bug tracker
   2758 
   2759 _________________________________________
   2760 Sup issue tracker <sup-bugs at masanjin.net>
   2761 <http://masanjin.net/sup-bugs/issue26>
   2762 _________________________________________
   2763 
   2764 From wmorgan-sup@masanjin.net  Mon Nov 30 08:42:57 2009
   2765 From: wmorgan-sup@masanjin.net (William Morgan)
   2766 Date: Mon, 30 Nov 2009 05:42:57 -0800
   2767 Subject: [sup-devel] pull request
   2768 In-Reply-To: <1259356302-sup-3408@zyrg.net>
   2769 References: <1259356302-sup-3408@zyrg.net>
   2770 Message-ID: <1259588530-sup-8150@masanjin.net>
   2771 
   2772 Reformatted excerpts from Rich Lane's message of 2009-11-27:
   2773 > Please pull branch master from git://github.com/rlane/sup.
   2774 
   2775 Pulled, and merged into next. Awesome stuff. Thanks everyone!
   2776 -- 
   2777 William <wmorgan-sup at masanjin.net>
   2778 
   2779 From sup-bugs@masanjin.net  Mon Nov 30 17:01:49 2009
   2780 From: sup-bugs@masanjin.net (anonymous)
   2781 Date: Mon, 30 Nov 2009 22:01:49 +0000
   2782 Subject: [sup-devel] [issue27] sup-sync crashes on gpg multipart signed
   2783 	message
   2784 In-Reply-To: <1259618509.77.0.166512535731.issue27@masanjin.net>
   2785 Message-ID: <1259618509.77.0.166512535731.issue27@masanjin.net>
   2786 
   2787 
   2788 New submission from anonymous:
   2789 
   2790 sup-sync seems to crash on some mails. I've tried removing the first problematic
   2791 mail, only to have it crash on the next one. I've attached the one this
   2792 stacktrace is from.
   2793 
   2794 Maybe the issue is that the entire mail is multipart/mixed, with a first and a
   2795 second part. The second part is a simple text/plain footer added by Mailman, but
   2796 the first part is a multipart/signed thing (with a different boundary)? 
   2797 
   2798 Updating message
   2799 maildir:/Users/marten/Mail/INBOX.Lists.NotMuch#12594169380004531; labels
   2800 inbox,unread,notmuch => inbox,unread,notmuch; offset 12594169380004531 =>
   2801 12594169380004531
   2802 /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/message.rb:507:in
   2803 `message_to_chunks': undefined method `downcase' for nil:NilClass (NoMethodError)
   2804 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/message.rb:440:in
   2805 `message_to_chunks'
   2806 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/message.rb:440:in `map'
   2807 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/message.rb:440:in
   2808 `message_to_chunks'
   2809 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/message.rb:244:in
   2810 `load_from_source!'
   2811 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/message.rb:340:in
   2812 `build_from_source'
   2813 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/poll.rb:145:in `each_message_from'
   2814 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/maildir.rb:160:in `each'
   2815 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/maildir.rb:157:in `upto'
   2816 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/maildir.rb:157:in `each'
   2817 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `send'
   2818 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
   2819 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/util.rb:547:in `method_missing'
   2820 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/poll.rb:139:in `each_message_from'
   2821 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
   2822 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
   2823 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/bin/sup-sync:146
   2824 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/bin/sup-sync:141:in `each'
   2825 	from /Library/Ruby/Gems/1.8/gems/sup-0.9/bin/sup-sync:141
   2826 	from /usr/bin/sup-sync:19:in `load'
   2827 	from /usr/bin/sup-sync:19
   2828 
   2829 This stacktrace starts at line 507, I had to edit in something to get at the
   2830 filename in of the mail in the maildir store, so it's not quite the same as in
   2831 0.9 gem, and probably not the same as in mainline/master. 507 on my system is:
   2832 
   2833 500  ## if there's a filename, we'll treat it as an attachment.
   2834 501  if filename
   2835 502    # add this to the attachments list if its not a generated html
   2836 503    # attachment (should we allow images with generated names?).
   2837 504    # Lowercase the filename because searches are easier that way 
   2838 505    @attachments.push filename.downcase unless filename =~ /^sup-attachment-/
   2839 506     add_label :attachment unless filename =~ /^sup-attachment-/
   2840 507     content_type = m.header.content_type.downcase || "application/unknown" #
   2841 sometimes RubyMail gives us nil
   2842 508     [Chunk::Attachment.new(content_type, filename, m, sibling_types)]
   2843 
   2844 ----------
   2845 files: sup-problematic-mail
   2846 messages: 55
   2847 nosy: anonymous
   2848 priority: bug
   2849 ruby_version: 1.8.7
   2850 status: unread
   2851 sup_version: 0.9
   2852 title: sup-sync crashes on gpg multipart signed message
   2853 
   2854 _________________________________________
   2855 Sup issue tracker <sup-bugs at masanjin.net>
   2856 <http://masanjin.net/sup-bugs/issue27>
   2857 _________________________________________
   2858 -------------- next part --------------
   2859 A non-text attachment was scrubbed...
   2860 Name: sup-problematic-mail
   2861 Type: application/octet-stream
   2862 Size: 4531 bytes
   2863 Desc: not available
   2864 URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20091130/61ba2340/attachment-0001.obj>
   2865