Skip to content

Commit b8ff1fb

Browse files
committed
updated for version 7.3.423
Problem: Small mistakes in comments, proto and indent. Solution: Fix the mistakes. Also update runtime files
1 parent 7f85d29 commit b8ff1fb

48 files changed

Lines changed: 883 additions & 377 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

runtime/doc/eval.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.3. Last change: 2012 Jan 04
1+
*eval.txt* For Vim version 7.3. Last change: 2012 Jan 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4814,6 +4814,10 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
48144814
Search for regexp pattern {pattern}. The search starts at the
48154815
cursor position (you can use |cursor()| to set it).
48164816

4817+
If there is no match a 0 is returned and the cursor doesn't
4818+
move. No error message is given.
4819+
When a match has been found its line number is returned.
4820+
48174821
{flags} is a String, which can contain these character flags:
48184822
'b' search backward instead of forward
48194823
'c' accept a match at the cursor position
@@ -4847,9 +4851,6 @@ search({pattern} [, {flags} [, {stopline} [, {timeout}]]]) *search()*
48474851
giving the argument.
48484852
{only available when compiled with the |+reltime| feature}
48494853

4850-
If there is no match a 0 is returned and the cursor doesn't
4851-
move. No error message is given.
4852-
When a match has been found its line number is returned.
48534854
*search()-sub-match*
48544855
With the 'p' flag the returned value is one more than the
48554856
first sub-match in \(\). One if none of them matched but the
@@ -5068,7 +5069,8 @@ setcmdpos({pos}) *setcmdpos()*
50685069
line.
50695070

50705071
setline({lnum}, {text}) *setline()*
5071-
Set line {lnum} of the current buffer to {text}.
5072+
Set line {lnum} of the current buffer to {text}. To insert
5073+
lines use |append()|.
50725074
{lnum} is used like with |getline()|.
50735075
When {lnum} is just below the last line the {text} will be
50745076
added as a new line.

runtime/doc/if_pyth.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim version 7.3. Last change: 2011 Aug 19
1+
*if_pyth.txt* For Vim version 7.3. Last change: 2012 Feb 04
22

33

44
VIM REFERENCE MANUAL by Paul Moore
@@ -222,8 +222,9 @@ Buffer objects represent vim buffers. You can obtain them in a number of ways:
222222
- from indexing vim.buffers (|python-buffers|)
223223
- from the "buffer" attribute of a window (|python-window|)
224224

225-
Buffer objects have one read-only attribute - name - the full file name for
226-
the buffer. They also have three methods (append, mark, and range; see below).
225+
Buffer objects have two read-only attributes - name - the full file name for
226+
the buffer, and number - the buffer number. They also have three methods
227+
(append, mark, and range; see below).
227228

228229
You can also treat buffer objects as sequence objects. In this context, they
229230
act as if they were lists (yes, they are mutable) of strings, with each

runtime/doc/insert.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 7.3. Last change: 2011 Sep 14
1+
*insert.txt* For Vim version 7.3. Last change: 2012 Jan 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1010,7 +1010,8 @@ number between zero and the cursor column "col('.')". This involves looking
10101010
at the characters just before the cursor and including those characters that
10111011
could be part of the completed item. The text between this column and the
10121012
cursor column will be replaced with the matches. Return -1 if no completion
1013-
can be done.
1013+
can be done, the completion will be cancelled with an error message. Return
1014+
-2 to cancel silently.
10141015

10151016
On the second invocation the arguments are:
10161017
a:findstart 0

runtime/doc/map.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*map.txt* For Vim version 7.3. Last change: 2011 Oct 22
1+
*map.txt* For Vim version 7.3. Last change: 2012 Feb 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -527,7 +527,7 @@ mappings.
527527
<LocalLeader> is just like <Leader>, except that it uses "maplocalleader"
528528
instead of "mapleader". <LocalLeader> is to be used for mappings which are
529529
local to a buffer. Example: >
530-
:map <LocalLeader>q \DoItNow
530+
:map <buffer> <LocalLeader>A oanother line<Esc>
531531
<
532532
In a global plugin <Leader> should be used and in a filetype plugin
533533
<LocalLeader>. "mapleader" and "maplocalleader" can be equal. Although, if

runtime/doc/netbeans.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*netbeans.txt* For Vim version 7.3. Last change: 2011 Oct 20
1+
*netbeans.txt* For Vim version 7.3. Last change: 2012 Jan 26
22

33

44
VIM REFERENCE MANUAL by Gordon Prieur et al.
@@ -266,7 +266,7 @@ mechanism.
266266
Netbeans messages are processed when Vim is idle, waiting for user input.
267267
When Vim is run in non-interactive mode, for example when running an automated
268268
test case that sources a Vim script, the idle loop may not be called often
269-
enough. In that case, insert |sleep| commands in the Vim script. The |sleep|
269+
enough. In that case, insert |:sleep| commands in the Vim script. The |:sleep|
270270
command does invoke Netbeans messages processing.
271271

272272
6.1 Kinds of messages |nb-messages|

runtime/doc/pi_netrw.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pi_netrw.txt* For Vim version 7.3. Last change: 2011 Sep 26
1+
*pi_netrw.txt* For Vim version 7.3. Last change: 2012 Jan 26
22

33
-----------------------------------------------------
44
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
@@ -43,7 +43,7 @@ Copyright: Copyright (C) 1999-2011 Charles E Campbell, Jr *netrw-copyright*
4343
5. Activation...........................................|netrw-activate|
4444
6. Transparent Remote File Editing......................|netrw-transparent|
4545
7. Ex Commands..........................................|netrw-ex|
46-
8. Variables and Options................................|netrw-var|
46+
8. Variables and Options................................|netrw-settings|
4747
9. Browsing.............................................|netrw-browse|
4848
Introduction To Browsing...........................|netrw-intro-browse|
4949
Quick Reference: Maps..............................|netrw-browse-maps|
@@ -309,7 +309,7 @@ CHANGING USERID AND PASSWORD *netrw-chgup* *netrw-userpass* {{{2
309309
:call NetUserPass("uid","password") -- sets global uid and password
310310

311311
NETRW VARIABLES AND SETTINGS *netrw-variables* {{{2
312-
(also see: |netrw-browser-var| |netrw-protocol| |netrw-settings| |netrw-var|)
312+
(also see: |netrw-browser-var| |netrw-protocol| |netrw-settings|)
313313

314314
Netrw provides a lot of variables which allow you to customize netrw to your
315315
preferences. One way to look at them is via the command :NetrwSettings (see
@@ -2354,7 +2354,7 @@ settings. You may change any of their values; when you save the file, the
23542354
settings therein will be used. One may also press "?" on any of the lines for
23552355
help on what each of the variables do.
23562356

2357-
(also see: |netrw-browser-var| |netrw-protocol| |netrw-var| |netrw-variables|)
2357+
(also see: |netrw-browser-var| |netrw-protocol| |netrw-settings| |netrw-variables|)
23582358

23592359

23602360
==============================================================================

runtime/doc/todo.txt

Lines changed: 52 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.3. Last change: 2012 Jan 20
1+
*todo.txt* For Vim version 7.3. Last change: 2012 Feb 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41,18 +41,27 @@ Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
4141
Once syntax and other runtime files have been fixed: add "set cp" to
4242
check.vim. Use a function to run both with 'cp' and 'nocp'.
4343

44-
Win32: When the taskbar is at the top of the screen creating the tabbar causes
45-
the window to move unnecessarily. (William E. Skeith III, 2012 Jan 12)
46-
Patch: 2012 Jan 13
47-
48-
Patch for using DBCS encoding in user command. (Yasuhiro Matsumoto, 2012 Jan
49-
15) Update Jan 17.
50-
5144
Repeating search history entries. (Edwin Steiner, 2012 Jan 17)
5245
Jan 18: Caused by patch 7.3.265?
5346

47+
Patch for '$' not being displayed for a change when 'cpoptions' contains "$".
48+
(Yasuhiro Matsumoto, 2012 Jan 28, patch by Hideki EIRAKU and Hirohito Higashi)
49+
50+
Patch to speed up readfile(). (John Little, 2012 Feb 1)
51+
Adjustment by Charles Peacech, Feb 3.
52+
8 When editing a file with extremely long lines (e.g., an executable), the
53+
"linerest" in readfile() is allocated twice to be able to copy what was
54+
read so far. Use realloc() instead? Or split the line when allocating
55+
memory fails and "linerest" is big (> 100000)?
56+
57+
Patch to fix a crash when an xpm file is invalid. (Dave Bodenstab, 2012 Jan
58+
27)
59+
5460
Hang in using VimEnter. (Alex Efros, 2012 Jan 14)
5561

62+
Patch for behavior of "." in compatible mode. (Yasuhiro Matsumoto, patch by
63+
Hideki EIRAKU, 2012 Jan 28)
64+
5665
":cd" doesn't work when current directory path contains wildcards.
5766
finddir() has the same problem. (Yukihiro Nakadaira, 2012 Jan 10)
5867

@@ -70,8 +79,9 @@ Another one from Taro Muraoka, 2012 Jan 12.
7079
":doau" says it triggers modeline. Should this only happen for events used
7180
when loading a buffer? (Kana Natsuno, 2011 Nov 7)
7281

73-
Patch to fix "it" and "at" when there is a dash in the tag name.
74-
(Christian Brabandt, 2011 Nov 20)
82+
Patch for compiler warnings in if_perl. (James McCoy, 2011 Jan 30)
83+
84+
Patch for X selection conversion. (Alex Efros, 2012 Jan 24)
7585

7686
Patch to make 'shcf' default work better. (Benjamin Fritz, 2011 Nov 18)
7787
Win32: When 'shell' is cmd.exe this command fails:
@@ -83,6 +93,15 @@ Patch to make 'shcf' default work better. (Benjamin Fritz, 2011 Nov 18)
8393
Other way to start Mzscheme. Tim Brown, 2011 Oct 5: change main call.
8494
Later patch by Sergey Khorev, 2011 Oct 9.
8595

96+
Patch to allow ! for :all and :sall, as documented. (Hirohito Higashi, 2012
97+
Jan 30)
98+
99+
Patch for "tab drop hoge" moving current window. (Higashi, 2012 Jan 31)
100+
":tab drop buffer.c" always opens a new tab, also if buffer.c is already in an
101+
open window. (Herb Sitz, 2011 Nov 17)
102+
":tab drop filename" doesn't work nicely when "filename" is open in a window
103+
in another tab. (Tony Mechelynck, 2009 Feb 13)
104+
86105
Patch to make InsertCharPre work better. (Yasuhiro Matsumoto, 2011 Oct 21)
87106

88107
Patch to fix closed folds with "loadview". (Xavier de Gaye, 2011 Nov 25)
@@ -93,9 +112,24 @@ Or use expand('<sid>')?
93112
Patch for glob() returning a list. (Christian Brabandt, 2011 Aug 24, second
94113
one)
95114

115+
Win32: When the taskbar is at the top of the screen creating the tabbar causes
116+
the window to move unnecessarily. (William E. Skeith III, 2012 Jan 12)
117+
Patch: 2012 Jan 13 Needs more work (2012 Feb 2)
118+
96119
Patch to highlight cursor line number. (Howard Buchholz (lhb), 2011 Oct 18)
97120

98-
Patch for urxvt mouse support after shell command. (Issue 31)
121+
URXVT:
122+
- will get stuck if byte sequence does not containe expected semicolon.
123+
- Patch for urxvt mouse support after shell command. (Issue 31)
124+
- Use urxvt mouse support also in xterm. Explanations:
125+
http://www.midnight-commander.org/ticket/2662
126+
127+
Patch for using QuickFixCmdPre for more commands. (Marcin Szamotulski, 2012
128+
Feb 1, update Feb 2)
129+
130+
When running Vim in silent ex mode, an existing swapfile causes Vim to wait
131+
for a user action without a prompt. (Maarten Billemont, 2012 Feb 3)
132+
Do give the prompt? Quit with an error?
99133

100134
When exiting with unsaved changes, selecting an existing file in the file
101135
dialog, there is no dialog to ask whether the existing file should be
@@ -128,13 +162,15 @@ Patch for: (Christian Brabandt, 2011 Aug 24, updated patch)
128162
buffer={bufnr}". So one can remove all signs for one file/buffer.
129163

130164
Patch to add "onselected" callback for completion. (Taro Muraoka, 2011 Sep 24)
165+
Another for CompleteFuncOk. (Florian Klein, 2012 Jan 31)
166+
Name it "CompleteFuncDone".
167+
168+
Patch for Make_mvc.mak and Make_ming.mak for Ruby support. (Yasuhiro
169+
Matsumoto, 2012 Jan 30)
131170

132171
Use a count before "v" and "V" to select that many characters or lines?
133172
(Kikyous)
134173

135-
":tab drop buffer.c" always opens a new tab, also if buffer.c is already in an
136-
open window. (Herb Sitz, 2011 Nov 17)
137-
138174
Problem with winfixheight and resizing. (Yukihiro Nakadaira, 2011 Sep 17)
139175
Patch Sep 18.
140176

@@ -289,6 +325,8 @@ Patch to support sorting on floating point number. (Alex Jakushev, 2010 Oct
289325
Patch to addd TextDeletePost and TextYankPost events. (Philippe Vaucher, 2011
290326
May 24) Update May 26.
291327

328+
Patch for :tabrecently. (Hirokazu Yoshida, 2012 Jan 30)
329+
292330
When a script contains "redir => s:foo" but doesn't end redirection, a
293331
following "redir" command gives an error for not being able to access s:foo.
294332
(ZyX, 2011 Mar 27)
@@ -949,9 +987,6 @@ try/catch not working when inside a for loop. (ZyX, 2011 Jan 25)
949987
":tab help" always opens a new tab, while ":help" re-uses an existing window.
950988
Would be more consistent when an existing tab is re-used. (Tony Mechelynck)
951989

952-
":tab drop filename" doesn't work nicely when "filename" is open in a window
953-
in another tab. (Tony Mechelynck, 2009 Feb 13)
954-
955990
Add ":nofold". Range will apply without expanding to closed fold.
956991

957992
Including NFA regexp code:
@@ -3228,10 +3263,6 @@ Performance:
32283263
Add command to compile a vim script and add it to the file in-place.
32293264
Split Ex command executing into a parsing and executing phase.
32303265
Use compiled code for functions, while loops, etc.
3231-
8 When editing a file with extremely long lines (e.g., an executable), the
3232-
"linerest" in readfile() is allocated twice to be able to copy what was
3233-
read so far. Use realloc() instead? Or split the line when allocating
3234-
memory fails and "linerest" is big (> 100000)?
32353266
8 When defining autocommands (e.g., from $VIMRUNTIME/filetype.vim), need to
32363267
compare each pattern with all existing patterns. Use a hash code to avoid
32373268
using strcmp() too often?

runtime/doc/undo.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*undo.txt* For Vim version 7.3. Last change: 2011 Aug 02
1+
*undo.txt* For Vim version 7.3. Last change: 2012 Jan 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -267,7 +267,12 @@ respectively:
267267
(the magic number at the start of the file is wrong), then
268268
this fails, unless the ! was added.
269269
If it exists and does look like an undo file it is
270-
overwritten.
270+
overwritten. If there is no undo-history, nothing will be
271+
written.
272+
Implementation detail: Overwriting happens by first deleting
273+
the existing file and then creating a new file with the same
274+
name. So it is not possible to overwrite an existing undofile
275+
in a write-protected directory.
271276
{not in Vi}
272277

273278
:rundo {file} Read undo history from {file}.

runtime/filetype.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim support file to detect file types
22
"
33
" Maintainer: Bram Moolenaar <Bram@vim.org>
4-
" Last Change: 2012 Jan 04
4+
" Last Change: 2012 Feb 03
55

66
" Listen very carefully, I will say this only once
77
if exists("did_load_filetypes")
@@ -1264,7 +1264,7 @@ au BufNewFile,BufRead *.nqc setf nqc
12641264
au BufNewFile,BufRead *.nsi setf nsis
12651265

12661266
" OCAML
1267-
au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly setf ocaml
1267+
au BufNewFile,BufRead *.ml,*.mli,*.mll,*.mly,.ocamlinit setf ocaml
12681268

12691269
" Occam
12701270
au BufNewFile,BufRead *.occ setf occam

runtime/ftplugin/debchangelog.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
" Maintainer: Debian Vim Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
44
" Former Maintainers: Michael Piefel <piefel@informatik.hu-berlin.de>
55
" Stefano Zacchiroli <zack@debian.org>
6-
" Last Change: 2010-07-11
7-
" License: GNU GPL, version 2.0 or later
6+
" Last Change: 2012-01-31
7+
" License: Vim License
88
" URL: http://hg.debian.org/hg/pkg-vim/vim/file/unstable/runtime/ftplugin/debchangelog.vim
99

1010
" Bug completion requires apt-listbugs installed for Debian packages or

0 commit comments

Comments
 (0)