Updated runtime files.
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 1c8c0eb..3359938 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.3. Last change: 2011 May 10
+*change.txt* For Vim version 7.3. Last change: 2011 May 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -522,11 +522,11 @@
={motion} Filter {motion} lines through the external program
given with the 'equalprg' option. When the 'equalprg'
option is empty (this is the default), use the
- internal formatting function |C-indenting|. But when
- 'indentexpr' is not empty, it will be used instead
- |indent-expression|. When Vim was compiled without
- internal formatting then the "indent" program is used
- as a last resort.
+ internal formatting function |C-indenting| and
+ |'lisp'|. But when 'indentexpr' is not empty, it will
+ be used instead |indent-expression|. When Vim was
+ compiled without internal formatting then the "indent"
+ program is used as a last resort.
*==*
== Filter [count] lines like with ={motion}.
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 295fe4a..50da2de 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.3. Last change: 2011 May 10
+*eval.txt* For Vim version 7.3. Last change: 2011 May 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4076,6 +4076,7 @@
{pat} matches.
A match at the first character or |List| item returns zero.
If there is no match -1 is returned.
+ For getting submatches see |matchlist()|.
Example: >
:echo match("testing", "ing") " results in 4
:echo match([1, 'x'], '\a') " results in 1
@@ -5581,6 +5582,10 @@
< This removes the last component of the 'path' option. >
:echo substitute("testing", ".*", "\\U\\0", "")
< results in "TESTING".
+ The {sub} argument can start with \=, just like with
+ |:substitute|. Example: >
+ :echo substitute(s, '%\(\x\x\)',
+ \ '\=nr2char("0x" . submatch(1))', 'g')
synID({lnum}, {col}, {trans}) *synID()*
The result is a Number, which is the syntax ID at the position
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt
index 33eab76..6682ba6 100644
--- a/runtime/doc/intro.txt
+++ b/runtime/doc/intro.txt
@@ -1,4 +1,4 @@
-*intro.txt* For Vim version 7.3. Last change: 2010 Dec 08
+*intro.txt* For Vim version 7.3. Last change: 2011 May 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -135,8 +135,10 @@
Bug reports: *bugs* *bug-reports* *bugreport.vim*
-Send bug reports to: Vim bugs <bugs@vim.org>
-This is not a maillist but the message is redirected to the Vim maintainer.
+Send bug reports to: Vim Developers <vim_dev@vim.org>
+This is a maillist, many people will see the message. If you don't want that,
+e.g. because it is a security issue, send it to <bugs@vim.org>, this only goes
+to the Vim maintainer (that's Bram).
Please be brief; all the time that is spent on answering mail is subtracted
from the time that is spent on improving Vim! Always give a reproducible
example and try to find out which settings or other things influence the
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 6ba21fe..a5f6148 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.3. Last change: 2011 Apr 29
+*options.txt* For Vim version 7.3. Last change: 2011 May 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4104,7 +4104,8 @@
It is used when a new line is created, for the |=| operator and
in Insert mode as specified with the 'indentkeys' option.
When this option is not empty, it overrules the 'cindent' and
- 'smartindent' indenting.
+ 'smartindent' indenting. When 'lisp' is set, this option is
+ overridden by the Lisp indentation algorithm.
When 'paste' is set this option is not used for indenting.
The expression is evaluated with |v:lnum| set to the line number for
which the indent is to be computed. The cursor is also in this line
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 1d05882..22562d7 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 7.3. Last change: 2011 Feb 01
+*quickfix.txt* For Vim version 7.3. Last change: 2011 May 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -215,28 +215,29 @@
*:cex* *:cexpr* *E777*
:cex[pr][!] {expr} Create a quickfix list using the result of {expr} and
- jump to the first error. If {expr} is a String, then
- each new-line terminated line in the String is
- processed using 'errorformat' and the result is added
- to the quickfix list. If {expr} is a List, then each
- String item in the list is processed and added to the
- quickfix list. Non String items in the List are
- ignored. See |:cc|
- for [!].
+ jump to the first error.
+ If {expr} is a String, then each new-line terminated
+ line in the String is processed using the global value
+ of 'errorformat' and the result is added to the
+ quickfix list.
+ If {expr} is a List, then each String item in the list
+ is processed and added to the quickfix list. Non
+ String items in the List are ignored.
+ See |:cc| for [!].
Examples: >
:cexpr system('grep -n xyz *')
:cexpr getline(1, '$')
<
*:lex* *:lexpr*
-:lex[pr][!] {expr} Same as ":cexpr", except the location list for the
+:lex[pr][!] {expr} Same as |:cexpr|, except the location list for the
current window is used instead of the quickfix list.
*:cgete* *:cgetexpr*
:cgete[xpr] {expr} Create a quickfix list using the result of {expr}.
- Just like ":cexpr", but don't jump to the first error.
+ Just like |:cexpr|, but don't jump to the first error.
*:lgete* *:lgetexpr*
-:lgete[xpr] {expr} Same as ":cgetexpr", except the location list for the
+:lgete[xpr] {expr} Same as |:cgetexpr|, except the location list for the
current window is used instead of the quickfix list.
*:cad* *:caddexpr*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index b96f255..38df760 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.3. Last change: 2011 May 10
+*todo.txt* For Vim version 7.3. Last change: 2011 May 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -32,6 +32,9 @@
Go through more coverity reports.
+Hong Xu: I think src/Make_ro.mak should also be removed.
+Two patches 2011 May 15
+
Crash in autocomplete, valgrind log. (Greg Weber, 2011 Apr 22)
Ex command ":s/ \?/ /g" splits multi-byte characters into bytes. (Dominique
@@ -50,6 +53,10 @@
Patch to add 'cscoperelative'. (Raghavendra Prabhu, 2011 Apr 18)
+9 "} else" causes following lines to be indented too much. (Rouben
+ Rostamian, 2008 Aug 30)
+Patch by Lech Lorens, 2011 May 16, with more tests.
+
New syntax file for dnsmasq. (Thilo Six, 2011 Apr 18)
Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
@@ -71,6 +78,8 @@
Patch to support ":!start /b cmd". (Xaizek, 2010 Dec 22)
+Patch for syntax "extend" not working correctly. (Ben Schmidt, 2011 May 15)
+
Patch to build with GTK on Mac. (Ben Schmidt, 2011 Jan 18)
Use another name instead of FEAT_GUI_ELSEWHERE.
@@ -87,6 +96,8 @@
Patch to make putting from clipboard linewise when the text ends in a newline.
(Sung Pae) Do we want this?
+Patch to add third dict argument to sort(). (ZyX, 2011 May 15)
+
Building the MingW version without clipboard but with multi-byte doesn't
work. (Bill Lam, 2010 Sep 18)
@@ -132,6 +143,10 @@
Patch to change the meaning of \n in substitute(). (motoya kurotsu, 2011 Mar 8)
+Gui menu edit/paste in block mode insert only inserts in one line (Bjorn
+Winckler, 2011 May 11)
+Use function to set paste option and restore it, use CTRL-R+ to paste.
+
Help file foldexpr (ZyX)
Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2,
@@ -163,6 +178,7 @@
CursorHold repeats typed key when it's the start of a mapping.
(Will Gray, 2011 Mar 23)
+Christian Brabandt: problem is that OP_PENDING isn't set.
Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26)
@@ -323,9 +339,6 @@
When 'paste' is changed with 'pastetoggle', the ruler doesn't reflect this
right away. (Samuel Ferencik, 2010 Dec 7)
-Windows installer: licence text should not use indent, causes bad word wrap.
-(Benjamin Fritz, 2010 Aug 16)
-
Mac with X11: clipboard doesn't work properly. (Raf, 2010 Aug 16)
Using CompilerSet doesn't record where an option was set from. E.g., in the
@@ -368,11 +381,6 @@
one file only, set 'ul' to -1 only for that buffer.
Patch by Christian Brabandt, 2010 Dec 17. Needs test.
-Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone
-makes his own wrapper). Add a magic string with the version number to the
-.bat file and check for it in the uninstaller. E.g.
- # uninstall key: vim7.3*
-
Problem with cursor in the wrong column. (SungHyun Nam, 2010 Mar 11)
Additional info by Dominique Pelle. (also on 2010 Apr 10)
@@ -992,6 +1000,9 @@
However, for backwards compatibility escaping might be necessary. Check if
the user put quotes around the expanded item?
+A throw in a function causes missing an endif below the call. (Spiros
+Bousbouras, 2011 May 16)
+
Error E324 can be given when a cron script has wiped out our temp directory.
Give a clear error message about this (and tell them not to wipe out /tmp).
@@ -1011,10 +1022,19 @@
moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)
Patch to use Modern UI 2.0 for the Nsis installer. (Guopeng Wen, 2010 Jul 30)
+Latest version: 2011 May 18
8 Windows install with NSIS: make it possible to do a silent install, see
http://nsis.sourceforge.net/Docs/Chapter4.html#4.12
Version from Guopeng Wen that does this (2010 Dec 27)
+Windows installer: licence text should not use indent, causes bad word wrap.
+(Benjamin Fritz, 2010 Aug 16)
+
+Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone
+makes his own wrapper). Add a magic string with the version number to the
+.bat file and check for it in the uninstaller. E.g.
+ # uninstall key: vim7.3*
+
Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov,
2007 Feb 8)
@@ -3801,8 +3821,6 @@
'cindent', 'smartindent':
-9 "} else" causes following lines to be indented too much. (Rouben
- Rostamian, 2008 Aug 30)
9 Wrapping a variable initialization should have extra indent:
char * veryLongName =
"very long string"