vmail 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +0 -3
- data/TODO +7 -0
- data/lib/vmail/imap_client.rb +4 -1
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
@@ -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
|
|
data/lib/vmail/imap_client.rb
CHANGED
@@ -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
|
-
|
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]
|
data/lib/vmail/version.rb
CHANGED