vmail 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -419,9 +419,6 @@ will show vmail's logging output while MacVim is running. To quit vmail in
419
419
  MacVim mode, first quit the MacVim window running vmail, and then press CTRL-c
420
420
  in the original terminal window to stop the vmail process.
421
421
 
422
- There seems to be a bug in MacVim that prevent some of the status line messages
423
- from becoming visible, but this is minor issue.
424
-
425
422
  ## vmail file byproducts
426
423
 
427
424
  vmail generates a few files in the current directory when it is running:
data/TODO CHANGED
@@ -82,4 +82,11 @@ message cache is consuming 6mb
82
82
  - remap u in message window so that user can undo when editing or
83
83
  annotating the message
84
84
 
85
+ ------------------------------------------------------------------------
86
+ Thu Dec 23 08:40:57 EST 2010
87
+
88
+ * make more robust by putting message UID on message list line,
89
+ * offscreen to the right, and send this over to imap client for any
90
+ * action.
91
+
85
92
 
@@ -409,6 +409,7 @@ module Vmail
409
409
  end
410
410
 
411
411
  def show_message(index, raw=false)
412
+ log "show message: #{index}; current message list cache size: #{current_message_list_cache.size}"
412
413
  return if index.to_i < 0
413
414
  return @current_mail.to_s if raw
414
415
  index = index.to_i
@@ -419,7 +420,9 @@ module Vmail
419
420
  prefetch_adjacent(index) # TODO mark these as unread
420
421
 
421
422
  envelope_data = current_message_list_cache[index]
422
- log envelope_data.inspect
423
+ if envelope_data.nil?
424
+ log "missing envelope_data at index #{index}"
425
+ end
423
426
  # TODO factor this gsubbing stuff out into own function
424
427
  envelope_data[:row_text] = envelope_data[:row_text].gsub(/^\+ /, ' ').gsub(/^\*\+/, '* ') # mark as read in cache
425
428
  seqno = envelope_data[:seqno]
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 2
9
- version: 1.1.2
8
+ - 3
9
+ version: 1.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi