Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'vim'

Conflicts:
	src/ex_docmd.c
	src/feature.h
	src/vim.h
  • Loading branch information...
commit 028d3f6a78b9b51cbc5581394e7d1dc1199ee834 2 parents 5c1351f + b857e2d
Björn Winckler authored May 15, 2012

Showing 126 changed files with 1,005 additions and 276 deletions. Show diff stats Hide diff stats

  1. 19  .hgtags
  2. 5  runtime/autoload/ada.vim
  3. 7  runtime/compiler/cs.vim
  4. 9  runtime/compiler/decada.vim
  5. 7  runtime/compiler/g95.vim
  6. 7  runtime/compiler/gfortran.vim
  7. 9  runtime/compiler/gnat.vim
  8. 7  runtime/compiler/hp_acc.vim
  9. 7  runtime/compiler/ifort.vim
  10. 7  runtime/compiler/intel.vim
  11. 7  runtime/compiler/irix5_c.vim
  12. 7  runtime/compiler/irix5_cpp.vim
  13. 7  runtime/compiler/mips_c.vim
  14. 7  runtime/compiler/mipspro_c89.vim
  15. 7  runtime/compiler/mipspro_cpp.vim
  16. 11  runtime/compiler/tex.vim
  17. 74  runtime/doc/change.txt
  18. 12  runtime/doc/cmdline.txt
  19. 34  runtime/doc/eval.txt
  20. 9  runtime/doc/insert.txt
  21. 2  runtime/doc/map.txt
  22. 6  runtime/doc/options.txt
  23. 10  runtime/doc/syntax.txt
  24. 3  runtime/doc/tags
  25. 44  runtime/doc/todo.txt
  26. 4  runtime/filetype.vim
  27. 13  runtime/ftplugin/abaqus.vim
  28. 4  runtime/ftplugin/docbk.vim
  29. 4  runtime/ftplugin/dosbatch.vim
  30. 19  runtime/ftplugin/fortran.vim
  31. 8  runtime/ftplugin/php.vim
  32. 5  runtime/ftplugin/postscr.vim
  33. 5  runtime/ftplugin/python.vim
  34. 4  runtime/ftplugin/qf.vim
  35. 5  runtime/indent/ada.vim
  36. 7  runtime/indent/python.vim
  37. 7  runtime/lang/menu_af_af.latin1.vim
  38. 4  runtime/lang/menu_ca_es.latin1.vim
  39. 5  runtime/lang/menu_chinese_gb.936.vim
  40. 7  runtime/lang/menu_chinese_taiwan.950.vim
  41. 5  runtime/lang/menu_cs_cz.iso_8859-2.vim
  42. 5  runtime/lang/menu_czech_czech_republic.1250.vim
  43. 7  runtime/lang/menu_czech_czech_republic.ascii.vim
  44. 5  runtime/lang/menu_de_de.latin1.vim
  45. 7  runtime/lang/menu_eo.utf-8.vim
  46. 7  runtime/lang/menu_es_es.latin1.vim
  47. 7  runtime/lang/menu_fi_fi.latin1.vim
  48. 7  runtime/lang/menu_fr_fr.latin1.vim
  49. 7  runtime/lang/menu_hu_hu.iso_8859-2.vim
  50. 7  runtime/lang/menu_hu_hu.utf-8.vim
  51. 7  runtime/lang/menu_it_it.latin1.vim
  52. 7  runtime/lang/menu_ja_jp.euc-jp.vim
  53. 7  runtime/lang/menu_ja_jp.utf-8.vim
  54. 7  runtime/lang/menu_japanese_japan.932.vim
  55. 6  runtime/lang/menu_ko_kr.euckr.vim
  56. 6  runtime/lang/menu_ko_kr.utf-8.vim
  57. 7  runtime/lang/menu_nl_nl.latin1.vim
  58. 7  runtime/lang/menu_no_no.latin1.vim
  59. 5  runtime/lang/menu_pl_pl.iso_8859-2.vim
  60. 5  runtime/lang/menu_pl_pl.utf-8.vim
  61. 5  runtime/lang/menu_polish_poland.1250.vim
  62. 7  runtime/lang/menu_pt_br.vim
  63. 5  runtime/lang/menu_pt_pt.vim
  64. 5  runtime/lang/menu_ru_ru.koi8-r.vim
  65. 5  runtime/lang/menu_ru_ru.vim
  66. 7  runtime/lang/menu_sk_sk.iso_8859-2.vim
  67. 5  runtime/lang/menu_sl_si.cp1250.vim
  68. 5  runtime/lang/menu_sl_si.latin2.vim
  69. 5  runtime/lang/menu_sl_si.utf-8.vim
  70. 7  runtime/lang/menu_slovak_slovak_republic.1250.vim
  71. 5  runtime/lang/menu_sr_rs.ascii.vim
  72. 6  runtime/lang/menu_sr_rs.iso_8859-2.vim
  73. 6  runtime/lang/menu_sr_rs.iso_8859-5.vim
  74. 6  runtime/lang/menu_sr_rs.utf-8.vim
  75. 7  runtime/lang/menu_sv_se.latin1.vim
  76. 5  runtime/lang/menu_uk_ua.cp1251.vim
  77. 5  runtime/lang/menu_uk_ua.koi8-u.vim
  78. 5  runtime/lang/menu_vi_vn.vim
  79. 5  runtime/lang/menu_zh_cn.gb2312.vim
  80. 5  runtime/lang/menu_zh_cn.utf-8.vim
  81. 8  runtime/lang/menu_zh_tw.utf-8.vim
  82. 5  runtime/syntax/ada.vim
  83. 13  runtime/syntax/autoit.vim
  84. 5  runtime/syntax/cmake.vim
  85. 7  runtime/syntax/cucumber.vim
  86. 7  runtime/syntax/datascript.vim
  87. 4  runtime/syntax/dircolors.vim
  88. 5  runtime/syntax/fvwm.vim
  89. 4  runtime/syntax/help.vim
  90. 7  runtime/syntax/lsl.vim
  91. 7  runtime/syntax/objc.vim
  92. 7  runtime/syntax/perl6.vim
  93. 7  runtime/syntax/po.vim
  94. 4  runtime/syntax/readline.vim
  95. 15  runtime/syntax/sas.vim
  96. 6  runtime/syntax/sgmldecl.vim
  97. 13  runtime/syntax/svn.vim
  98. 5  runtime/syntax/taskdata.vim
  99. 5  runtime/syntax/taskedit.vim
  100. 66  runtime/syntax/tex.vim
  101. 7  runtime/syntax/valgrind.vim
  102. 2  src/Make_ming.mak
  103. 3  src/edit.c
  104. 21  src/eval.c
  105. 30  src/ex_cmds.c
  106. 13  src/ex_cmds2.c
  107. 15  src/ex_docmd.c
  108. 36  src/ex_getln.c
  109. 8  src/feature.h
  110. 10  src/fileio.c
  111. 24  src/gui_gtk.c
  112. 5  src/if_py_both.h
  113. 6  src/if_ruby.c
  114. 14  src/main.c
  115. 8  src/misc1.c
  116. 7  src/netbeans.c
  117. 23  src/normal.c
  118. 11  src/ops.c
  119. 17  src/os_unix.c
  120. 11  src/po/zh_CN.UTF-8.po
  121. 1  src/proto/edit.pro
  122. 1  src/proto/ex_cmds.pro
  123. 99  src/quickfix.c
  124. 4  src/testdir/test77.in
  125. 38  src/version.c
  126. 3  src/vim.h
19  .hgtags
@@ -1833,3 +1833,22 @@ bf5960ec253293b7240f59a7682f2e862dacd205 v7-3-493
1833 1833
 5240610f277823478983e3f04abfbed4e85141cf v7-3-494
1834 1834
 27f6a22ff88eea07f24163fe470b7335f3c1b32b v7-3-495
1835 1835
 3daba355b0c15ef66a9d2810ae7c7cc534dccf62 v7-3-496
  1836
+e34c620007be9fd805556c43fe848de521f3b64c v7-3-497
  1837
+b1a42d2522fb4ff627a0c381e994e2a598f7bbbb v7-3-498
  1838
+4a2cb025b6417b00f2ced076eb79739e03acd7d4 v7-3-499
  1839
+b36640b2f671c006fe26b573fd42347227efbfa8 v7-3-500
  1840
+d7b335626ddc7a61667cb3e23ecadfe399b676fb v7-3-501
  1841
+1d1cce57421c78884cff2d3234d3759bc858d6fb v7-3-502
  1842
+65d036fd449e488303e78d2c6679a736551c39a6 v7-3-503
  1843
+17bfcb054cb770ac685acaa349165f210bdd36ca v7-3-504
  1844
+fe7bf24804e195209bef4cd008f0bac7eec7fc60 v7-3-505
  1845
+982f84487daf102f1203977a09f2c6c76d1ed3d5 v7-3-506
  1846
+f9a865d97614940f817b76642282d966781296e5 v7-3-507
  1847
+2722f11ddc998ac7c578c68c0248b58468179418 v7-3-508
  1848
+8101253704f6504bed3f0209e9a6fcae3966c6e7 v7-3-509
  1849
+53786601213cd9f86db8714f7b0e077b05e2704f v7-3-510
  1850
+b782e2f9e6892116ae5d068249b5198bbe0042c6 v7-3-511
  1851
+454646820185cbe13e1f2e4f7533b984d3b07b18 v7-3-512
  1852
+75037f9bc97ad76bca58dbbc0ddac69cc7f5d9ac v7-3-513
  1853
+7e4428115d2cea86fcfa980097c98c11380ae196 v7-3-514
  1854
+6c318419e3310fb9658ee6ead6b4ea33def8cb6d v7-3-515
5  runtime/autoload/ada.vim
@@ -29,6 +29,8 @@
29 29
 if version < 700
30 30
    finish
31 31
 endif 
  32
+let s:keepcpo= &cpo
  33
+set cpo&vim
32 34
 
33 35
 " Section: Constants {{{1
34 36
 "
@@ -619,6 +621,9 @@ lockvar  g:ada#Comment
619 621
 lockvar! g:ada#Keywords
620 622
 lockvar! g:ada#Ctags_Kinds
621 623
 
  624
+let &cpo = s:keepcpo
  625
+unlet s:keepcpo
  626
+
622 627
 finish " 1}}}
623 628
 
624 629
 "------------------------------------------------------------------------------
7  runtime/compiler/cs.vim
@@ -2,12 +2,14 @@
2 2
 " Compiler:	Microsoft Visual Studio C#
3 3
 " Maintainer:	Zhou YiChao (broken.zhou@gmail.com)
4 4
 " Previous Maintainer:	Joseph H. Yao (hyao@sina.com)
5  
-" Last Change:	2011 Apr 21
  5
+" Last Change:	2012 Apr 30
6 6
 
7 7
 if exists("current_compiler")
8 8
   finish
9 9
 endif
10 10
 let current_compiler = "cs"
  11
+let s:keepcpo= &cpo
  12
+set cpo&vim
11 13
 
12 14
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
13 15
   command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
19 21
             \%tarning%*[^:]:\ %m
20 22
 
21 23
 CompilerSet makeprg=csc\ %
  24
+
  25
+let &cpo = s:keepcpo
  26
+unlet s:keepcpo
9  runtime/compiler/decada.vim
@@ -15,11 +15,11 @@
15 15
 "    Help Page: compiler-decada
16 16
 "------------------------------------------------------------------------------
17 17
 
18  
-if (exists("current_compiler")	    &&
19  
-   \ current_compiler == "decada")  ||
20  
-   \ version < 700
  18
+if (exists("current_compiler") && current_compiler == "decada") || version < 700
21 19
    finish
22 20
 endif
  21
+let s:keepcpo= &cpo
  22
+set cpo&vim
23 23
 
24 24
 let current_compiler = "decada"
25 25
 
@@ -44,6 +44,9 @@ endif
44 44
 execute "CompilerSet makeprg="     . escape (g:decada.Make_Command, ' ')
45 45
 execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
46 46
 
  47
+let &cpo = s:keepcpo
  48
+unlet s:keepcpo
  49
+
47 50
 finish " 1}}}
48 51
 
49 52
 "------------------------------------------------------------------------------
7  runtime/compiler/g95.vim
... ...
@@ -1,7 +1,7 @@
1 1
 " Compiler: G95
2 2
 " Maintainer: H Xu <xuhdev@gmail.com>
3 3
 " Version: 0.1.3
4  
-" Last Change: 2011 Apr 01
  4
+" Last Change: 2012 Apr 30
5 5
 " Homepage: http://www.vim.org/scripts/script.php?script_id=3492
6 6
 "           https://bitbucket.org/xuhdev/compiler-g95.vim
7 7
 " License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
10 10
     finish
11 11
 endif
12 12
 let current_compiler = 'g95'
  13
+let s:keepcpo= &cpo
  14
+set cpo&vim
13 15
 
14 16
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
15 17
   command -nargs=* CompilerSet setlocal <args>
@@ -21,3 +23,6 @@ CompilerSet errorformat=
21 23
             \%-Z%trror:\ %m,
22 24
             \%-Z%tarning\ (%n):\ %m,
23 25
             \%-C%.%#
  26
+
  27
+let &cpo = s:keepcpo
  28
+unlet s:keepcpo
7  runtime/compiler/gfortran.vim
... ...
@@ -1,7 +1,7 @@
1 1
 " Compiler: GNU Fortran Compiler
2 2
 " Maintainer: H Xu <xuhdev@gmail.com>
3 3
 " Version: 0.1.3
4  
-" Last Change: 19 March 2011
  4
+" Last Change: 2012 Apr 30
5 5
 " Homepage: http://www.vim.org/scripts/script.php?script_id=3496
6 6
 "           https://bitbucket.org/xuhdev/compiler-gfortran.vim
7 7
 " License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
10 10
     finish
11 11
 endif
12 12
 let current_compiler = 'gfortran'
  13
+let s:keepcpo= &cpo
  14
+set cpo&vim
13 15
 
14 16
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
15 17
   command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=
20 22
             \%-Z%trror:\ %m,
21 23
             \%-Z%tarning:\ %m,
22 24
             \%-C%.%#
  25
+
  26
+let &cpo = s:keepcpo
  27
+unlet s:keepcpo
9  runtime/compiler/gnat.vim
@@ -17,11 +17,11 @@
17 17
 "    Help Page: compiler-gnat
18 18
 "------------------------------------------------------------------------------
19 19
 
20  
-if (exists("current_compiler")	    &&
21  
-   \ current_compiler == "gnat")    ||
22  
-   \ version < 700
  20
+if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
23 21
    finish
24 22
 endif
  23
+let s:keepcpo= &cpo
  24
+set cpo&vim
25 25
 
26 26
 let current_compiler = "gnat"
27 27
 
@@ -62,6 +62,9 @@ endif
62 62
 execute "CompilerSet makeprg="     . escape (g:gnat.Get_Command('Make'), ' ')
63 63
 execute "CompilerSet errorformat=" . escape (g:gnat.Error_Format, ' ')
64 64
 
  65
+let &cpo = s:keepcpo
  66
+unlet s:keepcpo
  67
+
65 68
 finish " 1}}}
66 69
 
67 70
 "------------------------------------------------------------------------------
7  runtime/compiler/hp_acc.vim
@@ -2,7 +2,7 @@
2 2
 " Compiler:	HP aCC
3 3
 " Maintainer:	Matthias Ulrich <matthias-ulrich@web.de>
4 4
 " URL:          http://www.subhome.de/vim/hp_acc.vim
