vmail 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -561,7 +561,6 @@ function! s:more_messages()
561
561
  call append(0, lines)
562
562
  " execute "normal Gdd\<c-y>"
563
563
  setlocal nomodifiable
564
-
565
564
  endfunction
566
565
 
567
566
  " --------------------------------------------------------------------------------
@@ -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
- seqno_uid = [seqno.to_i, uid.to_i].join(':')
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
- seqno_uid.to_s
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. end seqno: #{start_seqno}\n" + res
370
+ "> Load #{[100, remaining].min} more messages. #{remaining} remaining.\n" + res
370
371
  end
371
372
 
372
373
  def show_message(uid, raw=false)
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 2
9
- version: 1.2.2
8
+ - 3
9
+ version: 1.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi