summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/change.txt7
-rw-r--r--runtime/doc/eval.txt18
-rw-r--r--runtime/doc/insert.txt9
-rw-r--r--runtime/doc/motion.txt11
-rw-r--r--runtime/doc/options.txt64
-rw-r--r--runtime/doc/recover.txt10
-rw-r--r--runtime/doc/scroll.txt6
-rw-r--r--runtime/doc/starting.txt11
-rw-r--r--runtime/doc/tags15
-rw-r--r--runtime/doc/todo.txt50
-rw-r--r--runtime/doc/usr_03.txt6
-rw-r--r--runtime/doc/usr_05.txt8
-rw-r--r--runtime/doc/usr_27.txt8
-rw-r--r--runtime/doc/usr_41.txt6
-rw-r--r--runtime/doc/various.txt7
-rw-r--r--runtime/doc/version7.txt54
-rw-r--r--runtime/doc/vi_diff.txt32
-rw-r--r--runtime/indent/python.vim6
-rw-r--r--runtime/syntax/mail.vim6
-rw-r--r--runtime/syntax/synload.vim4
-rw-r--r--runtime/syntax/vim.vim10
-rw-r--r--src/buffer.c2
-rw-r--r--src/edit.c4
-rw-r--r--src/ex_docmd.c1
-rw-r--r--src/ex_getln.c98
-rw-r--r--src/fileio.c6
-rw-r--r--src/main.aap1
-rw-r--r--src/main.c29
-rw-r--r--src/misc1.c5
-rw-r--r--src/move.c30
-rw-r--r--src/normal.c30
-rw-r--r--src/ops.c14
-rw-r--r--src/option.c42
-rw-r--r--src/option.h17
-rw-r--r--src/os_unix.c5
-rw-r--r--src/proto/misc1.pro1
-rw-r--r--src/search.c12
-rw-r--r--src/structs.h4
-rw-r--r--src/term.c6
-rw-r--r--src/testdir/test16.in4
-rw-r--r--src/testdir/test55.in17
-rw-r--r--src/testdir/test55.ok6
-rw-r--r--src/version.h4
-rw-r--r--src/vim.h1
44 files changed, 556 insertions, 131 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index ac689b6fc2..766bcb0fc0 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1,4 +1,4 @@
-*change.txt* For Vim version 7.0aa. Last change: 2005 Jan 14
+*change.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -52,6 +52,8 @@ For inserting text see |insert.txt|.
of the line and [count]-1 more lines [into register
x]; synonym for "d$".
(not |linewise|)
+ When the '#' flag is in 'cpoptions' the count is
+ ignored.
{Visual}["x]x or *v_x* *v_d* *v_<Del>*
{Visual}["x]d or
@@ -1017,7 +1019,8 @@ except when the command specifies a register with ["x].
4. Named registers "a to "z or "A to "Z *quote_alpha* *quotea*
Vim fills these registers only when you say so. Specify them as lowercase
letters to replace their previous contents or as uppercase letters to append
-to their previous contents.
+to their previous contents. When the '>' flag is present in 'cpoptions' then
+a line break is inserted before the appended text.
5. Read-only registers ":, "., "% and "#
These are '%', '#', ':' and '.'. You can use them only with the "p", "P",
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 450408c814..736ab793bc 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
+*eval.txt* For Vim version 7.0aa. Last change: 2005 Feb 11
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1899,7 +1899,7 @@ cursor({lnum}, {col}) *cursor()*
If {col} is zero, the cursor will stay in the current column.
-deepcopy({expr}) *deepcopy()* *E698*
+deepcopy({expr}[, {noref}]) *deepcopy()* *E698*
Make a copy of {expr}. For Numbers and Strings this isn't
different from using {expr} directly.
When {expr} is a List a full copy is created. This means
@@ -1907,10 +1907,15 @@ deepcopy({expr}) *deepcopy()* *E698*
copy, and vise versa. When an item is a List, a copy for it
is made, recursively. Thus changing an item in the copy does
not change the contents of the original List.
+ When {noref} is omitted or zero a contained List or Dictionary
+ is only copied once. All references point to this single
+ copy. With {noref} set to 1 every occurrence of a List or
+ Dictionary results in a new copy. This also means that a
+ cyclic reference causes deepcopy() to fail.
*E724*
Nesting is possible up to 100 levels. When there is an item
- that refers back to a higher level making a deep copy will
- fail.
+ that refers back to a higher level making a deep copy with
+ {noref} set to 1 will fail.
Also see |copy()|.
delete({fname}) *delete()*
@@ -4399,8 +4404,9 @@ Vim will look for the file "autoload/foo/bar.vim" in 'runtimepath'.
The name before the first colon must be at least two characters long,
otherwise it looks like a scope, such as "s:".
-Note that the script will be sourced again and again if a function is called
-that looks like it is defined in the autoload script but it isn't.
+Note that when you make a mistake and call a function that is supposed to be
+defined in an autoload script, but the script doesn't actually define the
+function, the script will be sourced every time you try to call the function.
==============================================================================
6. Curly braces names *curly-braces-names*
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 74b68e16a2..fad968f44c 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt* For Vim version 7.0aa. Last change: 2005 Jan 26
+*insert.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -922,6 +922,9 @@ i Insert text before the cursor [count] times.
*I*
I Insert text before the first non-blank in the line
[count] times.
+ When the 'H' flag is present in 'cpoptions' and the
+ line only contains blanks, insert start just before
+ the last blank.
*gI*
gI Insert text in column 1 [count] times. {not in Vi}
@@ -941,11 +944,15 @@ gi Insert text in the same position as where Insert mode
o Begin a new line below the cursor and insert text,
repeat [count] times. {Vi: blank [count] screen
lines}
+ When the '#' flag is in 'cpoptions' the count is
+ ignored.
*O*
O Begin a new line above the cursor and insert text,
repeat [count] times. {Vi: blank [count] screen
lines}
+ When the '#' flag is in 'cpoptions' the count is
+ ignored.
These commands are used to start inserting text. You can end insert mode with
<Esc>. See |mode-ins-repl| for the other special characters in Insert mode.
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt
index daaa6020e2..cfc318bf64 100644
--- a/runtime/doc/motion.txt
+++ b/runtime/doc/motion.txt
@@ -1,4 +1,4 @@
-*motion.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
+*motion.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -465,9 +465,12 @@ A paragraph begins after each empty line, and also at each of a set of
paragraph macros, specified by the pairs of characters in the 'paragraphs'
option. The default is "IPLPPPQPP LIpplpipbp", which corresponds to the
macros ".IP", ".LP", etc. (These are nroff macros, so the dot must be in the
-first column). A section boundary is also a paragraph boundary. Note that
-this does not include a '{' or '}' in the first column. Also note that a
-blank line (only containing white space) is NOT a paragraph boundary.
+first column). A section boundary is also a paragraph boundary.
+Note that a blank line (only containing white space) is NOT a paragraph
+boundary.
+Also note that this does not include a '{' or '}' in the first column. When
+the '{' flag is in 'cpoptions' then '{' in the first column is used as a
+paragraph boundary |posix|.
*section*
A section begins after a form-feed (<C-L>) in the first column and at each of
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index e1c6f5ae40..25558d6423 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
+*options.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1640,6 +1640,10 @@ A jump table for the options with a short description can be found at |Q_op|.
"+=" and "-=" feature of ":set" |add-option-flags|.
NOTE: This option is set to the Vi default value when 'compatible' is
set and to the Vim default value when 'compatible' is reset.
+ NOTE: This option is set to the POSIX default value at startup when
+ the Vi default value would be used and the $VIM_POSIX environment
+ variable exists |posix|. This means tries to behave like the POSIX
+ specification.
contains behavior ~
*cpo-a*
@@ -1708,6 +1712,10 @@ A jump table for the options with a short description can be found at |Q_op|.
yet.
*cpo-g*
g Goto line 1 when using ":edit" without argument.
+ *cpo-H*
+ H When using "I" on a line with only blanks, insert
+ before the last blank. Without this flag insert after
+ the last blank.
*cpo-i*
i When included, interrupting the reading of a file will
leave it modified.
@@ -1768,6 +1776,9 @@ A jump table for the options with a short description can be found at |Q_op|.
*cpo-p*
p Vi compatible Lisp indenting. When not present, a
slightly better algorithm is used.
+ *cpo-q*
+ q When joining multiple lines leave the cursor at the
+ position where it would be when joining two lines.
*cpo-r*
r Redo ("." command) uses "/" to repeat a search
command, instead of the actually used search string.
@@ -1816,8 +1827,15 @@ A jump table for the options with a short description can be found at |Q_op|.
x <Esc> on the command-line executes the command-line.
The default in Vim is to abandon the command-line,
because <Esc> normally aborts a command. |c_<Esc>|
+ *cpo-X*
+ X When using a count with "R" the replaced text is
+ deleted only once. Also when repeating "R" with "."
+ and a count.
*cpo-y*
y A yank command can be redone with ".".
+ *cpo-Z*
+ Z When using "w!" while the 'readonly' option is set,
+ don't reset 'readonly'.
*cpo-!*
! When redoing a filter command, use the last used
external command, whatever it was. Otherwise the last
@@ -1856,7 +1874,7 @@ A jump table for the options with a short description can be found at |Q_op|.
+ When included, a ":write file" command will reset the
'modified' flag of the buffer, even though the buffer
itself may still be different from its file.
- cpo-star*
+ *cpo-star*
* Use ":*" in the same way as ":@". When not included,
":*" is an alias for ":'<,'>", select the Visual area.
*cpo-<*
@@ -1867,6 +1885,28 @@ A jump table for the options with a short description can be found at |Q_op|.
'<' included: "<Tab>" (5 characters)
'<' excluded: "^I" (^I is a real <Tab>)
Also see the 'k' flag above.
+ *cpo->*
+ > When appending to a register, put a line break before
+ the appended text.
+
+ POSIX flags. These are not included in the Vi default value, except
+ when $VIM_POSIX was set on startup. |posix|
+
+ contains behavior ~
+ *cpo-#*
+ # A count before "D", "o" and "O" has no effect.
+ *cpo-{*
+ { The |{| and |}| commands also stop at a "{" character
+ at the start of a line.
+ *cpo-bar*
+ | The value of the $LINES and $COLUMNS environment
+ variables overrule the terminal size values obtained
+ with system specific functions.
+ *cpo-&*
+ & When ":preserve" was used keep the swap file when
+ exiting normally while this buffer is still loaded.
+ This flag is tested when exiting.
+
*'cscopepathcomp'* *'cspc'*
'cscopepathcomp' 'cspc' number (default 0)
@@ -4684,9 +4724,10 @@ A jump table for the options with a short description can be found at |Q_op|.
If on, writes fail unless you use a '!'. Protects you from
accidentally overwriting a file. Default on when Vim is started
in read-only mode ("vim -R") or when the executable is called "view".
+ When using ":w!" the 'readonly' option is reset for the current
+ buffer, unless the 'Z' flag is in 'cpoptions'.
{not in Vi:} When using the ":view" command the 'readonly' option is
- set for the newly edited buffer. When using ":w!" the 'readonly'
- option is reset for the current buffer.
+ set for the newly edited buffer.
*'remap'* *'noremap'*
'remap' boolean (default on)
@@ -4835,6 +4876,7 @@ A jump table for the options with a short description can be found at |Q_op|.
files:
filetype.vim filetypes by file name |new-filetype|
scripts.vim filetypes by file contents |new-filetype-scripts|
+ autoload/ automatically loaded scripts |autoload-functions|
colors/ color scheme files |:colorscheme|
compiler/ compiler files |:compiler|
doc/ documentation |write-local-help|
@@ -6741,6 +6783,20 @@ A jump table for the options with a short description can be found at |Q_op|.
This option is not used for <F10>; on Win32 and with GTK <F10> will
select the menu, unless it has been mapped.
+ *'window'* *'wi'*
+'window' 'wi' number (default screen height - 1)
+ global
+ Window height. Do not confuse this with the height of the Vim window,
+ use 'lines' for that.
+ Used for |CTRL-F| and |CTRL-B| when the value is smaller than 'lines'
+ minus one. The screen will scroll 'window' minus two lines, with a
+ minimum of one.
+ When 'window' is equal to 'lines' minus one CTRL-F and CTRL-B scroll
+ in a much smarter way, taking care of wrapping lines.
+ When resizing the Vim window, the value is smaller than 1 or more than
+ or equal to 'lines' it will be set to 'lines' minus 1.
+ {Vi also uses the option to specify the number of displayed lines}
+
*'winheight'* *'wh'* *E591*
'winheight' 'wh' number (default 1)
global
diff --git a/runtime/doc/recover.txt b/runtime/doc/recover.txt
index 6913be2e80..ffd150960f 100644
--- a/runtime/doc/recover.txt
+++ b/runtime/doc/recover.txt
@@ -1,4 +1,4 @@
-*recover.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
+*recover.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -116,8 +116,12 @@ command:
*:pre* *:preserve* *E313* *E314*
:pre[serve] Write all text for all buffers into swap file. The
- original file is no longer needed for recovery. {Vi:
- emergency exit}
+ original file is no longer needed for recovery.
+ This sets a flag in the current buffer. When the '&'
+ flag is present in 'cpoptions' the swap file will not
+ be deleted for this buffer when Vim exits and the
+ buffer is still loaded |cpo-&|.
+ {Vi: might also exit}
A Vim swap file can be recognized by the first six characters: "b0VIM ".
After that comes the version number, e.g., "3.0".
diff --git a/runtime/doc/scroll.txt b/runtime/doc/scroll.txt
index 288552d5ca..2627533662 100644
--- a/runtime/doc/scroll.txt
+++ b/runtime/doc/scroll.txt
@@ -1,4 +1,4 @@
-*scroll.txt* For Vim version 7.0aa. Last change: 2004 Jun 08
+*scroll.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -52,6 +52,8 @@ CTRL-D Scroll window Downwards in the buffer. The number of
<PageDown> or *<PageDown>* *CTRL-F*
CTRL-F Scroll window [count] pages Forwards (downwards) in
the buffer. See also 'startofline' option.
+ When there is only one window the 'window' option
+ might be used.
*z+*
z+ Without [count]: Redraw with the line just below the
@@ -89,6 +91,8 @@ CTRL-U Scroll window Upwards in the buffer. The number of
<PageUp> or *<PageUp>* *CTRL-B*
CTRL-B Scroll window [count] pages Backwards (upwards) in the
buffer. See also 'startofline' option.
+ When there is only one window the 'window' option
+ might be used.
*z^*
z^ Without [count]: Redraw with the line just above the
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 49b424afbb..46a5e0b02a 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.0aa. Last change: 2005 Jan 25
+*starting.txt* For Vim version 7.0aa. Last change: 2005 Feb 10
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -469,22 +469,23 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
started in Ex mode, see |-s-ex|. See also |complex-repeat|.
{not in Vi}
+ *-w_nr*
+-w {number}
+-w{number} Set the 'window' option to {number}.
+
*-w*
-w {scriptout} All the characters that you type are recorded in the file
"scriptout", until you exit Vim. This is useful if you want
to create a script file to be used with "vim -s" or
":source!". When the "scriptout" file already exists, new
characters are appended. See also |complex-repeat|.
+ {scriptout} cannot start with a digit.
{not in Vi}
*-W*
-W {scriptout} Like -w, but do not append, overwrite an existing file.
{not in Vi}
- *-w_nr*
--w{number} Does nothing. This was included for Vi-compatibility. In Vi
- it sets the 'window' option, which is not implemented in Vim.
-
--remote [+{cmd}] {file} ...
Open the {file} in another Vim that functions as a server.
Any non-file arguments must come before this.
diff --git a/runtime/doc/tags b/runtime/doc/tags
index 30611f86f5..bc1e9ef0fe 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -943,7 +943,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'wfh' options.txt /*'wfh'*
'wh' options.txt /*'wh'*
'whichwrap' options.txt /*'whichwrap'*
-'wi' vi_diff.txt /*'wi'*
+'wi' options.txt /*'wi'*
'wig' options.txt /*'wig'*
'wildchar' options.txt /*'wildchar'*
'wildcharm' options.txt /*'wildcharm'*
@@ -953,7 +953,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'wildoptions' options.txt /*'wildoptions'*
'wim' options.txt /*'wim'*
'winaltkeys' options.txt /*'winaltkeys'*
-'window' vi_diff.txt /*'window'*
+'window' options.txt /*'window'*
'winfixheight' options.txt /*'winfixheight'*
'winheight' options.txt /*'winheight'*
'winminheight' options.txt /*'winminheight'*
@@ -4379,17 +4379,21 @@ count-variable eval.txt /*count-variable*
count1-variable eval.txt /*count1-variable*
cp-default version5.txt /*cp-default*
cpo-! options.txt /*cpo-!*
+cpo-# options.txt /*cpo-#*
cpo-$ options.txt /*cpo-$*
cpo-% options.txt /*cpo-%*
+cpo-& options.txt /*cpo-&*
cpo-+ options.txt /*cpo-+*
cpo-- options.txt /*cpo--*
cpo-< options.txt /*cpo-<*
+cpo-> options.txt /*cpo->*
cpo-A options.txt /*cpo-A*
cpo-B options.txt /*cpo-B*
cpo-C options.txt /*cpo-C*
cpo-D options.txt /*cpo-D*
cpo-E options.txt /*cpo-E*
cpo-F options.txt /*cpo-F*
+cpo-H options.txt /*cpo-H*
cpo-I options.txt /*cpo-I*
cpo-J options.txt /*cpo-J*
cpo-K options.txt /*cpo-K*
@@ -4399,8 +4403,10 @@ cpo-O options.txt /*cpo-O*
cpo-R options.txt /*cpo-R*
cpo-S options.txt /*cpo-S*
cpo-W options.txt /*cpo-W*
+cpo-X options.txt /*cpo-X*
cpo-a options.txt /*cpo-a*
cpo-b options.txt /*cpo-b*
+cpo-bar options.txt /*cpo-bar*
cpo-c options.txt /*cpo-c*
cpo-d options.txt /*cpo-d*
cpo-e options.txt /*cpo-e*
@@ -4414,14 +4420,17 @@ cpo-m options.txt /*cpo-m*
cpo-n options.txt /*cpo-n*
cpo-o options.txt /*cpo-o*
cpo-p options.txt /*cpo-p*
+cpo-q options.txt /*cpo-q*
cpo-r options.txt /*cpo-r*
cpo-s options.txt /*cpo-s*
+cpo-star options.txt /*cpo-star*
cpo-t options.txt /*cpo-t*
cpo-u options.txt /*cpo-u*
cpo-v options.txt /*cpo-v*
cpo-w options.txt /*cpo-w*
cpo-x options.txt /*cpo-x*
cpo-y options.txt /*cpo-y*
+cpo-{ options.txt /*cpo-{*
crash-recovery recover.txt /*crash-recovery*
creating-menus gui.txt /*creating-menus*
credits intro.txt /*credits*
@@ -5693,6 +5702,7 @@ new-options-5.2 version5.txt /*new-options-5.2*
new-options-5.4 version5.txt /*new-options-5.4*
new-perl-python version5.txt /*new-perl-python*
new-plugins version6.txt /*new-plugins*
+new-posix version7.txt /*new-posix*
new-print-multi-byte version7.txt /*new-print-multi-byte*
new-printing version6.txt /*new-printing*
new-runtime-dir version5.txt /*new-runtime-dir*
@@ -5837,6 +5847,7 @@ popup-menu gui.txt /*popup-menu*
popup-menu-added version5.txt /*popup-menu-added*
ports-5.2 version5.txt /*ports-5.2*
ports-6 version6.txt /*ports-6*
+posix vi_diff.txt /*posix*
posix-compliance vi_diff.txt /*posix-compliance*
posix-screen-size vi_diff.txt /*posix-screen-size*
postscr-syntax syntax.txt /*postscr-syntax*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 9497b677b6..85f2de6625 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
+*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,15 +30,34 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
-Make list of user functions a hashtable.
+"norm! gQ" hangs. Fixes in ex_getln.c and ex_docmd.c also in Vim 6.3?
+
+autoload:
+- Rename directory to from "autoload" to "library"?
+- Also autoload when reading a variable with a long:name that doesn't exist.
+- Example using short script with user command that triggers loading script
+ with functionality.
+- Remark about one script depending on another, recursively.
+- Catch recursive autoloading.
+- Add note in docs about HelpExtractor wrapper script. Think about a good way
+ that the user doesn't need to run ":helptags" manually.
POSIX compliance:
-- See ~/src/posix/TET//vsc/results/0015e/journal test 130
-- "-w#" and "-w #" argument doesn't work.
+- vi test 310 fails; exit code non-zero when any error occurred?
+- vi test 33 fails for unknown reasons
+- ex test 24 fails because test is wrong?
+- ex test 29 fails because exit value is always 0.
+- ex tests 47, 48, 49 fail because .exrc file isn't read in silent mode and
+ $EXINIT isn't used.
+- ex test 57 fails, need to look into this.
+- check ex test output
+- report use of $LINES and $COLUMNS to austin maillist.
-Announce autoload functionality.
+Make list of user functions a hashtable.
-"norm! gQ" hangs. Fixes in ex_getln.c and ex_docmd.c also in Vim 6.3?
+Docs for using "syntax/{filetype}/*.vim" syntax files.
+
+Include Mac unicode patch (Da Woon Jung).
New Motif toolbar button from Marcin Dalecki:
- When the mouse pointer is over an Agide button the red becomes black.
@@ -51,6 +70,13 @@ Awaiting response:
- Win32: tearoff menu window should have a scrollbar when it's taller than
the screen.
+Patch from Yegappan Lakshmanan for redirecting of Ex commands (Feb 9 10:58):
+Look into how lval struct is kept for a long time.
+ :redir => variable
+ :redir =>> variable (append)
+
+Improvements for Python indent script: Peter Wilson.
+
PLANNED FOR VERSION 7.0:
@@ -229,6 +255,14 @@ usec. reltime([start, [end]])
reltime(start) current time relative to [start]
echo timestring(reltime(start), 3) (3 is nr of digits after dot)
reltime(start, end) difference between start and end
+Real Profiling:
+ - :profile start /tmp/somefile (append if exists)
+ - :profile pause
+ - :profile resume
+ - :profile stop
+ - per function line
+ - self, Vim and total time (incl system time)
+ - dump results in file on exit or when stopped.
Add more tests for all new functionality in Vim 7. Especially new functions.
@@ -2405,6 +2439,8 @@ Virtual edit:
Text objects:
8 Add test script for text object commands "aw", "iW", etc.
+8 Add text object for part of a CamelHumedWord and under_scored_word.
+ (Scott Graham) "ac" and "au"?
7 Add text object for current search pattern: "a/" and "i/". Makes it
possible to turn text highlighted for 'hlsearch' into a Visual area.
8 Add "gp" and "gP" commands: insert text and make sure there is a single
@@ -3208,8 +3244,6 @@ Various improvements:
:redir @r> register (append)
:redir #> bufname
:redir #>> bufname (append)
- :redir => variable
- :redir =>> variable (append)
- Give error message when starting :redir: twice or using END when no
redirection was active.
- Setting of options, specifically for a buffer or window, with
diff --git a/runtime/doc/usr_03.txt b/runtime/doc/usr_03.txt
index f2ef2af022..8ff6c392f1 100644
--- a/runtime/doc/usr_03.txt
+++ b/runtime/doc/usr_03.txt
@@ -1,4 +1,4 @@
-*usr_03.txt* For Vim version 7.0aa. Last change: 2004 Jan 17
+*usr_03.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
VIM USER MANUAL - by Bram Moolenaar
@@ -13,7 +13,7 @@ these commands below |Q_lr|.
|03.1| Word movement
|03.2| Moving to the start or end of a line
|03.3| Moving to a character
-|03.4| Matching a paren
+|03.4| Matching a parenthesis
|03.5| Moving to a specific line
|03.6| Telling where you are
|03.7| Scrolling around
@@ -145,7 +145,7 @@ aborted forward search and doesn't do anything. Note: <Esc> cancels most
operations, not just searches.
==============================================================================
-*03.4* Matching a paren
+*03.4* Matching a parenthesis
When writing a program you often end up with nested () constructs. Then the
"%" command is very handy: It moves to the matching paren. If the cursor is
diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt
index 2aa2b92b87..4659863028 100644
--- a/runtime/doc/usr_05.txt
+++ b/runtime/doc/usr_05.txt
@@ -1,4 +1,4 @@
-*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Dec 29
+*usr_05.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
VIM USER MANUAL - by Bram Moolenaar
@@ -7,7 +7,7 @@
Vim can be tuned to work like you want it to. This chapter shows you how to
make Vim start with options set to different values. Add plugins to extend
-Vims capabilities. Or define your own macros.
+Vim's capabilities. Or define your own macros.
|05.1| The vimrc file
|05.2| The example vimrc file explained
@@ -251,8 +251,8 @@ you use an existing Vim command, that command will no longer be available.
You better avoid that.
One key that can be used with mappings is the backslash. Since you
probably want to define more than one mapping, add another character. You
-could map "\p" to add parens around a word, and "\c" to add curly braces, for
-example: >
+could map "\p" to add parentheses around a word, and "\c" to add curly braces,
+for example: >
:map \p i(<Esc>ea)<Esc>
:map \c i{<Esc>ea}<Esc>
diff --git a/runtime/doc/usr_27.txt b/runtime/doc/usr_27.txt
index 82d17b2150..b7836ef38a 100644
--- a/runtime/doc/usr_27.txt
+++ b/runtime/doc/usr_27.txt
@@ -1,4 +1,4 @@
-*usr_27.txt* For Vim version 7.0aa. Last change: 2004 Jun 26
+*usr_27.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
VIM USER MANUAL - by Bram Moolenaar
@@ -304,9 +304,9 @@ Will match "ab" in "abbb". Actually, it will never match more than one b,
because there is no reason to match more. It requires something else to force
it to match more than the lower limit.
The same rules apply to removing "n" and "m". It's even possible to remove
-both of the numbes, resulting in "\{-}". This matches the item before it zero
-or more times, as few as possible. The item by itself always matches zero
-times. It is useful when combined with something else. Example: >
+both of the numbers, resulting in "\{-}". This matches the item before it
+zero or more times, as few as possible. The item by itself always matches
+zero times. It is useful when combined with something else. Example: >
/a.\{-}b
diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt
index 74c74fdb7c..638a158e64 100644
--- a/runtime/doc/usr_41.txt
+++ b/runtime/doc/usr_41.txt
@@ -1,4 +1,4 @@
-*usr_41.txt* For Vim version 7.0aa. Last change: 2005 Feb 07
+*usr_41.txt* For Vim version 7.0aa. Last change: 2005 Feb 08
VIM USER MANUAL - by Bram Moolenaar
@@ -1087,7 +1087,7 @@ know the key. A Dictionary is created with curly braces: >