5  
-" Last Change:	2005 Nov 19
  5
+" Last Change:	2012 Apr 30
6 6
 "
7 7
 "  aCC --version says: "HP ANSI C++ B3910B A.03.13"
8 8
 "  This compiler has been tested on:
@@ -19,6 +19,8 @@ if exists("current_compiler")
19 19
   finish
20 20
 endif
21 21
 let current_compiler = "hp_acc"
  22
+let s:keepcpo= &cpo
  23
+set cpo&vim
22 24
 
23 25
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
24 26
   command -nargs=* CompilerSet setlocal <args>
@@ -30,4 +32,7 @@ CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m,
30 32
          \%Z\ \ \ \ %p^%.%#,
31 33
          \%-C%.%#
32 34
 
  35
+let &cpo = s:keepcpo
  36
+unlet s:keepcpo
  37
+
33 38
 " vim:ts=8:sw=4:cindent
7  runtime/compiler/ifort.vim
... ...
@@ -1,7 +1,7 @@
1 1
 " Compiler: Intel Fortran Compiler
2 2
 " Maintainer: H Xu <xuhdev@gmail.com>
3 3
 " Version: 0.1.1
4  
-" Last Change: 19 March 2011
  4
+" Last Change: 2012 Apr 30
5 5
 " Homepage: http://www.vim.org/scripts/script.php?script_id=3497
6 6
 "           https://bitbucket.org/xuhdev/compiler-ifort.vim
7 7
 " License: Same as Vim
@@ -10,6 +10,8 @@ if exists('current_compiler')
10 10
     finish
11 11
 endif
12 12
 let current_compiler = 'ifort'
  13
+let s:keepcpo= &cpo
  14
+set cpo&vim
13 15
 
14 16
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
15 17
   command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=
20 22
             \%A%f(%l):\ %tarning\ \#%n:\ %m,
21 23
             \%-Z%p^,
22 24
             \%-G%.%#
  25
+
  26
+let &cpo = s:keepcpo
  27
+unlet s:keepcpo
7  runtime/compiler/intel.vim
... ...
@@ -1,12 +1,14 @@
1 1
 " Vim compiler file
2 2
 " Compiler:     Intel C++ 7.1
3 3
 " Maintainer:   David Harrison <david_jr@users.sourceforge.net>
4  
-" Last Change:  2004 May 16
  4
+" Last Change:  2012 Apr 30
5 5
 
6 6
 if exists("current_compiler")
7 7
   finish
8 8
 endif
9 9
 let current_compiler = "intel"
  10
+let s:keepcpo= &cpo
  11
+set cpo&vim
10 12
 
11 13
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12 14
   command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%E%f(%l):\ error:\ %m,
19 21
 		    \%-Z\ \ %p^,
20 22
 		    \%-G\\s%#,
21 23
 		    \%-G%.%#
  24
+
  25
+let &cpo = s:keepcpo
  26
+unlet s:keepcpo
7  runtime/compiler/irix5_c.vim
... ...
@@ -1,12 +1,14 @@
1 1
 " Vim compiler file
2 2
 " Compiler:	SGI IRIX 5.3 cc
3 3
 " Maintainer:	David Harrison <david_jr@users.sourceforge.net>
4  
-" Last Change:	2004 Mar 27
  4
+" Last Change:	2012 Apr 30
5 5
 
6 6
 if exists("current_compiler")
7 7
   finish
8 8
 endif
9 9
 let current_compiler = "irix5_c"
  10
+let s:keepcpo= &cpo
  11
+set cpo&vim
10 12
 
11 13
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12 14
   command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=\%Ecfe:\ Error:\ %f\\,\ line\ %l:\ %m,
19 21
 		     \%-Z\ %p^,
20 22
 		     \-G\\s%#,
21 23
 		     \%-G%.%#
  24
+
  25
+let &cpo = s:keepcpo
  26
+unlet s:keepcpo
7  runtime/compiler/irix5_cpp.vim
... ...
@@ -1,12 +1,14 @@
1 1
 " Vim compiler file
2 2
 " Compiler:	SGI IRIX 5.3 CC or NCC
3 3
 " Maintainer:	David Harrison <david_jr@users.sourceforge.net>
4  
-" Last Change:	2004 Mar 27
  4
+" Last Change:	2012 Apr 30
5 5
 
6 6
 if exists("current_compiler")
7 7
   finish
8 8
 endif
9 9
 let current_compiler = "irix5_cpp"
  10
+let s:keepcpo= &cpo
  11
+set cpo&vim
10 12
 
11 13
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12 14
   command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%E\"%f\"\\,\ line\ %l:\ error(%n):\ ,
19 21
 		      \%-Z\ \ %p%^,
20 22
 		      \%+C\ %\\{10}%.%#,
21 23
 		      \%-G%.%#
  24
+
  25
+let &cpo = s:keepcpo
  26
+unlet s:keepcpo
7  runtime/compiler/mips_c.vim
... ...
@@ -1,12 +1,14 @@
1 1
 " Vim compiler file
2 2
 " Compiler:	SGI IRIX 6.5 MIPS C (cc)
3 3
 " Maintainer:	David Harrison <david_jr@users.sourceforge.net>
4  
-" Last Change:	2004 Mar 27
  4
+" Last Change:	2012 Apr 30
5 5
 
6 6
 if exists("current_compiler")
7 7
   finish
8 8
 endif
9 9
 let current_compiler = "mips_c"
  10
+let s:keepcpo= &cpo
  11
+set cpo&vim
10 12
 
11 13
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12 14
   command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
19 21
 		    \%-Z\ \ %p^,
20 22
 		    \%-G\\s%#,
21 23
 		    \%-G%.%#
  24
+
  25
+let &cpo = s:keepcpo
  26
+unlet s:keepcpo
7  runtime/compiler/mipspro_c89.vim
... ...
@@ -1,12 +1,14 @@
1 1
 " Vim compiler file
2 2
 " Compiler:	SGI IRIX 6.5 MIPSPro C (c89)
3 3
 " Maintainer:	David Harrison <david_jr@users.sourceforge.net>
4  
-" Last Change:	2004 Mar 27
  4
+" Last Change:	2012 Apr 30
5 5
 
6 6
 if exists("current_compiler")
7 7
   finish
8 8
 endif
9 9
 let current_compiler = "mipspro_c89"
  10
+let s:keepcpo= &cpo
  11
+set cpo&vim
10 12
 
11 13
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12 14
   command -nargs=* CompilerSet setlocal <args>
@@ -20,3 +22,6 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
20 22
 		    \%+C\ \ %m,
21 23
 		    \%-G\\s%#,
22 24
 		    \%-G%.%#
  25
+
  26
+let &cpo = s:keepcpo
  27
+unlet s:keepcpo
7  runtime/compiler/mipspro_cpp.vim
... ...
@@ -1,12 +1,14 @@
1 1
 " Vim compiler file
2 2
 " Compiler:	SGI IRIX 6.5 MIPSPro C++ (CC)
3 3
 " Maintainer:	David Harrison <david_jr@users.sourceforge.net>
4  
-" Last Change:	2004 Mar 27
  4
+" Last Change:	2012 Apr 30
5 5
 
6 6
 if exists("current_compiler")
7 7
   finish
8 8
 endif
9 9
 let current_compiler = "mipspro_cpp"
  10
+let s:keepcpo= &cpo
  11
+set cpo&vim
10 12
 
11 13
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
12 14
   command -nargs=* CompilerSet setlocal <args>
@@ -19,3 +21,6 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
19 21
 		    \%-Z\ \ %p^,
20 22
 		    \%-G\\s%#,
21 23
 		    \%-G%.%#
  24
+
  25
+let &cpo = s:keepcpo
  26
+unlet s:keepcpo
11  runtime/compiler/tex.vim
... ...
@@ -1,11 +1,13 @@
1 1
 " Vim compiler file
