lib/vmail.vim in vmail-1.7.7 vs lib/vmail.vim in vmail-1.7.8
- old
+ new
@@ -476,10 +476,12 @@
let command = s:select_mailbox_command . shellescape(s:mailbox)
redraw
echom "Selecting mailbox: ". s:mailbox . ". Please wait..."
call system(command)
redraw
+ " reset window width now
+ call system(s:set_window_width_command . winwidth(1))
" now get latest 100 messages
call s:focus_list_window()
setlocal modifiable
let command = s:search_command . shellescape("all")
echo "Loading messages..."
@@ -848,11 +850,10 @@
call s:focus_list_window() " to go list window
" send window width
call system(s:set_window_width_command . winwidth(1))
-" TODO complete this feature later. Don't release it half-baked
-autocmd VimResized <buffer> call system(s:set_window_width_command . winwidth(1))
+"autocmd VimResized <buffer> call system(s:set_window_width_command . winwidth(1))
autocmd bufreadpost *.txt call <SID>turn_into_compose_window()
normal G
call system(s:select_mailbox_command . shellescape(s:mailbox))
call s:do_search()