Skip to content

Commit

Permalink
Updated runtime files.
Browse files Browse the repository at this point in the history
  • Loading branch information
brammool committed Mar 22, 2011
1 parent 084da87 commit 49d654e
Show file tree
Hide file tree
Showing 19 changed files with 604 additions and 148 deletions.
5 changes: 3 additions & 2 deletions runtime/doc/change.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
*change.txt* For Vim version 7.3. Last change: 2010 Jul 29 *change.txt* For Vim version 7.3. Last change: 2011 Feb 25




VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -690,7 +690,8 @@ reason is that the flags can only be found by skipping the pattern, and in
order to skip the pattern the "magicness" must be known. Catch 22! order to skip the pattern the "magicness" must be known. Catch 22!


If the {pattern} for the substitute command is empty, the command uses the If the {pattern} for the substitute command is empty, the command uses the
pattern from the last substitute or ":global" command. With the [r] flag, the pattern from the last substitute or ":global" command. If there is none, but
there is a previous search pattern, that one is used. With the [r] flag, the
command uses the pattern from the last substitute, ":global", or search command uses the pattern from the last substitute, ":global", or search
command. command.


Expand Down
13 changes: 8 additions & 5 deletions runtime/doc/editing.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
*editing.txt* For Vim version 7.3. Last change: 2011 Jan 27 *editing.txt* For Vim version 7.3. Last change: 2011 Feb 26




VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -276,10 +276,11 @@ If you want to keep the changed buffer without saving it, switch on the
'readonly' option for this buffer. {not in Vi} 'readonly' option for this buffer. {not in Vi}


*CTRL-^* *CTRL-6* *CTRL-^* *CTRL-6*
CTRL-^ Edit the alternate file (equivalent to ":e #"). CTRL-^ Edit the alternate file. Mostly the alternate file is
Mostly the alternate file is the previously edited the previously edited file. This is a quick way to
file. This is a quick way to toggle between two toggle between two files. It is equivalent to ":e #",
files. except that it also works when there is no file name.

If the 'autowrite' or 'autowriteall' option is on and If the 'autowrite' or 'autowriteall' option is on and
the buffer was changed, write it. the buffer was changed, write it.
Mostly the ^ character is positioned on the 6 key, Mostly the ^ character is positioned on the 6 key,
Expand Down Expand Up @@ -1387,6 +1388,8 @@ To set the default method, used for new files, use one of these in your
|vimrc| file: > |vimrc| file: >
set cm=zip set cm=zip
set cm=blowfish set cm=blowfish
The message given for reading and writing a file will show "[crypted]" when
using zip, "[blowfish]" when using blowfish.


When writing an undo file, the same key and method will be used for the text When writing an undo file, the same key and method will be used for the text
in the undo file. |persistent-undo|. in the undo file. |persistent-undo|.
Expand Down
6 changes: 4 additions & 2 deletions runtime/doc/eval.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.3. Last change: 2011 Feb 11 *eval.txt* For Vim version 7.3. Last change: 2011 Mar 18




VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -7072,7 +7072,9 @@ This would call the function "my_func_whizz(parameter)".
is terminated. is terminated.
Example: > Example: >
:try | throw "oops" | catch /^oo/ | echo "caught" | endtry :try | throw "oops" | catch /^oo/ | echo "caught" | endtry
< < Note that "catch" may need to be on a separate line
for when an error causes the parsing to skip the whole
line and not see the "|" that separates the commands.


*:ec* *:echo* *:ec* *:echo*
:ec[ho] {expr1} .. Echoes each {expr1}, with a space in between. The :ec[ho] {expr1} .. Echoes each {expr1}, with a space in between. The
Expand Down
10 changes: 6 additions & 4 deletions runtime/doc/indent.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
*indent.txt* For Vim version 7.3. Last change: 2011 Jan 09 *indent.txt* For Vim version 7.3. Last change: 2011 Mar 18




VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -320,9 +320,11 @@ assume a 'shiftwidth' of 4.
BaseClass(3) BaseClass(3) BaseClass(3) BaseClass(3)
{} {} {} {}
< <
+N Indent a continuation line (a line that spills onto the next) N +N Indent a continuation line (a line that spills onto the next)
additional characters. (default 'shiftwidth'). inside a function N additional characters. (default
When the previous line ended in a backslash it's doubled. 'shiftwidth').
Outside of a function, when the previous line ended in a
backslash, the 2 * N is used.


cino= cino=+10 > cino= cino=+10 >
a = b + 9 * a = b + 9 * a = b + 9 * a = b + 9 *
Expand Down
5 changes: 3 additions & 2 deletions runtime/doc/pattern.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
*pattern.txt* For Vim version 7.3. Last change: 2010 Jul 20 *pattern.txt* For Vim version 7.3. Last change: 2011 Feb 25




VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -214,7 +214,8 @@ The last used pattern and offset are remembered. They can be used to repeat
the search, possibly in another direction or with another count. Note that the search, possibly in another direction or with another count. Note that
two patterns are remembered: One for 'normal' search commands and one for the two patterns are remembered: One for 'normal' search commands and one for the
substitute command ":s". Each time an empty pattern is given, the previously substitute command ":s". Each time an empty pattern is given, the previously
used pattern is used. used pattern is used. However, if there is no previous search command, a
previous substitute pattern is used, if possible.


The 'magic' option sticks with the last used pattern. If you change 'magic', The 'magic' option sticks with the last used pattern. If you change 'magic',
this will not change how the last used pattern will be interpreted. this will not change how the last used pattern will be interpreted.
Expand Down
1 change: 1 addition & 0 deletions runtime/doc/tags
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3206,6 +3206,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
<reg> map.txt /*<reg>* <reg> map.txt /*<reg>*
<register> map.txt /*<register>* <register> map.txt /*<register>*
<sfile> cmdline.txt /*<sfile>* <sfile> cmdline.txt /*<sfile>*
<slnum> cmdline.txt /*<slnum>*
<xCSI> intro.txt /*<xCSI>* <xCSI> intro.txt /*<xCSI>*
<xDown> term.txt /*<xDown>* <xDown> term.txt /*<xDown>*
<xEnd> term.txt /*<xEnd>* <xEnd> term.txt /*<xEnd>*
Expand Down
86 changes: 76 additions & 10 deletions runtime/doc/todo.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.3. Last change: 2011 Feb 25 *todo.txt* For Vim version 7.3. Last change: 2011 Mar 22




VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -30,11 +30,43 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------


New r and rhelp syntax files. (Jakson Alves de Aquino, 2011 Feb 20) The :z command doesn't work exactly as it should. (ChangZhuo Chen, 2011 Mar 2)


In file message show "blowfish" instead of "crypted" when using blowfish. Crash with ":python help(dir)". (Kearn Holliday, 2011 Mar 19)
I can reproduce it. Don't know why it happens.


Patch to fix drag-n-drop in KDE. (Florian Degner, 2011 Feb 23) Compare with how old Vi works and with posix spec. terminal is 80 x 24,
'scroll' option set to 11.

Update Bavarian tutor. (Sepp Hell, 2011 Mar 10)

After ":set t_kb=" ":set t_kb" gives an error, should report an empty string.
Can do ":set t_xy=foo", need to check for valid name.

Menu File/Close should close a tab if it's not the last one and it
contains only one window (Jean Johner)
Patch by Ben Schmidt (7 maart)

Patch to update .hgtags (Ben Haskell, 2011 Mar 8)
Also hints how to add a tag after committing a patch.

Patch for slow write: undefined symbols with FEAT_CLIENTSERVER.
Alternative tests. (Krasilnikov)

When opening file from windows explorer, characters inside [] cause
problems, even though double quotes are used. (Manuel Stol, 2011 Mar 9)

Patch for Vim indent file. (Cocular, 2011 Mar)

:help c_Esc should work, but only :help c_<Esc> does.

Patch to change the meaning of \n in substitute(). (motoya kurotsu, 2011 Mar 8)

New version of Pascal indent file. (Neil Carter, 2011 Mar 9)

Help file foldexpr (ZyX)

upstart syntax file (James Hunt, Mar 11 2011)


Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2, Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2,
only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug
Expand All @@ -43,15 +75,24 @@ only one of the two ends gets the cchar displayed. (Brett Stahlman, 2010 Aug
Bug in repeating Visual "u". (Lawrence Kesteloot, 2010 Dec 20) Bug in repeating Visual "u". (Lawrence Kesteloot, 2010 Dec 20)


Crash with big .xpm file. (Yukihiro Nakadaira, 2011 Feb 18) Crash with big .xpm file. (Yukihiro Nakadaira, 2011 Feb 18)
Patch from Ben Schmidt (2011 Mar 3). Needs some more work.

Patch for disappearing cursor after netbeans command. (Xavier de Gaye, 2011
Mar 4)


Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26) Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26)


Compiler scripts for fortran (Hong Xu, 2011 March 19)

This line hangs Vim, because of syntax HL: This line hangs Vim, because of syntax HL:
call append(line, "INFO ....12....18....24....30....36....42....48....54....60....66....72....78%$") call append(line, "INFO ....12....18....24....30....36....42....48....54....60....66....72....78%$")


Building the MingW version without clipboard but with multi-byte doesn't Building the MingW version without clipboard but with multi-byte doesn't
work. (Bill Lam, 2010 Sep 18) work. (Bill Lam, 2010 Sep 18)


Patch for handling of NL in substitute() with \= expression. (Motoya Kurotsu,
2011 Mar 16)

When using a Vim server, a # in the path causes an error message. When using a Vim server, a # in the path causes an error message.
(Jeff Lanzarotta, 2011 Feb 17) (Jeff Lanzarotta, 2011 Feb 17)


Expand All @@ -68,7 +109,7 @@ On 64 bit MS-Windows "long" is only 32 bits, but we sometimes need to store a
right type. right type.


Patch to improve mf_hash, dynamic sizing. (Ivan Krasilnikov, 2010 Dec 17) Patch to improve mf_hash, dynamic sizing. (Ivan Krasilnikov, 2010 Dec 17)
Needs tests. Update with tests: 2011 Feb 28.


string() can't parse back "inf" and "nan". Fix documentation or fix code? string() can't parse back "inf" and "nan". Fix documentation or fix code?
(ZyX, 2010 Aug 23) (ZyX, 2010 Aug 23)
Expand All @@ -82,12 +123,14 @@ Update Nov 19. James Vega: still not right. Christian: it's difficult.
Patch to add up to 99 match groups. (Christian Brabandt, 2010 Dec 22) Patch to add up to 99 match groups. (Christian Brabandt, 2010 Dec 22)
Also add named groups: \%{name}(re) and \%{name}g Also add named groups: \%{name}(re) and \%{name}g


Patch to use pattern from last :s when there is no last search pattern.
(Christian Brabandt, 2011 Jan 24) Would this break anything?

Bug in try/catch: return with invalid compare throws error that isn't caught. Bug in try/catch: return with invalid compare throws error that isn't caught.
(ZyX, 2011 Jan 26) (ZyX, 2011 Jan 26)


Improvement patch for filetype.vim. (Thilo Six, 2011 Mar 19)

Patch for "+ and "* getting same selection when "a" is not in 'guioptions'.
(James Vega, 2011 Mar 17)

Highlighting stops working after changing it many times. Script to reproduce Highlighting stops working after changing it many times. Script to reproduce
it: Pablo Contreras, 2010 Oct 12 Windows XP and 7. Font is never freed? it: Pablo Contreras, 2010 Oct 12 Windows XP and 7. Font is never freed?


Expand All @@ -98,6 +141,10 @@ Build problem with small features on Mac OS X 10.6. (Rainer, 2011 Jan 24)


"0g@$" puts '] on last byte of multi-byte. (ZyX, 2011 Jan 22) "0g@$" puts '] on last byte of multi-byte. (ZyX, 2011 Jan 22)


Deleting a linewise selection that includes the last line of the file leaves
an empty line. (Ben Schmidt, 2011 Mar 17)
Patch by Christian Brabandt, 2011 Mar 19.

Two patches for xxd. (Florian Zumbiehl, 2011 Jan 11) Two patches for xxd. (Florian Zumbiehl, 2011 Jan 11)
Two updates for second one Jan 12. Two updates for second one Jan 12.


Expand Down Expand Up @@ -140,6 +187,9 @@ doesn't look right. (Dominique Pelle, 2010 Aug 8)


GTK: tear-off menu does not work. (Kurt Sonnenmoser, 2010 Oct 25) GTK: tear-off menu does not work. (Kurt Sonnenmoser, 2010 Oct 25)


Win32: tear-off menu does not work when menu language is German. (Markus
Bossler, 2011 Mar 2) Fixed by 7.3.095?

Patch for adding 's' option to 'cino', C++ namespace indenting. (Konstantin Patch for adding 's' option to 'cino', C++ namespace indenting. (Konstantin
Lepa, 2011 Jan 18) Lepa, 2011 Jan 18)


Expand Down Expand Up @@ -174,6 +224,9 @@ New esperanto spell file can't be processed. (Dominique Pelle, 2011 Jan 30)
- instead of a regexp use a hashtable. Expand '?', '*", '+'. What would be - instead of a regexp use a hashtable. Expand '?', '*", '+'. What would be
the maximum repeat for * and +? the maximum repeat for * and +?


"L'Italie" noted as a spell error at start of the sentence. (Dominique Pelle,
2011 Feb 27)

Copy/paste between Vim and Google chrome doesn't work well for multi-byte Copy/paste between Vim and Google chrome doesn't work well for multi-byte
characters. (Ben Haskell, 2010 Sep 17) characters. (Ben Haskell, 2010 Sep 17)
When putting text in the cut buffer (when exiting) and conversion doesn't work When putting text in the cut buffer (when exiting) and conversion doesn't work
Expand All @@ -200,6 +253,9 @@ Nov 25)
GTK: Patch to fix menu popping down. (Hong Xu, 2010 Dec 4, Dec 5) GTK: Patch to fix menu popping down. (Hong Xu, 2010 Dec 4, Dec 5)
Update 2011 Feb 3. Update 2011 Feb 3.


Patch to use pipes on Win32. (Vincent Berthoux, 2011 Feb 28)
Update Mar 1 using 'shelltemp'.

Python: Adding line to buffer other than the current one doesn't work Python: Adding line to buffer other than the current one doesn't work
correctly. (Rozbujnik, 2010 Dec 19) correctly. (Rozbujnik, 2010 Dec 19)


Expand Down Expand Up @@ -279,8 +335,6 @@ Patch to make more characters work in dialogs. (Yankwei Jia, 2010 Aug 4)


Patch for VisVim, pass file name to VimOpenFile. (Jiri Sedlak, 2010 Nov 12) Patch for VisVim, pass file name to VimOpenFile. (Jiri Sedlak, 2010 Nov 12)


":com" changes the multi-byte text of :echo. (Dimitar Dimitrov, 2011 Feb 11)

When 'lines' is 25 and 'scrolloff' is 12, "j" scrolls zero or two lines When 'lines' is 25 and 'scrolloff' is 12, "j" scrolls zero or two lines
instead of one. (Constantin Pan, 2010 Sep 10) instead of one. (Constantin Pan, 2010 Sep 10)


Expand Down Expand Up @@ -397,6 +451,9 @@ find out why.
When completion inserts the first match, it may trigger the line to be folded. When completion inserts the first match, it may trigger the line to be folded.
Disable updating folds while completion is active? (Peter Odding, 2010 Jun 9) Disable updating folds while completion is active? (Peter Odding, 2010 Jun 9)


Using ":call foo#d.f()" doesn't autoload the "foo.vim" file. Works OK for
echo, just not for ":call" and ":call call()". (Ted, 2011 Mar 17)

In command line window ":close" doesn't work properly. (Tony Mechelynck, 2009 In command line window ":close" doesn't work properly. (Tony Mechelynck, 2009
Jun 1) Jun 1)


Expand Down Expand Up @@ -2334,6 +2391,9 @@ Problems that will (probably) not be solved:
- Win32, MS-Windows XP: $HOME uses the wrong drive when the user profiles - Win32, MS-Windows XP: $HOME uses the wrong drive when the user profiles
are not on the boot disk. This is caused by a wrong value of $HOMEDRIVE. are not on the boot disk. This is caused by a wrong value of $HOMEDRIVE.
This is a bug in XP, see MSKB article 818134. This is a bug in XP, see MSKB article 818134.
- Win32, MS-Windows: expanding plugin/**/*.vim also picks up
dir/ctags.vim,v. This is because the short file name is something like
"ctags~1.vim" and that matches the pattern.
- SunOS 5.5.1 with Motif: The file open dialog does not have a horizontal - SunOS 5.5.1 with Motif: The file open dialog does not have a horizontal
scroll bar for the "files" selection. This is a problem in the Motif scroll bar for the "files" selection. This is a problem in the Motif
libraries, get a patch from Sun. libraries, get a patch from Sun.
Expand Down Expand Up @@ -3752,6 +3812,10 @@ Insert mode:
<< "y"; << "y";
9 "} else" causes following lines to be indented too much. (Rouben 9 "} else" causes following lines to be indented too much. (Rouben
Rostamian, 2008 Aug 30) Rostamian, 2008 Aug 30)
9 Wrapping a variable initialization should have extra indent:
char * veryLongName =
"very long string"
Also check if "cino=+10" is used correctly.
8 Lisp indenting: "\\" confuses the indenter. (Dorai Sitaram, 2006 May 17) 8 Lisp indenting: "\\" confuses the indenter. (Dorai Sitaram, 2006 May 17)
8 Why are continuation lines outside of a {} block not indented? E.g.: 8 Why are continuation lines outside of a {} block not indented? E.g.:
long_type foo = long_type foo =
Expand Down Expand Up @@ -4057,6 +4121,8 @@ Searching:
Use "&/" for searching the text in the Visual area? Use "&/" for searching the text in the Visual area?
9 Add "v" offset: "/pat/v": search for pattern and start Visual mode on the 9 Add "v" offset: "/pat/v": search for pattern and start Visual mode on the
matching text. matching text.
8 Add a modifier to interpret a space like "\_s\+" to make it much easier to
search for a phrase.
8 Add a mechanism for recursiveness: "\@(([^()]*\@g[^()]*)\)". \@g stands 8 Add a mechanism for recursiveness: "\@(([^()]*\@g[^()]*)\)". \@g stands
for "go recursive here" and \@( \) marks the recursive part. for "go recursive here" and \@( \) marks the recursive part.
Perl does it this way: Perl does it this way:
Expand Down
7 changes: 7 additions & 0 deletions runtime/doc/usr_41.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -661,7 +661,14 @@ Floating point computation: *float-functions*
sqrt() square root sqrt() square root
sin() sine sin() sine
cos() cosine cos() cosine
tan() tangent
asin() arc sine
acos() arc cosine
atan() arc tangent atan() arc tangent
atan2() arc tangent
sinh() hyperbolic sine
cosh() hyperbolic cosine
tanh() hyperbolic tangent


Variables: *var-functions* Variables: *var-functions*
type() type of a variable type() type of a variable
Expand Down
8 changes: 4 additions & 4 deletions runtime/doc/various.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
*various.txt* For Vim version 7.3. Last change: 2011 Feb 01 *various.txt* For Vim version 7.3. Last change: 2011 Mar 03




VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -133,14 +133,14 @@ g8 Print the hex values of the bytes used in the
specified with {range}, or around the current line specified with {range}, or around the current line
if there is no {range}. If there is a {count}, that's if there is no {range}. If there is a {count}, that's
how many lines you'll see; if there is only one window how many lines you'll see; if there is only one window
then the 'window' option is used, otherwise the then twice the value of the 'scroll' option is used,
current window size is used. otherwise the current window height minus 3 is used.


:z can be used either alone or followed by any of :z can be used either alone or followed by any of
several punctuation marks. These have the following several punctuation marks. These have the following
effect: effect:


mark first line last line new location ~ mark first line last line new cursor line ~
---- ---------- --------- ------------ ---- ---------- --------- ------------
+ current line 1 scr forward 1 scr forward + current line 1 scr forward 1 scr forward
- 1 scr back current line current line - 1 scr back current line current line
Expand Down
Loading

0 comments on commit 49d654e

Please sign in to comment.