2 2
 " Compiler:     TeX
3 3
 " Maintainer:   Artem Chuprina <ran@ran.pp.ru>
4  
-" Last Change:  2004 Mar 27
  4
+" Last Change:  2012 Apr 30
5 5
 
6 6
 if exists("current_compiler")
7 7
 	finish
8 8
 endif
  9
+let s:keepcpo= &cpo
  10
+set cpo&vim
9 11
 
10 12
 if exists(":CompilerSet") != 2		" older Vim always used :setlocal
11 13
   command -nargs=* CompilerSet setlocal <args>
@@ -30,9 +32,6 @@ else
30 32
 	let current_compiler = 'make'
31 33
 endif
32 34
 
33  
-let s:cpo_save = &cpo
34  
-set cpo-=C
35  
-
36 35
 " Value errorformat are taken from vim help, see :help errorformat-LaTeX, with
37 36
 " addition from Srinath Avadhanula <srinath@fastmail.fm>
38 37
 CompilerSet errorformat=%E!\ LaTeX\ %trror:\ %m,
@@ -64,5 +63,5 @@ CompilerSet errorformat=%E!\ LaTeX\ %trror:\ %m,
64 63
 	\%+Q%*[^()])%r,
65 64
 	\%+Q[%\\d%*[^()])%r
66 65
 
67  
-let &cpo = s:cpo_save
68  
-unlet s:cpo_save
  66
+let &cpo = s:keepcpo
  67
+unlet s:keepcpo
74  runtime/doc/change.txt
... ...
@@ -1,4 +1,4 @@
1  
-*change.txt*    For Vim version 7.3.  Last change: 2012 Jan 04
  1
+*change.txt*    For Vim version 7.3.  Last change: 2012 Apr 30
2 2
 
3 3
 
4 4
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -80,8 +80,8 @@ For inserting text see |insert.txt|.
80 80
 			(default: current line |cmdline-ranges|) [into
81 81
 			register x].
82 82
 
83  
-These commands delete text.  You can repeat them with the "." command
84  
-(except ":d") and undo them.  Use Visual mode to delete blocks of text.  See
  83
+These commands delete text.  You can repeat them with the `.` command
  84
+(except `:d`) and undo them.  Use Visual mode to delete blocks of text.  See
85 85
 |registers| for an explanation of registers.
86 86
 
87 87
 An exception for the d{motion} command: If the motion is not linewise, the
@@ -132,7 +132,7 @@ gJ			Join [count] lines, with a minimum of two lines.
132 132
 			See |ex-flags| for [flags].
133 133
 
134 134
 These commands delete the <EOL> between lines.  This has the effect of joining
135  
-multiple lines into one line.  You can repeat these commands (except ":j") and
  135
+multiple lines into one line.  You can repeat these commands (except `:j`) and
136 136
 undo them.
137 137
 
138 138
 These commands, except "gJ", insert one space in place of the <EOL> unless
@@ -260,6 +260,12 @@ r{char}			Replace the character under the cursor with {char}.
260 260
 			<CR>.  CTRL-V <NL> replaces with a <Nul>.
261 261
 			{Vi: CTRL-V <CR> still replaces with a line break,
262 262
 			cannot replace something with a <CR>}
  263
+
  264
+			If {char} is CTRL-E or CTRL-Y the character from the
  265
+			line below or above is used, just like with |i_CTRL-E|
  266
+			and |i_CTRL-Y|.  This also works with a count, thus
  267
+			`10r<C-E>` copies 10 characters from the line below.
  268
+
263 269
 			If you give a [count], Vim replaces [count] characters
264 270
 			with [count] {char}s.  When {char} is a <CR> or <NL>,
265 271
 			however, Vim inserts only one <CR>: "5r<CR>" replaces
@@ -465,9 +471,9 @@ much as possible to make the indent.  You can use ">><<" to replace an indent
465 471
 made out of spaces with the same indent made out of <Tab>s (and a few spaces
466 472
 if necessary).  If the 'expandtab' option is on, Vim uses only spaces.  Then
467 473
 you can use ">><<" to replace <Tab>s in the indent by spaces (or use
468  
-":retab!").
  474
+`:retab!`).
469 475
 
470  
-To move a line several 'shiftwidth's, use Visual mode or the ":" commands.
  476
+To move a line several 'shiftwidth's, use Visual mode or the `:` commands.
471 477
 For example: >
472 478
 	Vjj4>		move three lines 4 indents to the right
473 479
 	:<<<		move current line 3 indents to the left
@@ -487,7 +493,7 @@ Examples of filters are "sort", which sorts lines alphabetically, and
487 493
 works like a filter; not all versions do).  The 'shell' option specifies the
488 494
 shell Vim uses to execute the filter command (See also the 'shelltype'
489 495
 option).  You can repeat filter commands with ".".  Vim does not recognize a
490  
-comment (starting with '"') after the ":!" command.
  496
+comment (starting with '"') after the `:!` command.
491 497
 
492 498
 							*!*
493 499
 !{motion}{filter}	Filter {motion} text lines through the external
@@ -574,34 +580,34 @@ For other systems the tmpnam() library function is used.
574 580
 			Repeat last :substitute with same search pattern and
575 581
 			substitute string, but without the same flags.  You
576 582
 			may add [flags], see |:s_flags|.
577  
-			Note that after ":substitute" the '&' flag can't be
  583
+			Note that after `:substitute` the '&' flag can't be
578 584
 			used, it's recognized as a pattern separator.
579  
-			The space between ":substitute" and the 'c', 'g' and
  585
+			The space between `:substitute` and the 'c', 'g' and
580 586
 			'r' flags isn't required, but in scripts it's a good
581 587
 			idea to keep it to avoid confusion.
582 588
 
583 589
 :[range]~[&][flags] [count]					*:~*
584 590
 			Repeat last substitute with same substitute string
585 591
 			but with last used search pattern.  This is like
586  
-			":&r".  See |:s_flags| for [flags].
  592
+			`:&r`.  See |:s_flags| for [flags].
587 593
 
588 594
 								*&*
589  
-&			Synonym for ":s" (repeat last substitute).  Note
  595
+&			Synonym for `:s` (repeat last substitute).  Note
590 596
 			that the flags are not remembered, thus it might
591  
-			actually work differently.  You can use ":&&" to keep
  597
+			actually work differently.  You can use `:&&` to keep
592 598
 			the flags.
593 599
 
594 600
 								*g&*
