summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
committerBram Moolenaar <Bram@vim.org>2008-07-13 17:41:49 +0000
commitc236c16d0884c7d6cdc4dbaddb8cb3992085f83e (patch)
tree7d87344cdf07b6b9234abe26ccef39fbbee54f63 /runtime/doc
parentb316376b4893ac3ae62f7f33c483b28b7fc147c0 (diff)
downloadvim-git-c236c16d0884c7d6cdc4dbaddb8cb3992085f83e.tar.gz
updated for version 7.2b-000v7.2b.000
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/arabic.txt2
-rw-r--r--runtime/doc/autocmd.txt9
-rw-r--r--runtime/doc/change.txt10
-rw-r--r--runtime/doc/cmdline.txt6
-rw-r--r--runtime/doc/debug.txt2
-rw-r--r--runtime/doc/debugger.txt2
-rw-r--r--runtime/doc/develop.txt2
-rw-r--r--runtime/doc/diff.txt2
-rw-r--r--runtime/doc/digraph.txt2
-rw-r--r--runtime/doc/editing.txt43
-rw-r--r--runtime/doc/eval.txt50
-rw-r--r--runtime/doc/farsi.txt2
-rw-r--r--runtime/doc/filetype.txt10
-rw-r--r--runtime/doc/fold.txt2
-rw-r--r--runtime/doc/ft_ada.txt2
-rw-r--r--runtime/doc/ft_sql.txt2
-rw-r--r--runtime/doc/gui.txt2
-rw-r--r--runtime/doc/gui_w16.txt2
-rw-r--r--runtime/doc/gui_w32.txt4
-rw-r--r--runtime/doc/gui_x11.txt2
-rw-r--r--runtime/doc/hangulin.txt2
-rw-r--r--runtime/doc/hebrew.txt2
-rw-r--r--runtime/doc/help.txt2
-rw-r--r--runtime/doc/howto.txt2
-rw-r--r--runtime/doc/if_cscop.txt2
-rw-r--r--runtime/doc/if_mzsch.txt6
-rw-r--r--runtime/doc/if_ole.txt2
-rw-r--r--runtime/doc/if_perl.txt2
-rw-r--r--runtime/doc/if_pyth.txt2
-rw-r--r--runtime/doc/if_ruby.txt2
-rw-r--r--runtime/doc/if_sniff.txt2
-rw-r--r--runtime/doc/if_tcl.txt4
-rw-r--r--runtime/doc/indent.txt77
-rw-r--r--runtime/doc/index.txt2
-rw-r--r--runtime/doc/insert.txt2
-rw-r--r--runtime/doc/intro.txt4
-rw-r--r--runtime/doc/map.txt6
-rw-r--r--runtime/doc/mbyte.txt2
-rw-r--r--runtime/doc/message.txt2
-rw-r--r--runtime/doc/mlang.txt2
-rw-r--r--runtime/doc/motion.txt2
-rw-r--r--runtime/doc/netbeans.txt6
-rw-r--r--runtime/doc/options.txt27
-rw-r--r--runtime/doc/os_390.txt2
-rw-r--r--runtime/doc/os_amiga.txt2
-rw-r--r--runtime/doc/os_beos.txt2
-rw-r--r--runtime/doc/os_dos.txt2
-rw-r--r--runtime/doc/os_mac.txt2
-rw-r--r--runtime/doc/os_mint.txt2
-rw-r--r--runtime/doc/os_msdos.txt2
-rw-r--r--runtime/doc/os_os2.txt2
-rw-r--r--runtime/doc/os_qnx.txt2
-rw-r--r--runtime/doc/os_risc.txt66
-rw-r--r--runtime/doc/os_unix.txt2
-rw-r--r--runtime/doc/os_vms.txt2
-rw-r--r--runtime/doc/os_win32.txt2
-rw-r--r--runtime/doc/pattern.txt2
-rw-r--r--runtime/doc/pi_getscript.txt5
-rw-r--r--runtime/doc/pi_gzip.txt2
-rw-r--r--runtime/doc/pi_netrw.txt61
-rw-r--r--runtime/doc/pi_paren.txt2
-rw-r--r--runtime/doc/pi_spec.txt2
-rw-r--r--runtime/doc/pi_tar.txt2
-rw-r--r--runtime/doc/pi_vimball.txt4
-rw-r--r--runtime/doc/pi_zip.txt4
-rw-r--r--runtime/doc/print.txt2
-rw-r--r--runtime/doc/quickfix.txt2
-rw-r--r--runtime/doc/quickref.txt2
-rw-r--r--runtime/doc/quotes.txt2
-rw-r--r--runtime/doc/recover.txt2
-rw-r--r--runtime/doc/remote.txt2
-rw-r--r--runtime/doc/repeat.txt2
-rw-r--r--runtime/doc/rileft.txt2
-rw-r--r--runtime/doc/russian.txt2
-rw-r--r--runtime/doc/scroll.txt2
-rw-r--r--runtime/doc/sign.txt2
-rw-r--r--runtime/doc/spell.txt2
-rw-r--r--runtime/doc/sponsor.txt2
-rw-r--r--runtime/doc/starting.txt2
-rw-r--r--runtime/doc/syntax.txt2
-rw-r--r--runtime/doc/tabpage.txt2
-rw-r--r--runtime/doc/tags10
-rw-r--r--runtime/doc/tagsrch.txt2
-rw-r--r--runtime/doc/term.txt2
-rw-r--r--runtime/doc/tips.txt2
-rw-r--r--runtime/doc/todo.txt86
-rw-r--r--runtime/doc/uganda.txt2
-rw-r--r--runtime/doc/undo.txt2
-rw-r--r--runtime/doc/usr_01.txt2
-rw-r--r--runtime/doc/usr_02.txt2
-rw-r--r--runtime/doc/usr_03.txt2
-rw-r--r--runtime/doc/usr_04.txt2
-rw-r--r--runtime/doc/usr_05.txt2
-rw-r--r--runtime/doc/usr_06.txt2
-rw-r--r--runtime/doc/usr_07.txt2
-rw-r--r--runtime/doc/usr_08.txt2
-rw-r--r--runtime/doc/usr_09.txt2
-rw-r--r--runtime/doc/usr_10.txt2
-rw-r--r--runtime/doc/usr_11.txt2
-rw-r--r--runtime/doc/usr_12.txt2
-rw-r--r--runtime/doc/usr_20.txt2
-rw-r--r--runtime/doc/usr_21.txt2
-rw-r--r--runtime/doc/usr_22.txt2
-rw-r--r--runtime/doc/usr_23.txt2
-rw-r--r--runtime/doc/usr_24.txt2
-rw-r--r--runtime/doc/usr_25.txt2
-rw-r--r--runtime/doc/usr_26.txt2
-rw-r--r--runtime/doc/usr_27.txt2
-rw-r--r--runtime/doc/usr_28.txt2
-rw-r--r--runtime/doc/usr_29.txt6
-rw-r--r--runtime/doc/usr_30.txt2
-rw-r--r--runtime/doc/usr_31.txt2
-rw-r--r--runtime/doc/usr_32.txt2
-rw-r--r--runtime/doc/usr_40.txt2
-rw-r--r--runtime/doc/usr_41.txt2
-rw-r--r--runtime/doc/usr_42.txt2
-rw-r--r--runtime/doc/usr_43.txt2
-rw-r--r--runtime/doc/usr_44.txt2
-rw-r--r--runtime/doc/usr_45.txt2
-rw-r--r--runtime/doc/usr_90.txt2
-rw-r--r--runtime/doc/usr_toc.txt2
-rw-r--r--runtime/doc/various.txt4
-rw-r--r--runtime/doc/version4.txt2
-rw-r--r--runtime/doc/version5.txt6
-rw-r--r--runtime/doc/version6.txt4
-rw-r--r--runtime/doc/version7.txt193
-rw-r--r--runtime/doc/vi_diff.txt4
-rw-r--r--runtime/doc/visual.txt2
-rw-r--r--runtime/doc/windows.txt6
-rw-r--r--runtime/doc/workshop.txt2
130 files changed, 624 insertions, 301 deletions
diff --git a/runtime/doc/arabic.txt b/runtime/doc/arabic.txt
index 9445f2e09..dc8e9b173 100644
--- a/runtime/doc/arabic.txt
+++ b/runtime/doc/arabic.txt
@@ -1,4 +1,4 @@
-*arabic.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*arabic.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Nadim Shaikli
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 80032e038..e892f4c49 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 7.2a. Last change: 2008 Jun 24
+*autocmd.txt* For Vim version 7.2b. Last change: 2008 Jun 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -406,9 +406,10 @@ BufWinEnter After a buffer is displayed in a window. This
Does not happen for |:split| without
arguments, since you keep editing the same
buffer, or ":split" with a file that's already
- open in a window. But it does happen for
- a ":split" with the name of the current
- buffer, since it reloads that buffer.
+ open in a window, because it re-uses an
+ existing buffer. But it does happen for a
+ ":split" with the name of the current buffer,
+ since it reloads that buffer.
*BufWinLeave*
BufWinLeave Before a buffer is removed from a window.
Not when it's still visible in another window.
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 24cf3fe9c..65af5fc1c 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.2a. Last change: 2008 Jun 22
+*change.txt* For Vim version 7.2b. Last change: 2008 Jul 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -772,9 +772,9 @@ expression. This does not work recursively: a substitute() function inside
the expression cannot use "\=" for the substitute string.
The special meaning for characters as mentioned at |sub-replace-special| does
-not apply except "<CR>", "\<CR>" and "\\". Thus in the result of the
-expression you need to use two backslashes get one, put a backslash before a
-<CR> you want to insert and use a <CR> without a backslash where you want to
+not apply except for "<CR>", "\<CR>" and "\\". Thus in the result of the
+expression you need to use two backslashes to get one, put a backslash before a
+<CR> you want to insert, and use a <CR> without a backslash where you want to
break the line.
For convenience a <NL> character is also used as a line break. Prepend a
@@ -797,7 +797,7 @@ Examples: >
This replaces an end-of-line with a new line containing the value of $HOME. >
s/E/\="\<Char-0x20ac>"/g
-This replaces 'E' characters with an euro sign. Read more in |<Char->|.
+This replaces each 'E' character with a euro sign. Read more in |<Char->|.
4.3 Search and replace *search-replace*
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index bc6bbd74d..8f577c87a 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -1,4 +1,4 @@
-*cmdline.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*cmdline.txt* For Vim version 7.2b. Last change: 2008 Jul 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -369,7 +369,9 @@ word before the cursor. This is available for:
- Variable and function names: Only after a ":if", ":call" or similar command.
When Vim was compiled with the |+cmdline_compl| feature disabled, only file
-names, directories and help items can be completed.
+names, directories and help items can be completed. The number of help item
+matches is limited (currently to 300) to avoid a long delay when there are
+very many matches.
These are the commands that can be used:
diff --git a/runtime/doc/debug.txt b/runtime/doc/debug.txt
index 0e83ec715..1eb20afbf 100644
--- a/runtime/doc/debug.txt
+++ b/runtime/doc/debug.txt
@@ -1,4 +1,4 @@
-*debug.txt* For Vim version 7.2a. Last change: 2006 May 01
+*debug.txt* For Vim version 7.2b. Last change: 2006 May 01
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/debugger.txt b/runtime/doc/debugger.txt
index 0a152a61d..ea9858a7d 100644
--- a/runtime/doc/debugger.txt
+++ b/runtime/doc/debugger.txt
@@ -1,4 +1,4 @@
-*debugger.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*debugger.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Gordon Prieur
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index 67adcb8f9..85bf1c577 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -1,4 +1,4 @@
-*develop.txt* For Vim version 7.2a. Last change: 2007 May 11
+*develop.txt* For Vim version 7.2b. Last change: 2007 May 11
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/diff.txt b/runtime/doc/diff.txt
index 1adef600c..379f6a6be 100644
--- a/runtime/doc/diff.txt
+++ b/runtime/doc/diff.txt
@@ -1,4 +1,4 @@
-*diff.txt* For Vim version 7.2a. Last change: 2006 Oct 02
+*diff.txt* For Vim version 7.2b. Last change: 2006 Oct 02
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/digraph.txt b/runtime/doc/digraph.txt
index f5b5ce742..b15651d79 100644
--- a/runtime/doc/digraph.txt
+++ b/runtime/doc/digraph.txt
@@ -1,4 +1,4 @@
-*digraph.txt* For Vim version 7.2a. Last change: 2007 Sep 10
+*digraph.txt* For Vim version 7.2b. Last change: 2007 Sep 10
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt
index 2ef3f96bc..65a11344c 100644
--- a/runtime/doc/editing.txt
+++ b/runtime/doc/editing.txt
@@ -1,4 +1,4 @@
-*editing.txt* For Vim version 7.2a. Last change: 2008 Apr 29
+*editing.txt* For Vim version 7.2b. Last change: 2008 Jul 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -302,9 +302,9 @@ CTRL-^ Edit the alternate file (equivalent to ":e #").
Uses the 'isfname' option to find out which characters
are supposed to be in a file name. Trailing
punctuation characters ".,:;!" are ignored.
- Uses the 'path' option as a list of directory names
- to look for the file. Also looks for the file
- relative to the current file.
+ Uses the 'path' option as a list of directory names to
+ look for the file. See the 'path' option for details
+ about relative directories and wildcards.
Uses the 'suffixesadd' option to check for file names
with a suffix added.
If the file can't be found, 'includeexpr' is used to
@@ -367,13 +367,13 @@ current file name.
Besides the things mentioned here, more special items for where a filename is
expected are mentioned at |cmdline-special|.
-Note for systems other than Unix and MS-DOS: When using a command that
-accepts a single file name (like ":edit file") spaces in the file name are
-allowed, but trailing spaces are ignored. This is useful on systems that
-allow file names with embedded spaces (like MS-Windows and the Amiga).
-Example: The command ":e Long File Name " will edit the file "Long File
-Name". When using a command that accepts more than one file name (like ":next
-file1 file2") embedded spaces must be escaped with a backslash.
+Note for systems other than Unix: When using a command that accepts a single
+file name (like ":edit file") spaces in the file name are allowed, but
+trailing spaces are ignored. This is useful on systems that regularly embed
+spaces in file names (like MS-Windows and the Amiga). Example: The command
+":e Long File Name " will edit the file "Long File Name". When using a
+command that accepts more than one file name (like ":next file1 file2")
+embedded spaces must be escaped with a backslash.
*wildcard* *wildcards*
Wildcards in {file} are expanded. Which wildcards are supported depends on
@@ -391,6 +391,8 @@ is to use "path\[[]abc]". Then the file "path[abc]" literally.
*starstar-wildcard*
Expanding "**" is possible on Unix, Win32, Mac OS/X and a few other systems.
This allows searching a directory tree. This goes up to 100 directories deep.
+Note there are some commands where this works slightly different, see
+|file-searching|.
Example: >
:n **/*.txt
Finds files:
@@ -1476,14 +1478,16 @@ problem goes away the next day.
{not available when compiled without the |+path_extra| feature}
The file searching is currently used for the 'path', 'cdpath' and 'tags'
-options, for |finddir()| and |findfile()|.
+options, for |finddir()| and |findfile()|. Other commands use |wildcards|
+which is slightly different.
There are three different types of searching:
1) Downward search: *starstar*
Downward search uses the wildcards '*', '**' and possibly others
- supported by your operating system. '*' and '**' are handled inside Vim, so
- they work on all operating systems.
+ supported by your operating system. '*' and '**' are handled inside Vim,
+ so they work on all operating systems. Note that "**" only acts as a
+ special wildcard when it is at the start of a name.
The usage of '*' is quite simple: It matches 0 or more characters. In a
search pattern this would be ".*". Note that the "." is not used for file
@@ -1491,8 +1495,8 @@ There are three different types of searching:
'**' is more sophisticated:
- It ONLY matches directories.
- - It matches up to 30 directories deep, so you can use it to search an
- entire directory tree
+ - It matches up to 30 directories deep by default, so you can use it to
+ search an entire directory tree
- The maximum number of levels matched can be given by appending a number
to '**'.
Thus '/usr/**2' can match: >
@@ -1505,15 +1509,16 @@ There are three different types of searching:
....
< It does NOT match '/usr/include/g++/std' as this would be three
levels.
- The allowed number range is 0 ('**0' is removed) to 255.
+ The allowed number range is 0 ('**0' is removed) to 100
If the given number is smaller than 0 it defaults to 30, if it's
- bigger than 255 then 255 is used.
+ bigger than 100 then 100 is used. The system also has a limit on the
+ path length, usually 256 or 1024 bytes.
- '**' can only be at the end of the path or be followed by a path
separator or by a number and a path separator.
You can combine '*' and '**' in any order: >
/usr/**/sys/*
- /usr/*/sys/**
+ /usr/*tory/sys/**
/usr/**2/sys/*
2) Upward search:
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 6fd0ae171..20fa361da 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.2a. Last change: 2008 Jun 24
+*eval.txt* For Vim version 7.2b. Last change: 2008 Jul 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2524,9 +2524,15 @@ exists({expr}) The result is a Number, which is non-zero if {expr} is
|internal-variables|). Also works
for |curly-braces-names|, |Dictionary|
entries, |List| items, etc. Beware
- that this may cause functions to be
- invoked cause an error message for an
- invalid expression.
+ that evaluating an index may cause an
+ error message for an invalid
+ expression. E.g.: >
+ :let l = [1, 2, 3]
+ :echo exists("l[5]")
+< 0 >
+ :echo exists("l[xx]")
+< E121: Undefined variable: xx
+ 0
:cmdname Ex command: built-in command, user
command or command modifier |:command|.
Returns:
@@ -2945,6 +2951,8 @@ getbufvar({expr}, {varname}) *getbufvar()*
The result is the value of option or local buffer variable
{varname} in buffer {expr}. Note that the name without "b:"
must be used.
+ When {varname} is empty returns a dictionary with all the
+ buffer-local variables.
This also works for a global or buffer-local option, but it
doesn't work for a global variable, window-local variable or
window-local option.
@@ -3296,7 +3304,9 @@ globpath({path}, {expr}) *globpath()*
For example, to find all "README.txt" files in the directories
in 'runtimepath' and below: >
:echo globpath(&rtp, "**/README.txt")
-<
+< Upwards search and limiting the depth of "**" is not
+ supported, thus using 'path' will not always work properly.
+
*has()*
has({feature}) The result is a Number, which is 1 if the feature {feature} is
supported, zero otherwise. The {feature} argument is a
@@ -3361,13 +3371,13 @@ histdel({history} [, {item}]) *histdel()*
Clear {history}, i.e. delete all its entries. See |hist-names|
for the possible values of {history}.
- If the parameter {item} is given as String, this is seen
- as regular expression. All entries matching that expression
- will be removed from the history (if there are any).
+ If the parameter {item} evaluates to a String, it is used as a
+ regular expression. All entries matching that expression will
+ be removed from the history (if there are any).
Upper/lowercase must match, unless "\c" is used |/\c|.
- If {item} is a Number, it will be interpreted as index, see
- |:history-indexing|. The respective entry will be removed
- if it exists.
+ If {item} evaluates to a Number, it will be interpreted as
+ an index, see |:history-indexing|. The respective entry will
+ be removed if it exists.
The result is a Number: 1 for a successful operation,
otherwise 0 is returned.
@@ -4278,9 +4288,11 @@ printf({fmt}, {expr1} ...) *printf()*
% A '%' is written. No argument is converted. The
complete conversion specification is "%%".
- Each argument can be Number or String and is converted
- automatically to fit the conversion specifier. Any other
- argument type results in an error message.
+ When a Number argument is expected a String argument is also
+ accepted and automatically converted.
+ When a Float or String argument is expected a Number argument
+ is also accepted and automatically converted.
+ Any other argument type results in an error message.
*E766* *E767*
The number of {exprN} arguments must exactly match the number
@@ -4506,7 +4518,7 @@ reverse({list}) Reverse the order of items in {list} in-place. Returns
:let revlist = reverse(copy(mylist))
round({expr}) *round()*
- Round off {expr} to a the nearest integral value and return it
+ Round off {expr} to the nearest integral value and return it
as a |Float|. If {expr} lies halfway between two integral
values, then use the larger one (away from zero).
{expr} must evaluate to a |Float| or a |Number|.
@@ -5098,6 +5110,7 @@ sqrt({expr}) *sqrt()*
< 10.0 >
:echo sqrt(-4.01)
< nan
+ "nan" may be different, it depends on system libraries.
{only available when compiled with the |+float| feature}
@@ -5484,7 +5497,7 @@ tr({src}, {fromstr}, {tostr}) *tr()*
< returns "{blob}"
trunc({expr}) *trunc()*
- Return the largest integral value with magnituted less than or
+ Return the largest integral value with magnitude less than or
equal to {expr} as a |Float| (truncate towards zero).
{expr} must evaluate to a |Float| or a |Number|.
Examples: >
@@ -6394,6 +6407,11 @@ This would call the function "my_func_whizz(parameter)".
< One item from a |Dictionary| can be removed at a time: >
:unlet dict['two']
:unlet dict.two
+< This is especially useful to clean up used global
+ variables and script-local variables (these are not
+ deleted when the script ends). Function-local
+ variables are automatically deleted when the function
+ ends.
:lockv[ar][!] [depth] {name} ... *:lockvar* *:lockv*
Lock the internal variable {name}. Locking means that
diff --git a/runtime/doc/farsi.txt b/runtime/doc/farsi.txt
index f489a7a06..5a42e439f 100644
--- a/runtime/doc/farsi.txt
+++ b/runtime/doc/farsi.txt
@@ -1,4 +1,4 @@
-*farsi.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*farsi.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Mortaza Ghassab Shiran
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index db3fe4e5e..4bff42d5b 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -1,4 +1,4 @@
-*filetype.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*filetype.txt* For Vim version 7.2b. Last change: 2008 Jun 27
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -55,7 +55,7 @@ filetype prepend "ft-" and optionally append "-syntax", "-indent" or
If the file type is not detected automatically, or it finds the wrong type,
you can either set the 'filetype' option manually, or add a modeline to your
-file. Example, for in an IDL file use the command: >
+file. Example, for an IDL file use the command: >
:set filetype=idl
or add this |modeline| to the file:
@@ -284,8 +284,8 @@ match in angle brackets in place of a pattern, like this: >
This will match:
-- Any file whose name ends in `.html'
-- Any file whose type is `&faf' or 'HTML', where the meaning of these types
+- Any file whose name ends in ".html"
+- Any file whose type is "&faf" or "HTML", where the meaning of these types
depends on which version of Vim you are using.
Unknown types are considered NOT to match.
@@ -294,7 +294,7 @@ must both match): >
:au BufRead <&fff>diff*
-This will match files of type `&fff' whose names start with `diff'.
+This will match files of type "&fff" whose names start with "diff".
Note that osfiletype checking is skipped if Vim is compiled without the
|+osfiletype| feature.
diff --git a/runtime/doc/fold.txt b/runtime/doc/fold.txt
index c81409398..8a8d800e6 100644
--- a/runtime/doc/fold.txt
+++ b/runtime/doc/fold.txt
@@ -1,4 +1,4 @@
-*fold.txt* For Vim version 7.2a. Last change: 2007 May 11
+*fold.txt* For Vim version 7.2b. Last change: 2007 May 11
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/ft_ada.txt b/runtime/doc/ft_ada.txt
index bec0f78fb..621d58342 100644
--- a/runtime/doc/ft_ada.txt
+++ b/runtime/doc/ft_ada.txt
@@ -1,4 +1,4 @@
-*ft_ada.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*ft_ada.txt* For Vim version 7.2b. Last change: 2008 Jun 21
ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
diff --git a/runtime/doc/ft_sql.txt b/runtime/doc/ft_sql.txt
index 7946c4f70..8d236a10e 100644
--- a/runtime/doc/ft_sql.txt
+++ b/runtime/doc/ft_sql.txt
@@ -1,4 +1,4 @@
-*ft_sql.txt* For Vim version 7.2a. Last change: Wed Apr 26 2006 3:05:33 PM
+*ft_sql.txt* For Vim version 7.2b. Last change: Wed Apr 26 2006 3:05:33 PM
by David Fishburn
diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt
index d191bb098..58123b1e9 100644
--- a/runtime/doc/gui.txt
+++ b/runtime/doc/gui.txt
@@ -1,4 +1,4 @@
-*gui.txt* For Vim version 7.2a. Last change: 2008 Jun 14
+*gui.txt* For Vim version 7.2b. Last change: 2008 Jun 14
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/gui_w16.txt b/runtime/doc/gui_w16.txt
index 954e138d9..db1f83110 100644
--- a/runtime/doc/gui_w16.txt
+++ b/runtime/doc/gui_w16.txt
@@ -1,4 +1,4 @@
-*gui_w16.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*gui_w16.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/gui_w32.txt b/runtime/doc/gui_w32.txt
index 78d696e0c..85b910f5b 100644
--- a/runtime/doc/gui_w32.txt
+++ b/runtime/doc/gui_w32.txt
@@ -1,4 +1,4 @@
-*gui_w32.txt* For Vim version 7.2a. Last change: 2007 Aug 30
+*gui_w32.txt* For Vim version 7.2b. Last change: 2007 Aug 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -129,7 +129,7 @@ the makefile by double clicking it and use the "Edit with Vim" entry to edit
the makefile.
You can select any files and right-click to see a menu option called "Edit
-with gvim". Chosing this menu option will invoke gvim with the file you have
+with gvim". Choosing this menu option will invoke gvim with the file you have
selected. If you select multiple files, you will find two gvim-related menu
options:
"Edit with multiple gvims" -- one gvim for each file in the selection
diff --git a/runtime/doc/gui_x11.txt b/runtime/doc/gui_x11.txt
index 457d2ccfa..ff848564d 100644
--- a/runtime/doc/gui_x11.txt
+++ b/runtime/doc/gui_x11.txt
@@ -1,4 +1,4 @@
-*gui_x11.txt* For Vim version 7.2a. Last change: 2007 Dec 09
+*gui_x11.txt* For Vim version 7.2b. Last change: 2007 Dec 09
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/hangulin.txt b/runtime/doc/hangulin.txt
index f1fa3b3dc..29a828a74 100644
--- a/runtime/doc/hangulin.txt
+++ b/runtime/doc/hangulin.txt
@@ -1,4 +1,4 @@
-*hangulin.txt* For Vim version 7.2a. Last change: 2006 Apr 02
+*hangulin.txt* For Vim version 7.2b. Last change: 2006 Apr 02
VIM REFERENCE MANUAL by Chi-Deok Hwang and Sung-Hyun Nam
diff --git a/runtime/doc/hebrew.txt b/runtime/doc/hebrew.txt
index 600f27718..d28c33d63 100644
--- a/runtime/doc/hebrew.txt
+++ b/runtime/doc/hebrew.txt
@@ -1,4 +1,4 @@
-*hebrew.txt* For Vim version 7.2a. Last change: 2007 Jun 14
+*hebrew.txt* For Vim version 7.2b. Last change: 2007 Jun 14
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem)
diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt
index 5cad2bf20..e81dd3a4e 100644
--- a/runtime/doc/help.txt
+++ b/runtime/doc/help.txt
@@ -1,4 +1,4 @@
-*help.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*help.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM - main help file
k
diff --git a/runtime/doc/howto.txt b/runtime/doc/howto.txt
index 3ad8f4fdd..fbad7beb9 100644
--- a/runtime/doc/howto.txt
+++ b/runtime/doc/howto.txt
@@ -1,4 +1,4 @@
-*howto.txt* For Vim version 7.2a. Last change: 2006 Apr 02
+*howto.txt* For Vim version 7.2b. Last change: 2006 Apr 02
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/if_cscop.txt b/runtime/doc/if_cscop.txt
index 744806214..97bb4b12a 100644
--- a/runtime/doc/if_cscop.txt
+++ b/runtime/doc/if_cscop.txt
@@ -1,4 +1,4 @@
-*if_cscop.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*if_cscop.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Andy Kahn
diff --git a/runtime/doc/if_mzsch.txt b/runtime/doc/if_mzsch.txt
index dd538accc..559c43966 100644
--- a/runtime/doc/if_mzsch.txt
+++ b/runtime/doc/if_mzsch.txt
@@ -1,4 +1,4 @@
-*if_mzsch.txt* For Vim version 7.2a. Last change: 2007 May 03
+*if_mzsch.txt* For Vim version 7.2b. Last change: 2008 Jun 28
VIM REFERENCE MANUAL by Sergey Khorev
@@ -55,7 +55,7 @@ In the case of :mzscheme, the code to execute is in the command-line.
In the case of :mzfile, the code to execute is the contents of the given file.
Each buffer has its own MzScheme namespace. Global namespace is bound to
-the `global-namespace' value from the 'vimext' module.
+the "global-namespace" value from the 'vimext' module.
MzScheme interface defines exception exn:vim, derived from exn.
It is raised for various Vim errors.
@@ -218,7 +218,7 @@ Buffers *mzscheme-buffer*
{linenr}. If {linenr} is 0, lines will be
inserted at start.
(curr-buff) Get the current buffer. Use procedures
- from `vimcmd' module to change it.
+ from "vimcmd" module to change it.
(buff-count) Get count of total buffers in the editor.
(get-next-buff [buffer]) Get next buffer.
(get-prev-buff [buffer]) Get previous buffer. Return #f when there
diff --git a/runtime/doc/if_ole.txt b/runtime/doc/if_ole.txt
index 08b4c492d..d1a306342 100644
--- a/runtime/doc/if_ole.txt
+++ b/runtime/doc/if_ole.txt
@@ -1,4 +1,4 @@
-*if_ole.txt* For Vim version 7.2a. Last change: 2007 May 10
+*if_ole.txt* For Vim version 7.2b. Last change: 2007 May 10
VIM REFERENCE MANUAL by Paul Moore
diff --git a/runtime/doc/if_perl.txt b/runtime/doc/if_perl.txt
index 675ed37f2..97e99b988 100644
--- a/runtime/doc/if_perl.txt
+++ b/runtime/doc/if_perl.txt
@@ -1,4 +1,4 @@
-*if_perl.txt* For Vim version 7.2a. Last change: 2006 Mar 06
+*if_perl.txt* For Vim version 7.2b. Last change: 2006 Mar 06
VIM REFERENCE MANUAL by Sven Verdoolaege
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index f8b0f8683..efdc37ef0 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -1,4 +1,4 @@
-*if_pyth.txt* For Vim version 7.2a. Last change: 2006 Apr 30
+*if_pyth.txt* For Vim version 7.2b. Last change: 2006 Apr 30
VIM REFERENCE MANUAL by Paul Moore
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt
index c381a6342..6de1f10da 100644
--- a/runtime/doc/if_ruby.txt
+++ b/runtime/doc/if_ruby.txt
@@ -1,4 +1,4 @@
-*if_ruby.txt* For Vim version 7.2a. Last change: 2006 Apr 30
+*if_ruby.txt* For Vim version 7.2b. Last change: 2006 Apr 30
VIM REFERENCE MANUAL by Shugo Maeda
diff --git a/runtime/doc/if_sniff.txt b/runtime/doc/if_sniff.txt
index 956895d9b..3129c140d 100644
--- a/runtime/doc/if_sniff.txt
+++ b/runtime/doc/if_sniff.txt
@@ -1,4 +1,4 @@
-*if_sniff.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*if_sniff.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL
diff --git a/runtime/doc/if_tcl.txt b/runtime/doc/if_tcl.txt
index 344592b3b..a9f5af78a 100644
--- a/runtime/doc/if_tcl.txt
+++ b/runtime/doc/if_tcl.txt
@@ -1,4 +1,4 @@
-*if_tcl.txt* For Vim version 7.2a. Last change: 2006 Mar 06
+*if_tcl.txt* For Vim version 7.2b. Last change: 2008 Jun 26
VIM REFERENCE MANUAL by Ingo Wilken
@@ -407,7 +407,7 @@ Options:
< See |tcl-window-cmds| for the available options.
$buf command [-quiet] {cmd} *tcl-buffer-command*
- $buf expr {exr} *tcl-buffer-expr*
+ $buf expr {expr} *tcl-buffer-expr*
$buf option {opt} [val] *tcl-buffer-option*
These are similar to "::vim::command" etc., except that everything is
done in the context of the buffer represented by $buf, instead of the
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index 8e5b7a397..542e03d7b 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -1,4 +1,4 @@
-*indent.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*indent.txt* For Vim version 7.2b. Last change: 2008 Jun 30
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -506,6 +506,81 @@ to get do loops indented in .f90 files and left alone in Fortran files with
other extensions such as .for.
+PHP *ft-php-indent* *php-indent* *php-indenting*
+
+NOTE: PHP files will be indented correctly only if PHP |syntax| is active.
+
+If you are editing a file in Unix 'fileformat' and '\r' characters are present
+before new lines, indentation won't proceed correctly ; you have to remove
+those useless characters first with a command like: >
+
+ :%s /\r$//g
+
+Or, you can simply |:let| the variable PHP_removeCRwhenUnix to 1 and the
+script will silently remove them when Vim loads a PHP file (at each|BufRead|).
+
+OPTIONS: ~
+
+PHP indenting can be altered in several ways by modifying the values of some
+variables:
+
+ *php-comment*
+To not enable auto-formating of comments by default (if you want to use your
+own 'formatoptions'): >
+ :let g:PHP_autoformatcomment = 0
+
+Else, 't' will be removed from the 'formatoptions' string and "qrowcb" will be
+added, see|fo-table|for more information.
+-------------
+
+To add an extra indent to every PHP lines with N being the number of
+'shiftwidth' to add: >
+ :let g:PHP_default_indenting = N
+
+For example, with N = 1, this will give:
+>
+ <?php
+ if (!isset($History_lst_sel))
+ if (!isset($History_lst_sel))
+ if (!isset($History_lst_sel)) {
+ $History_lst_sel=0;
+ } else
+ $foo="bar";
+
+ $command_hist = TRUE;
+ ?>
+(Notice the extra indent between the PHP container markers and the code)
+-------------
+
+To automatically remove '\r' characters when the 'fileformat' is set to Unix: >
+ :let g:PHP_removeCRwhenUnix = 1
+-------------
+
+To indent braces at the same level than the code they contain: >
+ :let g:PHP_BracesAtCodeLevel = 1
+
+This will give the following result: >
+ if ($foo)
+ {
+ foo();
+ }
+Instead of: >
+ if ($foo)
+ {
+ foo();
+ }
+
+NOTE: Indenting will be a bit slower if this option is used because some
+ optimizations won't be available.
+-------------
+
+To indent 'case:' and 'default:' statements in switch() blocks: >
+ :let g:PHP_vintage_case_default_indent = 1
+
+(By default they are indented at the same level than the 'switch()' to avoid
+unnecessary indentation)
+
+
PYTHON *ft-python-indent*
The amount of indent can be set for the following situations. The examples
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index f494328df..35f504478 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1,4 +1,4 @@
-*index.txt* For Vim version 7.2a. Last change: 2008 May 04
+*index.txt* For Vim version 7.2b. Last change: 2008 May 04
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index db0ba0e65..6752ba60e 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*insert.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt
index b830c57a0..ac750eee7 100644
--- a/runtime/doc/intro.txt
+++ b/runtime/doc/intro.txt
@@ -1,4 +1,4 @@
-*intro.txt* For Vim version 7.2a. Last change: 2008 Jun 24
+*intro.txt* For Vim version 7.2b. Last change: 2008 Jun 24
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -208,7 +208,7 @@ Vim would never have become what it is now, without the help of these people!
Bill Foster Athena GUI port
Google Lets me work on Vim one day a week
Loic Grenie xvim (ideas for multi windows version)
- Sven Guckes Vim promotor and previous WWW page maintainer
+ Sven Guckes Vim promoter and previous WWW page maintainer
Darren Hiebert Exuberant ctags
Jason Hildebrand GTK+ 2 port
Bruce Hunsaker improvements for VMS port
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 41b96151c..131e1bdf0 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1,4 +1,4 @@
-*map.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*map.txt* For Vim version 7.2b. Last change: 2008 Jul 09
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -162,8 +162,8 @@ be used in any order. They must appear right after the command, before any
other arguments.
*:map-local* *:map-<buffer>* *E224* *E225*
-If the first argument to one of these commands is "<buffer>" it will apply to
-mappings locally to the current buffer only. Example: >
+If the first argument to one of these commands is "<buffer>" the mapping will
+be effective in the current buffer only. Example: >
:map <buffer> ,w /[.,;]<CR>
Then you can map ",w" to something else in another buffer: >
:map <buffer> ,w /[#&!]<CR>
diff --git a/runtime/doc/mbyte.txt b/runtime/doc/mbyte.txt
index 4eabcf790..60445d14d 100644
--- a/runtime/doc/mbyte.txt
+++ b/runtime/doc/mbyte.txt
@@ -1,4 +1,4 @@
-*mbyte.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*mbyte.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar et al.
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt
index 9f8bbfb90..4731a71b0 100644
--- a/runtime/doc/message.txt
+++ b/runtime/doc/message.txt
@@ -1,4 +1,4 @@
-*message.txt* For Vim version 7.2a. Last change: 2007 Aug 19
+*message.txt* For Vim version 7.2b. Last change: 2007 Aug 19
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/mlang.txt b/runtime/doc/mlang.txt
index 2e94d85d6..d214c27ae 100644
--- a/runtime/doc/mlang.txt
+++ b/runtime/doc/mlang.txt
@@ -1,4 +1,4 @@
-*mlang.txt* For Vim version 7.2a. Last change: 2008 Jun 08
+*mlang.txt* For Vim version 7.2b. Last change: 2008 Jun 08
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index cdeb4f92a..c1b8d38c5 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1,4 +1,4 @@
-*motion.txt* For Vim version 7.2a. Last change: 2008 May 02
+*motion.txt* For Vim version 7.2b. Last change: 2008 May 02
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/netbeans.txt b/runtime/doc/netbeans.txt
index 353911166..b8074c780 100644
--- a/runtime/doc/netbeans.txt
+++ b/runtime/doc/netbeans.txt
@@ -1,4 +1,4 @@
-*netbeans.txt* For Vim version 7.2a. Last change: 2008 Jun 22
+*netbeans.txt* For Vim version 7.2b. Last change: 2008 Jun 28
VIM REFERENCE MANUAL by Gordon Prieur et al.
@@ -69,7 +69,7 @@ Initially just a Java IDE, NetBeans has had C, C++, and Fortran support added
in recent releases.
For more information visit the main NetBeans web site http://www.netbeans.org.
-The External Editor is now, unfortunately, declared Obsolte. See
+The External Editor is now, unfortunately, declared obsolete. See
http://externaleditor.netbeans.org.
Sun Microsystems, Inc. also ships NetBeans under the name Sun ONE Studio.
@@ -418,7 +418,7 @@ moveAnnoToFront serNum
Not implemented.
netbeansBuffer isNetbeansBuffer
- If "isNetbeansBuffer" is "T" then this buffer is ``owned'' by
+ If "isNetbeansBuffer" is "T" then this buffer is "owned" by
NetBeans.
New in version 2.2.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 568dab683..22c04196a 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.2a. Last change: 2008 Jun 24
+*options.txt* For Vim version 7.2b. Last change: 2008 Jul 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1280,7 +1280,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|+file_in_path| feature}
This is a list of directories which will be searched when using the
|:cd| and |:lcd| commands, provided that the directory being searched
- for has a relative path (not starting with "/", "./" or "../").
+ for has a relative path, not an absolute part starting with "/", "./"
+ or "../", the 'cdpath' option is not used then.
The 'cdpath' option's value has the same form and semantics as
|'path'|. Also see |file-searching|.
The default value is taken from $CDPATH, with a "," prepended to look
@@ -5011,9 +5012,10 @@ A jump table for the options with a short description can be found at |Q_op|.
global or local to buffer |global-local|
{not in Vi}
This is a list of directories which will be searched when using the
- |gf|, [f, ]f, ^Wf, |:find| and other commands, provided that the file
- being searched for has a relative path (not starting with '/'). The
- directories in the 'path' option may be relative or absolute.
+ |gf|, [f, ]f, ^Wf, |:find|, |:sfind|, |:tabfind| and other commands,
+ provided that the file being searched for has a relative path (not
+ starting with "/", "./" or "../"). The directories in the 'path'
+ option may be relative or absolute.
- Use commas to separate directory names: >
:set path=.,/usr/local/include,/usr/include
< - Spaces can also be used to separate directory names (for backwards
@@ -5032,19 +5034,8 @@ A jump table for the options with a short description can be found at |Q_op|.
- Environment variables are expanded |:set_env|.
- When using |netrw.vim| URLs can be used. For example, adding
"http://www.vim.org" will make ":find index.html" work.
- - Search upwards and downwards in a directory tree:
- 1) "*" matches a sequence of characters, e.g.: >
- :set path=/usr/include/*
-< means all subdirectories in /usr/include (but not /usr/include
- itself). >
- :set path=/usr/*c
-< matches /usr/doc and /usr/src.
- 2) "**" matches a subtree, up to 100 directories deep. Example: >
- :set path=/home/user_x/src/**
-< means search in the whole subtree under "/home/usr_x/src".
- 3) If the path ends with a ';', this path is the startpoint
- for upward search.
- See |file-searching| for more info and exact syntax.
+ - Search upwards and downwards in a directory tree using "*", "**" and
+ ";". See |file-searching| for info and syntax.
{not available when compiled without the |+path_extra| feature}
- Careful with '\' characters, type two to get one in the option: >
:set path=.,c:\\include
diff --git a/runtime/doc/os_390.txt b/runtime/doc/os_390.txt
index 9c7c0dcc7..59074a690 100644
--- a/runtime/doc/os_390.txt
+++ b/runtime/doc/os_390.txt
@@ -1,4 +1,4 @@
-*os_390.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_390.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Ralf Schandl
diff --git a/runtime/doc/os_amiga.txt b/runtime/doc/os_amiga.txt
index 3f2647f31..1e21121e7 100644
--- a/runtime/doc/os_amiga.txt
+++ b/runtime/doc/os_amiga.txt
@@ -1,4 +1,4 @@
-*os_amiga.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_amiga.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/os_beos.txt b/runtime/doc/os_beos.txt
index 6ad3a5019..c7bbf372f 100644
--- a/runtime/doc/os_beos.txt
+++ b/runtime/doc/os_beos.txt
@@ -1,4 +1,4 @@
-*os_beos.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_beos.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/os_dos.txt b/runtime/doc/os_dos.txt
index 2156f65e8..e4cfb7077 100644
--- a/runtime/doc/os_dos.txt
+++ b/runtime/doc/os_dos.txt
@@ -1,4 +1,4 @@
-*os_dos.txt* For Vim version 7.2a. Last change: 2006 Mar 30
+*os_dos.txt* For Vim version 7.2b. Last change: 2006 Mar 30
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/os_mac.txt b/runtime/doc/os_mac.txt
index 7c88f9e4d..68dbcfb7b 100644
--- a/runtime/doc/os_mac.txt
+++ b/runtime/doc/os_mac.txt
@@ -1,4 +1,4 @@
-*os_mac.txt* For Vim version 7.2a. Last change: 2006 Apr 30
+*os_mac.txt* For Vim version 7.2b. Last change: 2006 Apr 30
VIM REFERENCE MANUAL by Bram Moolenaar et al.
diff --git a/runtime/doc/os_mint.txt b/runtime/doc/os_mint.txt
index bda358603..1afd335f9 100644
--- a/runtime/doc/os_mint.txt
+++ b/runtime/doc/os_mint.txt
@@ -1,4 +1,4 @@
-*os_mint.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_mint.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Jens M. Felderhoff
diff --git a/runtime/doc/os_msdos.txt b/runtime/doc/os_msdos.txt
index 6aa807248..a9fd7bed4 100644
--- a/runtime/doc/os_msdos.txt
+++ b/runtime/doc/os_msdos.txt
@@ -1,4 +1,4 @@
-*os_msdos.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_msdos.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/os_os2.txt b/runtime/doc/os_os2.txt
index 1374346c1..fbae5f96b 100644
--- a/runtime/doc/os_os2.txt
+++ b/runtime/doc/os_os2.txt
@@ -1,4 +1,4 @@
-*os_os2.txt* For Vim version 7.2a. Last change: 2007 Apr 22
+*os_os2.txt* For Vim version 7.2b. Last change: 2007 Apr 22
VIM REFERENCE MANUAL by Paul Slootman
diff --git a/runtime/doc/os_qnx.txt b/runtime/doc/os_qnx.txt
index 6d15e5157..c199a9751 100644
--- a/runtime/doc/os_qnx.txt
+++ b/runtime/doc/os_qnx.txt
@@ -1,4 +1,4 @@
-*os_qnx.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_qnx.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Julian Kinraid
diff --git a/runtime/doc/os_risc.txt b/runtime/doc/os_risc.txt
index 0f6d2bba1..e7fb80613 100644
--- a/runtime/doc/os_risc.txt
+++ b/runtime/doc/os_risc.txt
@@ -1,4 +1,4 @@
-*os_risc.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_risc.txt* For Vim version 7.2b. Last change: 2008 Jun 28
VIM REFERENCE MANUAL by Thomas Leonard
@@ -7,7 +7,7 @@
*riscos* *RISCOS* *RISC-OS*
This file contains the particularities for the RISC OS version of Vim.
-The RISC OS port is a completely new port and is not based on the old `archi'
+The RISC OS port is a completely new port and is not based on the old "archi"
port.
1. File locations |riscos-locations|
@@ -46,7 +46,7 @@ run the command-line versions of Vim (see |riscos-commandline|).
distribution, but modified slightly to work within the limits of ADFS, plus
some extra files such as the window templates.
-User choices are read from `Choices:*' and are saved to `<Choices$Write>.*'.
+User choices are read from "Choices:*" and are saved to "<Choices$Write>.*".
If you have the new !Boot structure then these should be set up already. If
not, set Choices$Path to a list of directories to search when looking for
user configuration files. Set Choices$Write to the directory you want files
@@ -58,22 +58,22 @@ sessions).
2. Filename munging
All pathname munging is disabled by default, so Vim should behave like a
-normal RISC OS application now. So, if you want to edit `doc/html' then you
-actually type `*vi doc/html'.
+normal RISC OS application now. So, if you want to edit "doc/html" then you
+actually type "*vi doc/html".
The only times munging is done is when:
- Searching included files from C programs, since these are always munged.
See |[I|.
Note: make sure you are in the right directory when you use this
- command (i.e. the one with subdirectories 'c' and 'h').
+ command (i.e. the one with subdirectories "c" and "h").
- Sourcing files using |:so|.
- Paths starting `$VIM/' are munged like this:
+ Paths starting "$VIM/" are munged like this:
$VIM/syntax/help.vim -> Vim:syntax.help
- Also, files ending in `.vim' have their extensions removed, and slashes
+ Also, files ending in ".vim" have their extensions removed, and slashes
replaced with dots.
Some tag files and script files may have to be edited to work under this port.
@@ -82,10 +82,10 @@ Some tag files and script files may have to be edited to work under this port.
*riscos-commandline*
3. Command-line use
-To use Vim from the command-line use the `*vi' command (or '*ex' for
+To use Vim from the command-line use the "*vi" command (or "*ex" for
|Ex-mode|).
-Type `*vi -h' for a list of options.
+Type "*vi -h" for a list of options.
Running the command-line version of Vim in a large high-color mode may cause
the scrolling to be very slow. Either change to a mode with fewer colors or
@@ -149,7 +149,7 @@ font via ZapRedraw and any of the Zap fonts via ZapRedraw: >
point is used.
Thanks to John Kortink, Vim can use the ZapRedraw module. Start the font name
-with '!' (or '!!' for double height), like this: >
+with "!" (or "!!" for double height), like this: >
:set guifont=!!
< Use the system font, but via ZapRedraw. This gives a
@@ -158,13 +158,13 @@ with '!' (or '!!' for double height), like this: >
>
:set guifont=!script
< Uses the named Zap font (a directory in VimFont$Path).
- The redraw is the same speed as for '!!', but you get
+ The redraw is the same speed as for "!!", but you get
a nicer looking font.
Only the "man+" and "script" fonts are supplied
currently, but you can use any of the Zap fonts if
they are in VimFont$Path.
- Vim will try to load font files '0', 'B', 'I' and 'IB'
- from the named directory. Only '0' (normal style) MUST
+ Vim will try to load font files "0", "B", "I" and "IB"
+ from the named directory. Only "0" (normal style) MUST
be present. Link files are not currently supported.
Note that when using ZapRedraw the edit bar is drawn in front of the character
@@ -191,7 +191,7 @@ allow other codes to be used if you want to use Vim from a remote terminal.
Although I do not have an internet connection to my Acorn, I have managed to
run Vim in a FreeTerm window using the loopback connection.
-It seems to work pretty well now, using '*vi -T ansi'.
+It seems to work pretty well now, using "*vi -T ansi".
==============================================================================
*riscos-temp-files*
@@ -203,7 +203,7 @@ files are in <Wimp$ScrapDir> (i.e. inside !Scrap) and backups are in the
directory you were saving to. Vim will allow you to try and recover the file
when you next try to edit it.
-To see a list of swap files, press <F12> and type `*vi -r'.
+To see a list of swap files, press <F12> and type "*vi -r".
Vim no longer brings up ATTENTION warnings if you try to edit two files with
the same name in different directories.
@@ -228,8 +228,8 @@ older machines then edit the !RunTxt and GVim files. I don't know what UnixLib
does by default on these machines so I'm playing safe.
It doesn't work at all well without dynamic areas, since it can't change its
-memory allocation once running. Hence you should edit `!Vim.GVim' and
-`!Vim.!RunTxt' to choose the best size for you. You probably need at least
+memory allocation once running. Hence you should edit "!Vim.GVim" and
+"!Vim.!RunTxt" to choose the best size for you. You probably need at least
about 1400K.
==============================================================================
@@ -252,7 +252,7 @@ The system has changed from version 5.3. The new sequence of events is:
Some examples may make this clearer:
Kind of file loaded osfiletype filetype ~
- C code 'c.hellow' Text (&fff) C
+ C code "c.hellow" Text (&fff) C
LaTeX document LaTeX (&2a8) TeX
Draw document DrawFile (&aff) (not changed)
@@ -263,7 +263,7 @@ Some examples may make this clearer:
- Bangs (!s) are only replaced if they are followed by a space or end-of-line,
since many pathnames contain them.
-- You can prefix the command with '~', which stops any output from being
+- You can prefix the command with "~", which stops any output from being
displayed. This also means that you don't have to press <Enter> afterwards,
and stops the screen from being redrawn. {only in the GUI version}
@@ -275,7 +275,7 @@ Downloading everything you need:
- Get the latest source distribution (see www.vim.org)
- Get the runtime environment files (e.g. these help files)
-- Get the `extra' archive (contains the RISC OS specific bits)
+- Get the "extra" archive (contains the RISC OS specific bits)
- Get the RISC OS binary distribution (if possible)
@@ -289,19 +289,19 @@ Unarchiving:
Recompiling the sources:
- Create c, s, and h directories.
-- Put all the header files in 'h'. \
-- Put all the C files in `c'. | And lose the extensions
-- Put the assembler file (`swis/s') in 's'. /
-- Rename all the files in `proto' to `h', like this:
+- Put all the header files in "h". \
+- Put all the C files in "c". | And lose the extensions
+- Put the assembler file ("swis/s") in "s". /
+- Rename all the files in "proto" to "h", like this:
raFS::VimSrc.source.proto.file/pro
becomes
raFS::VimSrc.source.h.file_pro
-- In the files `h.proto' and `c.termlib', search and replace
+- In the files "h.proto" and "c.termlib", search and replace
.pro"
with
_pro.h"
-- Create a simple Makefile if desired and do '*make -k'.
- Use 'CC = gcc -DRISCOS -DUSE_GUI -O2 -x c' in the Makefile.
+- Create a simple Makefile if desired and do "*make -k".
+ Use "CC = gcc -DRISCOS -DUSE_GUI -O2 -x c" in the Makefile.
- Save the binary as !Vim.Vim in the binary distribution.
@@ -309,15 +309,15 @@ Updating the run-time environment:
- Replace old or missing files inside !Vim.Resources with the
new files.
-- Remove files in `doc' not ending in `/txt', except for `tags'.
-- Lose the extensions from the files in `doc'.
-- Edit the `doc.tags' file. Remove extensions from the second column: >
+- Remove files in "doc" not ending in "/txt", except for "tags".
+- Lose the extensions from the files in "doc".
+- Edit the "doc.tags" file. Remove extensions from the second column: >
:%s/^\(.[^\t]*\t.*\)\.txt\t/\1\t/
- Remove extensions from the syntax files. Split them into two directories
to avoid the 77 entry limit on old ADFS filesystems.
-- Edit `Vim:FileType' to match `*.c.*' as well as `*/c' and so on.
+- Edit "Vim:FileType" to match "*.c.*" as well as "*/c" and so on.
Add filetype checking too.
-- Edit `Vim:Menu' and remove all the keys from the menus: >
+- Edit "Vim:Menu" and remove all the keys from the menus: >
:%s/<Tab>[^ \t]*//
<
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/os_unix.txt b/runtime/doc/os_unix.txt
index cf200f0c7..036f59707 100644
--- a/runtime/doc/os_unix.txt
+++ b/runtime/doc/os_unix.txt
@@ -1,4 +1,4 @@
-*os_unix.txt* For Vim version 7.2a. Last change: 2005 Mar 29
+*os_unix.txt* For Vim version 7.2b. Last change: 2005 Mar 29
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/os_vms.txt b/runtime/doc/os_vms.txt
index 6208d636c..8b9692943 100644
--- a/runtime/doc/os_vms.txt
+++ b/runtime/doc/os_vms.txt
@@ -1,4 +1,4 @@
-*os_vms.txt* For Vim version 7.2a. Last change: 2006 Nov 18
+*os_vms.txt* For Vim version 7.2b. Last change: 2006 Nov 18
VIM REFERENCE MANUAL
diff --git a/runtime/doc/os_win32.txt b/runtime/doc/os_win32.txt
index afc05ddea..73d55e947 100644
--- a/runtime/doc/os_win32.txt
+++ b/runtime/doc/os_win32.txt
@@ -1,4 +1,4 @@
-*os_win32.txt* For Vim version 7.2a. Last change: 2008 May 02
+*os_win32.txt* For Vim version 7.2b. Last change: 2008 May 02
VIM REFERENCE MANUAL by George Reilly
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index cb367d07b..ae60b83ba 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -1,4 +1,4 @@
-*pattern.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*pattern.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/pi_getscript.txt b/runtime/doc/pi_getscript.txt
index 5f46de006..2d7edb881 100644
--- a/runtime/doc/pi_getscript.txt
+++ b/runtime/doc/pi_getscript.txt
@@ -1,4 +1,4 @@
-*pi_getscript.txt* For Vim version 7.2a. Last change: 2008 Jan 07
+*pi_getscript.txt* For Vim version 7.2b. Last change: 2008 Jun 29
>
GETSCRIPT REFERENCE MANUAL by Charles E. Campbell, Jr.
<
@@ -335,6 +335,9 @@ The AutoInstall process will:
==============================================================================
9. GetLatestVimScripts History *getscript-history* *glvs-hist* {{{1
+v31 Jun 29, 2008 : * (Bill McCarthy) fixed having hls enabled with getscript
+v30 Jun 13, 2008 : * GLVS now checks for existence of fnameescape() and will
+ issue an error message if its not supported
v29 Jan 07, 2008 : * Bram M pointed out that cpo is a global option and that
getscriptPlugin.vim was setting it but not restoring it.
v28 Jan 02, 2008 : * improved shell quoting character handling, cygwin
diff --git a/runtime/doc/pi_gzip.txt b/runtime/doc/pi_gzip.txt
index 333437916..e9e224bea 100644
--- a/runtime/doc/pi_gzip.txt
+++ b/runtime/doc/pi_gzip.txt
@@ -1,4 +1,4 @@
-*pi_gzip.txt* For Vim version 7.2a. Last change: 2002 Oct 29
+*pi_gzip.txt* For Vim version 7.2b. Last change: 2002 Oct 29
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt
index 68a0299ce..7e0c597cc 100644
--- a/runtime/doc/pi_netrw.txt
+++ b/runtime/doc/pi_netrw.txt
@@ -1,4 +1,4 @@
-*pi_netrw.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*pi_netrw.txt* For Vim version 7.2b. Last change: 2008 Jul 13
-----------------------------------------------------
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
@@ -314,13 +314,6 @@ settings are described below, in |netrw-browser-options|, and in
Also affects the "previous window" (see |netrw-P|) in
the same way.
- *g:netrw_shq* = "'" for Unix/Linux systems (ie. a single quote)
- = "'" for Windows + cygwin systems (ie. a single quote)
- = '"' for Windows systems, not using cygwin
- (ie. a double quote)
- Controls the quoting character used during scp and ftp
- commands.
-
*g:netrw_scpport* = "-P" : option to use to set port for scp
*g:netrw_sshport* = "-p" : option to use to set port for ssh
@@ -864,6 +857,7 @@ QUICK HELP *netrw-quickhelp* {{{2
Sorted by
Select sorting style (name/time/size).........|netrw-s|
Editing the sorting sequence..................|netrw-S|
+ Sorting options...............................|g:netrw_sort_options|
Associated setting variable...................|g:netrw_sort_sequence|
Reverse sorting order.........................|netrw-r|
@@ -921,6 +915,8 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2
browser window. A vertical split is used.
x View file with an associated program |netrw-x|
+ % Open a new file in netrw's current directory |netrw-%|
+
<leftmouse> (gvim only) selects word under mouse as if a <cr>
had been pressed (ie. edit file, change directory)
<middlemouse> (gvim only) same as P selecting word under mouse;
@@ -1362,8 +1358,8 @@ will end up. One may change the sorting sequence by modifying the
g:netrw_sort_sequence variable (either manually or in your <.vimrc>) or by
using the "S" map.
-Related topics: |netrw-s|
-Associated setting variable: |g:netrw_sort_sequence|
+Related topics: |netrw-s| |netrw-S|
+Associated setting variables: |g:netrw_sort_sequence| |g:netrw_sort_options|
GOING UP *netrw--* {{{2
@@ -1657,7 +1653,7 @@ MARKED FILES: TAGGING *netrw-mT* {{{2
(See |netrw-mf| and |netrw-mr| for how to mark files)
(uses the global marked file list)
-The "mt" mapping will apply the command in g:netrw_ctags (by default, its
+The "mt" mapping will apply the command in |g:netrw_ctags| (by default, its
"ctags") to marked files. For remote browsing, in order to create a tags file
netrw will use ssh (see |g:netrw_ssh_cmd|), and so ssh must be available for
this to work on remote systems. For your local system, see |ctags| on how to
@@ -1676,7 +1672,7 @@ preceded by the netrw-compatible url used to obtain it. When one subsequently
uses one of the go to tag actions (|tags|), the url will be used by netrw to
edit the desired file and go to the tag.
-Associated setting variables: |g:netrw_ssh_cmd|
+Associated setting variables: |g:netrw_ctags| |g:netrw_ssh_cmd|
MARKED FILES: SETTING THE TARGET DIRECTORY *netrw-mt* {{{2
@@ -1738,14 +1734,13 @@ your browsing preferences. (see also: |netrw-settings|)
a script/function to handle the given
extension. (see |netrw_filehandler|).
- *g:netrw_cd_escape* ="[]#*$%'\" ?`!&();<>\\"
- This option is used to escape directory names
- before changing directory to them.
-
*g:netrw_compress* ="gzip"
Will compress marked files with this
command
+ *g:netrw_ctags* ="ctags"
+ The default external program used to create tags
+
*g:netrw_decompress* = { ".gz" : "gunzip" ,
".bz2" : "bunzip2" ,
".zip" : "unzip" ,
@@ -1888,6 +1883,14 @@ your browsing preferences. (see also: |netrw-settings|)
*g:netrw_sort_direction* sorting direction: "normal" or "reverse"
default: "normal"
+ *g:netrw_sort_options* sorting is done using |:sort|; this
+ variable's value is appended to the
+ sort command. Thus one may ignore case,
+ for example, with the following in your
+ .vimrc: >
+ let g:netrw_sort_options="i"
+< default: ""
+
*g:netrw_sort_sequence* when sorting by name, first sort by the
comma-separated pattern sequence
default: '[\/]$,*,\.bak$,\.o$,\.h$,
@@ -2031,6 +2034,13 @@ Related topics:
directory, see |g:netrw_keepdir|.
+OPEN A NEW FILE IN NETRW'S CURRENT DIRECTORY *netrw-%*
+
+To open a file in netrw's current directory, press "%". This map will
+query the user for a new filename; an empty file by that name will be
+placed in the netrw's current directory (ie. b:netrw_curdir).
+
+
PREVIEW WINDOW *netrw-p* *netrw-preview* {{{2
One may use a preview window by using the "p" key when the cursor is atop the
@@ -2377,6 +2387,23 @@ which is loaded automatically at startup (assuming :set nocp).
==============================================================================
12. History *netrw-history* {{{1
+ v126: Jun 30, 2008 * after having gone to a remote directory,
+ <f1> was no longer taking one to the correct
+ entry in the help (|netrw-quickhelp|). Fixed.
+ Jul 01, 2008 * extracting the last filename from a wide listing
+ missed the last letter when |'virtualedit'| not
+ enabled.
+ Jul 01, 2008 * vim foo/bar was creating [Scratch] buffers,
+ where bar was also a directory
+ Jul 01, 2008 * numerous additional changes were made to netrw
+ to use fnameescape() and shellescape() instead
+ of escape(). Not all changes have been tested
+ as yet...
+ Jul 01, 2008 * (James Vega reported) some problems with
+ :NetrwSettings (due to no longer used setting
+ variables).
+ Jul 07, 2008 * Additional numerous changes to support security;
+ shellescape(arg,1), etc.
v125: Apr 07, 2008 * (Cristian Rigamonti) CR provides a patch; he
noted that gx was failing since its call to
netrw#NetBrowseX() wasn't updated to
@@ -2570,7 +2597,7 @@ which is loaded automatically at startup (assuming :set nocp).
v110: May 10, 2007 * added [ and ] maps to NetrwTreeListing
May 25, 2007 * |g:netrw_preview| included
May 29, 2007 * modifed netrw#NetBrowseX to consistently use
- |g:netrw_shq| instead of hardcoded quotes,
+ g:netrw_shq instead of hardcoded quotes,
and modified the snippet that sets up redir
so Windows machines use "nul" instead of
"/dev/null".
diff --git a/runtime/doc/pi_paren.txt b/runtime/doc/pi_paren.txt
index 810532797..faa889bc1 100644
--- a/runtime/doc/pi_paren.txt
+++ b/runtime/doc/pi_paren.txt
@@ -1,4 +1,4 @@
-*pi_paren.txt* For Vim version 7.2a. Last change: 2008 Jun 16
+*pi_paren.txt* For Vim version 7.2b. Last change: 2008 Jun 16
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/pi_spec.txt b/runtime/doc/pi_spec.txt
index 900e768fc..e5cb3daf3 100644
--- a/runtime/doc/pi_spec.txt
+++ b/runtime/doc/pi_spec.txt
@@ -1,4 +1,4 @@
-*pi_spec.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*pi_spec.txt* For Vim version 7.2b. Last change: 2006 Apr 24
by Gustavo Niemeyer ~
diff --git a/runtime/doc/pi_tar.txt b/runtime/doc/pi_tar.txt
index c50e0d13f..c6926cdd0 100644
--- a/runtime/doc/pi_tar.txt
+++ b/runtime/doc/pi_tar.txt
@@ -1,4 +1,4 @@
-*pi_tar.txt* For Vim version 7.2a. Last change: 2008 Jun 12
+*pi_tar.txt* For Vim version 7.2b. Last change: 2008 Jul 13
+====================+
| Tar File Interface |
diff --git a/runtime/doc/pi_vimball.txt b/runtime/doc/pi_vimball.txt
index e31f8a7c3..7220d0ed9 100644
--- a/runtime/doc/pi_vimball.txt
+++ b/runtime/doc/pi_vimball.txt
@@ -1,4 +1,4 @@
-*pi_vimball.txt* For Vim version 7.2a. Last change: 2008 Jun 05
+*pi_vimball.txt* For Vim version 7.2b. Last change: 2008 Jun 05
----------------
Vimball Archiver
@@ -164,7 +164,7 @@ Copyright: (c) 2004-2008 by Charles E. Campbell, Jr. *Vimball-copyright*
will extract plugin/somefile to the AsNeeded/
directory
17 : Jun 28, 2006 * changes all \s to /s internally for Windows
- 16 : Jun 15, 2006 * A. Mechylynck's idea to allow users to specify
+ 16 : Jun 15, 2006 * A. Mechelynck's idea to allow users to specify
installation root paths implemented for
UseVimball, MkVimball, and RmVimball.
* RmVimball implemented
diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt
index 830d5c612..d4e3f67a6 100644
--- a/runtime/doc/pi_zip.txt
+++ b/runtime/doc/pi_zip.txt
@@ -1,4 +1,4 @@
-*pi_zip.txt* For Vim version 7.2a. Last change: 2008 Jun 12
+*pi_zip.txt* For Vim version 7.2b. Last change: 2008 Jun 29
+====================+
| Zip File Interface |
@@ -70,7 +70,7 @@ Copyright: Copyright (C) 2005-2008 Charles E Campbell, Jr *zip-copyright*
au BufReadCmd *.jar,*.xpi call zip#Browse(expand("<amatch>"))
<
- One simply can extend this line to accomodate additional extensions that
+ One can simply extend this line to accommodate additional extensions that
should be treated as zip files.
==============================================================================
diff --git a/runtime/doc/print.txt b/runtime/doc/print.txt
index cb4de4318..af1e2c0aa 100644
--- a/runtime/doc/print.txt
+++ b/runtime/doc/print.txt
@@ -1,4 +1,4 @@
-*print.txt* For Vim version 7.2a. Last change: 2008 Apr 30
+*print.txt* For Vim version 7.2b. Last change: 2008 Apr 30
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 26e2e7e88..5c48e6716 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 7.2a. Last change: 2008 Mar 14
+*quickfix.txt* For Vim version 7.2b. Last change: 2008 Mar 14
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt
index fc49cfa8e..230a110f9 100644
--- a/runtime/doc/quickref.txt
+++ b/runtime/doc/quickref.txt
@@ -1,4 +1,4 @@
-*quickref.txt* For Vim version 7.2a. Last change: 2008 Jan 22
+*quickref.txt* For Vim version 7.2b. Last change: 2008 Jan 22
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/quotes.txt b/runtime/doc/quotes.txt
index 07b212616..af874514d 100644
--- a/runtime/doc/quotes.txt
+++ b/runtime/doc/quotes.txt
@@ -1,4 +1,4 @@
-*quotes.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*quotes.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/recover.txt b/runtime/doc/recover.txt
index 578c8011d..75f5d7e96 100644
--- a/runtime/doc/recover.txt
+++ b/runtime/doc/recover.txt
@@ -1,4 +1,4 @@
-*recover.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*recover.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/remote.txt b/runtime/doc/remote.txt
index 85b050762..bbf1c1277 100644
--- a/runtime/doc/remote.txt
+++ b/runtime/doc/remote.txt
@@ -1,4 +1,4 @@
-*remote.txt* For Vim version 7.2a. Last change: 2008 May 24
+*remote.txt* For Vim version 7.2b. Last change: 2008 May 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index 38a485753..577c0de81 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 7.2a. Last change: 2007 Aug 12
+*repeat.txt* For Vim version 7.2b. Last change: 2007 Aug 12
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/rileft.txt b/runtime/doc/rileft.txt
index d270740e2..40f00bca7 100644
--- a/runtime/doc/rileft.txt
+++ b/runtime/doc/rileft.txt
@@ -1,4 +1,4 @@
-*rileft.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*rileft.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Avner Lottem
diff --git a/runtime/doc/russian.txt b/runtime/doc/russian.txt
index dabca4289..0ba9be791 100644
--- a/runtime/doc/russian.txt
+++ b/runtime/doc/russian.txt
@@ -1,4 +1,4 @@
-*russian.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*russian.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Vassily Ragosin
diff --git a/runtime/doc/scroll.txt b/runtime/doc/scroll.txt
index 91fc4c8fe..141eee6e6 100644
--- a/runtime/doc/scroll.txt
+++ b/runtime/doc/scroll.txt
@@ -1,4 +1,4 @@
-*scroll.txt* For Vim version 7.2a. Last change: 2006 Aug 27
+*scroll.txt* For Vim version 7.2b. Last change: 2006 Aug 27
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 5434279ec..7e2952038 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -1,4 +1,4 @@
-*sign.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*sign.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Gordon Prieur
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index e6c40c83a..ea4da257d 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1,4 +1,4 @@
-*spell.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*spell.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/sponsor.txt b/runtime/doc/sponsor.txt
index ac25f49f1..9e67ec469 100644
--- a/runtime/doc/sponsor.txt
+++ b/runtime/doc/sponsor.txt
@@ -1,4 +1,4 @@
-*sponsor.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*sponsor.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index c017fb4b7..dfb403bc8 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*starting.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 0a0c0a887..839ab3442 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*syntax.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/tabpage.txt b/runtime/doc/tabpage.txt
index 6410b117b..518f9802c 100644
--- a/runtime/doc/tabpage.txt
+++ b/runtime/doc/tabpage.txt
@@ -1,4 +1,4 @@
-*tabpage.txt* For Vim version 7.2a. Last change: 2007 Mar 11
+*tabpage.txt* For Vim version 7.2b. Last change: 2007 Mar 11
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 4f94fe53e..b955aaf06 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -5460,6 +5460,7 @@ ft-papp-syntax syntax.txt /*ft-papp-syntax*
ft-pascal-syntax syntax.txt /*ft-pascal-syntax*
ft-pdf-plugin filetype.txt /*ft-pdf-plugin*
ft-perl-syntax syntax.txt /*ft-perl-syntax*
+ft-php-indent indent.txt /*ft-php-indent*
ft-php-omni insert.txt /*ft-php-omni*
ft-php-syntax syntax.txt /*ft-php-syntax*
ft-php3-syntax syntax.txt /*ft-php3-syntax*
@@ -5583,8 +5584,8 @@ g:netrw_alto pi_netrw.txt /*g:netrw_alto*
g:netrw_altv pi_netrw.txt /*g:netrw_altv*
g:netrw_browse_split pi_netrw.txt /*g:netrw_browse_split*
g:netrw_browsex_viewer pi_netrw.txt /*g:netrw_browsex_viewer*
-g:netrw_cd_escape pi_netrw.txt /*g:netrw_cd_escape*
g:netrw_compress pi_netrw.txt /*g:netrw_compress*
+g:netrw_ctags pi_netrw.txt /*g:netrw_ctags*
g:netrw_cygwin pi_netrw.txt /*g:netrw_cygwin*
g:netrw_dav_cmd pi_netrw.txt /*g:netrw_dav_cmd*
g:netrw_decompress pi_netrw.txt /*g:netrw_decompress*
@@ -5625,10 +5626,10 @@ g:netrw_rsync_cmd pi_netrw.txt /*g:netrw_rsync_cmd*
g:netrw_scp_cmd pi_netrw.txt /*g:netrw_scp_cmd*
g:netrw_scpport pi_netrw.txt /*g:netrw_scpport*
g:netrw_sftp_cmd pi_netrw.txt /*g:netrw_sftp_cmd*
-g:netrw_shq pi_netrw.txt /*g:netrw_shq*
g:netrw_silent pi_netrw.txt /*g:netrw_silent*
g:netrw_sort_by pi_netrw.txt /*g:netrw_sort_by*
g:netrw_sort_direction pi_netrw.txt /*g:netrw_sort_direction*
+g:netrw_sort_options pi_netrw.txt /*g:netrw_sort_options*
g:netrw_sort_sequence pi_netrw.txt /*g:netrw_sort_sequence*
g:netrw_special_syntax pi_netrw.txt /*g:netrw_special_syntax*
g:netrw_ssh_browse_reject pi_netrw.txt /*g:netrw_ssh_browse_reject*
@@ -6475,6 +6476,7 @@ netbeans-support netbeans.txt /*netbeans-support*
netbeans.txt netbeans.txt /*netbeans.txt*
netreadfixup pi_netrw.txt /*netreadfixup*
netrw pi_netrw.txt /*netrw*
+netrw-% pi_netrw.txt /*netrw-%*
netrw-- pi_netrw.txt /*netrw--*
netrw-D pi_netrw.txt /*netrw-D*
netrw-O pi_netrw.txt /*netrw-O*
@@ -6707,6 +6709,7 @@ nice todo.txt /*nice*
no-eval-feature eval.txt /*no-eval-feature*
no_buffers_menu gui.txt /*no_buffers_menu*
non-greedy pattern.txt /*non-greedy*
+non-zero-arg eval.txt /*non-zero-arg*
normal-index index.txt /*normal-index*
not-compatible usr_01.txt /*not-compatible*
not-edited editing.txt /*not-edited*
@@ -6812,6 +6815,9 @@ pfn-option print.txt /*pfn-option*
pheader-option print.txt /*pheader-option*
photon-fonts os_qnx.txt /*photon-fonts*
photon-gui os_qnx.txt /*photon-gui*
+php-comment indent.txt /*php-comment*
+php-indent indent.txt /*php-indent*
+php-indenting indent.txt /*php-indenting*
php.vim syntax.txt /*php.vim*
php3.vim syntax.txt /*php3.vim*
phtml.vim syntax.txt /*phtml.vim*
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
index 46dc18e91..952bb96f0 100644
--- a/runtime/doc/tagsrch.txt
+++ b/runtime/doc/tagsrch.txt
@@ -1,4 +1,4 @@
-*tagsrch.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*tagsrch.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 55a9ae100..cf960bd53 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -1,4 +1,4 @@
-*term.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*term.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/tips.txt b/runtime/doc/tips.txt
index 0bdcfa077..ffeea0fbf 100644
--- a/runtime/doc/tips.txt
+++ b/runtime/doc/tips.txt
@@ -1,4 +1,4 @@
-*tips.txt* For Vim version 7.2a. Last change: 2006 Jul 24
+*tips.txt* For Vim version 7.2b. Last change: 2006 Jul 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index b60696897..03e49813d 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.2a. Last change: 2008 Jun 24
+*todo.txt* For Vim version 7.2b. Last change: 2008 Jul 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,10 +30,20 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
+":pedit %" with a BufReadPre autocommand causes the cursor to move to the
+first line. (Ingo Karkat, 2008 Jul 1)
+
Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar 23)
-Drawing popup menu isn't quite right when there are double-wide characters.
-Yukihiro Nakadaira is working on a solution (2008 Jun 22). Use mb_fix_col().
+Runtime files for Clojure. (Toralf Wittner, 2008 Jun 25)
+
+Patch to add extra argument to glob() and globpath() to ignore 'wildignore'.
+(Ingo Karkat, 2008 Jun 25)
+
+Crash with dragn-n-drop of file combined with netrw (Marius Gedminas, 2008 Jun
+11) I can't reproduce it. It's probably caused by a handle_drop() call
+in combination with autocommands that invoke a ":redraw" command.
+Another valgrind output Jun 30.
When reallocating cmdline xp_pattern becomes invalid. Move expand_T xpc into
ccline? (Dominique Pelle)
@@ -44,14 +54,9 @@ Works OK with Vim in an xterm.
Fix for matchparen HL doesn't work. beep.
-Crash with dragn-n-drop of file combined with netrw (Marius Gedminas, 2008 Jun
-11) I can't reproduce it.
-
Win32: associating a type with Vim doesn't take care of space after a
backslash? (Robert Vibrant, 2008 Jun 5)
-":let &g:tw = 44" sets the local option value. (Cyril Slobin, 2008 Apr 25)
-
After using <Tab> for command line completion after ":ta blah" and getting E33
(no tags file), further editing the command to e.g., ":echo 'blah'", the
command is not executed.
@@ -69,10 +74,8 @@ Win32: remote editing fails when the current directory name contains "[".
(Ivan Tishchenko, Liu Yubao) Suggested patch by Chris Lubinski: Avoid
escaping characters where the backslash is not removed later. Asked Chris for
an alternate solution, also for src/ex_getln.c.
-
-When adding path to 'tags' with a wildcard, it appears only a first match is
-used. (Erik Falor, 2008 April 18) Or is it that a wildcard in the file name
-is not supported, only in the path?
+This also fails when the file or directory name contains "%". (Thoml, 2008
+July 7)
The str2special() function doesn't handle multi-byte characters properly.
Patch from Vladimir Vichniakov, 2007 Apr 24.
@@ -102,8 +105,6 @@ line doesn't fit. (Dasn, 2008 May 1)
GUI: In Normal mode can't yank the modeless selection. Make "gy" do this?
Works like CTRL-Y in Command line mode.
-Mac: patch for mouse wheel scroll under Leopard. (Eckehard Berns, 2007 Dec 7)
-
Mac: After a ":vsplit" the left scrollbar doesn't appear until 'columns' is
changed or the window is resized.
@@ -167,9 +168,6 @@ Asked about latest version: 0.77.1 is on www.vim.org.
More AmigaOS4 patches. (Peter Bengtsson, Nov 9)
-globpath() doesn't work as expected. The example shows using 'path', but the
-"**8" form and upwards search are not supported.
-
Error when cancelling completion menu and auto-formatting. (Tim Weber, 2008
Apr 17)
@@ -205,6 +203,12 @@ isn't right?
Completion: Scanning for tags doesn't check for typed key now and then?
Hangs for about 5 seconds. Appears to be caused by finding include files with
"foo/**" in 'path'. (Kalisiak, 2006 July 15)
+Additional info: When using the |wildcards| ** globing, vim hangs
+indefinitely on lots of directories. The |file-searching| globing, like in
+":set path=/**" does not hang as often as with globing with |wildcards|, like
+in ":1find /**/file". This is for a files that unix "find" can find very
+quick. Merging the 2 kinds of globing might make this an easier fix. (Ian
+Kelling, 2008 July 4)
When the file name has parenthesis, e.g., "foo (bar).txt", ":!ls '%'" has the
parenthesis escaped but not the space. That's inconsistent. Either escape
@@ -309,7 +313,7 @@ C++ indenting wrong with "=". (James Kanze, 2007 Jan 26)
":lockvar" should use copyID to avoid endless loop.
When using --remote-silent and the file name matches 'wildignore' get an E479
-error. without --remoete-silent it works fine. (Ben Fritz, 2008 Jun 20)
+error. without --remote-silent it works fine. (Ben Fritz, 2008 Jun 20)
Gvim: dialog for closing Vim should check if Vim is busy writing a file. Then
use a different dialog: "busy saving, really quit? yes / no".
@@ -332,7 +336,7 @@ name literally, and esp. if there is only one name.
Test 61 fails sometimes. This is a timing problem: "sleep 2" sometimes takes
longer than 2 seconds.
-Changing 'guifont' in the console causes an uneccessary redraw.
+Changing 'guifont' in the console causes an unnecessary redraw.
"vim -C" often has 'nocompatible', because it's set in some startup script.
Set 'compatible' after startup is done? Patch by James Vega, 2008 Feb 7.
@@ -368,7 +372,7 @@ Windows installer could add a "open in new tab of existing Vim" menu entry.
Gvimext: patch to add "Edit with single Vim &tabbed" menu entry.
Just have two choices, always using one Vim and selecting between using an
argument list or opening each file in a separate tab.
-(Erik Falor, 2008 May 21)
+(Erik Falor, 2008 May 21, 2008 Jun 26)
GUI: When combining fg en bg make sure they are not equal.
@@ -581,6 +585,9 @@ In gvim the backspace key produces a backspace character, but on Linux the
VERASE key is Delete. Set VERASE to Backspace? (patch by Stephane Chazelas,
2007 Oct 16)
+When entering a C /* comment, after typing <Enter> for 70 times the indent
+disappears. (Vincent Beffara, 2008 Jul 3)
+
TermResponse autocommand isn't always triggered when using vimdiff. (Aron
Griffis, 2007 Sep 19)
@@ -590,7 +597,7 @@ Create a gvimtutor.1 file and change Makefiles to install it.
Vim 7.3:
-- Add patch for 'relativenumber' option? Markus Heidelberg, 2008 Feb 21
+- Add patch for 'relativenumber' option? Markus Heidelberg, 2008 Jun 27.
- Add blowfish encryption. Openssl has an implementation. Also by Paul
Kocher (LGPL), close to original. Mohsin also has some ideas.
Take four bytes and turn them into unsigned to avoid byte-order problems.
@@ -671,6 +678,8 @@ Awaiting updated patches:
Search in 'runtimepath'?
More docs needed about how to use this.
How to get the messages into the .po files?
+ charlen() Like strlen() but counting characters instead of
+ bytes.
confirm() add "flags" argument, with 'v' for vertical
layout and 'c' for console dialog. (Haegg)
Flemming Madsen has a patch for the 'c' flag
@@ -1189,7 +1198,8 @@ Macintosh:
9 For Turkish vim_tolower() and vim_toupper() also need to use utf_
functions for characters below 0x80. (Sertacyildiz)
9 When the last edited file is a help file, using '0 in a new Vim doesn't
- edit the file as a help file.
+ edit the file as a help file. 'filetype' is OK, but 'iskeyword' isn't,
+ file isn't readonly, etc.
8 When an ":edit" is inside a try command and the ATTENTION prompt is used,
the :catch commands are always executed, also when the file is edited
normally. Should reset did_emsg and undo side effects. Also make sure
@@ -1198,6 +1208,7 @@ Macintosh:
'fileencoding' set to "bar", then do_ecmd() uses that buffer, even though
the fileencoding differs. Reload the buffer in this situation? Need to
check for the buffer to be unmodified.
+ Unfinished patch by Ian Kelling, 2008 Jul 11.
8 ":g//" gives "Pattern not found error" with E486. Should not use the
error number, it's not a regular error message.
7 Vimtutor leaves escape sequence in terminal. This is the xterm response to
@@ -1296,15 +1307,13 @@ Macintosh:
9 When editing a file with 'readonly' set, there is no check for an existing
swap file. Then using ":write" (without making any changes) doesn't give
a warning either. Should check for an existing swap file without creating
- one.
+ one. Unfinished patch by Ian Kelling, 2008 July 7.
7 When 'showbreak' is set, the amount of space a Tab occupies changes.
Should work like 'showbreak' is inserted without changing the Tabs.
7 When 'mousefocus' is set and switching to another window with a typed
command, the mouse pointer may be moved to a part of the window that's
covered by another window and we lose focus. Only move in the y
direction, not horizontally?
-8 When using CTRL-D after ":help", restrict the number of matches to a
- thousand, otherwise using CTRL-D without an argument takes too long.
8 ":hardcopy":
- Using the cterm_color[] table is wrong when t_colors is > 16.
- Need to handle unprintable characters.
@@ -1703,6 +1712,10 @@ Tab pages:
Spell checking:
+- have some way not to give spelling errors for a range of characters.
+ E.g. for Chinese and other languages with specific characters for which we
+ don't have a spell file. Useful when there is also text in other
+ languages in the file.
- Support more regions? Caolan McNamara argues it's needed for es_XX.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219777
- Unicode defines another quote character: 0x2019. Use it as an equivalent
@@ -1727,7 +1740,7 @@ Spell checking:
WFP_COMPPERMIT and WFP_COMPFORBID
8 implement use of <compoptions> in .spl file:
implement CHECKCOMPOUNDREP: when a compound word seems to be OK apply REP
- items and theck if the result is a valid word.
+ items and check if the result is a valid word.
implement CHECKCOMPOUNDDUP
implement CHECKCOMPOUNDTRIPLE
Add CHECKCOMPOUNDCASE: when compounding make leading capital lower case.
@@ -2251,8 +2264,12 @@ Robustness:
Performance:
-7 For strings up to 3 bytes don't allocate memory, use v_list itself as a
- character array. Use VAR_SSTRING (short string).
+7 For string variables up to 3 bytes don't allocate memory, use v_list
+ itself as a character array. Use VAR_SSTRING (short string).
+8 move_lines() copies every line into allocated memory, making reloading a
+ buffer a lot slower than re-editing the file. Can the memline be locked
+ so that we don't need to make a copy? Or avoid invoking ml_updatechunk(),
+ that is taking a lot of time. (Ralf Wildenhues, 2008 Jul 7)
8 Instead of loading rgb.txt every time a color wasn't recognized load it
once and keep it in memory. Move the code to a common place to avoid
repeating it in various system files.
@@ -2471,6 +2488,11 @@ Tags:
match. Remove tag_fname from the match and combine it with the fname in
the match (without expanding or other things that take time). When
'tagrelative' is off tag_fname isn't needed at all.
+8 For 'tags' wildcard in the file name is not supported, only in the path.
+ This is due to it using |file-searching|. Suboptimal solution would be to
+ make the filename or the whole option use |wildcards| globing, better
+ would be to merge the 2 kinds of globing. originall (Erik Falor, 2008
+ April 18), updated (Ian Kelling, 2008 July 4)
8 Use a mechanism similar to omni completion to figure out the kind of tab
for CTRL-] and jump to the appropriate matching tag (if there are
several).
@@ -2724,6 +2746,8 @@ Autocommands:
Omni completion:
+- Add a flag to 'complete' to be able to do omni completion with CTRL-N (and
+ mix it with other kinds of completion).
- Ideas from the Vim 7 BOF at SANE:
- For interpreted languages, use the interpreter to obtain information.
Should work for Java (Eclipse does this), Python, Tcl, etc.
@@ -2755,6 +2779,9 @@ Insert mode completion/expansion:
- GUI implementation of the popup menu.
7 When searching in other files the name flash by, too fast to read. Only
display a name every second or so, like with ":vimgrep".
+7 When expanding file names with an environment variable, add the match with
+ the unexpanded var. So $HOME/tm expands to "/home/guy/tmp" and
+ "$HOME/tmp"
8 When there is no word before the cursor but something like "sys." complete
with "sys.". Works well for C and similar languages.
9 ^X^L completion doesn't repeat correctly. It uses the first match with
@@ -2903,6 +2930,7 @@ Insert mode:
same change, so that "." repeats the whole insert.
7 Use CTRL-G <count> to repeat what follows. Useful for inserting a
character multiple times or repeating CTRL-Y.
+- Make 'revins' work in Replace mode.
7 Use 'matchpairs' for 'showmatch': When inserting a character check if it
appears in the rhs of 'matchpairs'.
- In Insert mode (and command line editing?): Allow undo of the last typed
@@ -3558,6 +3586,8 @@ Multiple Windows:
7 Use CTRL-W <Tab>, like alt-tab, to switch between buffers. Repeat <Tab>
to select another buffer (only loaded ones?), <BS> to go back, <Enter> to
select buffer, <Esc> to go back to original buffer.
+7 Make it possible to edit a new buffer in the preview window. A script can
+ then fill it with something. ":popen"?
7 Add a 'tool' window: behaves like a preview window but there can be
several. Don't count it in only_one_window(). (Alexei Alexandrov)
6 Add an option to resize the shell when splitting and/or closing a window.
diff --git a/runtime/doc/uganda.txt b/runtime/doc/uganda.txt
index 4842769d5..655725f41 100644
--- a/runtime/doc/uganda.txt
+++ b/runtime/doc/uganda.txt
@@ -1,4 +1,4 @@
-*uganda.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*uganda.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt
index 33d4e3178..6940102f4 100644
--- a/runtime/doc/undo.txt
+++ b/runtime/doc/undo.txt
@@ -1,4 +1,4 @@
-*undo.txt* For Vim version 7.2a. Last change: 2006 Apr 30
+*undo.txt* For Vim version 7.2b. Last change: 2006 Apr 30
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/usr_01.txt b/runtime/doc/usr_01.txt
index 1e00a110c..3a56abedc 100644
--- a/runtime/doc/usr_01.txt
+++ b/runtime/doc/usr_01.txt
@@ -1,4 +1,4 @@
-*usr_01.txt* For Vim version 7.2a. Last change: 2008 May 07
+*usr_01.txt* For Vim version 7.2b. Last change: 2008 May 07
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_02.txt b/runtime/doc/usr_02.txt
index 44907b0e2..f47c63e21 100644
--- a/runtime/doc/usr_02.txt
+++ b/runtime/doc/usr_02.txt
@@ -1,4 +1,4 @@
-*usr_02.txt* For Vim version 7.2a. Last change: 2007 Feb 28
+*usr_02.txt* For Vim version 7.2b. Last change: 2007 Feb 28
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_03.txt b/runtime/doc/usr_03.txt
index c5f114c9c..47d24d455 100644
--- a/runtime/doc/usr_03.txt
+++ b/runtime/doc/usr_03.txt
@@ -1,4 +1,4 @@
-*usr_03.txt* For Vim version 7.2a. Last change: 2006 Jun 21
+*usr_03.txt* For Vim version 7.2b. Last change: 2006 Jun 21
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_04.txt b/runtime/doc/usr_04.txt
index b8f9c4ddb..dd6a84c0e 100644
--- a/runtime/doc/usr_04.txt
+++ b/runtime/doc/usr_04.txt
@@ -1,4 +1,4 @@
-*usr_04.txt* For Vim version 7.2a. Last change: 2006 Jun 21
+*usr_04.txt* For Vim version 7.2b. Last change: 2006 Jun 21
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt
index bfa3926de..93c34ded3 100644
--- a/runtime/doc/usr_05.txt
+++ b/runtime/doc/usr_05.txt
@@ -1,4 +1,4 @@
-*usr_05.txt* For Vim version 7.2a. Last change: 2007 May 11
+*usr_05.txt* For Vim version 7.2b. Last change: 2007 May 11
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_06.txt b/runtime/doc/usr_06.txt
index 626af3d00..8ee32c43d 100644
--- a/runtime/doc/usr_06.txt
+++ b/runtime/doc/usr_06.txt
@@ -1,4 +1,4 @@
-*usr_06.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_06.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_07.txt b/runtime/doc/usr_07.txt
index 86a46ecad..ac2164961 100644
--- a/runtime/doc/usr_07.txt
+++ b/runtime/doc/usr_07.txt
@@ -1,4 +1,4 @@
-*usr_07.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_07.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_08.txt b/runtime/doc/usr_08.txt
index 144f6cc8d..5c3a93e54 100644
--- a/runtime/doc/usr_08.txt
+++ b/runtime/doc/usr_08.txt
@@ -1,4 +1,4 @@
-*usr_08.txt* For Vim version 7.2a. Last change: 2006 Jul 18
+*usr_08.txt* For Vim version 7.2b. Last change: 2006 Jul 18
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_09.txt b/runtime/doc/usr_09.txt
index 69a431c3c..d2c652e90 100644
--- a/runtime/doc/usr_09.txt
+++ b/runtime/doc/usr_09.txt
@@ -1,4 +1,4 @@
-*usr_09.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_09.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_10.txt b/runtime/doc/usr_10.txt
index 168b089b3..b41976f50 100644
--- a/runtime/doc/usr_10.txt
+++ b/runtime/doc/usr_10.txt
@@ -1,4 +1,4 @@
-*usr_10.txt* For Vim version 7.2a. Last change: 2006 Nov 05
+*usr_10.txt* For Vim version 7.2b. Last change: 2006 Nov 05
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_11.txt b/runtime/doc/usr_11.txt
index edb45981f..d23743afe 100644
--- a/runtime/doc/usr_11.txt
+++ b/runtime/doc/usr_11.txt
@@ -1,4 +1,4 @@
-*usr_11.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_11.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_12.txt b/runtime/doc/usr_12.txt
index 7e2f413d4..3988de8f4 100644
--- a/runtime/doc/usr_12.txt
+++ b/runtime/doc/usr_12.txt
@@ -1,4 +1,4 @@
-*usr_12.txt* For Vim version 7.2a. Last change: 2007 May 11
+*usr_12.txt* For Vim version 7.2b. Last change: 2007 May 11
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_20.txt b/runtime/doc/usr_20.txt
index 84c58f7d0..864559c5f 100644
--- a/runtime/doc/usr_20.txt
+++ b/runtime/doc/usr_20.txt
@@ -1,4 +1,4 @@
-*usr_20.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_20.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_21.txt b/runtime/doc/usr_21.txt
index 3eabb6866..b15e7f011 100644
--- a/runtime/doc/usr_21.txt
+++ b/runtime/doc/usr_21.txt
@@ -1,4 +1,4 @@
-*usr_21.txt* For Vim version 7.2a. Last change: 2007 May 01
+*usr_21.txt* For Vim version 7.2b. Last change: 2007 May 01
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_22.txt b/runtime/doc/usr_22.txt
index 5a13b871e..a642c59b3 100644
--- a/runtime/doc/usr_22.txt
+++ b/runtime/doc/usr_22.txt
@@ -1,4 +1,4 @@
-*usr_22.txt* For Vim version 7.2a. Last change: 2007 Aug 14
+*usr_22.txt* For Vim version 7.2b. Last change: 2007 Aug 14
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_23.txt b/runtime/doc/usr_23.txt
index e0aa05dcb..ead8711c9 100644
--- a/runtime/doc/usr_23.txt
+++ b/runtime/doc/usr_23.txt
@@ -1,4 +1,4 @@
-*usr_23.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_23.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_24.txt b/runtime/doc/usr_24.txt
index 35911bde5..eab8a36dd 100644
--- a/runtime/doc/usr_24.txt
+++ b/runtime/doc/usr_24.txt
@@ -1,4 +1,4 @@
-*usr_24.txt* For Vim version 7.2a. Last change: 2006 Jul 23
+*usr_24.txt* For Vim version 7.2b. Last change: 2006 Jul 23
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_25.txt b/runtime/doc/usr_25.txt
index 633787149..22ddddf1a 100644
--- a/runtime/doc/usr_25.txt
+++ b/runtime/doc/usr_25.txt
@@ -1,4 +1,4 @@
-*usr_25.txt* For Vim version 7.2a. Last change: 2007 May 11
+*usr_25.txt* For Vim version 7.2b. Last change: 2007 May 11
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_26.txt b/runtime/doc/usr_26.txt
index 0c9f2c8cf..b8252dd4d 100644
--- a/runtime/doc/usr_26.txt
+++ b/runtime/doc/usr_26.txt
@@ -1,4 +1,4 @@
-*usr_26.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_26.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_27.txt b/runtime/doc/usr_27.txt
index 71bfdda98..d2d0cc4ef 100644
--- a/runtime/doc/usr_27.txt
+++ b/runtime/doc/usr_27.txt
@@ -1,4 +1,4 @@
-*usr_27.txt* For Vim version 7.2a. Last change: 2007 Nov 10
+*usr_27.txt* For Vim version 7.2b. Last change: 2007 Nov 10
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_28.txt b/runtime/doc/usr_28.txt
index 76644bb67..045aef8fd 100644
--- a/runtime/doc/usr_28.txt
+++ b/runtime/doc/usr_28.txt
@@ -1,4 +1,4 @@
-*usr_28.txt* For Vim version 7.2a. Last change: 2008 Jun 14
+*usr_28.txt* For Vim version 7.2b. Last change: 2008 Jun 14
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_29.txt b/runtime/doc/usr_29.txt
index a314256c1..20f72ea28 100644
--- a/runtime/doc/usr_29.txt
+++ b/runtime/doc/usr_29.txt
@@ -1,4 +1,4 @@
-*usr_29.txt* For Vim version 7.2a. Last change: 2007 Nov 10
+*usr_29.txt* For Vim version 7.2b. Last change: 2008 Jun 28
VIM USER MANUAL - by Bram Moolenaar
@@ -594,8 +594,8 @@ use this command: >
This will go back to the start of the current function and find the first
occurrence of the word under the cursor. Actually, it searches backwards to
-an empty line above the a "{" in the first column. From there it searches
-forward for the identifier. Example (cursor on "idx"):
+an empty line above a "{" in the first column. From there it searches forward
+for the identifier. Example (cursor on "idx"):
int find_entry(char *name)
{
diff --git a/runtime/doc/usr_30.txt b/runtime/doc/usr_30.txt
index 499851135..51ffcdfae 100644
--- a/runtime/doc/usr_30.txt
+++ b/runtime/doc/usr_30.txt
@@ -1,4 +1,4 @@
-*usr_30.txt* For Vim version 7.2a. Last change: 2007 Nov 10
+*usr_30.txt* For Vim version 7.2b. Last change: 2007 Nov 10
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_31.txt b/runtime/doc/usr_31.txt
index 941ab6895..403086fb8 100644
--- a/runtime/doc/usr_31.txt
+++ b/runtime/doc/usr_31.txt
@@ -1,4 +1,4 @@
-*usr_31.txt* For Vim version 7.2a. Last change: 2007 May 08
+*usr_31.txt* For Vim version 7.2b. Last change: 2007 May 08
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_32.txt b/runtime/doc/usr_32.txt
index ed95a0d15..b049540bc 100644
--- a/runtime/doc/usr_32.txt
+++ b/runtime/doc/usr_32.txt
@@ -1,4 +1,4 @@
-*usr_32.txt* For Vim version 7.2a. Last change: 2006 Apr 30
+*usr_32.txt* For Vim version 7.2b. Last change: 2006 Apr 30
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt
index dd90ba925..cc8acc184 100644
--- a/runtime/doc/usr_40.txt
+++ b/runtime/doc/usr_40.txt
@@ -1,4 +1,4 @@
-*usr_40.txt* For Vim version 7.2a. Last change: 2006 Jun 21
+*usr_40.txt* For Vim version 7.2b. Last change: 2006 Jun 21
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index 38e511fa7..25e911ac7 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -1,4 +1,4 @@
-*usr_41.txt* For Vim version 7.2a. Last change: 2008 Jun 21
+*usr_41.txt* For Vim version 7.2b. Last change: 2008 Jun 21
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_42.txt b/runtime/doc/usr_42.txt
index a40bf3b77..b8c4eea0e 100644
--- a/runtime/doc/usr_42.txt
+++ b/runtime/doc/usr_42.txt
@@ -1,4 +1,4 @@
-*usr_42.txt* For Vim version 7.2a. Last change: 2008 May 05
+*usr_42.txt* For Vim version 7.2b. Last change: 2008 May 05
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_43.txt b/runtime/doc/usr_43.txt
index 65ac9b64b..dbf3b8671 100644
--- a/runtime/doc/usr_43.txt
+++ b/runtime/doc/usr_43.txt
@@ -1,4 +1,4 @@
-*usr_43.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_43.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_44.txt b/runtime/doc/usr_44.txt
index b9f29e3d2..19165d473 100644
--- a/runtime/doc/usr_44.txt
+++ b/runtime/doc/usr_44.txt
@@ -1,4 +1,4 @@
-*usr_44.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_44.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_45.txt b/runtime/doc/usr_45.txt
index 5c83d1ce4..5f6a14f05 100644
--- a/runtime/doc/usr_45.txt
+++ b/runtime/doc/usr_45.txt
@@ -1,4 +1,4 @@
-*usr_45.txt* For Vim version 7.2a. Last change: 2008 Apr 30
+*usr_45.txt* For Vim version 7.2b. Last change: 2008 Apr 30
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_90.txt b/runtime/doc/usr_90.txt
index f80c0af32..24efda2e3 100644
--- a/runtime/doc/usr_90.txt
+++ b/runtime/doc/usr_90.txt
@@ -1,4 +1,4 @@
-*usr_90.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_90.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/usr_toc.txt b/runtime/doc/usr_toc.txt
index d649aca99..75f29ce6a 100644
--- a/runtime/doc/usr_toc.txt
+++ b/runtime/doc/usr_toc.txt
@@ -1,4 +1,4 @@
-*usr_toc.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*usr_toc.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 16b2d0d1a..e8f4de16f 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 7.2a. Last change: 2008 Jun 08
+*various.txt* For Vim version 7.2b. Last change: 2008 Jun 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -816,7 +816,7 @@ The second one finds the English user manual, even when 'helplang' is set to
"it".
When using command-line completion for the ":help" command, the "@en"
-extention is only shown when a tag exists for multiple languages. When the
+extension is only shown when a tag exists for multiple languages. When the
tag only exists for English "@en" is omitted.
When using |CTRL-]| or ":help!" in a non-English help file Vim will try to
diff --git a/runtime/doc/version4.txt b/runtime/doc/version4.txt
index 8211a8d1c..5eb624124 100644
--- a/runtime/doc/version4.txt
+++ b/runtime/doc/version4.txt
@@ -1,4 +1,4 @@
-*version4.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*version4.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/version5.txt b/runtime/doc/version5.txt
index 538c24572..81205778d 100644
--- a/runtime/doc/version5.txt
+++ b/runtime/doc/version5.txt
@@ -1,4 +1,4 @@
-*version5.txt* For Vim version 7.2a. Last change: 2007 May 11
+*version5.txt* For Vim version 7.2b. Last change: 2008 Jun 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1992,7 +1992,7 @@ because the compare with other tags was wrong. E.g., when "mnuFileSave" was
already there, "mnuFile" would be skipped. (Negri)
When scrolling up/down, a syntax item with "keepend" didn't work properly.
-Now the flags are also stored for the syntax state a the start of each line.
+Now the flags are also stored for the syntax state at the start of each line.
When 'ic' was changed while 'hlsearch' is on, there was no redraw to show the
effect.
@@ -3067,7 +3067,7 @@ character in the line, instead of just after it.
5.2.7: Win32 GUI: scrollbar was one pixel too big.
-5.2.8: Completion of "PopUp" menu showed the derivates "PopUpc", "PopUPi",
+5.2.8: Completion of "PopUp" menu showed the derivatives "PopUpc", "PopUPi",
etc. ":menu" also showed these.
5.2.9: When using two input() functions on a row, the prompt would not be
diff --git a/runtime/doc/version6.txt b/runtime/doc/version6.txt
index 1f3699c1f..0ab4d1deb 100644
--- a/runtime/doc/version6.txt
+++ b/runtime/doc/version6.txt
@@ -1,4 +1,4 @@
-*version6.txt* For Vim version 7.2a. Last change: 2007 May 11
+*version6.txt* For Vim version 7.2b. Last change: 2007 May 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -13235,7 +13235,7 @@ Files: src/fileio.c
Patch 6.2.499
Problem: When writing a file and halting the system, the file might be lost
- when using a journalling file system.
+ when using a journaling file system.
Solution: Use fsync() to flush the file data to disk after writing a file.
(Radim Kolar)
Files: src/fileio.c
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index 786a0b325..7f450f427 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.2a. Last change: 2008 Jun 24
+*version7.txt* For Vim version 7.2b. Last change: 2008 Jul 13
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -263,7 +263,7 @@ Currently supported languages:
Ruby |ft-ruby-omni|
SQL |ft-sql-omni|
XML |ft-xml-omni|
- any language wih syntax highligting |ft-syntax-omni|
+ any language with syntax highlighting |ft-syntax-omni|
You can add your own omni completion scripts.
@@ -3397,7 +3397,7 @@ Solution: Include vim.h as before. (Mark S. Williams)
Files: src/if_ole.cpp
Patch 7.0.058
-Problem: The gbk and and gb18030 encodings are not recognized.
+Problem: The gbk and gb18030 encodings are not recognized.
Solution: Add aliases to cp936. (Edward L. Fox)
Files: src/mbyte.c
@@ -4655,27 +4655,35 @@ Moved including fcntl.h to vim.h and removed it from all .c files.
Introduce macro STRMOVE(d, s), like STRCPY() for overlapping strings.
Use it instead of mch_memmove(p, p + x, STRLEN(p + x) + 1).
+Removed the bulgarian.vim keymap file, two more standard ones replace it.
+(Boyko Bantchev)
+
+Increased the maximum number of tag matches for command line completion from
+200 to 300.
+
Added *added-7.2*
-----
New syntax files:
+ CUDA (Timothy B. Terriberry)
Cdrdao config (Nikolai Weibull)
Coco/R (Ashish Shukla)
- CUDA (Timothy B. Terriberry)
- denyhosts config (Nikolai Weibull)
Dtrace script (Nicolas Weber)
Git output, commit, config, rebase, send-email (Tim Pope)
- HASTE (M. Tranchero)
+ HASTE and HastePreProc (M. Tranchero)
+ Haml (Tim Pope)
Host conf (Nikolai Weibull)
Linden script (Timo Frenay)
- Symbian meta-makefile, MMP (Ron Aaron)
MS messages (Kevin Locke)
PDF (Tim Pope)
ProMeLa (Maurizio Tranchero)
Reva Foth (Ron Aaron)
+ Sass (Tim Pope)
+ Symbian meta-makefile, MMP (Ron Aaron)
VOS CM macro (Andrew McGill)
XBL (Doug Kearns)
+ denyhosts config (Nikolai Weibull)
New tutor files:
Made UTF-8 versions of all the tutor files.
@@ -4690,21 +4698,31 @@ New filetype plugins:
Dos .ini file (Nikolai Weibull)
Dtrace script (Nicolas Weber)
Git, Git config, Git commit, Git rebase, Git send-email (Tim Pope)
+ Haml (Tim Pope)
Host conf (Nikolai Weibull)
+ Logtalk (Paulo Moura)
MS messages (Kevin Locke)
PDF (Tim Pope)
Reva Forth (Ron Aaron)
+ Sass (Tim Pope)
New indent files:
Dtrace script (Nicolas Weber)
Erlang (Csaba Hoch)
Git config (Tim Pope)
+ Haml (Tim Pope)
+ Logtalk (Paulo Moura)
+ Sass (Tim Pope)
Tiny Fugue (Christian J. Robinson)
+New compiler plugins:
+ RSpec (Tim Pope)
+
New keymap files:
Croatian (Paul B. Mahol)
Russian Dvorak (Serhiy Boiko)
Ukrainian Dvorak (Serhiy Boiko)
+ Removed plain Bulgarian, "bds" and phonetic are sufficient.
Other new runtime files:
Esperanto menus and message translations. (Dominique Pelle)
@@ -5116,7 +5134,7 @@ Solution: Adjust ind_len. (Chris Lubinski)
Files: src/misc1.c
Patch 7.1.063 (after 7.1.040)
-Problem: Warning for unitialized variable.
+Problem: Warning for uninitialized variable.
Solution: Initialise it to NULL.
Files: src/ex_docmd.c
@@ -5184,7 +5202,7 @@ Solution: Handle the situation that we start without indent. (Chris
Files: src/misc1.c
Patch 7.1.074
-Problem: Crash when calling string() on a recurively nested List.
+Problem: Crash when calling string() on a recursively nested List.
Solution: Check result value for being NULL. (Yukihiro Nakadaira)
Files: src/eval.c
@@ -5487,7 +5505,7 @@ Patch 7.1.124 (extra)
Problem: Mac: When dropping a file on Vim.app that is already in the buffer
list (from .viminfo) results in editing an empty, unnamed buffer.
(Axel Kielhorn) Also: warning for unused variable.
-Solution: Move to the buffer of the first agument. Delete unused variable.
+Solution: Move to the buffer of the first argument. Delete unused variable.
Files: src/gui_mac.c
Patch 7.1.125
@@ -6098,7 +6116,7 @@ Solution: use set_option_value() to set 'rightleft'.
Files: src/main.c
Patch 7.1.225
-Problem: Using unitialized value when XGetWMNormalHints() fails.
+Problem: Using uninitialized value when XGetWMNormalHints() fails.
Solution: Check the return value. (Dominique Pelle)
Files: src/os_unix.c
@@ -6195,7 +6213,7 @@ Problem: When "gUe" turns a German sharp s into SS the operation stops
not changed to SS there.
Solution: Make sure all the characters are operated upon. Detect the sharp
s in latin2. Also fixes that changing case of a multi-byte
- character that changes the byte cound doesn't always work.
+ character that changes the byte count doesn't always work.
Files: src/ops.c
Patch 7.1.241
@@ -6350,7 +6368,7 @@ Solution: Assume the escape sequence ends in a letter.
Files: src/term.c
Patch 7.1.267
-Problem: When changing folds cursor may be posioned in the wrong place.
+Problem: When changing folds cursor may be positioned in the wrong place.
Solution: Call changed_window_setting_win() instead of
changed_window_setting().
Files: src/fold.c
@@ -6676,7 +6694,7 @@ Solution: Add the 'v' argument to getpos().
Files: runtime/doc/eval.txt, src/eval.c
Patch 7.1.323
-Problem: Test 19 fails with some termcaps. (Dominque Pelle)
+Problem: Test 19 fails with some termcaps. (Dominique Pelle)
Solution: Set the t_kb and t_kD termcap values.
Files: src/testdir/test19.in, src/testdir/test38.in
@@ -6771,5 +6789,152 @@ Setting 'pastetoggle' to "jj" didn't work.
'ic' and 'smartcase' don't work properly when using \%V in a search pattern.
(Kana Natsuno)
+Patch 7.2a.001
+Problem: On some systems X11/Xlib.h exists (from X11-dev package) but
+ X11/Intrinsic.h does not (in Xt-dev package). This breaks the
+ build. Also, on Solaris 9 sys/ptem.h isn't found.
+Solution: Have configure only accept X11 when X11/Intrinsic.h exists.
+ Check for sys/ptem.h while including sys/stream.h. (Vladimir
+ Marek)
+Files: src/auto/configure, src/configure.in
+
+Patch 7.2a.002
+Problem: getbufvar(N, "") gets the dictionary of the current buffer instead
+ of buffer N.
+Solution: Set curbuf before calling find_var_in_ht(). (Kana Natsuno)
+Files: src/eval.c
+
+Patch 7.2a.003
+Problem: Leaking memory when using ":file name" and using access control
+ lists.
+Solution: Invoke mch_free_acl() in vim_rename(). (Dominique Pelle)
+Files: src/fileio.c
+
+Patch 7.2a.004
+Problem: Some systems can't get spell files by ftp.
+Solution: Use http when it looks like it's possible. (James Vega)
+Files: runtime/autoload/spellfile.vim
+
+Patch 7.2a.005
+Problem: A few error messages use confusing names. Misspelling.
+Solution: Change "dissallows" to "disallows". (Dominique Pelle) Change
+ "number" to "Number".
+Files: src/eval.c, src/fileio.c
+
+Patch 7.2a.006
+Problem: Reading past NUL in a string.
+Solution: Check for invalid utf-8 byte sequence. (Dominique Pelle)
+Files: src/charset.c
+
+Patch 7.2a.007
+Problem: ":let v = 1.2.3" was OK in Vim 7.1, now it gives an error.
+Solution: Don't look for a floating point number after the "." operator.
+Files: src/eval.c
+
+Patch 7.2a.008
+Problem: printf("%g", 1) doesn't work.
+Solution: Convert Number to Float when needed.
+Files: src/message.c
+
+Patch 7.2a.009
+Problem: cygwin_conv_to_posix_path() does not specify buffer size.
+Solution: Use new Cygwin function: cygwin_conv_path(). (Corinna Vinschen)
+Files: src/main.c, src/os_unix.c
+
+Patch 7.2a.010
+Problem: When a file name has an illegal byte sequence Vim may read
+ uninitialised memory.
+Solution: Don't use UTF_COMPOSINGLIKE() on an illegal byte. In
+ msg_outtrans_len_attr() use char2cells() instead of ptr2cells().
+ In utf_ptr2char() don't check second byte when first byte is
+ illega. (Dominique Pelle)
+Files: src/mbyte.c, src/message.c
+
+Patch 7.2a.011
+Problem: The Edit/Startup Settings menu doesn't work.
+Solution: Expand environment variables. (Ben Schmidt)
+Files: runtime/menu.vim
+
+Patch 7.2a.012
+Problem: Compiler warnings for casting int to pointer.
+Solution: Add cast to long in between. (Martin Toft)
+Files: src/gui_gtk_x11.c
+
+Patch 7.2a.013
+Problem: shellescape() does not escape "%" and "#" characters.
+Solution: Add find_cmdline_var() and use it when the second argument to
+ shellescape() is non-zero.
+Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
+ src/proto/ex_docmd.pro, src/proto/misc2.pro, src/misc2.c
+
+Patch 7.2a.014
+Problem: Problem with % in message.
+Solution: Put % in single quotes.
+Files: src/eval.c
+
+Patch 7.2a.015 (after 7.2a.010)
+Problem: Misaligned messages.
+Solution: Compute length of unprintable chars correctly.
+Files: src/message.c
+
+Patch 7.2a.016
+Problem: Using CTRL-W v in the quickfix window results in two quickfix
+ windows, which is not allowed. ":tab split" should be allowed to
+ open a new quickfix window in another tab.
+Solution: For CTRL-W v instead of splitting the window open a new one.
+ When using ":tab" do allow splitting the quickfix window (was
+ already included in patch 7.2a.013).
+Files: src/window.c
+
+Patch 7.2a.017
+Problem: ":doautoall" executes autocommands for all buffers instead of just
+ for loaded buffers.
+Solution: Change "curbuf" to "buf".
+Files: src/fileio.c
+
+Patch 7.2a.018
+Problem: Compiler warnings when compiling with Gnome. (Tony Mechelynck)
+Solution: Add type casts.
+Files: src/gui_gtk_x11.c
+
+Patch 7.2a.019
+Problem: ":let &g:tw = 44" sets the local option value. (Cyril Slobin)
+Solution: Use get_varp_scope() instead of get_varp(). (Ian Kelling)
+Files: src/option.c
+
+There is no way to avoid adding /usr/local/{include|lib} to the build
+commands. Add the --with-local-dir argument to configure. (Michael
+Haubenwallner)
+
+When using CTRL-D after ":help", the number of matches could be thousands.
+Restrict to TAG_MANY to avoid this taking too long. (Ian Kelling)
+
+The popup menu could be placed at a weird location. Caused by w_wcol computed
+by curs_columns(). (Dominique Pelle)
+
+Overlapping STRCPY() arguments when using %r item in 'errorformat'. Use
+STRMOVE() instead. (Ralf Wildenhues)
+
+Mac: On Leopard gvim, when using the mouse wheel nothing would happen until
+another event occures, such as moving the mouse. Then the recorded scrolling
+would take place all at once. (Eckehard Berns)
+
+Solution for cursor color not reflecting IM status for GTK 2. Add
+preedit_is_active flag. (SungHyun Nam)
+
+filereadable() can hang on a FIFO on Linux. Use open() instead of fopen(),
+with O_NONBLOCK. (suggested by Lars Kotthoff)
+
+Included patch to support Perl 5.10. (Yasuhiro Matsumoto)
+
+When files are dropped on gvim while the screen is being updated, ignore the
+drop command to avoid freeing memory that is being used.
+
+In a terminal, when drawing the popup menu over double-wide characters, half
+characters may not be cleared properly. (Yukihiro Nakadaira)
+
+The #ifdef for including "vimio.h" was inconsistent. In a few files it
+depended on MSWIN, which isn't defined until later.
+
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/vi_diff.txt b/runtime/doc/vi_diff.txt
index df1452d2c..bd5df64dc 100644
--- a/runtime/doc/vi_diff.txt
+++ b/runtime/doc/vi_diff.txt
@@ -1,4 +1,4 @@
-*vi_diff.txt* For Vim version 7.2a. Last change: 2008 May 05
+*vi_diff.txt* For Vim version 7.2b. Last change: 2008 Jun 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -383,7 +383,7 @@ Improved indenting for programs. |'cindent'|
Searching for words in included files. |include-search|
The |[i| command can be used to search for a match of the word under
the cursor in the current and included files. The 'include' option
- can be set the a pattern that describes a command to include a file
+ can be set to a pattern that describes a command to include a file
(the default is for C programs).
The |[I| command lists all matches, the |[_CTRL-I| command jumps to
a match.
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 4858bb88b..fca71f360 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -1,4 +1,4 @@
-*visual.txt* For Vim version 7.2a. Last change: 2006 Sep 26
+*visual.txt* For Vim version 7.2b. Last change: 2006 Sep 26
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index dc9c20ccb..40e98c441 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1,4 +1,4 @@
-*windows.txt* For Vim version 7.2a. Last change: 2007 Oct 07
+*windows.txt* For Vim version 7.2b. Last change: 2008 Jul 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -190,8 +190,8 @@ CTRL-W CTRL_N *CTRL-W_CTRL-N*
Same as ":split", but set 'readonly' option for this buffer.
:[N]sf[ind] [++opt] [+cmd] {file} *:sf* *:sfind* *splitfind*
- Same as ":split", but search for {file} in 'path'. Doesn't
- split if {file} is not found.
+ Same as ":split", but search for {file} in 'path' like in
+ |:find|. Doesn't split if {file} is not found.
CTRL-W CTRL-^ *CTRL-W_CTRL-^* *CTRL-W_^*
CTRL-W ^ Does ":split #", split window in two and edit alternate file.
diff --git a/runtime/doc/workshop.txt b/runtime/doc/workshop.txt
index c14bf718a..e67685256 100644
--- a/runtime/doc/workshop.txt
+++ b/runtime/doc/workshop.txt
@@ -1,4 +1,4 @@
-*workshop.txt* For Vim version 7.2a. Last change: 2006 Apr 24
+*workshop.txt* For Vim version 7.2b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Gordon Prieur