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.
- data/lib/vmail.vim +3 -2
- data/lib/vmail/imap_client.rb +2 -9
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail.vim
CHANGED
@@ -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
|
-
"
|
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
|
data/lib/vmail/imap_client.rb
CHANGED
@@ -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
|
-
@
|
427
|
-
|
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
|
data/lib/vmail/version.rb
CHANGED