595  
-g&			Synonym for ":%s//~/&" (repeat last substitute on all
  601
+g&			Synonym for `:%s//~/&` (repeat last substitute on all
596 602
 			lines with the same flags).
597 603
 			Mnemonic: global substitute. {not in Vi}
598 604
 
599 605
 						*:snomagic* *:sno*
600  
-:[range]sno[magic] ...	Same as ":substitute", but always use 'nomagic'.
  606
+:[range]sno[magic] ...	Same as `:substitute`, but always use 'nomagic'.
601 607
 			{not in Vi}
602 608
 
603 609
 						*:smagic* *:sm*
604  
-:[range]sm[agic] ...	Same as ":substitute", but always use 'magic'.
  610
+:[range]sm[agic] ...	Same as `:substitute`, but always use 'magic'.
605 611
 			{not in Vi}
606 612
 
607 613
 							*:s_flags*
@@ -611,7 +617,7 @@ The flags that you can use for the substitute commands:
611 617
 	command.  Examples: >
612 618
 		:&&
613 619
 		:s/this/that/&
614  
-<	Note that ":s" and ":&" don't keep the flags.
  620
+<	Note that `:s` and `:&` don't keep the flags.
615 621
 	{not in Vi}
616 622
 
617 623
 [c]	Confirm each substitution.  Vim highlights the matching string (with
@@ -667,14 +673,14 @@ The flags that you can use for the substitute commands:
667 673
 
668 674
 [l]	Like [p] but print the text like |:list|.
669 675
 
670  
-[r]	Only useful in combination with ":&" or ":s" without arguments.  ":&r"
671  
-	works the same way as ":~":  When the search pattern is empty, use the
  676
+[r]	Only useful in combination with `:&` or `:s` without arguments.  `:&r`
  677
+	works the same way as `:~`:  When the search pattern is empty, use the
672 678
 	previously used search pattern instead of the search pattern from the
673  
-	last substitute or ":global".  If the last command that did a search
674  
-	was a substitute or ":global", there is no effect.  If the last
  679
+	last substitute or `:global`.  If the last command that did a search
  680
+	was a substitute or `:global`, there is no effect.  If the last
675 681
 	command was a search command such as "/", use the pattern from that
676 682
 	command.
677  
-	For ":s" with an argument this already happens: >
  683
+	For `:s` with an argument this already happens: >
678 684
 		:s/blue/red/
679 685
 		/green
680 686
 		:s//red/   or  :~   or  :&r
@@ -691,9 +697,9 @@ reason is that the flags can only be found by skipping the pattern, and in
691 697
 order to skip the pattern the "magicness" must be known.  Catch 22!
692 698
 
693 699
 If the {pattern} for the substitute command is empty, the command uses the
694  
-pattern from the last substitute or ":global" command.  If there is none, but
  700
+pattern from the last substitute or `:global` command.  If there is none, but
695 701
 there is a previous search pattern, that one is used.  With the [r] flag, the
696  
-command uses the pattern from the last substitute, ":global", or search
  702
+command uses the pattern from the last substitute, `:global`, or search
697 703
 command.
698 704
 
699 705
 If the {string} is omitted the substitute is done as if it's empty.  Thus the
@@ -848,7 +854,7 @@ This replaces each 'E' character with a euro sign.  Read more in |<Char->|.
848 854
 
849 855
 
850 856
 4.4 Changing tabs					*change-tabs*
851  
-							*:ret* *:retab*
  857
+							*:ret* *:retab* *:retab!*
852 858
 :[range]ret[ab][!] [new_tabstop]
853 859
 			Replace all sequences of white-space containing a
854 860
 			<Tab> with new strings of white-space using the new
@@ -867,7 +873,7 @@ This replaces each 'E' character with a euro sign.  Read more in |<Char->|.
867 873
 			Careful: This command modifies any <Tab> characters
868 874
 			inside of strings in a C program.  Use "\t" to avoid
869 875
 			this (that's a good habit anyway).
870  
-			":retab!" may also change a sequence of spaces by
  876
+			`:retab!` may also change a sequence of spaces by
871 877
 			<Tab> characters, which can mess up a printf().
872 878
 			{not in Vi}
873 879
 			Not available when |+ex_extra| feature was disabled at
@@ -977,8 +983,12 @@ inside of strings can change!  Also see 'softtabstop' option. >
977 983
 			current line).  This always works |linewise|, thus
978 984
 			this command can be used to put a yanked block as new
979 985
 			lines.
980  
-			The cursor is left on the first non-blank in the last
981  
-			new line.
  986
+			If no register is specified, it depends on the 'cb'
  987
+			option: If 'cb' contains "unnamedplus", paste from the
  988
+			+ register |quoteplus|.  Otherwise, if 'cb' contains
  989
+			"unnamed", paste from the * register |quotestar|.
  990
+			Otherwise, paste from the unnamed register
  991
+			|quote_quote|.
982 992
 			The register can also be '=' followed by an optional
983 993
 			expression.  The expression continues until the end of
984 994
 			the command.  You need to escape the '|' and '"'
@@ -1183,7 +1193,7 @@ nothing is returned.  {not in Vi}
1183 1193
 
1184 1194
 9. Last search pattern register	"/			*quote_/* *quote/*
1185 1195
 Contains the most recent search-pattern.  This is used for "n" and 'hlsearch'.
1186  
-It is writable with ":let", you can change it to have 'hlsearch' highlight
  1196
+It is writable with `:let`, you can change it to have 'hlsearch' highlight
1187 1197
 other matches without actually searching.  You can't yank or delete into this
1188 1198
 register.  The search direction is available in |v:searchforward|.
1189 1199
 Note that the valued is restored when returning from a function
@@ -1191,12 +1201,12 @@ Note that the valued is restored when returning from a function
1191 1201
 {not in Vi}
1192 1202
 
1193 1203
 							*@/*
1194  
-You can write to a register with a ":let" command |:let-@|.  Example: >
  1204
+You can write to a register with a `:let` command |:let-@|.  Example: >
1195 1205
 	:let @/ = "the"
1196 1206
 
1197 1207
 If you use a put command without specifying a register, Vim uses the register
1198 1208
 that was last filled (this is also the contents of the unnamed register).  If
1199  
-you are confused, use the ":dis" command to find out what Vim will put (this
  1209
+you are confused, use the `:dis` command to find out what Vim will put (this
1200 1210
 command displays all named and numbered registers; the unnamed register is
1201 1211
 labelled '"').
1202 1212
 
@@ -1555,7 +1565,7 @@ Some examples:
1555 1565
 	:set fo=tcrq
1556 1566
 <
1557 1567
 
1558  
-Automatic formatting					*auto-format*
  1568
+Automatic formatting				*auto-format* *autoformat*
1559 1569
 
1560 1570
 When the 'a' flag is present in 'formatoptions' text is formatted
1561 1571
 automatically when inserting text or deleting text.  This works nice for
@@ -1664,7 +1674,7 @@ found here: |sort()|.
1664 1674
 			last search pattern is used.  This allows trying out
1665 1675
 			a pattern first.
1666 1676
 
1667  
-Note that using ":sort" with ":global" doesn't sort the matching lines, it's
  1677
+Note that using `:sort` with `:global` doesn't sort the matching lines, it's
1668 1678
 quite useless.
1669 1679
 
1670 1680
 The details about sorting depend on the library function used.  There is no
12  runtime/doc/cmdline.txt
@@ -330,12 +330,12 @@ terminals)
330 330
 
331 331
 :his[tory] [{name}] [{first}][, [{last}]]
332 332
 		List the contents of history {name} which can be:
333  
-		c[md]	 or :	command-line history
334  
-		s[earch] or /	search string history
335  
-		e[xpr]	 or =	expression register history
336  
-		i[nput]	 or @	input line history
337  
-		d[ebug]	 or >	debug command history
338  
-		a[ll]		all of the above
  333
+		c[md]	 or :		command-line history
  334
+		s[earch] or / or ?	search string history
  335
+		e[xpr]	 or =		expression register history
  336
+		i[nput]	 or @		input line history
  337
+		d[ebug]	 or >		debug command history
  338
+		a[ll]			all of the above
339 339
 		{not in Vi}
340 340
 
341 341
 		If the numbers {first} and/or {last} are given, the respective
34  runtime/doc/eval.txt
... ...
@@ -1,4 +1,4 @@
1  
-*eval.txt*	For Vim version 7.3.  Last change: 2012 Apr 13
  1
+*eval.txt*	For Vim version 7.3.  Last change: 2012 Apr 30
2 2
 
3 3
 
4 4
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -1544,15 +1544,18 @@ v:profiling	Normally zero.	Set to one after using ":profile start".
1544 1544
 
1545 1545
 					*v:progname* *progname-variable*
1546 1546
 v:progname	Contains the name (with path removed) with which Vim was
1547  
-		invoked.  Allows you to do special initialisations for "view",
1548  
-		"evim" etc., or any other name you might symlink to Vim.
  1547
+		invoked.  Allows you to do special initialisations for |view|,
  1548
+		|evim| etc., or any other name you might symlink to Vim.
1549 1549
 		Read-only.
1550 1550
 
1551 1551
 					*v:register* *register-variable*
1552 1552
 v:register	The name of the register in effect for the current normal mode
1553  
-		command.  If none is supplied it is the default register '"',
1554  
-		unless 'clipboard' contains "unnamed" or "unnamedplus", then
1555  
-		it is '*' or '+'.
  1553
+		command (regardless of whether that command actually used a
  1554
+		register).  Or for the currently executing normal mode mapping
  1555
+		(use this in custom commands that take a register).
  1556
+		If none is supplied it is the default register '"', unless
  1557
+		'clipboard' contains "unnamed" or "unnamedplus", then it is
  1558
+		'*' or '+'.
1556 1559
 		Also see |getreg()| and |setreg()|
1557 1560
 
1558 1561
 					*v:scrollstart* *scrollstart-variable*
@@ -1844,6 +1847,7 @@ lispindent( {lnum})		Number	Lisp indent for line {lnum}
1844 1847
 localtime()			Number	current time
1845 1848
 log( {expr})			Float	natural logarithm (base e) of {expr}
1846 1849
 log10( {expr})			Float	logarithm of Float {expr} to base 10
  1850
+luaeval( {expr}[, {expr}])	any	evaluate |Lua| expression
1847 1851
 map( {expr}, {string})		List/Dict  change each item in {expr} to {expr}
1848 1852
 maparg( {name}[, {mode} [, {abbr} [, {dict}]]])
1849 1853
 				String or Dict
@@ -3997,6 +4001,20 @@ log10({expr})						*log10()*
3997 4001
 <			-2.0
3998 4002
 		{only available when compiled with the |+float| feature}
3999 4003
 		
  4004
+luaeval({expr}[, {expr}])					*luaeval()*
  4005
+		Evaluate Lua expression {expr} and return its result converted 
  4006
+		to Vim data structures. Second {expr} may hold additional 
  4007
+		argument accessible as _A inside first {expr}.
  4008
+		Strings are returned as they are.
  4009
+		Boolean objects are converted to numbers.
  4010
+		Numbers are converted to |Float| values if vim was compiled 
  4011
+		with |+float| and to numbers otherwise.
  4012
+		Dictionaries and lists obtained by vim.eval() are returned 
  4013
+		as-is.
  4014
+		Other objects are returned as zero without any errors.
  4015
+		See |lua-luaeval| for more details.
  4016
+		{only available when compiled with the |+lua| feature}
  4017
+
4000 4018
 map({expr}, {string})					*map()*
4001 4019
 		{expr} must be a |List| or a |Dictionary|.
4002 4020
 		Replace each item in {expr} with the result of evaluating
@@ -4321,7 +4339,7 @@ mode([expr])	Return a string that indicates the current mode.
4321 4339
 
4322 4340
 mzeval({expr})							*mzeval()*
4323 4341
 		Evaluate MzScheme expression {expr} and return its result
4324  
-		convert to Vim data structures.
  4342
+		converted to Vim data structures.
4325 4343
 		Numbers and strings are returned as they are.
4326 4344
 		Pairs (including lists and improper lists) and vectors are
4327 4345
 		returned as Vim |Lists|.
@@ -5946,6 +5964,8 @@ undofile({name})					*undofile()*
5946 5964
 		the undo file exists.
5947 5965
 		{name} is always expanded to the full path, since that is what
5948 5966
 		is used internally.
  5967
+		If {name} is empty undofile() returns an empty string, since a
  5968
+		buffer without a file name will not write an undo file.
5949 5969
 		Useful in combination with |:wundo| and |:rundo|.
5950 5970
 		When compiled without the +persistent_undo option this always
5951 5971
 		returns an empty string.
9  runtime/doc/insert.txt
... ...
@@ -1,4 +1,4 @@
1  
-*insert.txt*    For Vim version 7.3.  Last change: 2012 Apr 05
  1
+*insert.txt*    For Vim version 7.3.  Last change: 2012 Apr 20
2 2
 
3 3
 
4 4
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -383,8 +383,11 @@ will then always put the cursor on it).  Or use CTRL-\ CTRL-O, but then
383 383
 beware of the cursor possibly being beyond the end of the line.
384 384
 
385 385
 The CTRL-O command takes you to Normal mode.  If you then use a command enter
386  
-Insert mode again it doesn't nest.  Thus when typing "a<C-O>a" and then <Esc>
387  
-takes you back to Normal mode, you do not need to type <Esc> twice.
  386
+Insert mode again it normally doesn't nest.  Thus when typing "a<C-O>a" and
  387
+then <Esc> takes you back to Normal mode, you do not need to type <Esc> twice.
  388
+An exception is when not typing the command, e.g. when executing a mapping or
  389
+sourcing a script.  This makes mappings work that briefly switch to Insert
  390
+mode.
388 391
 
389 392
 The shifted cursor keys are not available on all terminals.
390 393
 
2  runtime/doc/map.txt
@@ -1219,6 +1219,7 @@ completion can be enabled:
1219 1219
 
1220 1220
 	-complete=augroup	autocmd groups
1221 1221
 	-complete=buffer	buffer names
  1222
+	-complete=behave	:behave suboptions
1222 1223
 	-complete=color		color schemes
1223 1224
 	-complete=command	Ex command (and arguments)
1224 1225
 	-complete=compiler	compilers
@@ -1233,6 +1234,7 @@ completion can be enabled:
1233 1234
 	-complete=function	function name
1234 1235
 	-complete=help		help subjects
1235 1236
 	-complete=highlight	highlight groups
  1237
+	-complete=history	:history suboptions
1236 1238
 	-complete=locale	locale names (as output of locale -a)
1237 1239
 	-complete=mapping	mapping name
1238 1240
 	-complete=menu		menus
6  runtime/doc/options.txt
... ...
@@ -1,4 +1,4 @@
1  
-*options.txt*	For Vim version 7.3.  Last change: 2012 Mar 28
  1
+*options.txt*	For Vim version 7.3.  Last change: 2012 Apr 28
2 2
 
3 3
 
4 4
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -7235,8 +7235,8 @@ A jump table for the options with a short description can be found at |Q_op|.
7235 7235
 	the file should contain words with similar meaning, separated by
7236 7236
 	non-keyword characters (white space is preferred).  Maximum line
7237 7237
 	length is 510 bytes.
7238  
-	To obtain a file to be used here, check out the wordlist FAQ at
7239  
-	http://www.hyphenologist.co.uk .
  7238
+	To obtain a file to be used here, check out this ftp site:
  7239
+	ftp://ftp.ox.ac.uk/pub/wordlists/  First get the README file.
7240 7240
 	To include a comma in a file name precede it with a backslash.  Spaces
7241 7241
 	after a comma are ignored, otherwise spaces are included in the file
7242 7242
 	name.  See |option-backslash| about using backslashes.
10  runtime/doc/syntax.txt
@@ -2721,7 +2721,14 @@ Some folks like to include things like source code in comments and so would
2721 2721
 prefer that spell checking be disabled in comments in LaTeX files.  To do
2722 2722
 this, put the following in your <.vimrc>: >
2723 2723
       let g:tex_comment_nospell= 1
2724  
-<
  2724
+The comment lines >
  2725
+	% nospell{
  2726
+	...
  2727
+	% nospell}
  2728
+will suppress spell checking between them.  These comment lines spelling
  2729
+control are known to be fragile; for example, don't include any of the section
  2730
+commands (\part, \chapter, \section, \paragraph, etc) inside nospell blocks
  2731
+or interleave environments (such as math) across nospell blocks.
2725 2732
 								*tex-verb*
2726 2733
  Tex: Want Spell Checking in Verbatim Zones?~
2727 2734
 
@@ -2828,6 +2835,7 @@ You may selectively use conceal mode by setting g:tex_conceal in your
2828 2835
 following sets of characters: >
2829 2836
 
2830 2837
 	a = accents/ligatures
  2838
+	b = bold and italic
2831 2839
 	d = delimiters
2832 2840
 	m = math symbols
2833 2841
 	g = Greek
3  runtime/doc/tags
@@ -2638,6 +2638,7 @@ $VIMRUNTIME	starting.txt	/*$VIMRUNTIME*
2638 2638
 :resize	windows.txt	/*:resize*
2639 2639
 :ret	change.txt	/*:ret*
2640 2640
 :retab	change.txt	/*:retab*
  2641
+:retab!	change.txt	/*:retab!*
2641 2642
 :retu	eval.txt	/*:retu*
2642 2643
 :return	eval.txt	/*:return*
2643 2644
 :rew	editing.txt	/*:rew*
@@ -4795,6 +4796,7 @@ autocmds-kept	version5.txt	/*autocmds-kept*
4795 4796
 autocommand	autocmd.txt	/*autocommand*
4796 4797
 autocommand-events	autocmd.txt	/*autocommand-events*
4797 4798
 autocommand-pattern	autocmd.txt	/*autocommand-pattern*
  4799
+autoformat	change.txt	/*autoformat*
4798 4800
 autoload	eval.txt	/*autoload*
4799 4801
 autoload-functions	eval.txt	/*autoload-functions*
4800 4802
 avoid-hit-enter	version5.txt	/*avoid-hit-enter*
@@ -6623,6 +6625,7 @@ lua-luaeval	if_lua.txt	/*lua-luaeval*
6623 6625
 lua-vim	if_lua.txt	/*lua-vim*
6624 6626
 lua-window	if_lua.txt	/*lua-window*
6625 6627
 lua.vim	syntax.txt	/*lua.vim*
  6628
+luaeval()	eval.txt	/*luaeval()*
6626 6629
 m	motion.txt	/*m*
6627 6630
 m'	motion.txt	/*m'*
6628 6631
 m[	motion.txt	/*m[*
44  runtime/doc/todo.txt
... ...
@@ -1,4 +1,4 @@
1  
-*todo.txt*      For Vim version 7.3.  Last change: 2012 Apr 13
  1
+*todo.txt*      For Vim version 7.3.  Last change: 2012 May 01
2 2
 
3 3
 
4 4
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -34,7 +34,7 @@ not be repeated below, unless there is extra information.
34 34
 							*known-bugs*
35 35
 -------------------- Known bugs and current work -----------------------
36 36
 
37  
-Go through list of maintainers that didn't respond. (Thilo Six, Mar 19)
  37
+patch to fix helphelp.txt from Ken Takata.  https://gist.github.com/2559599
38 38
 
39 39
 Go through more coverity reports.
40 40
 
@@ -43,20 +43,20 @@ Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
43 43
 Stack trace of crash: http://vpaste.net/GBt9S
44 44
 (Alexandre Provencio)
45 45
 
46  
-":help!" gives error, should use current language. (thinkca, 2012 Apr 1)
47  
-
48  
-Once syntax and other runtime files have been fixed: add "set cp" to
49  
-check.vim.  Use a function to run both with 'cp' and 'nocp'.
50  
-
51 46
 GTK: problem with 'L' in 'guioptions' changing the window width.
52 47
 (Aaron Cornelius, 2012 Feb 6)
53 48
 
  49
+Patch: home_replace() does not work whtn 8.3 filename. (Yasuhiro
  50
+Matsumoto, 2012 Apr 18)  Asked for another version of the patch.
  51
+
54 52
 Win32: When a directory name contains an exclamation mark, completion doesn't
55 53
 complete the contents of the directory.  No escaping for the "!"? (Jan
56 54
 Stocker, 2012 Jan 5)
57 55
 
58 56
 Issue 54: document behavior of -complete, also expands arg.
59 57
 
  58
+Cursor on wrong line after ":copen". (John Beckett, 2012 Apr 30)
  59
+
60 60
 Syntax update problem in one buffer opened in two windows, bottom window is
61 61
 not correctly updated. (Paul Harris, 2012 Feb 27)
62 62
 
@@ -76,23 +76,13 @@ When running Vim in silent ex mode, an existing swapfile causes Vim to wait
76 76
 for a user action without a prompt. (Maarten Billemont, 2012 Feb 3)
77 77
 Do give the prompt? Quit with an error?
78 78
 
79  
-When exiting with unsaved changes, selecting an existing file in the file
80  
-dialog, there is no dialog to ask whether the existing file should be
81  
-overwritten. (Felipe G. Nievinski, 2011 Dec 22)
82  
-
83  
-Docs fix for v:register. (Ingo Karkat, 2011 Sep 26, 27)
84  
-v:register doesn't work exactly as expected. (David Fishburn, 2011 Sep 20)
85  
-
86  
-Patch for: vimgrep fails when 'autochdir' is set. (Ben Fritz, 2012 Feb 4)
87  
-
88  
-Patch for: (Christian Brabandt, 2011 Aug 22)
89  
--   Make it possible to enter "r<C-E>" and "r<C-Y>" (get character from line
90  
-    below/above).
91  
-
92 79
 Patch for: (Christian Brabandt, 2011 Aug 24, updated patch)
93 80
 8   ":sign unplace * file={filename}" should work.  Also: ":sign unplace *
94 81
     buffer={bufnr}".  So one can remove all signs for one file/buffer.
95 82
 
  83
+Patch for auto copy selecting to + register. (by Christian Brabant, in email
  84
+from Sergey Vakulenko, 2012 Apr 27)
  85
+
96 86
 Patch to add "onselected" callback for completion. (Taro Muraoka, 2011 Sep 24)
97 87
 Another for CompleteFuncOk. (Florian Klein, 2012 Jan 31)
98 88
 Name it "CompleteFuncDone".
@@ -100,11 +90,13 @@ Name it "CompleteFuncDone".
100 90
 Patch for Make_mvc.mak and Make_ming.mak for Ruby support. (Yasuhiro
101 91
 Matsumoto, 2012 Jan 30)
102 92
 
103  
-Patch to add completion for :history command.  (Dominique Pelle, 2012 Feb 26)
104  
-
105 93
 Patch for 'backupcopy' default behavior for symlinks on Windows. (David Pope,
106 94
 2012 Mar 21, update Mar 31)
107 95
 
  96
+Patch to list user digraphs. (Christian Brabandt, 2012 Apr 14)
  97
+
  98
+Patch for input method status. (Hirohito Higashi, 2012 Apr 18)
  99
+
108 100
 Use a count before "v" and "V" to select that many characters or lines?
109 101
 (Kikyous)
110 102
 
@@ -114,6 +106,9 @@ Patch Sep 18.
114 106
 Patch for has('unnamedplus') docs. (Tony Mechelynck, 2011 Sep 27)
115 107
 And one for gui_x11.txt.
116 108
 
  109
+Patch for Python: add pyeval()(zyx, 2012 Apr 15, update Apr 16)
  110
+Also changes for Lua.  Update Apr 19.  Update Apr 22.
  111
+
117 112
 ":cd" doesn't work when current directory path contains "**".
118 113
 finddir() has the same problem.  (Yukihiro Nakadaira, 2012 Jan 10)
119 114
 Requires a rewrite of the file_file_in_path code.
@@ -276,6 +271,10 @@ When setting a local option value from the global value, add a script ID that
276 271
 indicates this, so that ":verbose set" can give a hint.  Check with options in
277 272
 the help file.
278 273
 
  274
+Patch for IBM z/OS makefile. (Stephen Bovy, 2012 Apr 26)
  275
+Patch for configure (Stephen Bovy, 2012 Apr 28)
  276
+Updates later.
  277
+
279 278
 After patch 7.3.097 still get E15. (Yukihiro Nakadaira, 2011 Jan 18)
280 279
 Also for another example (ZyX, 2011 Jan 24)
281 280
 
@@ -362,6 +361,7 @@ When putting text in the cut buffer (when exiting) and conversion doesn't work
362 361
 properly, Prepend "ENC==={value of 'enc'}:" to the text and don't convert?
363 362
 Then it should at least work from Vim to Vim and in other applications it's
364 363
 clear why it doesn't work.
  364
+Experimental patch by Christian Brabandt, 2012 Apr 19.
365 365
 
366 366
 Editing a file with a ^M with 'ff' set to "mac", opening a help file, then the
367 367
 ^M is displayed as ^J sometimes.  Getting 'ff' value from wrong window/buffer?
4  runtime/filetype.vim
... ...
@@ -1,7 +1,7 @@
1 1
 " Vim support file to detect file types
2 2
 "
3 3
 " Maintainer:	Bram Moolenaar <Bram@vim.org>
4  
-" Last Change:	2012 Apr 13
  4
+" Last Change:	2012 Apr 18
5 5
 
6 6
 " Listen very carefully, I will say this only once
7 7
 if exists("did_load_filetypes")
@@ -1267,7 +1267,7 @@ endfunc
1267 1267
 au BufNewFile,BufRead *.nqc			setf nqc
1268 1268
 
1269 1269
 " NSIS
1270  
-au BufNewFile,BufRead *.nsi			setf nsis
  1270
+au BufNewFile,BufRead *.nsi,*.nsh		setf nsis
1271 1271
 
1272 1272
 " OCAML
1273 1273
 au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit	setf ocaml
13  runtime/ftplugin/abaqus.vim
... ...
@@ -1,7 +1,7 @@
1 1
 " Vim filetype plugin file
2 2
 " Language:     Abaqus finite element input file (www.abaqus.com)
3 3
 " Maintainer:   Carl Osterwisch <osterwischc@asme.org>
4  
-" Last Change:  2012 Mar 11
  4
+" Last Change:  2012 Apr 30
5 5
 
6 6
 " Only do this when not done yet for this buffer
7 7
 if exists("b:did_ftplugin") | finish | endif
@@ -51,7 +51,7 @@ if has("gui_win32") && !exists("b:browsefilter")
51 51
     \ "Abaqus Results (*.dat)\t*.dat\n" .
52 52
     \ "Abaqus Messages (*.pre *.msg *.sta)\t*.pre;*.msg;*.sta\n" .
53 53
     \ "All Files (*.*)\t*.*\n"
54  
-    let b:undo_ftplugin .= "|unlet b:browsefilter"
  54
+    let b:undo_ftplugin .= "|unlet! b:browsefilter"
55 55
 endif
56 56
 
57 57
 " Define patterns for the matchit plugin
@@ -62,7 +62,7 @@ if exists("loaded_matchit") && !exists("b:match_words")
62 62
     \ '\*assembly:\*end\s*assembly,' .
63 63
     \ '\*instance:\*end\s*instance,' .
64 64
     \ '\*step:\*end\s*step'
65  
-    let b:undo_ftplugin .= "|unlet b:match_ignorecase b:match_words"
  65
+    let b:undo_ftplugin .= "|unlet! b:match_ignorecase b:match_words"
66 66
 endif
67 67
 
68 68
 " Define keys used to move [count] keywords backward or forward.
@@ -85,6 +85,13 @@ endfunction
85 85
 let b:undo_ftplugin .= "|unmap <buffer> [[|unmap <buffer> ]]"
86 86
     \ . "|unmap <buffer> <LocalLeader><LocalLeader>"
87 87
 
  88
+" Undo must be done in nocompatible mode for <LocalLeader>.
  89
+let b:undo_ftplugin = "let s:cpo_save = &cpoptions|"
  90
+    \ . "set cpoptions&vim|"
  91
+    \ . b:undo_ftplugin
  92
+    \ . "|let &cpoptions = s:cpo_save"
  93
+    \ . "|unlet s:cpo_save"
  94
+
88 95
 " Restore saved compatibility options
89 96
 let &cpoptions = s:cpo_save
90 97
 unlet s:cpo_save
4  runtime/ftplugin/docbk.vim
... ...
@@ -1,7 +1,7 @@
1 1
 " Vim filetype plugin file
2 2
 " Language:	    DocBook
3 3
 " Maintainer:	    Nikolai Weibull <now@bitwi.se>
4  
-" Latest Revision:  2010-10-14
  4
+" Latest Revision:  2012-04-25
5 5
 
6 6
 if exists('b:did_ftplugin')
7 7
   finish
@@ -20,3 +20,5 @@ if b:docbk_type == 'sgml'
20 20
 else
21 21
   runtime! ftplugin/xml.vim ftplugin/xml_*.vim ftplugin/xml/*.vim
22 22
 endif
  23
+
  24
+let b:undo_ftplugin = "unlet! b:docbk_type"
4  runtime/ftplugin/dosbatch.vim
... ...
@@ -1,7 +1,7 @@
1 1
 " Vim filetype plugin file
2 2
 " Language:    MS-DOS .bat files
3 3
 " Maintainer:  Mike Williams <mrw@eandem.co.uk>
4  
-" Last Change: 27th May 2009
  4
+" Last Change: 24th April 2012
5 5
 
6 6
 " Only do this when not done yet for this buffer
7 7
 if exists("b:did_ftplugin")
@@ -19,3 +19,5 @@ setlocal formatoptions-=t formatoptions+=rol
19 19
 if has("gui_win32") && !exists("b:browsefilter")
20 20
   let b:browsefilter = "DOS Batch Files (*.bat, *.cmd)\t*.bat;*.cmd\nAll Files (*.*)\t*.*\n"
21 21
 endif
  22
+
  23
+let b:undo_ftplugin = "setlocal comments< formatoptions< | unlet! b:browsefiler"
19  runtime/ftplugin/fortran.vim
... ...
@@ -1,11 +1,12 @@
1 1
 " Vim settings file
2  
-" Language:	Fortran90 (and Fortran95, Fortran77, F and elf90)
3  
-" Version:	0.47
4  
-" Last Change:	2011 December 28
  2
+" Language:	Fortran 2008 (and older: Fortran 2003, 95, 90, 77, 66)
  3
+" Version:	0.48
  4
+" Last Change:	2012 Apr. 18
5 5
 " Maintainer:	Ajit J. Thakkar <ajit@unb.ca>; <http://www.unb.ca/chem/ajit/>
6 6
 " Usage:	Do :help fortran-plugin from Vim
7 7
 " Credits:
8  
-" Useful suggestions were made by Stefano Zacchiroli and Hendrik Merx.
  8
+" Useful suggestions were made by Stefano Zacchiroli, Hendrik Merx, and Ben
  9
+" Fritz.
9 10
 
10 11
 " Only do these settings when not done yet for this buffer
11 12
 if exists("b:did_ftplugin")
@@ -28,7 +29,7 @@ if !exists("b:fortran_fixed_source")
28 29
     " User guarantees fixed source form
29 30
     let b:fortran_fixed_source = 1
30 31
   else
31  
-    " f90 and f95 allow both fixed and free source form
  32
+    " Modern Fortran allows both fixed and free source form
32 33
     " assume fixed source form unless signs of free source form
33 34
     " are detected in the first five columns of the first s:lmax lines
34 35
     " Detection becomes more accurate and time-consuming if more lines
@@ -79,7 +80,7 @@ endif
79 80
 setlocal fo+=tcql
80 81
 
81 82
 setlocal include=^\\c#\\=\\s*include\\s\\+
82  
-setlocal suffixesadd+=.f95,.f90,.for,.f,.F,.f77,.ftn,.fpp
  83
+setlocal suffixesadd+=.f08,.f03,.f95,.f90,.for,.f,.F,.f77,.ftn,.fpp
83 84
 
84 85
 " Define patterns for the matchit plugin
85 86
 if !exists("b:match_words")
@@ -89,6 +90,7 @@ if !exists("b:match_words")
89 90
   let s:notprocedure = '\%(\s\+procedure\>\)\@!'
90 91
   let b:match_ignorecase = 1