# HG changeset patch # User Bram Moolenaar # Date 1284915681 -7200 # Node ID e8a482a7fa6c0bf25f009b096202795400c9681a # Parent 06aa43dde5610dff598940ccde1dd25a617a1a52 Updated runtime files. diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 7.3. Last change: 2010 May 07 +*cmdline.txt* For Vim version 7.3. Last change: 2010 Sep 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -423,7 +423,8 @@ CTRL-L A match is done on the pattern i The 'wildchar' option defaults to (CTRL-E when in Vi compatible mode; in a previous version was used). In the pattern standard wildcards '*' and -'?' are accepted. '*' matches any string, '?' matches exactly one character. +'?' are accepted when matching file names. '*' matches any string, '?' +matches exactly one character. If you like tcsh's autolist completion, you can use this mapping: :cnoremap X diff --git a/runtime/doc/debug.txt b/runtime/doc/debug.txt --- a/runtime/doc/debug.txt +++ b/runtime/doc/debug.txt @@ -1,4 +1,4 @@ -*debug.txt* For Vim version 7.3. Last change: 2010 Jul 20 +*debug.txt* For Vim version 7.3. Last change: 2010 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -22,7 +22,8 @@ compilation, here is what you can do to This also applies when using the MingW tools. 1. Compile Vim with the "-g" option (there is a line in the Makefile for this, - which you can uncomment). + which you can uncomment). Also make sure "strip" is disabled (do not + install it, or use the line "STRIP = /bin/true"). 2. Execute these commands (replace "11" with the test that fails): > cd testdir @@ -67,7 +68,7 @@ If the Windows version of Vim crashes in some steps to provide a useful bug report. -GENERIC ~ +3.1 GENERIC ~ You must obtain the debugger symbols (PDB) file for your executable: gvim.pdb for gvim.exe, or vim.pdb for vim.exe. The PDB should be available from the @@ -89,7 +90,7 @@ a Vim executable compiled with the Borla *debug-vs2005* -2.2 Debugging Vim crashes with Visual Studio 2005/Visual C++ 2005 Express ~ +3.2 Debugging Vim crashes with Visual Studio 2005/Visual C++ 2005 Express ~ First launch vim.exe or gvim.exe and then launch Visual Studio. (If you don't have Visual Studio, follow the instructions at |get-ms-debuggers| to obtain a @@ -123,7 +124,7 @@ installed as a just-in-time debugger. Us need to save minidumps or you want a just-in-time (postmortem) debugger. *debug-windbg* -2.3 Debugging Vim crashes with WinDbg ~ +3.3 Debugging Vim crashes with WinDbg ~ See |get-ms-debuggers| to obtain a copy of WinDbg. @@ -149,7 +150,7 @@ To save a minidump, type the following a .dump vim.dmp < *debug-minidump* -2.4 Opening a Minidump ~ +3.4 Opening a Minidump ~ If you have a minidump file, you can open it in Visual Studio or in WinDbg. @@ -161,7 +162,7 @@ In WinDbg: choose Open Crash Dump on the |debug-windbg| to set the Symbol File Path. *get-ms-debuggers* -2.5 Obtaining Microsoft Debugging Tools ~ +3.5 Obtaining Microsoft Debugging Tools ~ The Debugging Tools for Windows (including WinDbg) can be downloaded from http://www.microsoft.com/whdc/devtools/debugging/default.mspx diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 7.3. Last change: 2010 Jul 28 +*editing.txt* For Vim version 7.3. Last change: 2010 Sep 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1431,13 +1431,15 @@ Notes: history, showing the 'key' value in a viminfo file. - There is never 100% safety. The encryption in Vim has not been tested for robustness. -- The algorithm used is breakable. A 4 character key in about one hour, a 6 - character key in one day (on a Pentium 133 PC). This requires that you know - some text that must appear in the file. An expert can break it for any key. - When the text has been decrypted, this also means that the key can be - revealed, and other files encrypted with the same key can be decrypted. -- Pkzip uses the same encryption, and US Govt has no objection to its export. - Pkzip's public file APPNOTE.TXT describes this algorithm in detail. +- The algorithm used for 'cryptmethod' "zip" is breakable. A 4 character key + in about one hour, a 6 character key in one day (on a Pentium 133 PC). This + requires that you know some text that must appear in the file. An expert + can break it for any key. When the text has been decrypted, this also means + that the key can be revealed, and other files encrypted with the same key + can be decrypted. +- Pkzip uses the same encryption as 'cryptmethod' "zip", and US Govt has no + objection to its export. Pkzip's public file APPNOTE.TXT describes this + algorithm in detail. - Vim originates from the Netherlands. That is where the sources come from. Thus the encryption code is not exported from the USA. diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.3. Last change: 2010 Aug 15 +*eval.txt* For Vim version 7.3. Last change: 2010 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -63,21 +63,21 @@ The Number and String types are converte are used. Conversion from a Number to a String is by making the ASCII representation of -the Number. Examples: > - Number 123 --> String "123" - Number 0 --> String "0" - Number -1 --> String "-1" +the Number. Examples: + Number 123 --> String "123" ~ + Number 0 --> String "0" ~ + Number -1 --> String "-1" ~ *octal* Conversion from a String to a Number is done by converting the first digits to a number. Hexadecimal "0xf9" and Octal "017" numbers are recognized. If -the String doesn't start with digits, the result is zero. Examples: > - String "456" --> Number 456 - String "6bar" --> Number 6 - String "foo" --> Number 0 - String "0xf1" --> Number 241 - String "0100" --> Number 64 - String "-8" --> Number -8 - String "+8" --> Number 0 +the String doesn't start with digits, the result is zero. Examples: + String "456" --> Number 456 ~ + String "6bar" --> Number 6 ~ + String "foo" --> Number 0 ~ + String "0xf1" --> Number 241 ~ + String "0100" --> Number 64 ~ + String "-8" --> Number -8 ~ + String "+8" --> Number 0 ~ To force conversion from String to Number, add zero to it: > :echo "0100" + 0 @@ -6216,7 +6216,7 @@ toolbar Compiled with support for |gui unix Unix version of Vim. user_commands User-defined commands. viminfo Compiled with viminfo support. -vim_starting True while initial source'ing takes place. +vim_starting True while initial source'ing takes place. |startup| vertsplit Compiled with vertically split windows |:vsplit|. virtualedit Compiled with 'virtualedit' option. visual Compiled with Visual mode. diff --git a/runtime/doc/ft_ada.txt b/runtime/doc/ft_ada.txt --- a/runtime/doc/ft_ada.txt +++ b/runtime/doc/ft_ada.txt @@ -6,20 +6,20 @@ ADA *ada.vim* 1. Syntax Highlighting |ft-ada-syntax| -2. Plug-in |ft-ada-plugin| +2. File type Plug-in |ft-ada-plugin| 3. Omni Completion |ft-ada-omni| 3.1 Omni Completion with "gnat xref" |gnat-xref| 3.2 Omni Completion with "ctags" |ada-ctags| 4. Compiler Support |ada-compiler| 4.1 GNAT |compiler-gnat| - 4.1 Dec Ada |compiler-decada| + 4.2 Dec Ada |compiler-decada| 5. References |ada-reference| 5.1 Options |ft-ada-options| - 5.2 Functions |ft-ada-functions| - 5.3 Commands |ft-ada-commands| - 5.4 Variables |ft-ada-variables| - 5.5 Constants |ft-ada-constants| -8. Extra Plug-ins |ada-extra-plugins| + 5.2 Commands |ft-ada-commands| + 5.3 Variables |ft-ada-variables| + 5.4 Constants |ft-ada-constants| + 5.5 Functions |ft-ada-functions| +6. Extra Plug-ins |ada-extra-plugins| ============================================================================== 1. Syntax Highlighting ~ @@ -139,7 +139,7 @@ The Ada parser for Exuberant Ctags is fa support yet. ============================================================================== -4. Compiler Support ~ +4. Compiler Support ~ *ada-compiler* The Ada mode supports more than one Ada compiler and will automatically load the @@ -367,7 +367,7 @@ false when the variable is undefined. Th makes no difference. ------------------------------------------------------------------------------ -5.3 Commands ~ +5.2 Commands ~ *ft-ada-commands* :AdaRainbow *:AdaRainbow* @@ -445,7 +445,7 @@ g:ada#Ctags_Kinds dictionary of lists for Ctags generates. ------------------------------------------------------------------------------ -5.2 Functions ~ +5.5 Functions ~ *ft-ada-functions* ada#Word([{line}, {col}]) *ada#Word()* @@ -479,7 +479,7 @@ gnat#New () ============================================================================== -8. Extra Plugins ~ +6. Extra Plugins ~ *ada-extra-plugins* You can optionally install the following extra plug-ins. They work well with diff --git a/runtime/doc/helphelp.txt b/runtime/doc/helphelp.txt --- a/runtime/doc/helphelp.txt +++ b/runtime/doc/helphelp.txt @@ -1,4 +1,4 @@ -*helphelp.txt* For Vim version 7.3. Last change: 2010 Jul 29 +*helphelp.txt* For Vim version 7.3. Last change: 2010 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -7,7 +7,7 @@ Help on help files *helphelp* 1. Help commands |online-help| -2. Translating help files |help-translated| +2. Translated help files |help-translated| 3. Writing help files |help-writing| ============================================================================== @@ -188,7 +188,7 @@ command: > Only for backwards compatibility. It now executes the ToolBar.FindHelp menu entry instead of using a builtin dialog. {only when compiled with |+GUI_GTK|} -< {not in Vi} + {not in Vi} *:helpt* *:helptags* *E154* *E150* *E151* *E152* *E153* *E670* diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.3. Last change: 2010 Jul 29 +*insert.txt* For Vim version 7.3. Last change: 2010 Sep 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -555,12 +555,11 @@ CTRL-D, 'expandtab', 'smarttab', 'softta In 'list' mode, Virtual Replace mode acts as if it was not in 'list' mode, unless "L" is in 'cpoptions'. -Note that the only times characters beyond the cursor should appear to move -are in 'list' mode, and occasionally when 'wrap' is set (and the line changes -length to become shorter or wider than the width of the screen), or -momentarily when typing over a CTRL character. A CTRL character takes up two -screen spaces. When replacing it with two normal characters, the first will -be inserted and the second will replace the CTRL character. +Note that the only situations for which characters beyond the cursor should +appear to move are in List mode |'list'|, and occasionally when 'wrap' is set +(and the line changes length to become shorter or wider than the width of the +screen). In other cases spaces may be inserted to avoid following characters +to move. This mode is very useful for editing separated columns in tables, for entering new data while keeping all the columns aligned. diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt --- a/runtime/doc/message.txt +++ b/runtime/doc/message.txt @@ -1,4 +1,4 @@ -*message.txt* For Vim version 7.3. Last change: 2010 Aug 10 +*message.txt* For Vim version 7.3. Last change: 2010 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -65,7 +65,7 @@ or view a list of recent messages with: LIST OF MESSAGES *E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317* *E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322* - *E323* *E341* *E473* *E570* *E685* > + *E323* *E341* *E473* *E570* *E685* > Add to read buffer makemap: Illegal mode Cannot create BalloonEval with both message and callback diff --git a/runtime/doc/os_vms.txt b/runtime/doc/os_vms.txt --- a/runtime/doc/os_vms.txt +++ b/runtime/doc/os_vms.txt @@ -1,4 +1,4 @@ -*os_vms.txt* For Vim version 7.3. Last change: 2010 Jul 28 +*os_vms.txt* For Vim version 7.3. Last change: 2010 Aug 16 VIM REFERENCE MANUAL @@ -675,7 +675,7 @@ slow when user wants to run Vim just in Luckily, there is a simple solution for that. Administrators need to deploy both GUI/GTK build and just console build executables, like below: > - |- vim72 + |- vim73 |----- doc |----- syntax vimrc (system rc files) @@ -685,7 +685,7 @@ both GUI/GTK build and just console buil Define system symbols like below in for ex in LOGIN.COM or SYLOGIN.COM: > - $ define/nolog VIM RF10:[UTIL.VIM72] ! where you VIM directory is + $ define/nolog VIM RF10:[UTIL.VIM73] ! where you VIM directory is $ vi*m :== mcr VIM:VIM.EXE $ gvi*m :== mcr VIM:GVIM.EXE $ ! or you can try to spawn with @@ -755,7 +755,7 @@ Solution 2. Different directories: > $ define/nolog VIM RF10:[UTIL.IA64_EXE] ! IA64 executables $ endif $! VIMRUNTIME must be defined in order to find runtime files - $ define/nolog VIMRUNTIME RF10:[UTIL.VIM72] + $ define/nolog VIMRUNTIME RF10:[UTIL.VIM73] A good example for this approach is the [GNU]gnu_tools.com script from GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/ diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt --- a/runtime/doc/pi_zip.txt +++ b/runtime/doc/pi_zip.txt @@ -1,4 +1,4 @@ -*pi_zip.txt* For Vim version 7.3. Last change: 2010 Apr 12 +*pi_zip.txt* For Vim version 7.3. Last change: 2010 Sep 14 +====================+ | Zip File Interface | @@ -64,12 +64,11 @@ 2. Usage *zip-usage* *zip-manual* If for some reason you do not wish to use vim to examine zipped files, you may put the following two variables into your <.vimrc> to prevent - the tar plugin from loading: > + the zip plugin from loading: > let g:loaded_zipPlugin= 1 let g:loaded_zip = 1 < -< ============================================================================== 3. Additional Extensions *zip-extension* diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -1,4 +1,4 @@ -*quickref.txt* For Vim version 7.3. Last change: 2010 Jul 24 +*quickref.txt* For Vim version 7.3. Last change: 2010 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1091,11 +1091,11 @@ Context-sensitive completion on the comm |:_#| #[num] alternate file name [num] (only where a file name is expected) Note: The next seven are typed literally; these are not special keys! -|:| buffer number, for use in an autocommand (only where a +|:| buffer number, for use in an autocommand (only where a file name is expected) -|:| file name, for user in an autocommand (only where a +|:| file name, for use in an autocommand (only where a file name is expected) -|:| what matched with the pattern, for use in an +|:| what matched with the pattern, for use in an autocommand (only where a file name is expected) |:| word under the cursor (only where a file name is expected) @@ -1377,7 +1377,7 @@ Context-sensitive completion on the comm set foldmethod=indent folding by indent set foldmethod=expr folding by 'foldexpr' set foldmethod=syntax folding by syntax regions - set foldmethod=marker folding by 'foldmarkers' + set foldmethod=marker folding by 'foldmarker' |zf| zf{motion} operator: Define a fold manually |:fold| :{range}fold define a fold for {range} lines diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 7.3. Last change: 2009 Dec 31 +*starting.txt* For Vim version 7.3. Last change: 2010 Sep 18 VIM REFERENCE MANUAL by Bram Moolenaar @@ -95,14 +95,14 @@ exim vim -E Start in improved Ex mod (normally not installed) view vim -R Start in read-only mode (see |-R|). *view* gvim vim -g Start the GUI (see |gui|). *gvim* -gex vim -eg Start the GUI in Ex mode. *gex* -gview vim -Rg Start the GUI in read-only mode. *gview* +gex vim -eg Start the GUI in Ex mode. *gex* +gview vim -Rg Start the GUI in read-only mode. *gview* rvim vim -Z Like "vim", but in restricted mode (see |-Z|) *rvim* -rview vim -RZ Like "view", but in restricted mode. *rview* -rgvim vim -gZ Like "gvim", but in restricted mode. *rgvim* -rgview vim -RgZ Like "gview", but in restricted mode. *rgview* +rview vim -RZ Like "view", but in restricted mode. *rview* +rgvim vim -gZ Like "gvim", but in restricted mode. *rgvim* +rgview vim -RgZ Like "gview", but in restricted mode. *rgview* evim vim -y Easy Vim: set 'insertmode' (see |-y|) *evim* -eview vim -yR Like "evim" in read-only mode *eview* +eview vim -yR Like "evim" in read-only mode *eview* vimdiff vim -d Start in diff mode |diff-mode| gvimdiff vim -gd Start in diff mode |diff-mode| @@ -244,7 +244,7 @@ a slash. Thus "-R" means recovery and " -Z Restricted mode. All commands that make use of an external shell are disabled. This includes suspending with CTRL-Z, ":sh", filtering, the system() function, backtick expansion, - etc. + delete(), rename(), mkdir(), writefile(), libcall(), etc. {not in Vi} *-g* @@ -869,6 +869,7 @@ 11. Open all windows 12. Execute startup commands If a "-t" flag was given to Vim, the tag is jumped to. The commands given with the |-c| and |+cmd| arguments are executed. + The starting flag is reset, has("vim_starting") will now return zero. If the 'insertmode' option is set, Insert mode is entered. The |VimEnter| autocommands are executed. diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 7.3. Last change: 2010 Aug 10 +*syntax.txt* For Vim version 7.3. Last change: 2010 Sep 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3953,7 +3953,7 @@ To show the syntax items for one syntax :sy[ntax] list {group-name} -To list the syntax groups in one cluster: *E392* > +To list the syntax groups in one cluster: *E392* > :sy[ntax] list @{cluster-name} @@ -4612,7 +4612,7 @@ is loaded into that window or the file i When splitting the window, the new window will use the original syntax. ============================================================================== -16. Color xterms *xterm-color* *color-xterm* +17. Color xterms *xterm-color* *color-xterm* Most color xterms have only eight colors. If you don't get colors with the default setup, it should work with these lines in your .vimrc: > diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.3. Last change: 2010 Aug 15 +*todo.txt* For Vim version 7.3. Last change: 2010 Sep 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,23 +30,97 @@ be worked on, but only if you sponsor Vi *known-bugs* -------------------- Known bugs and current work ----------------------- -":find e" completion, editing a file in the Vim source directory, 'path' set -to "./proto", does not shorten ./proto/eval.pro, probably because of -./proto/ex_eval.pro. +"buffer" in if_python.c, ex_pyfile() shadows global var buffer in if_py_both.h + +Crash on Windows when using strftime(). (Christian Brabandt, 2010 Aug 18) +Appears to be triggered by '%R' and '%T'. +Use the bad_param_handler() (Mike Williams, 2010 Aug 19, 20) + +Patch: missing break in Mac GUI. (Dominique Pelle, 2010 Aug 19) + +":e ~br" does not complete to ":e /home/bram/". Crash too? + +Patch for Mingw build file (Jon, 2010 Aug 22) +Patch for loading different Ruby versions. (Jon, 2010 Aug 23) + +Patch for clipboard not working properly: (Toni Ronkko) +http://softagalleria.net/download/vim/clipboard.patch +Clipboard not working with Athena. (Micael Ringe, 2010 Sep 13) + +Document cscope and sign completion for user commands. (Peter Odding, 2010 Aug +19) Problem with \NL in Ex script. (Ray Frish, 2010 Aug 10) +Runtime file for Falcon. (Steven Oliver, 2010 Sep 14) + +Patch to fix error tags in help files. (Dominique Pelle, 2010 Aug 25) + +Patch to fix :nbstart silently failing. (Xavier de Gaye, 2010 Aug 20) +Another one for when Athena has netbeans support. + +patch for 3 bugs reported by smatch. (Dominique Pelle, 2010 Aug 23) + +'cursorline' is displayed too short when there are concealed characters and +'list' is set, 'listchars' at default value. (Dennis Preiser, 2010 Aug 15) + +Hang on slave PTY on Mac. Patch from Nikola Knezevic, 2010 Aug 29. + +Patch to support netbeans under Athena. (Xavier de Gaye, 2010 Aug 20) + +Patch to fix sign type negative and memory not freed. (Xavier de Gaye, 2010 +Aug 20) + +Conceal: using Tab for cchar causes problems. Should reject it. (ZyX, 2010 +Aug 25) + +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 +21, Ben Fritz, 2010 Sep 14) + +Patch for :mksession not escaping file name properly. (Peter Odding, 2010 Sep +19) + +Patch for :grep docs. (Britton Kerin, 2010 Aug 31) + +Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26) + +maparg() doesn't return the flags, such as ,