diff --git a/7.4.935 b/7.4.935 new file mode 100644 index 0000000..4133ab3 --- /dev/null +++ b/7.4.935 @@ -0,0 +1,95 @@ +To: vim_dev@googlegroups.com +Subject: Patch 7.4.935 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.4.935 (after 7.4.932) +Problem: test_utf8 fails on MS-Windows when executed with gvim. +Solution: Use the insert flag on feedkeys() to put the string before the + ":" that was already read when checking for available chars. +Files: src/testdir/test_utf8.in + + +*** ../vim-7.4.934/src/testdir/test_utf8.in 2015-11-21 14:31:29.269812159 +0100 +--- src/testdir/test_utf8.in 2015-11-22 15:04:56.698114325 +0100 +*************** +*** 9,15 **** + :call setline(1, ["aaa", "あああ", "bbb"]) + :exe ":norm! gg0l\jjIx\" + :let r = getline(1, '$') +! : + :bwipeout! + :$put=r + :" +--- 9,15 ---- + :call setline(1, ["aaa", "あああ", "bbb"]) + :exe ":norm! gg0l\jjIx\" + :let r = getline(1, '$') +! :" + :bwipeout! + :$put=r + :" +*************** +*** 25,44 **** + : return ['あ', 'い'] + :endfunction + :command -nargs=1 -complete=customlist,CustomComplete1 Test1 echo +! :call feedkeys(":Test1 \'\$put='\", 't') +! : + :function! CustomComplete2(lead, line, pos) + : return ['あたし', 'あたま', 'あたりめ'] + :endfunction + :command -nargs=1 -complete=customlist,CustomComplete2 Test2 echo +! :call feedkeys(":Test2 \'\$put='\", 't') +! : + :function! CustomComplete3(lead, line, pos) + : return ['Nこ', 'Nん', 'Nぶ'] + :endfunction + :command -nargs=1 -complete=customlist,CustomComplete3 Test3 echo +! :call feedkeys(":Test3 \'\$put='\", 't') +! : + :call garbagecollect(1) + :/^start:/,$wq! test.out + ENDTEST +--- 25,44 ---- + : return ['あ', 'い'] + :endfunction + :command -nargs=1 -complete=customlist,CustomComplete1 Test1 echo +! :call feedkeys(":Test1 \'\$put='\", 'it') +! :" + :function! CustomComplete2(lead, line, pos) + : return ['あたし', 'あたま', 'あたりめ'] + :endfunction + :command -nargs=1 -complete=customlist,CustomComplete2 Test2 echo +! :call feedkeys(":Test2 \'\$put='\", 'it') +! :" + :function! CustomComplete3(lead, line, pos) + : return ['Nこ', 'Nん', 'Nぶ'] + :endfunction + :command -nargs=1 -complete=customlist,CustomComplete3 Test3 echo +! :call feedkeys(":Test3 \'\$put='\", 'it') +! :" + :call garbagecollect(1) + :/^start:/,$wq! test.out + ENDTEST +*** ../vim-7.4.934/src/version.c 2015-11-21 17:15:29.478748351 +0100 +--- src/version.c 2015-11-22 15:06:49.884881491 +0100 +*************** +*** 743,744 **** +--- 743,746 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 935, + /**/ + +-- +I have a watch cat! Just break in and she'll watch. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org ///