vmail 1.7.7 → 1.7.8

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.
@@ -478,6 +478,8 @@ function! s:select_mailbox()
478
478
  echom "Selecting mailbox: ". s:mailbox . ". Please wait..."
479
479
  call system(command)
480
480
  redraw
481
+ " reset window width now
482
+ call system(s:set_window_width_command . winwidth(1))
481
483
  " now get latest 100 messages
482
484
  call s:focus_list_window()
483
485
  setlocal modifiable
@@ -850,8 +852,7 @@ call s:focus_list_window() " to go list window
850
852
  " send window width
851
853
  call system(s:set_window_width_command . winwidth(1))
852
854
 
853
- " TODO complete this feature later. Don't release it half-baked
854
- autocmd VimResized <buffer> call system(s:set_window_width_command . winwidth(1))
855
+ "autocmd VimResized <buffer> call system(s:set_window_width_command . winwidth(1))
855
856
 
856
857
  autocmd bufreadpost *.txt call <SID>turn_into_compose_window()
857
858
  normal G
@@ -79,10 +79,6 @@ module Vmail
79
79
  get_mailbox_status
80
80
  log "Getting highest message id"
81
81
  get_highest_message_id
82
- if @next_window_width
83
- @width = @next_window_width
84
- end
85
-
86
82
  return "OK"
87
83
  end
88
84
 
@@ -423,11 +419,8 @@ EOF
423
419
  end
424
420
 
425
421
  def window_width=(width)
426
- @next_window_width = width.to_i
427
- if @width.nil?
428
- @width = @next_window_width
429
- end
430
- log "Setting next window width to #{width}"
422
+ @width = width.to_i
423
+ log "Setting window width to #{width}"
431
424
  end
432
425
 
433
426
  def smtp_settings
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.7.7'
2
+ VERSION = '1.7.8'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.7.7
5
+ version: 1.7.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi