vmail 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail.vim +0 -1
- data/lib/vmail/imap_client.rb +4 -3
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/lib/vmail.vim
CHANGED
data/lib/vmail/imap_client.rb
CHANGED
@@ -226,13 +226,13 @@ module Vmail
|
|
226
226
|
mid_width = @width - 38
|
227
227
|
address_col_width = (mid_width * 0.3).ceil
|
228
228
|
subject_col_width = (mid_width * 0.7).floor
|
229
|
-
|
229
|
+
identifier = [@mailbox, [seqno.to_i, uid.to_i].join(':')].join(';')
|
230
230
|
row_text = [ flags.col(2),
|
231
231
|
(date_formatted || '').col(14),
|
232
232
|
address.col(address_col_width),
|
233
233
|
subject.col(subject_col_width),
|
234
234
|
number_to_human_size(size).rcol(7),
|
235
|
-
|
235
|
+
identifier.to_s
|
236
236
|
].join(' | ')
|
237
237
|
{:uid => uid, :seqno => seqno, :row_text => row_text}
|
238
238
|
rescue
|
@@ -326,6 +326,7 @@ module Vmail
|
|
326
326
|
@ids = @ids + new_ids
|
327
327
|
log "- update: new uids: #{new_ids.inspect}"
|
328
328
|
if !new_ids.empty?
|
329
|
+
self.max_seqno = new_ids[-1]
|
329
330
|
res = fetch_row_text(new_ids, false, true)
|
330
331
|
res
|
331
332
|
else
|
@@ -366,7 +367,7 @@ module Vmail
|
|
366
367
|
return "showing all matches\n" + res
|
367
368
|
end
|
368
369
|
log "remaining messages: #{remaining}"
|
369
|
-
"> Load #{[100, remaining].min} more messages. #{remaining} remaining
|
370
|
+
"> Load #{[100, remaining].min} more messages. #{remaining} remaining.\n" + res
|
370
371
|
end
|
371
372
|
|
372
373
|
def show_message(uid, raw=false)
|
data/lib/vmail/version.rb
CHANGED