|
Karsten Hopp |
f1f94b |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
f1f94b |
Subject: Patch 7.4.819
|
|
Karsten Hopp |
f1f94b |
Fcc: outbox
|
|
Karsten Hopp |
f1f94b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
f1f94b |
Mime-Version: 1.0
|
|
Karsten Hopp |
f1f94b |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
f1f94b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
f1f94b |
------------
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
Patch 7.4.819
|
|
Karsten Hopp |
f1f94b |
Problem: Beeping when running the tests.
|
|
Karsten Hopp |
f1f94b |
Solution: Fix 41 beeps. (Roland Eggner)
|
|
Karsten Hopp |
f1f94b |
Files: src/testdir/test17.in, src/testdir/test29.in,
|
|
Karsten Hopp |
f1f94b |
src/testdir/test4.in, src/testdir/test61.in,
|
|
Karsten Hopp |
f1f94b |
src/testdir/test82.in, src/testdir/test83.in,
|
|
Karsten Hopp |
f1f94b |
src/testdir/test90.in, src/testdir/test95.in,
|
|
Karsten Hopp |
f1f94b |
src/testdir/test_autoformat_join.in
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test17.in 2013-07-03 22:28:23.000000000 +0200
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test17.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 49,65 ****
|
|
Karsten Hopp |
f1f94b |
:!mkdir Xdir1
|
|
Karsten Hopp |
f1f94b |
:!mkdir "Xdir1/dir2"
|
|
Karsten Hopp |
f1f94b |
:e! Xdir1/dir2/foo.a
|
|
Karsten Hopp |
f1f94b |
! i#include "bar.a"?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/bar.a
|
|
Karsten Hopp |
f1f94b |
! i#include "baz.a"?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/baz.a
|
|
Karsten Hopp |
f1f94b |
! i#include "foo.a"?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xbase.a
|
|
Karsten Hopp |
f1f94b |
:set path=Xdir1/dir2
|
|
Karsten Hopp |
f1f94b |
! i#include <foo.a>?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:redir! >>test.out
|
|
Karsten Hopp |
f1f94b |
:checkpath!
|
|
Karsten Hopp |
f1f94b |
--- 49,65 ----
|
|
Karsten Hopp |
f1f94b |
:!mkdir Xdir1
|
|
Karsten Hopp |
f1f94b |
:!mkdir "Xdir1/dir2"
|
|
Karsten Hopp |
f1f94b |
:e! Xdir1/dir2/foo.a
|
|
Karsten Hopp |
f1f94b |
! i#include "bar.a"?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/bar.a
|
|
Karsten Hopp |
f1f94b |
! i#include "baz.a"?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/baz.a
|
|
Karsten Hopp |
f1f94b |
! i#include "foo.a"?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xbase.a
|
|
Karsten Hopp |
f1f94b |
:set path=Xdir1/dir2
|
|
Karsten Hopp |
f1f94b |
! i#include <foo.a>?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:redir! >>test.out
|
|
Karsten Hopp |
f1f94b |
:checkpath!
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 79,95 ****
|
|
Karsten Hopp |
f1f94b |
:endfunction
|
|
Karsten Hopp |
f1f94b |
:let &includeexpr='DotsToSlashes()'
|
|
Karsten Hopp |
f1f94b |
:e! Xdir1/dir2/foo.b
|
|
Karsten Hopp |
f1f94b |
! i%inc /bar/?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/bar.b
|
|
Karsten Hopp |
f1f94b |
! i%inc /baz/?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/baz.b
|
|
Karsten Hopp |
f1f94b |
! i%inc /foo/?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xbase.b
|
|
Karsten Hopp |
f1f94b |
:set path=Xdir1/dir2
|
|
Karsten Hopp |
f1f94b |
! i%inc /foo/?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:redir! >>test.out
|
|
Karsten Hopp |
f1f94b |
:checkpath!
|
|
Karsten Hopp |
f1f94b |
--- 79,95 ----
|
|
Karsten Hopp |
f1f94b |
:endfunction
|
|
Karsten Hopp |
f1f94b |
:let &includeexpr='DotsToSlashes()'
|
|
Karsten Hopp |
f1f94b |
:e! Xdir1/dir2/foo.b
|
|
Karsten Hopp |
f1f94b |
! i%inc /bar/?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/bar.b
|
|
Karsten Hopp |
f1f94b |
! i%inc /baz/?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/baz.b
|
|
Karsten Hopp |
f1f94b |
! i%inc /foo/?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xbase.b
|
|
Karsten Hopp |
f1f94b |
:set path=Xdir1/dir2
|
|
Karsten Hopp |
f1f94b |
! i%inc /foo/?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:redir! >>test.out
|
|
Karsten Hopp |
f1f94b |
:checkpath!
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 112,131 ****
|
|
Karsten Hopp |
f1f94b |
:endfunction
|
|
Karsten Hopp |
f1f94b |
:let &includeexpr='StripNewlineChar()'
|
|
Karsten Hopp |
f1f94b |
:e! Xdir1/dir2/foo.c
|
|
Karsten Hopp |
f1f94b |
! i%inc bar.c?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/bar.c
|
|
Karsten Hopp |
f1f94b |
! i%inc baz.c?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/baz.c
|
|
Karsten Hopp |
f1f94b |
! i%inc foo.c?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/FALSE.c
|
|
Karsten Hopp |
f1f94b |
! i%inc foo.c?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xbase.c
|
|
Karsten Hopp |
f1f94b |
:set path=Xdir1/dir2
|
|
Karsten Hopp |
f1f94b |
! i%inc FALSE.c foo.c?
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:redir! >>test.out
|
|
Karsten Hopp |
f1f94b |
:checkpath!
|
|
Karsten Hopp |
f1f94b |
--- 112,131 ----
|
|
Karsten Hopp |
f1f94b |
:endfunction
|
|
Karsten Hopp |
f1f94b |
:let &includeexpr='StripNewlineChar()'
|
|
Karsten Hopp |
f1f94b |
:e! Xdir1/dir2/foo.c
|
|
Karsten Hopp |
f1f94b |
! i%inc bar.c?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/bar.c
|
|
Karsten Hopp |
f1f94b |
! i%inc baz.c?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/baz.c
|
|
Karsten Hopp |
f1f94b |
! i%inc foo.c?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xdir1/dir2/FALSE.c
|
|
Karsten Hopp |
f1f94b |
! i%inc foo.c?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:e Xbase.c
|
|
Karsten Hopp |
f1f94b |
:set path=Xdir1/dir2
|
|
Karsten Hopp |
f1f94b |
! i%inc FALSE.c foo.c?:
|
|
Karsten Hopp |
f1f94b |
:w
|
|
Karsten Hopp |
f1f94b |
:redir! >>test.out
|
|
Karsten Hopp |
f1f94b |
:checkpath!
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test29.in 2014-04-29 14:44:31.515875819 +0200
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test29.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 113,124 ****
|
|
Karsten Hopp |
f1f94b |
:iunmap <c-u>
|
|
Karsten Hopp |
f1f94b |
Avim4???
|
|
Karsten Hopp |
f1f94b |
:" Test with backspace set to the compatible setting
|
|
Karsten Hopp |
f1f94b |
! :set bs=
|
|
Karsten Hopp |
f1f94b |
A vim5?A???
|
|
Karsten Hopp |
f1f94b |
A vim6?Azwei?u??
|
|
Karsten Hopp |
f1f94b |
:inoremap <c-u> <left><c-u>
|
|
Karsten Hopp |
f1f94b |
A vim7???
|
|
Karsten Hopp |
f1f94b |
! :set cp
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
1 this shouldn't be deleted
|
|
Karsten Hopp |
f1f94b |
2 this shouldn't be deleted
|
|
Karsten Hopp |
f1f94b |
--- 113,124 ----
|
|
Karsten Hopp |
f1f94b |
:iunmap <c-u>
|
|
Karsten Hopp |
f1f94b |
Avim4???
|
|
Karsten Hopp |
f1f94b |
:" Test with backspace set to the compatible setting
|
|
Karsten Hopp |
f1f94b |
! :set backspace= visualbell
|
|
Karsten Hopp |
f1f94b |
A vim5?A???
|
|
Karsten Hopp |
f1f94b |
A vim6?Azwei?u??
|
|
Karsten Hopp |
f1f94b |
:inoremap <c-u> <left><c-u>
|
|
Karsten Hopp |
f1f94b |
A vim7???
|
|
Karsten Hopp |
f1f94b |
! :set compatible novisualbell
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
1 this shouldn't be deleted
|
|
Karsten Hopp |
f1f94b |
2 this shouldn't be deleted
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test4.in 2014-10-31 19:20:30.782742928 +0100
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test4.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 19,25 ****
|
|
Karsten Hopp |
f1f94b |
G:r Xxx " include Xxx in the current file
|
|
Karsten Hopp |
f1f94b |
:set fo+=r " issue #57 do not move cursor on <c-o> when autoindent is set
|
|
Karsten Hopp |
f1f94b |
Go# abcdef?2hi
|
|
Karsten Hopp |
f1f94b |
! ?d0?o# abcdef?2hi?d0?
|
|
Karsten Hopp |
f1f94b |
:?startstart?,$w! test.out
|
|
Karsten Hopp |
f1f94b |
:qa!
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
--- 19,25 ----
|
|
Karsten Hopp |
f1f94b |
G:r Xxx " include Xxx in the current file
|
|
Karsten Hopp |
f1f94b |
:set fo+=r " issue #57 do not move cursor on <c-o> when autoindent is set
|
|
Karsten Hopp |
f1f94b |
Go# abcdef?2hi
|
|
Karsten Hopp |
f1f94b |
! ?d0?o# abcdef?2hi?d0?:
|
|
Karsten Hopp |
f1f94b |
:?startstart?,$w! test.out
|
|
Karsten Hopp |
f1f94b |
:qa!
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test61.in 2013-07-04 20:23:47.000000000 +0200
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test61.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 87,105 ****
|
|
Karsten Hopp |
f1f94b |
:so small.vim
|
|
Karsten Hopp |
f1f94b |
:set nocp viminfo+=nviminfo
|
|
Karsten Hopp |
f1f94b |
:enew!
|
|
Karsten Hopp |
f1f94b |
! oa?
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
! ob?
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
o1?a2?=setline('.','1234')
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
?uu:"
|
|
Karsten Hopp |
f1f94b |
! oc?
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
o1?a2?=setline('.','1234')
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
?u:"
|
|
Karsten Hopp |
f1f94b |
! od?
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
o1?a2?=string(123)
|
|
Karsten Hopp |
f1f94b |
?u:"
|
|
Karsten Hopp |
f1f94b |
--- 87,105 ----
|
|
Karsten Hopp |
f1f94b |
:so small.vim
|
|
Karsten Hopp |
f1f94b |
:set nocp viminfo+=nviminfo
|
|
Karsten Hopp |
f1f94b |
:enew!
|
|
Karsten Hopp |
f1f94b |
! oa?:
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
! ob?:
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
o1?a2?=setline('.','1234')
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
?uu:"
|
|
Karsten Hopp |
f1f94b |
! oc?:
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
o1?a2?=setline('.','1234')
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
?u:"
|
|
Karsten Hopp |
f1f94b |
! od?:
|
|
Karsten Hopp |
f1f94b |
:set ul=100
|
|
Karsten Hopp |
f1f94b |
o1?a2?=string(123)
|
|
Karsten Hopp |
f1f94b |
?u:"
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test82.in 2013-08-09 19:32:57.000000000 +0200
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test82.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 9,15 ****
|
|
Karsten Hopp |
f1f94b |
: qa!
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
:set enc=utf8
|
|
Karsten Hopp |
f1f94b |
! ggdG
|
|
Karsten Hopp |
f1f94b |
:
|
|
Karsten Hopp |
f1f94b |
:function! Ch(a, op, b, expected)
|
|
Karsten Hopp |
f1f94b |
: if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected
|
|
Karsten Hopp |
f1f94b |
--- 9,15 ----
|
|
Karsten Hopp |
f1f94b |
: qa!
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
:set enc=utf8
|
|
Karsten Hopp |
f1f94b |
! ggdG:
|
|
Karsten Hopp |
f1f94b |
:
|
|
Karsten Hopp |
f1f94b |
:function! Ch(a, op, b, expected)
|
|
Karsten Hopp |
f1f94b |
: if eval(printf('"%s" %s "%s"', a:a, a:op, a:b)) != a:expected
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test83.in 2011-12-30 13:05:05.000000000 +0100
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test83.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 8,23 ****
|
|
Karsten Hopp |
f1f94b |
: w! test.out
|
|
Karsten Hopp |
f1f94b |
: qa!
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
|
|
Karsten Hopp |
f1f94b |
:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
|
|
Karsten Hopp |
f1f94b |
:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
|
|
Karsten Hopp |
f1f94b |
:/^tags1$/+1,/^tags1-end$/-1w! Xtags1
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
! ggdG
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:call setline('.', 'Results of test83')
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:" case1:
|
|
Karsten Hopp |
f1f94b |
:new
|
|
Karsten Hopp |
f1f94b |
:set tags=Xtags1
|
|
Karsten Hopp |
f1f94b |
--- 8,23 ----
|
|
Karsten Hopp |
f1f94b |
: w! test.out
|
|
Karsten Hopp |
f1f94b |
: qa!
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
|
|
Karsten Hopp |
f1f94b |
:/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
|
|
Karsten Hopp |
f1f94b |
:/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
|
|
Karsten Hopp |
f1f94b |
:/^tags1$/+1,/^tags1-end$/-1w! Xtags1
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
! ggdG:
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:call setline('.', 'Results of test83')
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:" case1:
|
|
Karsten Hopp |
f1f94b |
:new
|
|
Karsten Hopp |
f1f94b |
:set tags=Xtags1
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 30,36 ****
|
|
Karsten Hopp |
f1f94b |
: close
|
|
Karsten Hopp |
f1f94b |
: put ='case1: ok'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:" case2:
|
|
Karsten Hopp |
f1f94b |
:new
|
|
Karsten Hopp |
f1f94b |
:set tags=test83-tags2
|
|
Karsten Hopp |
f1f94b |
--- 30,36 ----
|
|
Karsten Hopp |
f1f94b |
: close
|
|
Karsten Hopp |
f1f94b |
: put ='case1: ok'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:" case2:
|
|
Karsten Hopp |
f1f94b |
:new
|
|
Karsten Hopp |
f1f94b |
:set tags=test83-tags2
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 43,49 ****
|
|
Karsten Hopp |
f1f94b |
: close
|
|
Karsten Hopp |
f1f94b |
: put ='case2: ok'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:" case3:
|
|
Karsten Hopp |
f1f94b |
:new
|
|
Karsten Hopp |
f1f94b |
:set tags=test83-tags3
|
|
Karsten Hopp |
f1f94b |
--- 43,49 ----
|
|
Karsten Hopp |
f1f94b |
: close
|
|
Karsten Hopp |
f1f94b |
: put ='case2: ok'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:" case3:
|
|
Karsten Hopp |
f1f94b |
:new
|
|
Karsten Hopp |
f1f94b |
:set tags=test83-tags3
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 57,63 ****
|
|
Karsten Hopp |
f1f94b |
: put ='case3: ok'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
:close
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:wq! test.out
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
--- 57,63 ----
|
|
Karsten Hopp |
f1f94b |
: put ='case3: ok'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
:close
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:wq! test.out
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test90.in 2013-02-13 17:20:13.000000000 +0100
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test90.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 46,52 ****
|
|
Karsten Hopp |
f1f94b |
: let res='ng'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
:$put =testcase.res
|
|
Karsten Hopp |
f1f94b |
! "
|
|
Karsten Hopp |
f1f94b |
:/^start:/,$wq! test.out
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
--- 46,52 ----
|
|
Karsten Hopp |
f1f94b |
: let res='ng'
|
|
Karsten Hopp |
f1f94b |
:endif
|
|
Karsten Hopp |
f1f94b |
:$put =testcase.res
|
|
Karsten Hopp |
f1f94b |
! :"
|
|
Karsten Hopp |
f1f94b |
:/^start:/,$wq! test.out
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test95.in 2014-05-13 20:15:20.461806487 +0200
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test95.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 18,24 ****
|
|
Karsten Hopp |
f1f94b |
:" etc.
|
|
Karsten Hopp |
f1f94b |
:" When there is no match use only the first two items.
|
|
Karsten Hopp |
f1f94b |
:let tl = []
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:"""" Multi-byte character tests. These will fail unless vim is compiled
|
|
Karsten Hopp |
f1f94b |
:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
|
|
Karsten Hopp |
f1f94b |
--- 18,24 ----
|
|
Karsten Hopp |
f1f94b |
:" etc.
|
|
Karsten Hopp |
f1f94b |
:" When there is no match use only the first two items.
|
|
Karsten Hopp |
f1f94b |
:let tl = []
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:"""" Multi-byte character tests. These will fail unless vim is compiled
|
|
Karsten Hopp |
f1f94b |
:"""" with Multibyte (FEAT_MBYTE) or BIG/HUGE features.
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[[:alpha:][=a=]]\+', '879 aiaãâaiuvna ', 'aiaãâaiuvna'])
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 26,40 ****
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oijasoifjos'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna'])
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:" this is not a normal "i" but 0xec
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\p\+', 'ìa', 'ìa'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\p*', 'aあ', 'aあ'])
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:"""" Test recognition of some character classes
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\f\+', '&*fname ', 'fname'])
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:"""" Test composing character matching
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '.ม', 'xม่x yมy', 'yม'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '.ม่', 'xม่x yมy', 'xม่'])
|
|
Karsten Hopp |
f1f94b |
--- 26,40 ----
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[^ม ]\+', 'มม oijasoifjos ifjoisj f osij j มมมมม abcd', 'oijasoifjos'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, ' [^ ]\+', 'start มabcdม ', ' มabcdม'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[ม[:alpha:][=a=]]\+', '879 aiaãมâมaiuvna ', 'aiaãมâมaiuvna'])
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:" this is not a normal "i" but 0xec
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\p\+', 'ìa', 'ìa'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\p*', 'aあ', 'aあ'])
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:"""" Test recognition of some character classes
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\i\+', '&*¨xx ', 'xx'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '\f\+', '&*fname ', 'fname'])
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:"""" Test composing character matching
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '.ม', 'xม่x yมy', 'yม'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '.ม่', 'xม่x yมy', 'xม่'])
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 56,63 ****
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:"""" Test \Z
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'ú\Z', 'x'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
|
|
Karsten Hopp |
f1f94b |
--- 56,63 ----
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:"""" Test \Z
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'ú\Z', 'x'])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, 'יהוה\Z', 'יהוה', 'יהוה'])
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 75,86 ****
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:"""" Combining different tests and features
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:"""" Run the tests
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:"
|
|
Karsten Hopp |
f1f94b |
:for t in tl
|
|
Karsten Hopp |
f1f94b |
: let re = t[0]
|
|
Karsten Hopp |
f1f94b |
--- 75,86 ----
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"])
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:"""" Combining different tests and features
|
|
Karsten Hopp |
f1f94b |
:call add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd'])
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:"""" Run the tests
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:"
|
|
Karsten Hopp |
f1f94b |
:for t in tl
|
|
Karsten Hopp |
f1f94b |
: let re = t[0]
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 124,130 ****
|
|
Karsten Hopp |
f1f94b |
: endfor
|
|
Karsten Hopp |
f1f94b |
:endfor
|
|
Karsten Hopp |
f1f94b |
:unlet t tl e l
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:" check that 'ambiwidth' does not change the meaning of \p
|
|
Karsten Hopp |
f1f94b |
:set regexpengine=1 ambiwidth=single
|
|
Karsten Hopp |
f1f94b |
:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
|
|
Karsten Hopp |
f1f94b |
--- 124,130 ----
|
|
Karsten Hopp |
f1f94b |
: endfor
|
|
Karsten Hopp |
f1f94b |
:endfor
|
|
Karsten Hopp |
f1f94b |
:unlet t tl e l
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:" check that 'ambiwidth' does not change the meaning of \p
|
|
Karsten Hopp |
f1f94b |
:set regexpengine=1 ambiwidth=single
|
|
Karsten Hopp |
f1f94b |
:$put ='eng 1 ambi single: ' . match(\"\u00EC\", '\p')
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 134,140 ****
|
|
Karsten Hopp |
f1f94b |
:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
|
|
Karsten Hopp |
f1f94b |
:set regexpengine=2 ambiwidth=double
|
|
Karsten Hopp |
f1f94b |
:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
|
|
Karsten Hopp |
f1f94b |
!
|
|
Karsten Hopp |
f1f94b |
:/\%#=1^Results/,$wq! test.out
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
--- 134,140 ----
|
|
Karsten Hopp |
f1f94b |
:$put ='eng 2 ambi single: ' . match(\"\u00EC\", '\p')
|
|
Karsten Hopp |
f1f94b |
:set regexpengine=2 ambiwidth=double
|
|
Karsten Hopp |
f1f94b |
:$put ='eng 2 ambi double: ' . match(\"\u00EC\", '\p')
|
|
Karsten Hopp |
f1f94b |
! :
|
|
Karsten Hopp |
f1f94b |
:/\%#=1^Results/,$wq! test.out
|
|
Karsten Hopp |
f1f94b |
ENDTEST
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/testdir/test_autoformat_join.in 2014-04-29 12:15:22.852032651 +0200
|
|
Karsten Hopp |
f1f94b |
--- src/testdir/test_autoformat_join.in 2015-08-11 18:30:19.937364870 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 3,9 ****
|
|
Karsten Hopp |
f1f94b |
STARTTEST
|
|
Karsten Hopp |
f1f94b |
:so small.vim
|
|
Karsten Hopp |
f1f94b |
:/^\t\t/
|
|
Karsten Hopp |
f1f94b |
! 0gqj?
|
|
Karsten Hopp |
f1f94b |
:let a=string(getpos("'[")).'/'.string(getpos("']"))
|
|
Karsten Hopp |
f1f94b |
:/^This line/;'}-join
|
|
Karsten Hopp |
f1f94b |
:let b=string(getpos("'[")).'/'.string(getpos("']"))
|
|
Karsten Hopp |
f1f94b |
--- 3,9 ----
|
|
Karsten Hopp |
f1f94b |
STARTTEST
|
|
Karsten Hopp |
f1f94b |
:so small.vim
|
|
Karsten Hopp |
f1f94b |
:/^\t\t/
|
|
Karsten Hopp |
f1f94b |
! 0gqj:
|
|
Karsten Hopp |
f1f94b |
:let a=string(getpos("'[")).'/'.string(getpos("']"))
|
|
Karsten Hopp |
f1f94b |
:/^This line/;'}-join
|
|
Karsten Hopp |
f1f94b |
:let b=string(getpos("'[")).'/'.string(getpos("']"))
|
|
Karsten Hopp |
f1f94b |
*** ../vim-7.4.818/src/version.c 2015-08-11 17:46:31.212481064 +0200
|
|
Karsten Hopp |
f1f94b |
--- src/version.c 2015-08-11 18:29:53.437682968 +0200
|
|
Karsten Hopp |
f1f94b |
***************
|
|
Karsten Hopp |
f1f94b |
*** 743,744 ****
|
|
Karsten Hopp |
f1f94b |
--- 743,746 ----
|
|
Karsten Hopp |
f1f94b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
f1f94b |
+ /**/
|
|
Karsten Hopp |
f1f94b |
+ 819,
|
|
Karsten Hopp |
f1f94b |
/**/
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
--
|
|
Karsten Hopp |
f1f94b |
ARTHUR: I am your king!
|
|
Karsten Hopp |
f1f94b |
WOMAN: Well, I didn't vote for you.
|
|
Karsten Hopp |
f1f94b |
ARTHUR: You don't vote for kings.
|
|
Karsten Hopp |
f1f94b |
WOMAN: Well, 'ow did you become king then?
|
|
Karsten Hopp |
f1f94b |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
f1f94b |
|
|
Karsten Hopp |
f1f94b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
f1f94b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
f1f94b |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
f1f94b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|