1*version7.txt*  For Vim version 7.3.  Last change: 2010 Aug 15
2
3
4		  VIM REFERENCE MANUAL    by Bram Moolenaar
5
6					*vim7* *version-7.0* *version7.0*
7Welcome to Vim 7!  A large number of features has been added.  This file
8mentions all the new items, changes to existing features and bug fixes
9since Vim 6.x.  Use this command to see the version you are using: >
10	:version
11
12See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0.
13See |version4.txt| for differences between Vim 3.x and Vim 4.x.
14See |version5.txt| for differences between Vim 4.x and Vim 5.x.
15See |version6.txt| for differences between Vim 5.x and Vim 6.x.
16
17INCOMPATIBLE CHANGES			|incompatible-7|
18
19NEW FEATURES				|new-7|
20
21Vim script enhancements			|new-vim-script|
22Spell checking				|new-spell|
23Omni completion				|new-omni-completion|
24MzScheme interface			|new-MzScheme|
25Printing multi-byte text		|new-print-multi-byte|
26Tab pages				|new-tab-pages|
27Undo branches				|new-undo-branches|
28Extended Unicode support		|new-more-unicode|
29More highlighting			|new-more-highlighting|
30Translated manual pages			|new-manpage-trans|
31Internal grep				|new-vimgrep|
32Scroll back in messages			|new-scroll-back|
33Cursor past end of the line		|new-onemore|
34POSIX compatibility			|new-posix|
35Debugger support			|new-debug-support|
36Remote file explorer			|new-netrw-explore|
37Define an operator			|new-define-operator|
38Mapping to an expression		|new-map-expression|
39Visual and Select mode mappings		|new-map-select|
40Location list				|new-location-list|
41Various new items			|new-items-7|
42
43IMPROVEMENTS				|improvements-7|
44
45COMPILE TIME CHANGES			|compile-changes-7|
46
47BUG FIXES				|bug-fixes-7|
48
49VERSION 7.1			|version-7.1|
50Changed					|changed-7.1|
51Added					|added-7.1|
52Fixed					|fixed-7.1|
53
54VERSION 7.2			|version-7.2|
55Changed					|changed-7.2|
56Added					|added-7.2|
57Fixed					|fixed-7.2|
58
59VERSION 7.3			|version-7.3|
60
61Persistent undo				|new-persistent-undo|
62More encryption				|new-more-encryption|
63Conceal text				|new-conceal|
64Lua interface				|new-lua|
65Python3 interface			|new-python3|
66
67Changed					|changed-7.3|
68Added					|added-7.3|
69Fixed					|fixed-7.3|
70
71==============================================================================
72INCOMPATIBLE CHANGES				*incompatible-7*
73
74These changes are incompatible with previous releases.  Check this list if you
75run into a problem when upgrading from Vim 6.x to 7.0.
76
77A ":write file" command no longer resets the 'modified' flag of the buffer,
78unless the '+' flag is in 'cpoptions' |cpo-+|.  This was illogical, since the
79buffer is still modified compared to the original file.  And when undoing
80all changes the file would actually be marked modified.  It does mean that
81":quit" fails now.
82
83":helpgrep" now uses a help window to display a match.
84
85In an argument list double quotes could be used to include spaces in a file
86name.  This caused a difference between ":edit" and ":next" for escaping
87double quotes and it is incompatible with some versions of Vi.
88	Command			Vim 6.x	file name	Vim 7.x file name ~
89	:edit foo\"888		foo"888			foo"888
90	:next foo\"888		foo888			foo"888
91	:next a\"b c\"d		ab cd			a"b  and  c"d
92
93In a |literal-string| a single quote can be doubled to get one.
94":echo 'a''b'" would result in "a b", but now that two quotes stand for one it
95results in "a'b".
96
97When overwriting a file with ":w! fname" there was no warning for when "fname"
98was being edited by another Vim.  Vim now gives an error message |E768|.
99
100The support for Mac OS 9 has been removed.
101
102Files ending in .tex now have 'filetype' set to "context", "plaintex", or
103"tex".  |ft-tex-plugin|
104
105
106Minor incompatibilities:
107
108For filetype detection: For many types, use */.dir/filename instead of
109~/.dir/filename, so that it also works for other user's files.
110
111For quite a few filetypes the indent settings have been moved from the
112filetype plugin to the indent plugin.  If you used: >
113	:filetype plugin on
114Then some indent settings may be missing.  You need to use: >
115	:filetype plugin indent on
116
117":0verbose" now sets 'verbose' to zero instead of one.
118
119Removed the old and incomplete "VimBuddy" code.
120
121Buffers without a name report "No Name" instead of "No File".  It was
122confusing for buffers with a name and 'buftype' set to "nofile".
123
124When ":file xxx" is used in a buffer without a name, the alternate file name
125isn't set.  This avoids creating buffers without a name, they are not useful.
126
127The "2html.vim" script now converts closed folds to HTML.  This means the HTML
128looks like it's displayed, with the same folds open and closed.  Use "zR", or
129"let html_ignore_folding=1", if no folds should appear in the HTML. (partly by
130Carl Osterwisch)
131Diff mode is now also converted to HTML as it is displayed.
132
133Win32: The effect of the <F10> key depended on 'winaltkeys'.  Now it depends
134on whether <F10> has been mapped or not.  This allows mapping <F10> without
135changing 'winaltkeys'.
136
137When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which
138is illogical.  Now it becomes "9".  The leading zero(s) is(are) removed to
139avoid the number becoming octal after incrementing "009" to "010".
140
141When 'encoding' is set to a Unicode encoding, the value for 'fileencodings'
142now includes "default" before "latin1".  This means that for files with 8-bit
143encodings the default is to use the encoding specified by the environment, if
144possible.  Previously latin1 would always be used, which is wrong in a
145non-latin1 environment, such as Russian.
146
147Previously Vim would exit when there are two windows, both of them displaying
148a help file, and using ":quit".  Now only the window is closed.
149
150"-w {scriptout}" only works when {scriptout} doesn't start with a digit.
151Otherwise it's used to set the 'window' option.
152
153Previously <Home> and <xHome> could be mapped separately.  This had the
154disadvantage that all mappings (with modifiers) had to be duplicated, since
155you can't be sure what the keyboard generates.  Now all <xHome> are internally
156translated to <Home>, both for the keys and for mappings.  Also for <xEnd>,
157<xF1>, etc.
158
159":put" now leaves the cursor on the last inserted line.
160
161When a .gvimrc file exists then 'compatible' is off, just like when a ".vimrc"
162file exists.
163
164When making a string upper-case with "vlllU" or similar then the German sharp
165s is replaced with "SS".  This does not happen with "~" to avoid backwards
166compatibility problems and because "SS" can't be changed back to a sharp s.
167
168"gd" previously found the very first occurrence of a variable in a function,
169that could be the function argument without type.  Now it finds the position
170where the type is given.
171
172The line continuation in functions was not taken into account, line numbers in
173errors were logical lines, not lines in the sourced file.  That made it
174difficult to locate errors.  Now the line number in the sourced file is
175reported, relative to the function start.  This also means that line numbers
176for ":breakadd func" are different.
177
178When defining a user command with |:command| the special items could be
179abbreviated.  This caused unexpected behavior, such as <li> being recognized
180as <line1>.  The items can no longer be abbreviated.
181
182When executing a FileChangedRO autocommand it is no longer allowed to switch
183to another buffer or edit another file.  This is to prevent crashes (the event
184is triggered deep down in the code where changing buffers is not anticipated).
185It is still possible to reload the buffer.
186
187At the |more-prompt| and the |hit-enter-prompt|, when the 'more' option is
188set, the 'k', 'u', 'g' and 'b' keys are now used to scroll back to previous
189messages.  Thus they are no longer used as typeahead.
190
191==============================================================================
192NEW FEATURES						*new-7*
193
194Vim script enhancements					*new-vim-script*
195-----------------------
196
197In Vim scripts the following types have been added:
198
199	|List|		ordered list of items
200	|Dictionary|	associative array of items
201	|Funcref|	reference to a function
202
203Many functions and commands have been added to support the new types.
204
205The |string()| function can be used to get a string representation of a
206variable.  Works for Numbers, Strings and composites of them.  Then |eval()|
207can be used to turn the string back into the variable value.
208
209The |:let| command can now use "+=", "-=" and ".=": >
210	:let var += expr	" works like :let var = var + expr
211	:let var -= expr	" works like :let var = var - expr
212	:let var .= string	" works like :let var = var . string
213
214With the |:profile| command you can find out where your function or script
215is wasting time.
216
217In the Python interface vim.eval() also handles Dictionaries and Lists.
218|python-eval| (G. Sumner Hayes)
219
220The |getscript| plugin was added as a convenient way to update scripts from
221www.vim.org automatically. (Charles Campbell)
222
223The |vimball| plugin was added as a convenient way to distribute a set of
224files for a plugin (plugin file, autoload script, documentation). (Charles
225Campbell)
226
227
228Spell checking						*new-spell*
229--------------
230
231Spell checking has been integrated in Vim.  There were a few implementations
232with scripts, but they were slow and/or required an external program.
233
234The 'spell'	   option is used to switch spell checking on or off
235The 'spelllang'    option is used to specify the accepted language(s)
236The 'spellfile'    option specifies where new words are added
237The 'spellsuggest' option specifies the methods used for making suggestions
238
239The |]s| and |[s| commands can be used to move to the next or previous error
240The |zg| and |zw| commands can be used to add good and wrong words
241The |z=|	  command can be used to list suggestions and correct the word
242The |:mkspell|    command is used to generate a Vim spell file from word lists
243
244The "undercurl" highlighting attribute was added to nicely point out spelling
245mistakes in the GUI (based on patch from Marcin Dalecki).
246The "guisp" color can be used to give it a color different from foreground and
247background.
248The number of possible different highlight attributes was raised from about
249220 to over 30000.  This allows for the attributes of spelling to be combined
250with syntax highlighting attributes.  This is also used for syntax
251highlighting and marking the Visual area.
252
253Much more info here: |spell|.
254
255
256Omni completion					*new-omni-completion*
257---------------
258
259This could also be called "intellisense", but that is a trademark.  It is a
260smart kind of completion.  The text in front of the cursor is inspected to
261figure out what could be following.  This may suggest struct and class
262members, system functions, etc.
263
264Use CTRL-X CTRL-O in Insert mode to start the completion.  |i_CTRL-X_CTRL-O|
265
266The 'omnifunc' option is set by filetype plugins to define the function that
267figures out the completion.
268
269Currently supported languages:
270	C					|ft-c-omni|
271	(X)HTML with CSS			|ft-html-omni|
272	JavaScript				|ft-javascript-omni|
273	PHP					|ft-php-omni|
274	Python
275	Ruby					|ft-ruby-omni|
276	SQL					|ft-sql-omni|
277	XML					|ft-xml-omni|
278	any language with syntax highlighting	|ft-syntax-omni|
279
280You can add your own omni completion scripts.
281
282When the 'completeopt' option contains "menu" then matches for Insert mode
283completion are displayed in a (rather primitive) popup menu.
284
285
286MzScheme interface					*new-MzScheme*
287------------------
288
289The MzScheme interpreter is supported. |MzScheme|
290
291The |:mzscheme| command can be used to execute MzScheme commands
292The |:mzfile|   command can be used to execute an MzScheme script file
293
294This depends on Vim being compiled with the |+mzscheme| feature.
295
296
297Printing multi-byte text				*new-print-multi-byte*
298------------------------
299
300The |:hardcopy| command now supports printing multi-byte characters when using
301PostScript.
302
303The 'printmbcharset' and 'printmbfont' options are used for this.
304Also see |postscript-cjk-printing|.  (Mike Williams)
305
306
307Tab pages						*new-tab-pages*
308---------
309
310A tab page is a page with one or more windows with a label (aka tab) at the top.
311By clicking on the label you can quickly switch between the tab pages.  And
312with the keyboard, using the |gt| (Goto Tab) command.  This is a convenient
313way to work with many windows.
314
315To start Vim with each file argument in a separate tab page use the |-p|
316argument.  The maximum number of pages can be set with 'tabpagemax'.
317
318The line with tab labels is either made with plain text and highlighting or
319with a GUI mechanism.  The GUI labels look better but are only available on a
320few systems.  The line can be customized with 'tabline', 'guitablabel' and
321'guitabtooltip'.  Whether it is displayed is set with 'showtabline'.  Whether
322to use the GUI labels is set with the "e" flag in 'guioptions'.
323
324The |:tab| command modifier can be used to have most commands that open a new
325window open a new tab page instead.
326
327The |--remote-tab| argument can be used to edit a file in a new tab page in an
328already running Vim server.
329
330Variables starting with "t:" are local to a tab page.
331
332More info here: |tabpage|
333Most of the GUI stuff was implemented by Yegappan Lakshmanan.
334
335
336Undo branches						*new-undo-branches*
337-------------
338
339Previously there was only one line of undo-redo.  If, after undoing a number
340of changes, a new change was made all the undone changes were lost.  This
341could lead to accidentally losing work.
342
343Vim now makes an undo branch in this situation.  Thus you can go back to the
344text after any change, even if they were undone.  So long as you do not run
345into 'undolevels', when undo information is freed up to limit the memory used.
346
347To be able to navigate the undo branches each change is numbered sequentially.
348The commands |g-| and |:earlier| go back in time, to older changes.  The
349commands |g+| and |:later| go forward in time, to newer changes.
350
351The changes are also timestamped.  Use ":earlier 10m" to go to the text as it
352was about ten minutes earlier.
353
354The |:undolist| command can be used to get an idea of which undo branches
355exist.  The |:undo| command now takes an argument to directly jump to a
356specific position in this list.  The |changenr()| function can be used to
357obtain the change number.
358
359There is no graphical display of the tree with changes, navigation can be
360quite confusing.
361
362
363Extended Unicode support				*new-more-unicode*
364------------------------
365
366Previously only two combining characters were displayed.  The limit is now
367raised to 6.  This can be set with the 'maxcombine' option.  The default is
368still 2.
369
370|ga| now shows all combining characters, not just the first two.
371
372Previously only 16 bit Unicode characters were supported for displaying.  Now
373the full 32 bit character set can be used.  Unless manually disabled at
374compile time to save a bit of memory.
375
376For pattern matching it is now possible to search for individual composing
377characters. |patterns-composing|
378
379The |8g8| command searches for an illegal UTF-8 byte sequence.
380
381
382More highlighting				*new-more-highlighting*
383-----------------
384
385Highlighting matching parens:
386
387When moving the cursor through the text and it is on a paren, then the
388matching paren can be highlighted.  This uses the new |CursorMoved|
389autocommand event.
390
391This means some commands are executed every time you move the cursor.  If this
392slows you down too much switch it off with: >
393	:NoMatchParen
394
395See |matchparen| for more information.
396
397The plugin uses the |:match| command.  It now supports three match patterns.
398The plugin uses the third one.  The first one is for the user and the second
399one can be used by another plugin.
400
401Highlighting the cursor line and column:
402
403The 'cursorline' and 'cursorcolumn' options have been added.  These highlight
404the screen line and screen column of the cursor.  This makes the cursor
405position easier to spot.  'cursorcolumn' is also useful to align text.  This
406may make screen updating quite slow.  The CursorColumn and CursorLine
407highlight groups allow changing the colors used.  |hl-CursorColumn|
408|hl-CursorLine|
409
410The number of possible different highlight attributes was raised from about
411220 to over 30000.  This allows for the attributes of spelling to be combined
412with syntax highlighting attributes.  This is also used for syntax
413highlighting, marking the Visual area, CursorColumn, etc.
414
415
416Translated manual pages					*new-manpage-trans*
417-----------------------
418
419The manual page of Vim and associated programs is now also available in
420several other languages.
421
422French  - translated by David Blanchet
423Italian - translated by Antonio Colombo
424Russian - translated by Vassily Ragosin
425Polish  - translated by Mikolaj Machowski
426
427The Unix Makefile installs the Italian manual pages in .../man/it/man1/,
428.../man/it.ISO8859-1/man1/ and .../man/it.UTF-8/man1/.  There appears to be no
429standard for what encoding goes in the "it" directory, the 8-bit encoded file
430is used there as a best guess.
431Other languages are installed in similar places.
432The translated pages are not automatically installed when Vim was configured
433with "--disable-nls", but "make install-languages install-tool-languages" will
434do it anyway.
435
436
437Internal grep						*new-vimgrep*
438-------------
439
440The ":vimgrep" command can be used to search for a pattern in a list of files.
441This is like the ":grep" command, but no external program is used.  Besides
442better portability, handling of different file encodings and using multi-line
443patterns, this also allows grepping in compressed and remote files.
444|:vimgrep|.
445
446If you want to use the search results in a script you can use the
447|getqflist()| function.
448
449To grep files in various directories the "**" pattern can be used.  It expands
450into an arbitrary depth of directories.  "**" can be used in all places where
451file names are expanded, thus also with |:next| and |:args|.
452
453
454Scroll back in messages					*new-scroll-back*
455-----------------------
456
457When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The
458'k', 'u', 'g' and 'b' keys can be used to scroll back to previous messages.
459This is especially useful for commands such as ":syntax", ":autocommand" and
460":highlight".  This is implemented in a generic way thus it works for all
461commands and highlighting is kept.  Only works when the 'more' option is set.
462Previously it only partly worked for ":clist".
463
464The |g<| command can be used to see the last page of messages after you have
465hit <Enter> at the |hit-enter-prompt|.  Then you can scroll further back.
466
467
468Cursor past end of the line				*new-onemore*
469---------------------------
470
471When the 'virtualedit' option contains "onemore" the cursor can move just past
472the end of the line.  As if it's on top of the line break.
473
474This makes some commands more consistent.  Previously the cursor was always
475past the end of the line if the line was empty.  But it is far from Vi
476compatible.  It may also break some plugins or Vim scripts.  Use with care!
477
478The patch was provided by Mattias Flodin.
479
480
481POSIX compatibility					*new-posix*
482-------------------
483
484The POSIX test suite was used to verify POSIX compatibility.  A number of
485problems have been fixed to make Vim more POSIX compatible.  Some of them
486conflict with traditional Vi or expected behavior.  The $VIM_POSIX environment
487variable can be set to get POSIX compatibility.  See |posix|.
488
489Items that were fixed for both Vi and POSIX compatibility:
490- repeating "R" with a count only overwrites text once; added the 'X' flag to
491  'cpoptions' |cpo-X|
492- a vertical movement command that moves to a non-existing line fails; added
493  the '-' flag to 'cpoptions' |cpo--|
494- when preserving a file and doing ":q!" the file can be recovered; added the
495  '&' flag to 'cpoptions' |cpo-&|
496- The 'window' option is partly implemented.  It specifies how much CTRL-F and
497  CTRL-B scroll when there is one window.  The "-w {number}" argument is now
498  accepted.  "-w {scriptout}" only works when {scriptout} doesn't start with a
499  digit.
500- Allow "-c{command}" argument, no space between "-c" and {command}.
501- When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in
502  'cpoptions'.
503- Allow 'l' and '#' flags for ":list", ":print" and ":number".
504- Added the '.' flag to 'cpoptions': ":cd" fails when the buffer is modified.
505- In Ex mode with an empty buffer ":read file" doesn't keep an empty line
506  above or below the new lines.
507- Remove a backslash before a NL for the ":global" command.
508- When ":append", ":insert" or ":change" is used with ":global", get the
509  inserted lines from the command.  Can use backslash-NL to separate lines.
510- Can use ":global /pat/ visual" to execute Normal mode commands at each
511  matched line.  Use "Q" to continue and go to the next line.
512- The |:open| command has been partially implemented.  It stops Ex mode, but
513  redraws the whole screen, not just one line as open mode is supposed to do.
514- Support using a pipe to read the output from and write input to an external
515  command.  Added the 'shelltemp' option and has("filterpipe").
516- In ex silent mode the ":set" command output is displayed.
517- The ":@@" and ":**" give an error message when no register was used before.
518- The search pattern "[]-`]" matches ']', '^', '_' and '`'.
519- Autoindent for ":insert" is using the line below the insert.
520- Autoindent for ":change" is using the first changed line.
521- Editing Ex command lines is not done in cooked mode, because CTRL-D and
522  CTRL-T cannot be handled then.
523- In Ex mode, "1,3" prints three lines.  "%" prints all lines.
524- In Ex mode "undo" would undo all changes since Ex mode was started.
525- Implemented the 'prompt' option.
526
527
528Debugger support					*new-debug-support*
529----------------
530
531The 'balloonexpr' option has been added.  This is a generic way to implement
532balloon functionality.  You can use it to show info for the word under the
533mouse pointer.
534
535
536Remote file explorer					*new-netrw-explore*
537--------------------
538
539The netrw plugin now also supports viewing a directory, when "scp://" is used.
540Deleting and renaming files is possible.
541
542To avoid duplicating a lot of code, the previous file explorer plugin has been
543integrated in the netrw plugin.  This means browsing local and remote files
544works the same way.
545
546":browse edit" and ":browse split" use the netrw plugin when it's available
547and a GUI dialog is not possible.
548
549The netrw plugin is maintained by Charles Campbell.
550
551
552Define an operator					*new-define-operator*
553------------------
554
555Previously it was not possible to define your own operator; a command that is
556followed by a {motion}.  Vim 7 introduces the 'operatorfunc' option and the
557|g@| operator.  This makes it possible to define a mapping that works like an
558operator.  The actual work is then done by a function, which is invoked
559through the |g@| operator.
560
561See |:map-operator| for the explanation and an example.
562
563
564Mapping to an expression				*new-map-expression*
565------------------------
566
567The {rhs} argument of a mapping can be an expression.  That means the
568resulting characters can depend on the context.  Example: >
569	:inoremap <expr> . InsertDot()
570Here the dot will be mapped to whatever InsertDot() returns.
571
572This also works for abbreviations.  See |:map-<expr>| for the details.
573
574
575Visual and Select mode mappings				*new-map-select*
576-------------------------------
577
578Previously Visual mode mappings applied both to Visual and Select mode.  With
579a trick to have the mappings work in Select mode like they would in Visual
580mode.
581
582Commands have been added to define mappings for Visual and Select mode
583separately: |:xmap| and |:smap|.  With the associated "noremap" and "unmap"
584commands.
585
586The same is done for menus: |:xmenu|, |:smenu|, etc.
587
588
589Location list						*new-location-list*
590-------------
591
592The support for a per-window quickfix list (location list) is added. The
593location list can be displayed in a location window (similar to the quickfix
594window).  You can open more than one location list window.  A set of commands
595similar to the quickfix commands are added to browse the location list.
596(Yegappan Lakshmanan)
597
598
599Various new items					*new-items-7*
600-----------------
601
602Normal mode commands: ~
603
604a", a' and a`		New text objects to select quoted strings. |a'|
605i", i' and i`		(Taro Muraoka)
606
607CTRL-W <Enter>		In the quickfix window: opens a new window to show the
608			location of the error under the cursor.
609
610|at| and |it| text objects select a block of text between HTML or XML tags.
611
612<A-LeftMouse> ('mousemodel' "popup" or "popup-setpos")
613<A-RightMouse> ('mousemodel' "extend")
614			Make a blockwise selection. |<A-LeftMouse>|
615
616gF			Start editing the filename under the cursor and jump
617			to the line number following the file name.
618			(Yegappan Lakshmanan)
619
620CTRL-W F		Start editing the filename under the cursor in a new
621			window and jump to the line number following the file
622			name.  (Yegappan Lakshmanan)
623
624Insert mode commands: ~
625
626CTRL-\ CTRL-O		Execute a Normal mode command.  Like CTRL-O but
627			without moving the cursor. |i_CTRL-\_CTRL-O|
628
629Options: ~
630
631'balloonexpr'		expression for text to show in evaluation balloon
632'completefunc'		The name of the function used for user-specified
633			Insert mode completion.  CTRL-X CTRL-U can be used in
634			Insert mode to do any kind of completion.  (Taro
635			Muraoka)
636'completeopt'		Enable popup menu and other settings for Insert mode
637			completion.
638'cursorcolumn'		highlight column of the cursor
639'cursorline'		highlight line of the cursor
640'formatexpr'		expression for formatting text with |gq| and when text
641			goes over 'textwidth' in Insert mode.
642'formatlistpat'		pattern to recognize a numbered list for formatting.
643			(idea by Hugo Haas)
644'fsync'			Whether fsync() is called after writing a file.
645			(Ciaran McCreesh)
646'guitablabel'		expression for text to display in GUI tab page label
647'guitabtooltip'		expression for text to display in GUI tab page tooltip
648'macatsui'		Mac: use ATSUI text display functions
649'maxcombine'		maximum number of combining characters displayed
650'maxmempattern'		maximum amount of memory to use for pattern matching
651'mkspellmem'		parameters for |:mkspell| memory use
652'mzquantum'		Time in msec to schedule MzScheme threads.
653'numberwidth'		Minimal width of the space used for the 'number' and
654			'relativenumber' option. (Emmanuel Renieris)
655'omnifunc'		The name of the function used for omni completion.
656'operatorfunc'		function to be called for |g@| operator
657'printmbcharset'	CJK character set to be used for :hardcopy
658'printmbfont'		font names to be used for CJK output of :hardcopy
659'pumheight'		maximum number of items to show in the popup menu
660'quoteescape'		Characters used to escape quotes inside a string.
661			Used for the a", a' and a` text objects. |a'|
662'shelltemp'		whether to use a temp file or pipes for shell commands
663'showtabline'		whether to show the tab pages line
664'spell'			switch spell checking on/off
665'spellcapcheck'		pattern to locate the end of a sentence
666'spellfile'		file where good and wrong words are added
667'spelllang'		languages to check spelling for
668'spellsuggest'		methods for spell suggestions
669'synmaxcol'		maximum column to look for syntax items; avoids very
670			slow redrawing when there are very long lines
671'tabline'		expression for text to display in the tab pages line
672'tabpagemax'		maximum number of tab pages to open for |-p|
673'verbosefile'		Log messages in a file.
674'wildoptions'		"tagfile" value enables listing the file name of
675			matching tags for CTRL-D command line completion.
676			(based on an idea from Yegappan Lakshmanan)
677'winfixwidth'		window with fixed width, similar to 'winfixheight'
678
679
680Ex commands: ~
681
682Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
683
684|:startreplace|		Start Replace mode. (Charles Campbell)
685|:startgreplace|	Start Virtual Replace mode.
686
687|:0file|		Removes the name of the buffer. (Charles Campbell)
688
689|:diffoff|		Switch off diff mode in the current window or in all
690			windows.
691
692|:delmarks|		Delete marks.
693
694|:exusage|		Help for Ex commands (Nvi command).
695|:viusage|		Help for Vi commands (Nvi command).
696
697|:sort|			Sort lines in the buffer without depending on an
698			external command. (partly by Bryce Wagner)
699
700|:vimgrep|		Internal grep command, search for a pattern in files.
701|:vimgrepadd|		Like |:vimgrep| but don't make a new list.
702
703|:caddfile|		Add error messages to an existing quickfix list
704			(Yegappan Lakshmanan).
705|:cbuffer|		Read error lines from a buffer. (partly by Yegappan
706			Lakshmanan)
707|:cgetbuffer|		Create a quickfix list from a buffer but don't jump to
708			the first error.
709|:caddbuffer|		Add errors from the current buffer to the quickfix
710			list.
711|:cexpr|		Read error messages from a Vim expression (Yegappan
712			Lakshmanan).
713|:caddexpr|		Add error messages from a Vim expression to an
714			existing quickfix list. (Yegappan Lakshmanan).
715|:cgetexpr|		Create a quickfix list from a Vim expression, but
716			don't jump to the first error. (Yegappan Lakshmanan).
717
718|:lfile|		Like |:cfile| but use the location list.
719|:lgetfile|		Like |:cgetfile| but use the location list.
720|:laddfile|		Like |:caddfile| but use the location list.
721|:lbuffer|		Like |:cbuffer| but use the location list.
722|:lgetbuffer|		Like |:cgetbuffer| but use the location list.
723|:laddbuffer|		Like |:caddbuffer| but use the location list.
724|:lexpr|		Like |:cexpr| but use the location list.
725|:lgetexpr|		Like |:cgetexpr| but use the location list.
726|:laddexpr|		Like |:caddexpr| but use the location list.
727|:ll|			Like |:cc| but use the location list.
728|:llist|		Like |:clist| but use the location list.
729|:lnext|		Like |:cnext| but use the location list.
730|:lprevious|		Like |:cprevious| but use the location list.
731|:lNext|		Like |:cNext| but use the location list.
732|:lfirst|		Like |:cfirst| but use the location list.
733|:lrewind|		Like |:crewind| but use the location list.
734|:llast|		Like |:clast| but use the location list.
735|:lnfile|		Like |:cnfile| but use the location list.
736|:lpfile|		Like |:cpfile| but use the location list.
737|:lNfile|		Like |:cNfile| but use the location list.
738|:lolder|		Like |:colder| but use the location list.
739|:lnewer|		Like |:cnewer| but use the location list.
740|:lwindow|		Like |:cwindow| but use the location list.
741|:lopen|		Like |:copen| but use the location list.
742|:lclose|		Like |:cclose| but use the location list.
743|:lmake|		Like |:make| but use the location list.
744|:lgrep|		Like |:grep| but use the location list.
745|:lgrepadd|		Like |:grepadd| but use the location list.
746|:lvimgrep|		Like |:vimgrep| but use the location list.
747|:lvimgrepadd|		Like |:vimgrepadd| but use the location list.
748|:lhelpgrep|		Like |:helpgrep| but use the location list.
749|:lcscope|		Like |:cscope| but use the location list.
750|:ltag|			Jump to a tag and add matching tags to a location list.
751
752|:undojoin|		Join a change with the previous undo block.
753|:undolist|		List the leafs of the undo tree.
754
755|:earlier|		Go back in time for changes in the text.
756|:later|		Go forward in time for changes in the text.
757
758|:for|			Loop over a |List|.
759|:endfor|
760
761|:lockvar|		Lock a variable, prevents it from being changed.
762|:unlockvar|		Unlock a locked variable.
763
764|:mkspell|		Create a Vim spell file.
765|:spellgood|		Add a word to the list of good words.
766|:spellwrong|		Add a word to the list of bad words
767|:spelldump|		Dump list of good words.
768|:spellinfo|		Show information about the spell files used.
769|:spellrepall|		Repeat a spelling correction for the whole buffer.
770|:spellundo|		Remove a word from list of good and bad words.
771
772|:mzscheme|		Execute MzScheme commands.
773|:mzfile|		Execute an MzScheme script file.
774
775|:nbkey|		Pass a key to NetBeans for processing.
776
777|:profile|		Commands for Vim script profiling.
778|:profdel|		Stop profiling for specified items.
779
780|:smap|			Select mode mapping.
781|:smapclear|
782|:snoremap|
783|:sunmap|
784
785|:xmap|			Visual mode mapping, not used for Select mode.
786|:xmapclear|
787|:xnoremap|
788|:xunmap|
789
790|:smenu|		Select mode menu.
791|:snoremenu|
792|:sunmenu|
793
794|:xmenu|		Visual mode menu, not used for Select mode.
795|:xnoremenu|
796|:xunmenu|
797
798|:tabclose|		Close the current tab page.
799|:tabdo|		Perform a command in every tab page.
800|:tabedit|		Edit a file in a new tab page.
801|:tabnew|		Open a new tab page.
802|:tabfind|		Search for a file and open it in a new tab page.
803|:tabnext|		Go to the next tab page.
804|:tabprevious|		Go to the previous tab page.
805|:tabNext|		Go to the previous tab page.
806|:tabfirst|		Go to the first tab page.
807|:tabrewind|		Go to the first tab page.
808|:tablast|		Go to the last tab page.
809|:tabmove|		Move the current tab page elsewhere.
810|:tabonly|		Close all other tab pages.
811|:tabs|			List the tab pages and the windows they contain.
812
813Ex command modifiers: ~
814
815|:keepalt|		Do not change the alternate file.
816
817|:noautocmd|		Do not trigger autocommand events.
818
819|:sandbox|		Execute a command in the sandbox.
820
821|:tab|			When opening a new window create a new tab page.
822
823
824Ex command arguments: ~
825
826|++bad|			Specify what happens with characters that can't be
827			converted and illegal bytes. (code example by Yasuhiro
828			Matsumoto)
829			Also, when a conversion error occurs or illegal bytes
830			are found include the line number in the error
831			message.
832
833
834New and extended functions: ~
835
836|add()|			append an item to a List
837|append()|		append List of lines to the buffer
838|argv()|		without an argument return the whole argument list
839|browsedir()|		dialog to select a directory
840|bufnr()|		takes an extra argument: create buffer
841|byteidx()|		index of a character (Ilya Sher)
842|call()|		call a function with List as arguments
843|changenr()|		number of current change
844|complete()|		set matches for Insert mode completion
845|complete_add()|	add match for 'completefunc'
846|complete_check()|	check for key pressed, for 'completefunc'
847|copy()|		make a shallow copy of a List or Dictionary
848|count()|		count nr of times a value is in a List or Dictionary
849|cursor()|		also accepts an offset for 'virtualedit', and
850			the first argument can be a list: [lnum, col, off]
851|deepcopy()|		make a full copy of a List or Dictionary
852|diff_filler()|		returns number of filler lines above line {lnum}.
853|diff_hlID()|		returns the highlight ID for diff mode
854|empty()|		check if List or Dictionary is empty
855|eval()|		evaluate {string} and return the result
856|extend()|		append one List to another or add items from one
857			Dictionary to another
858|feedkeys()|		put characters in the typeahead buffer
859|filter()|		remove selected items from a List or Dictionary
860|finddir()|		find a directory in 'path'
861|findfile()|		find a file in 'path' (Johannes Zellner)
862|foldtextresult()|	the text displayed for a closed fold at line "lnum"
863|function()|		make a Funcref out of a function name
864|garbagecollect()|	cleanup unused |Lists| and |Dictionaries| with circular
865			references
866|get()|			get an item from a List or Dictionary
867|getbufline()|		get a list of lines from a specified buffer
868			(Yegappan Lakshmanan)
869|getcmdtype()|		return the current command-line type
870			(Yegappan Lakshmanan)
871|getfontname()|		get actual font name being used
872|getfperm()|		get file permission string (Nikolai Weibull)
873|getftype()|		get type of file (Nikolai Weibull)
874|getline()|		with second argument: get List with buffer lines
875|getloclist()|		list of location list items (Yegappan Lakshmanan)
876|getpos()|		return a list with the position of cursor, mark, etc.
877|getqflist()|		list of quickfix errors (Yegappan Lakshmanan)
878|getreg()|		get contents of a register
879|gettabwinvar()|	get variable from window in specified tab page.
880|has_key()|		check whether a key appears in a Dictionary
881|haslocaldir()|		check if current window used |:lcd|
882|hasmapto()|		check for a mapping to a string
883|index()|		index of item in List
884|inputlist()|		prompt the user to make a selection from a list
885|insert()|		insert an item somewhere in a List
886|islocked()|		check if a variable is locked
887|items()|		get List of Dictionary key-value pairs
888|join()|		join List items into a String
889|keys()|		get List of Dictionary keys
890|len()|			number of items in a List or Dictionary
891|map()|			change each List or Dictionary item
892|maparg()|		extra argument: use abbreviation
893|mapcheck()|		extra argument: use abbreviation
894|match()|		extra argument: count
895|matcharg()|		return arguments of |:match| command
896|matchend()|		extra argument: count
897|matchlist()|		list with match and submatches of a pattern in a string
898|matchstr()|		extra argument: count
899|max()|			maximum value in a List or Dictionary
900|min()|			minimum value in a List or Dictionary
901|mkdir()|		create a directory
902|pathshorten()|		reduce directory names to a single character
903|printf()|		format text
904|pumvisible()|		check whether the popup menu is displayed
905|range()|		generate a List with numbers
906|readfile()|		read a file into a list of lines
907|reltime()|		get time value, possibly relative
908|reltimestr()|		turn a time value into a string
909|remove()|		remove one or more items from a List or Dictionary
910|repeat()|		repeat "expr" "count" times (Christophe Poucet)
911|reverse()|		reverse the order of a List
912|search()|		extra argument:
913|searchdecl()|		search for declaration of variable
914|searchpair()|		extra argument: line to stop searching
915|searchpairpos()|	return a List with the position of the match
916|searchpos()|		return a List with the position of the match
917|setloclist()|		modify a location list (Yegappan Lakshmanan)
918|setpos()|		set cursor or mark to a position
919|setqflist()|		modify a quickfix list (Yegappan Lakshmanan)
920|settabwinvar()|	set variable in window of specified tab page
921|sort()|		sort a List
922|soundfold()|		get the sound-a-like equivalent of a word
923|spellbadword()|	get a badly spelled word
924|spellsuggest()|	get suggestions for correct spelling
925|split()|		split a String into a List
926|str2nr()|		convert a string to a number, base 8, 10 or 16
927|stridx()|		extra argument: start position
928|strridx()|		extra argument: start position
929|string()|		string representation of a List or Dictionary
930|system()|		extra argument: filters {input} through a shell command
931|tabpagebuflist()|	List of buffers in a tab page
932|tabpagenr()|		number of current or last tab page
933|tabpagewinnr()|	window number in a tab page
934|tagfiles()|		List with tags file names
935|taglist()|		get list of matching tags (Yegappan Lakshmanan)
936|tr()|			translate characters (Ron Aaron)
937|values()|		get List of Dictionary values
938|winnr()|		takes an argument: what window to use
939|winrestview()|		restore the view of the current window
940|winsaveview()|		save the view of the current window
941|writefile()|		write a list of lines into a file
942
943User defined functions can now be loaded automatically from the "autoload"
944directory in 'runtimepath'.  See |autoload-functions|.
945
946
947New Vim variables: ~
948
949|v:insertmode|		used for |InsertEnter| and |InsertChange| autocommands
950|v:val|			item value in a |map()| or |filter()| function
951|v:key|			item key in a |map()| or |filter()| function
952|v:profiling|		non-zero after a ":profile start" command
953|v:fcs_reason|		the reason why |FileChangedShell| was triggered
954|v:fcs_choice|		what should happen after |FileChangedShell|
955|v:beval_bufnr|		buffer number for 'balloonexpr'
956|v:beval_winnr|		window number for 'balloonexpr'
957|v:beval_lnum|		line number for 'balloonexpr'
958|v:beval_col|		column number for 'balloonexpr'
959|v:beval_text|		text under the mouse pointer for 'balloonexpr'
960|v:scrollstart|		what caused the screen to be scrolled up
961|v:swapname|		name of the swap file for the |SwapExists| event
962|v:swapchoice|		what to do for an existing swap file
963|v:swapcommand|		command to be executed after handling |SwapExists|
964|v:char|		argument for evaluating 'formatexpr'
965
966
967New autocommand events: ~
968
969|ColorScheme|		after loading a color scheme
970
971|CursorHoldI|		the user doesn't press a key for a while in Insert mode
972|CursorMoved|		the cursor was moved in Normal mode
973|CursorMovedI|		the cursor was moved in Insert mode
974
975|FileChangedShellPost|	after handling a file changed outside of Vim
976
977|InsertEnter|		starting Insert or Replace mode
978|InsertChange|		going from Insert to Replace mode or back
979|InsertLeave|		leaving Insert or Replace mode
980
981|MenuPopup|		just before showing popup menu
982
983|QuickFixCmdPre|	before :make, :grep et al. (Ciaran McCreesh)
984|QuickFixCmdPost|	after :make, :grep et al. (Ciaran McCreesh)
985
986|SessionLoadPost|	after loading a session file. (Yegappan Lakshmanan)
987
988|ShellCmdPost|		after executing a shell command
989|ShellFilterPost|	after filtering with a shell command
990
991|SourcePre|		before sourcing a Vim script
992
993|SpellFileMissing|	when a spell file can't be found
994
995|SwapExists|		found existing swap file when editing a file
996
997|TabEnter|		just after entering a tab page
998|TabLeave|		just before leaving a tab page
999
1000|VimResized|		after the Vim window size changed (Yakov Lerner)
1001
1002
1003New highlight groups: ~
1004
1005Pmenu                   Popup menu: normal item |hl-Pmenu|
1006PmenuSel                Popup menu: selected item |hl-PmenuSel|
1007PmenuThumb              Popup menu: scrollbar |hl-PmenuThumb|
1008PmenuSbar               Popup menu: Thumb of the scrollbar |hl-PmenuSbar|
1009
1010TabLine                 tab pages line, inactive label |hl-TabLine|
1011TabLineSel              tab pages line, selected label |hl-TabLineSel|
1012TabLineFill             tab pages line, filler |hl-TabLineFill|
1013
1014SpellBad                badly spelled word |hl-SpellBad|
1015SpellCap                word with wrong caps |hl-SpellCap|
1016SpellRare               rare word |hl-SpellRare|
1017SpellLocal              word only exists in other region |hl-SpellLocal|
1018
1019CursorColumn            'cursorcolumn' |hl-CursorColumn|
1020CursorLine              'cursorline' |hl-CursorLine|
1021
1022MatchParen              matching parens |pi_paren.txt| |hl-MatchParen|
1023
1024
1025New items in search patterns: ~
1026|/\%d| \%d123		search for character with decimal number
1027|/\]|  [\d123]		idem, in a collection
1028|/\%o| \%o103		search for character with octal number
1029|/\]|  [\o1o3]		idem, in a collection
1030|/\%x| \%x1a		search for character with 2 pos. hex number
1031|/\]|  [\x1a]		idem, in a collection
1032|/\%u| \%u12ab		search for character with 4 pos. hex number
1033|/\]|  [\u12ab]		idem, in a collection
1034|/\%U| \%U1234abcd	search for character with 8 pos. hex number
1035|/\]|  [\U1234abcd]	idem, in a collection
1036			    (The above partly by Ciaran McCreesh)
1037
1038|/[[=| [[=a=]]		an equivalence class (only for latin1 characters)
1039|/[[.| [[.a.]]		a collation element (only works with single char)
1040
1041|/\%'m|  \%'m		match at mark m
1042|/\%<'m| \%<'m		match before mark m
1043|/\%>'m| \%>'m		match after mark m
1044|/\%V|   \%V		match in Visual area
1045
1046Nesting |/multi| items no longer is an error when an empty match is possible.
1047
1048It is now possible to use \{0}, it matches the preceding atom zero times.  Not
1049useful, just for compatibility.
1050
1051
1052New Syntax/Indent/FTplugin files: ~
1053
1054Moved all the indent settings from the filetype plugin to the indent file.
1055Implemented b:undo_indent to undo indent settings when setting 'filetype' to a
1056different value.
1057
1058a2ps syntax and ftplugin file. (Nikolai Weibull)
1059ABAB/4 syntax file. (Marius van Wyk)
1060alsaconf ftplugin file. (Nikolai Weibull)
1061AppendMatchGroup ftplugin file. (Dave Silvia)
1062arch ftplugin file. (Nikolai Weibull)
1063asterisk and asteriskvm syntax file. (Tilghman Lesher)
1064BDF ftplugin file. (Nikolai Weibull)
1065BibTeX indent file. (Dorai Sitaram)
1066BibTeX Bibliography Style syntax file. (Tim Pope)
1067BTM ftplugin file. (Bram Moolenaar)
1068calendar ftplugin file. (Nikolai Weibull)
1069Changelog indent file. (Nikolai Weibull)
1070ChordPro syntax file. (Niels Bo Andersen)
1071Cmake indent and syntax file. (Andy Cedilnik)
1072conf ftplugin file. (Nikolai Weibull)
1073context syntax and ftplugin file. (Nikolai Weibull)
1074CRM114 ftplugin file. (Nikolai Weibull)
1075cvs RC ftplugin file. (Nikolai Weibull)
1076D indent file. (Jason Mills)
1077Debian Sources.list syntax file. (Matthijs Mohlmann)
1078dictconf and dictdconf syntax, indent and ftplugin files. (Nikolai Weibull)
1079diff ftplugin file. (Bram Moolenaar)
1080dircolors ftplugin file. (Nikolai Weibull)
1081django and htmldjango syntax file. (Dave Hodder)
1082doxygen syntax file. (Michael Geddes)
1083elinks ftplugin file. (Nikolai Weibull)
1084eterm ftplugin file. (Nikolai Weibull)
1085eviews syntax file. (Vaidotas Zemlys)
1086fetchmail RC ftplugin file. (Nikolai Weibull)
1087FlexWiki syntax and ftplugin file. (George Reilly)
1088Generic indent file. (Dave Silvia)
1089gpg ftplugin file. (Nikolai Weibull)
1090gretl syntax file. (Vaidotas Zemlys)
1091groovy syntax file. (Alessio Pace)
1092group syntax and ftplugin file. (Nikolai Weibull)
1093grub ftplugin file. (Nikolai Weibull)
1094Haskell ftplugin file. (Nikolai Weibull)
1095help ftplugin file. (Nikolai Weibull)
1096indent ftplugin file. (Nikolai Weibull)
1097Javascript ftplugin file. (Bram Moolenaar)
1098Kconfig ftplugin and syntax file. (Nikolai Weibull)
1099ld syntax, indent and ftplugin file. (Nikolai Weibull)
1100lftp ftplugin file. (Nikolai Weibull)
1101libao config ftplugin file. (Nikolai Weibull)
1102limits syntax and ftplugin file. (Nikolai Weibull)
1103Lisp indent file. (Sergey Khorev)
1104loginaccess and logindefs syntax and ftplugin file. (Nikolai Weibull)
1105m4 ftplugin file. (Nikolai Weibull)
1106mailaliases syntax file. (Nikolai Weibull)
1107mailcap ftplugin file. (Nikolai Weibull)
1108manconf syntax and ftplugin file. (Nikolai Weibull)
1109matlab ftplugin file. (Jake Wasserman)
1110Maxima syntax file. (Robert Dodier)
1111MGL syntax file. (Gero Kuhlmann)
1112modconf ftplugin file. (Nikolai Weibull)
1113mplayer config ftplugin file. (Nikolai Weibull)
1114Mrxvtrc syntax and ftplugin file. (Gautam Iyer)
1115MuPAD source syntax, indent and ftplugin. (Dave Silvia)
1116mutt RC ftplugin file. (Nikolai Weibull)
1117nanorc syntax and ftplugin file. (Nikolai Weibull)
1118netrc ftplugin file. (Nikolai Weibull)
1119pamconf syntax and ftplugin file. (Nikolai Weibull)
1120Pascal indent file. (Neil Carter)
1121passwd syntax and ftplugin file. (Nikolai Weibull)
1122PHP compiler plugin. (Doug Kearns)
1123pinfo ftplugin file. (Nikolai Weibull)
1124plaintex syntax and ftplugin files. (Nikolai Weibull, Benji Fisher)
1125procmail ftplugin file. (Nikolai Weibull)
1126prolog ftplugin file. (Nikolai Weibull)
1127protocols syntax and ftplugin file. (Nikolai Weibull)
1128quake ftplugin file. (Nikolai Weibull)
1129racc syntax and ftplugin file. (Nikolai Weibull)
1130readline ftplugin file. (Nikolai Weibull)
1131rhelp syntax file. (Johannes Ranke)
1132rnoweb syntax file. (Johannes Ranke)
1133Relax NG compact ftplugin file. (Nikolai Weibull)
1134Scheme indent file. (Sergey Khorev)
1135screen ftplugin file. (Nikolai Weibull)
1136sensors syntax and ftplugin file. (Nikolai Weibull)
1137services syntax and ftplugin file. (Nikolai Weibull)
1138setserial syntax and ftplugin file. (Nikolai Weibull)
1139sieve syntax and ftplugin file. (Nikolai Weibull)
1140SiSU syntax file (Ralph Amissah)
1141Sive syntax file. (Nikolai Weibull)
1142slp config, reg and spi syntax and ftplugin files. (Nikolai Weibull)
1143SML indent file. (Saikat Guha)
1144SQL anywhere syntax and indent file. (David Fishburn)
1145SQL indent file.
1146SQL-Informix syntax file. (Dean L Hill)
1147SQL: Handling of various variants. (David Fishburn)
1148sshconfig ftplugin file. (Nikolai Weibull)
1149Stata and SMCL syntax files. (Jeff Pitblado)
1150sudoers ftplugin file. (Nikolai Weibull)
1151sysctl syntax and ftplugin file. (Nikolai Weibull)
1152terminfo ftplugin file. (Nikolai Weibull)
1153trustees syntax file. (Nima Talebi)
1154Vera syntax file. (David Eggum)
1155udev config, permissions and rules syntax and ftplugin files. (Nikolai Weibull)
1156updatedb syntax and ftplugin file. (Nikolai Weibull)
1157VHDL indent file (Gerald Lai)
1158WSML syntax file. (Thomas Haselwanter)
1159Xdefaults ftplugin file. (Nikolai Weibull)
1160XFree86 config ftplugin file. (Nikolai Weibull)
1161xinetd syntax, indent and ftplugin file. (Nikolai Weibull)
1162xmodmap ftplugin file. (Nikolai Weibull)
1163Xquery syntax file. (Jean-Marc Vanel)
1164xsd (XML schema) indent file.
1165YAML ftplugin file. (Nikolai Weibull)
1166Zsh ftplugin file. (Nikolai Weibull)
1167
1168
1169New Keymaps: ~
1170
1171Sinhala (Sri Lanka) (Harshula Jayasuriya)
1172Tamil in TSCII encoding (Yegappan Lakshmanan)
1173Greek in cp737 (Panagiotis Louridas)
1174Polish-slash (HS6_06)
1175Ukrainian-jcuken (Anatoli Sakhnik)
1176Kana (Edward L. Fox)
1177
1178
1179New message translations: ~
1180
1181The Ukrainian messages are now also available in cp1251.
1182Vietnamese message translations and menu. (Phan Vinh Thinh)
1183
1184
1185Others: ~
1186
1187The |:read| command has the |++edit| argument.  This means it will use the
1188detected 'fileformat', 'fileencoding' and other options for the buffer.  This
1189also fixes the problem that editing a compressed file didn't set these
1190options.
1191
1192The Netbeans interface was updated for Sun Studio 10.  The protocol number
1193goes from 2.2 to 2.3. (Gordon Prieur)
1194
1195Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to
1196define default command-key mappings. (mostly by Benji Fisher)
1197
1198Mac: Add the selection type to the clipboard, so that Block, line and
1199character selections can be used between two Vims. (Eckehard Berns)
1200Also fixes the problem that setting 'clipboard' to "unnamed" breaks using
1201"yyp".
1202
1203Mac: GUI font selector. (Peter Cucka)
1204
1205Mac: support for multi-byte characters. (Da Woon Jung)
1206This doesn't always work properly.  If you see text drawing problems try
1207switching the 'macatsui' option off.
1208
1209Mac: Support the xterm mouse in the non-GUI version.
1210
1211Mac: better integration with Xcode.  Post a fake mouse-up event after the odoc
1212event and the drag receive handler to work around a stall after Vim loads a
1213file.  Fixed an off-by-one line number error. (Da Woon Jung)
1214
1215Mac: When started from Finder change directory to the file being edited or the
1216user home directory.
1217
1218Added the t_SI and t_EI escape sequences for starting and ending Insert mode.
1219To be used to set the cursor shape to a bar or a block.  No default values,
1220they are not supported by termcap/terminfo.
1221
1222GUI font selector for Motif. (Marcin Dalecki)
1223
1224Nicer toolbar buttons for Motif. (Marcin Dalecki)
1225
1226Mnemonics for the Motif find/replace dialog. (Marcin Dalecki)
1227
1228Included a few improvements for Motif from Marcin Dalecki.  Draw label
1229contents ourselves to make them handle fonts in a way configurable by Vim and
1230a bit less dependent on the X11 font management.
1231
1232Autocommands can be defined local to a buffer.  This means they will also work
1233when the buffer does not have a name or no specific name.  See
1234|autocmd-buflocal|.  (Yakov Lerner)
1235
1236For xterm most combinations of modifiers with function keys are recognized.
1237|xterm-modifier-keys|
1238
1239When 'verbose' is set the output of ":highlight" will show where a highlight
1240item was last set.
1241When 'verbose' is set the output of the ":map", ":abbreviate", ":command",
1242":function" and ":autocmd" commands will show where it was last defined.
1243(Yegappan Lakshmanan)
1244
1245":function /pattern" lists functions matching the pattern.
1246
1247"1gd" can be used like "gd" but ignores matches in a {} block that ends before
1248the cursor position.  Likewise for "1gD" and "gD".
1249
1250'scrolljump' can be set to a negative number to scroll a percentage of the
1251window height.
1252
1253The |v:scrollstart| variable has been added to help find the location in
1254your script that causes the hit-enter prompt.
1255
1256To make it possible to handle the situation that a file is being edited that
1257is already being edited by another Vim instance, the |SwapExists| event has
1258been added.  The |v:swapname|, |v:swapchoice| and |v:swapcommand| variables
1259can be used, for example to use the |client-server| functionality to bring the
1260other Vim to the foreground.
1261When starting Vim with a "-t tag" argument, there is an existing swapfile and
1262the user selects "quit" or "abort" then exit Vim.
1263
1264Undo now also restores the '< and '> marks.  "gv" selects the same area as
1265before the change and undo.
1266
1267When editing a search pattern for a "/" or "?" command and 'incsearch' is set
1268CTRL-L can be used to add a character from the current match.  CTRL-R CTRL-W
1269will add a word, but exclude the part of the word that was already typed.
1270
1271Ruby interface: add line number methods. (Ryan Paul)
1272
1273The $MYVIMRC environment variable is set to the first found vimrc file.
1274The $MYGVIMRC environment variable is set to the first found gvimrc file.
1275
1276==============================================================================
1277IMPROVEMENTS						*improvements-7*
1278
1279":helpgrep" accepts a language specifier after the pattern: "pat@it".
1280
1281Moved the help for printing to a separate help file.  It's quite a lot now.
1282
1283When doing completion for ":!cmd", ":r !cmd" or ":w !cmd" executable files are
1284found in $PATH instead of looking for ordinary files in the current directory.
1285
1286When ":silent" is used and a backwards range is given for an Ex command the
1287range is swapped automatically instead of asking if that is OK.
1288
1289The pattern matching code was changed from a recursive function to an
1290iterative mechanism.  This avoids out-of-stack errors.  State is stored in
1291allocated memory, running out of memory can always be detected.  Allows
1292matching more complex things, but Vim may seem to hang while doing that.
1293
1294Previously some options were always evaluated in the |sandbox|.  Now that only
1295happens when the option was set from a modeline or in secure mode.  Applies to
1296'balloonexpr', 'foldexpr', 'foldtext' and 'includeexpr'. (Sumner Hayes)
1297
1298Some commands and expressions could have nasty side effects, such as using
1299CTRL-R = while editing a search pattern and the expression invokes a function
1300that jumps to another window.  The |textlock| has been added to prevent this
1301from happening.
1302
1303":breakadd here" and ":breakdel here" can be used to set or delete a
1304breakpoint at the cursor.
1305
1306It is now possible to define a function with: >
1307	:exe "func Test()\n ...\n endfunc"
1308
1309The tutor was updated to make it simpler to use and text was added to explain
1310a few more important commands.  Used ideas from Gabriel Zachmann.
1311
1312Unix: When libcall() fails obtain an error message with dlerror() and display
1313it. (Johannes Zellner)
1314
1315Mac and Cygwin: When editing an existing file make the file name the same case
1316of the edited file.  Thus when typing ":e os_UNIX.c" the file name becomes
1317"os_unix.c".
1318
1319Added "nbsp" in 'listchars'. (David Blanchet)
1320
1321Added the "acwrite" value for the 'buftype' option.  This is for a buffer that
1322does not have a name that refers to a file and is written with BufWriteCmd
1323autocommands.
1324
1325For lisp indenting and matching parenthesis: (Sergey Khorev)
1326- square brackets are recognized properly
1327- #\(, #\), #\[ and #\] are recognized as character literals
1328- Lisp line comments (delimited by semicolon) are recognized
1329
1330Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher)
1331
1332winnr() takes an optional "$" or "#" argument.  (Nikolai Weibull, Yegappan
1333Lakshmanan)
1334
1335Added 's' flag to search(): set ' mark if cursor moved. (Yegappan Lakshmanan)
1336Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
1337Added 'c' flag to search(): accept match at the cursor.
1338Added 'e' flag to search(): move to end of the match. (Benji Fisher)
1339Added 'p' flag to search(): return number of sub-pattern. (Benji Fisher)
1340These also apply to searchpos(), searchpair() and searchpairpos().
1341
1342The search() and searchpair() functions have an extra argument to specify
1343where to stop searching.  Speeds up searches that should not continue too far.
1344
1345When uncompressing fails in the gzip plugin, give an error message but don't
1346delete the raw text.  Helps if the file has a .gz extension but is not
1347actually compressed. (Andrew Pimlott)
1348
1349When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
1350(Michael Geddes)
1351
1352Support setting 'filetype' and 'syntax' to "aaa.bbb" for "aaa" plus "bbb"
1353filetype or syntax.
1354
1355The ":registers" command now displays multi-byte characters properly.
1356
1357VMS: In the usage message mention that a slash can be used to make a flag
1358upper case.  Add color support to the builtin vt320 terminal codes.
1359(Zoltan Arpadffy)
1360
1361For the '%' item in 'viminfo', allow a number to set a maximum for the number
1362of buffers.
1363
1364For recognizing the file type: When a file looks like a shell script, check
1365for an "exec" command that starts the tcl interpreter. (suggested by Alexios
1366Zavras)
1367
1368Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that
1369digraphs still work when iconv is not available.
1370
1371When a session file is loaded while editing an unnamed, empty buffer that
1372buffer is wiped out.  Avoids that there is an unused buffer in the buffer
1373list.
1374
1375Win32: When libintl.dll supports bind_textdomain_codeset(), use it.
1376(NAKADAIRA Yukihiro)
1377
1378Win32: Vim was not aware of hard links on NTFS file systems.  These are
1379detected now for when 'backupcopy' is "auto".  Also fixed a bogus "file has
1380been changed since reading it" error for links.
1381
1382When foldtext() finds no text after removing the comment leader, use the
1383second line of the fold.  Helps for C-style /* */ comments where the first
1384line is just "/*".
1385
1386When editing the same file from two systems (e.g., Unix and MS-Windows) there
1387mostly was no warning for an existing swap file, because the name of the
1388edited file differs (e.g., y:\dir\file vs /home/me/dir/file).  Added a flag to
1389the swap file to indicate it is in the same directory as the edited file.  The
1390used path then doesn't matter and the check for editing the same file is much
1391more reliable.
1392
1393Unix: When editing a file through a symlink the swap file would use the name
1394of the symlink.  Now use the name of the actual file, so that editing the same
1395file twice is detected. (suggestions by Stefano Zacchiroli and James Vega)
1396
1397Client-server communication now supports 'encoding'.  When setting 'encoding'
1398in a Vim server to "utf-8", and using "vim --remote fname" in a console,
1399"fname" is converted from the console encoding to utf-8.  Also allows Vims
1400with different 'encoding' settings to exchange messages.
1401
1402Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be
1403incremented/decremented each time.
1404
1405When a register is empty it is not stored in the viminfo file.
1406
1407Removed the tcltags script, it's obsolete.
1408
1409":redir @*>>" and ":redir @+>>" append to the clipboard.  Better check for
1410invalid characters after the register name. |:redir|
1411
1412":redir => variable" and ":redir =>> variable" write or append to a variable.
1413(Yegappan Lakshmanan) |:redir|
1414
1415":redir @{a-z}>>" appends to register a to z. (Yegappan Lakshmanan)
1416
1417The 'verbosefile' option can be used to log messages in a file.  Verbose
1418messages are not displayed then.  The "-V{filename}" argument can be used to
1419log startup messages.
1420
1421":let g:" lists global variables.
1422":let b:" lists buffer-local variables.
1423":let w:" lists window-local variables.
1424":let v:" lists Vim variables.
1425
1426The stridx() and strridx() functions take a third argument, where to start
1427searching.  (Yegappan Lakshmanan)
1428
1429The getreg() function takes an extra argument to be able to get the expression
1430for the '=' register instead of the result of evaluating it.
1431
1432The setline() function can take a List argument to set multiple lines.  When
1433the line number is just below the last line the line is appended.
1434
1435g CTRL-G also shows the number of characters if it differs from the number of
1436bytes.
1437
1438Completion for ":debug" and entering an expression for the '=' register.  Skip
1439":" between range and command name. (Peter winters)
1440
1441CTRL-Q in Insert mode now works like CTRL-V by default.  Previously it was
1442ignored.
1443
1444When "beep" is included in 'debug' a function or script that causes a beep
1445will result in a message with the source of the error.
1446
1447When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that
1448":buf stor<Tab>" finds both "include/storage.h" and "storage/main.c".
1449
1450To count items (pattern matches) without changing the buffer the 'n' flag has
1451been added to |:substitute|.  See |count-items|.
1452
1453In a |:substitute| command the \u, \U, \l and \L items now also work for
1454multi-byte characters.
1455
1456The "screen.linux" $TERM name is recognized to set the default for
1457'background' to "dark". (Ciaran McCreesh)  Also for "cygwin" and "putty".
1458
1459The |FileChangedShell| autocommand event can now use the |v:fcs_reason|
1460variable that specifies what triggered the event.  |v:fcs_choice| can be used
1461to reload the buffer or ask the user what to do.
1462
1463Not all modifiers were recognized for xterm function keys.  Added the
1464possibility in term codes to end in ";*X" or "O*X", where X is any character
1465and the * stands for the modifier code.
1466Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
1467the two forms that xterm can send their codes in and still handle all possible
1468modifiers.
1469
1470getwinvar() now also works to obtain a buffer-local option from the specified
1471window.
1472
1473Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan)
1474Added the "%>" item to 'errorformat'.
1475
1476For 'errorformat' it was not possible to have a file name that contains the
1477character that follows after "%f".  For example, in "%f:%l:%m" the file name
1478could not contain ":".  Now include the first ":" where the rest of the
1479pattern matches.  In the example a ":" not followed by a line number is
1480included in the file name. (suggested by Emanuele Giaquinta)
1481
1482GTK GUI: use the GTK file dialog when it's available.  Mix from patches by
1483Grahame Bowland and Evan Webb.
1484
1485Added ":scriptnames" to bugreport.vim, so that we can see what plugins were
1486used.
1487
1488Win32: If the user changes the setting for the number of lines a scroll wheel
1489click scrolls it is now used immediately.  Previously Vim would need to be
1490restarted.
1491
1492When using @= in an expression the value is expression @= contains.  ":let @=
1493= value" can be used to set the register contents.
1494
1495A ! can be added to ":popup" to have the popup menu appear at the mouse
1496pointer position instead of the text cursor.
1497
1498The table with encodings has been expanded with many MS-Windows codepages,
1499such as cp1250 and cp737, so that these can also be used on Unix without
1500prepending "8bit-".
1501When an encoding name starts with "microsoft-cp" ignore the "microsoft-" part.
1502
1503Added the "customlist" completion argument to a user-defined command.  The
1504user-defined completion function should return the completion candidates as a
1505Vim List and the returned results are not filtered by Vim. (Yegappan
1506Lakshmanan)
1507
1508Win32: Balloons can have multiple lines if common controls supports it.
1509(Sergey Khorev)
1510
1511For command-line completion the matches for various types of arguments are now
1512sorted: user commands, variables, syntax names, etc.
1513
1514When no locale is set, thus using the "C" locale, Vim will work with latin1
1515characters, using its own isupper()/toupper()/etc. functions.
1516
1517When using an rxvt terminal emulator guess the value of 'background' using the
1518COLORFGBG environment variable. (Ciaran McCreesh)
1519
1520Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh)
1521
1522When 'foldcolumn' is one then put as much info in it as possible.  This allows
1523closing a fold with the mouse by clicking on the '-'.
1524
1525input() takes an optional completion argument to specify the type of
1526completion supported for the input. (Yegappan Lakshmanan)
1527
1528"dp" works with more than two buffers in diff mode if there is only one where
1529'modifiable' is set.
1530
1531The 'diffopt' option has three new values: "horizontal", "vertical" and
1532"foldcolumn".
1533
1534When the 'include' option contains \zs the file name found is what is being
1535matched from \zs to the end or \ze.  Useful to pass more to 'includeexpr'.
1536
1537Loading plugins on startup now supports subdirectories in the plugin
1538directory. |load-plugins|
1539
1540In the foldcolumn always show the '+' for a closed fold, so that it can be
1541opened easily.  It may overwrite another character, esp. if 'foldcolumn' is 1.
1542
1543It is now possible to get the W10 message again by setting 'readonly'.  Useful
1544in the FileChangedRO autocommand when checking out the file fails.
1545
1546Unix: When open() returns EFBIG give an appropriate message.
1547
1548":mksession" sets the SessionLoad variable to notify plugins.  A modeline is
1549added to the session file to set 'filetype' to "vim".
1550
1551In the ATTENTION prompt put the "Delete it" choice before "Quit" to make it
1552more logical.  (Robert Webb)
1553
1554When appending to a file while the buffer has no name the name of the appended
1555file would be used for the current buffer.  But the buffer contents is
1556actually different from the file content.  Don't set the file name, unless the
1557'P' flag is present in 'cpoptions'.
1558
1559When starting to edit a new file and the directory for the file doesn't exist
1560then Vim will report "[New DIRECTORY]" instead of "[New File] to give the user
1561a hint that something might be wrong.
1562
1563Win32: Preserve the hidden attribute of the viminfo file.
1564
1565In Insert mode CTRL-A didn't keep the last inserted text when using CTRL-O and
1566then a cursor key.  Now keep the previously inserted text if nothing is
1567inserted after the CTRL-O.  Allows using CTRL-O commands to move the cursor
1568without losing the last inserted text.
1569
1570The exists() function now supports checking for autocmd group definition
1571and for supported autocommand events. (Yegappan Lakshmanan)
1572
1573Allow using ":global" in the sandbox, it doesn't do anything harmful by
1574itself.
1575
1576":saveas asdf.c" will set 'filetype' to c when it's empty.  Also for ":w
1577asdf.c" when it sets the filename for the buffer.
1578
1579Insert mode completion for whole lines now also searches unloaded buffers.
1580
1581The colortest.vim script can now be invoked directly with ":source" or
1582":runtime syntax/colortest.vim".
1583
1584The 'statusline' option can be local to the window, so that each window can
1585have a different value.  (partly by Yegappan Lakshmanan)
1586
1587The 'statusline' option and other options that support the same format can now
1588use these new features:
1589- When it starts with "%!" the value is first evaluated as an expression
1590  before parsing the value.
1591- "%#HLname#" can be used to start highlighting with HLname.
1592
1593When 'statusline' is set to something that causes an error message then it is
1594made empty to avoid an endless redraw loop.  Also for other options, such at
1595'tabline' and 'titlestring'.  ":verbose set statusline" will mention that it
1596was set in an error handler.
1597
1598When there are several matching tags, the ":tag <name>" and CTRL-] commands
1599jump to the [count] matching tag. (Yegappan Lakshmanan)
1600
1601Win32: In the batch files generated by the install program, use $VIMRUNTIME or
1602$VIM if it's set.  Example provided by Mathias Michaelis.
1603Also create a vimtutor.bat batch file.
1604
1605The 'balloonexpr' option is now |global-local|.
1606
1607The system() function now runs in cooked mode, thus can be interrupted by
1608CTRL-C.
1609
1610==============================================================================
1611COMPILE TIME CHANGES					*compile-changes-7*
1612
1613Dropped the support for the BeOS and Amiga GUI.  They were not maintained and
1614probably didn't work.  If you want to work on this: get the Vim 6.x version
1615and merge it back in.
1616
1617When running the tests and one of them fails to produce "test.out" the
1618following tests are still executed.  This helps when running out of memory.
1619
1620When compiling with EXITFREE defined and the ccmalloc library it is possible
1621to detect memory leaks.  Some memory will always reported as leaked, such as
1622allocated by X11 library functions and the memory allocated in alloc_cmdbuff()
1623to store the ":quit" command.
1624
1625Moved the code for printing to src/hardcopy.c.
1626
1627Moved some code from main() to separate functions to make it easier to see
1628what is being done.  Using a structure to avoid a lot of arguments to the
1629functions.
1630
1631Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c
1632without copying the code.
1633
1634--- Mac ---
1635
1636"make" now creates the Vim.app directory and "make install" copies it to its
1637final destination. (Raf)
1638
1639Put the runtime directory not directly in Vim.app but in
1640Vim.app/Contents/Resources/vim, so that it's according to Mac specs.
1641
1642Made it possible to compile with Motif, Athena or GTK without tricks and still
1643being able to use the MacRoman conversion.  Added the os_mac_conv.c file.
1644
1645When running "make install" the runtime files are installed as for Unix.
1646Avoids that too many files are copied.  When running "make" a link to the
1647runtime files is created to avoid a recursive copy that takes much time.
1648
1649Configure will attempt to build Vim for both Intel and PowerPC.  The
1650--with-mac-arch configure argument can change it.
1651
1652--- Win32 ---
1653
1654The Make_mvc.mak file was adjusted to work with the latest MS compilers,
1655including the free version of Visual Studio 2005. (George Reilly)
1656
1657INSTALLpc.txt was updated for the recent changes. (George Reilly)
1658
1659The distributed executable is now produced with the free Visual C++ Toolkit
16602003 and other free SDK chunks.  msvcsetup.bat was added to support this.
1661
1662Also generate the .pdb file that can be used to generate a useful crash report
1663on MS-Windows. (George Reilly)
1664
1665==============================================================================
1666BUG FIXES						*bug-fixes-7*
1667
1668When using PostScript printing on MS-DOS the default 'printexpr' used "lpr"
1669instead of "copy".  When 'printdevice' was empty the copy command did not
1670work.  Use "LPT1" then.
1671
1672The GTK font dialog uses a font size zero when the font name doesn't include a
1673size.  Use a default size of 10.
1674
1675This example in the documentation didn't work:
1676    :e `=foo . ".c" `
1677Skip over the expression in `=expr` when looking for comments, |, % and #.
1678
1679When ":helpgrep" doesn't find anything there is no error message.
1680
1681"L" and "H" did not take closed folds into account.
1682
1683Win32: The "-P title" argument stopped at the first title that matched, even
1684when it doesn't support MDI.
1685
1686Mac GUI: CTRL-^ and CTRL-@ did not work.
1687
1688"2daw" on "word." at the end of a line didn't include the preceding white
1689space.
1690
1691Win32: Using FindExecutable() doesn't work to find a program.  Use
1692SearchPath() instead.  For executable() use $PATHEXT when the program searched
1693for doesn't have an extension.
1694
1695When 'virtualedit' is set, moving the cursor up after appending a character
1696may move it to a different column.  Was caused by auto-formatting moving the
1697cursor and not putting it back where it was.
1698
1699When indent was added automatically and then moving the cursor, the indent was
1700not deleted (like when pressing ESC).  The "I" flag in 'cpoptions' can be used
1701to make it work the old way.
1702
1703When opening a command-line window, 'textwidth' gets set to 78 by the Vim
1704filetype plugin.  Reset 'textwidth' to 0 to avoid lines are broken.
1705
1706After using cursor(line, col) moving up/down doesn't keep the same column.
1707
1708Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart
1709fields. (Walter Briscoe)
1710
1711On Sinix SYS_NMLN isn't always defined.  Define it ourselves. (Cristiano De
1712Michele)
1713
1714Printing with PostScript may keep the printer waiting for more.  Append a
1715CTRL-D to the printer output. (Mike Williams)
1716
1717When converting a string with a hex or octal number the leading '-' was
1718ignored.  ":echo '-05' + 0" resulted in 5 instead of -5.
1719
1720Using "@:" to repeat a command line didn't work when it contains control
1721characters.  Also remove "'<,'>" when in Visual mode to avoid that it appears
1722twice.
1723
1724When using file completion for a user command, it would not expand environment
1725variables like for a regular command with a file argument.
1726
1727'cindent': When the argument of a #define looks like a C++ class the next line
1728is indented too much.
1729
1730When 'comments' includes multi-byte characters inserting the middle part and
1731alignment may go wrong.  'cindent' also suffers from this for right-aligned
1732items.
1733
1734Win32: when 'encoding' is set to "utf-8" getenv() still returns strings in the
1735active codepage.  Convert to utf-8.  Also for $HOME.
1736
1737The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw".  Now use
1738"cn" or "tw" as intended.
1739
1740When 'bin' is set and 'eol' is not set then line2byte() added the line break
1741after the last line while it's not there.
1742
1743Using foldlevel() in a WinEnter autocommand may not work.  Noticed when
1744resizing the GUI shell upon startup.
1745
1746Python: Using buffer.append(f.readlines()) didn't work.  Allow appending a
1747string with a trailing newline.  The newline is ignored.
1748
1749When using the ":saveas f2" command for buffer "f1", the Buffers menu would
1750contain "f2" twice, one of them leading to "f1".  Also trigger the BufFilePre
1751and BufFilePost events for the alternate buffer that gets the old name.
1752
1753strridx() did not work well when the needle is empty. (Ciaran McCreesh)
1754
1755GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
1756just before it is invoked
1757
1758VMS: Occasionally CR characters were inserted in the file.  Expansion of
1759environment variables was not correct. (Zoltan Arpadffy)
1760
1761UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
1762from the first character of the word.
1763
1764When using ":sball" in an autocommand only the filetype in one buffer was
1765detected.  Reset did_filetype in enter_buffer().
1766
1767When using ":argdo" and the window already was at the first argument index,
1768but not actually editing it, the current buffer would be used instead.
1769
1770When ":next dir/*" includes many matches, adding the names to the argument
1771list may take an awful lot of time and can't be interrupted.  Allow
1772interrupting this.
1773
1774When editing a file that was already loaded in a buffer, modelines were not
1775used.  Now window-local options in the modeline are set.  Buffer-local options
1776and global options remain unmodified.
1777
1778Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the
1779command line with non-ASCII characters are not used correctly.  Recode the
1780file names when 'encoding' is set, using the Unicode command line.
1781
1782Win32 console: When the default for 'encoding' ends up to be "latin1", the
1783default value of 'isprint' was wrong.
1784
1785When an error message is given while waiting for a character (e.g., when an
1786xterm reports the number of colors), the hit-enter prompt overwrote the last
1787line.  Don't reset msg_didout in normal_cmd() for K_IGNORE.
1788
1789Mac GUI: Shift-Tab didn't work.
1790
1791When defining tooltip text, don't translate terminal codes, since it's not
1792going to be used like a command.
1793
1794GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a
1795GTK error.  Invalid characters may appear when 'encoding' is changed.
1796
1797GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango.
1798
1799Win32: When 'encoding' is changed while starting up, use the Unicode command
1800line to convert the file arguments to 'encoding'.  Both for the GUI and the
1801console version.
1802
1803Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because
1804there is no codepage for latin9.  Do our own conversion from latin9 to UCS2.
1805
1806When two versions of GTK+ 2 are installed it was possible to use the header
1807files from one and the library from the other.  Use GTK_LIBDIR to put the
1808directory for the library early in the link flags.
1809
1810With the GUI find/replace dialog a replace only worked if the pattern was
1811literal text.  Now it works for any pattern.
1812
1813When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still
1814cause equalizing window heights in the vertical direction.
1815
1816When ":emenu" is used in a startup script the command was put in the typeahead
1817buffer, causing a prompt for the crypt key to be messed up.
1818
1819Mac OS/X: The default for 'isprint' included characters 128-160, causes
1820problems for Terminal.app.
1821
1822When a syntax item with "containedin" is used, it may match in the start or
1823end of a region with a matchgroup, while this doesn't happen for a "contains"
1824argument.
1825
1826When a transparent syntax items matches in another item where the highlighting
1827has already stopped (because of a he= argument), the highlighting would come
1828back.
1829
1830When cscope is used to set the quickfix error list, it didn't get set if there
1831was only one match. (Sergey Khorev)
1832
1833When 'confirm' is set and using ":bdel" in a modified buffer, then selecting
1834"cancel", would still give an error message.
1835
1836The PopUp menu items that started Visual mode didn't work when not in Normal
1837mode.  Switching between selecting a word and a line was not possible.
1838
1839Win32: The keypad decimal point always resulted in a '.', while on some
1840keyboards it's a ','.  Use MapVirtualKey(VK_DECIMAL, 2).
1841
1842Removed unused function DisplayCompStringOpaque() from gui_w32.c
1843
1844In Visual mode there is not always an indication whether the line break is
1845selected or not.  Highlight the character after the line when the line break
1846is included, e.g., after "v$o".
1847
1848GTK: The <F10> key can't be mapped, it selects the menu.  Disable that with a
1849GTK setting and do select the menu when <F10> isn't mapped. (David Necas)
1850
1851After "Y" '[ and '] were not at start/end of the yanked text.
1852
1853When a telnet connection is dropped Vim preserves files and exits.  While
1854doing that a SIGHUP may arrive and disturb us, thus ignore it. (Scott
1855Anderson)  Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to
1856handle.  Added handle_signal().
1857
1858When completing a file name on the command line backslashes are required for
1859white space.  Was only done for a space, not for a Tab.
1860
1861When configure could not find a terminal library, compiling continued for a
1862long time before reporting the problem.  Added a configure check for tgetent()
1863being found in a library.
1864
1865When the cursor is on the first char of the last line a ":g/pat/s///" command
1866may cause the cursor to be displayed below the text.
1867
1868Win32: Editing a file with non-ASCII characters doesn't work when 'encoding'
1869is "utf-8".  use _wfullpath() instead of _fullpath(). (Yu-sung Moon)
1870
1871When recovering the 'fileformat' and 'fileencoding' were taken from the
1872original file instead of from the swapfile.  When the file didn't exist, was
1873empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could
1874be wrong.  Now store 'fileformat' and 'fileencoding' in the swapfile and use
1875the values when recovering.
1876
1877":bufdo g/something/p" overwrites each last printed text line with the file
1878message for the next buffer.  Temporarily clear 'shortmess' to avoid that.
1879
1880Win32: Cannot edit a file starting with # with --remote.  Do escape % and #
1881when building the ":drop" command.
1882
1883A comment or | just after an expression-backtick argument was not recognized.
1884E.g. in :e `="foo"`"comment.
1885
1886"(" does not stop at an empty sentence (single dot and white space) while ")"
1887does.  Also breaks "das" on that dot.
1888
1889When doing "yy" with the cursor on a TAB the ruler could be wrong and "k"
1890moved the cursor to another column.
1891
1892When 'commentstring' is '"%s' and there is a double quote in the line a double
1893quote before the fold marker isn't removed in the text displayed for a  closed
1894fold.
1895
1896In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line
1897break, resulting in "selected 202 of 201 bytes".
1898
1899Motif: fonts were not used for dialog components. (Marcin Dalecki)
1900
1901Motif: After using a toolbar button the keyboard focus would be on the toolbar
1902(Lesstif problem). (Marcin Dalecki)
1903
1904When using "y<C-V>`x" where mark x is in the first column, the last line was
1905not included.
1906
1907Not all test scripts work properly on MS-Windows when checked out from CVS.
1908Use a Vim command to fix all fileformats to dos before executing the tests.
1909
1910When using ":new" and the file fits in the window, lines could still be above
1911the window.  Now remove empty lines instead of keeping the relative position.
1912
1913Cmdline completion didn't work after ":let var1 var<Tab>".
1914
1915When using ":startinsert" or ":startreplace" when already in Insert mode
1916(possible when using CTRL-R =), pressing Esc would directly restart Insert
1917mode. (Peter Winters)
1918
1919"2daw" didn't work at end of file if the last word is a single character.
1920
1921Completion for ":next a'<Tab>" put a backslash before single quote, but it was
1922not removed when editing a file.  Now halve backslashes in save_patterns().
1923Also fix expanding a file name with the shell that contains "\'".
1924
1925When doing "1,6d|put" only "fewer lines" was reported.  Now a following "more
1926lines" overwrites the message.
1927
1928Configure could not handle "-Dfoo=long\ long" in the TCL config output.
1929
1930When searching backwards, using a pattern that matches a newline and uses \zs
1931after that, didn't find a match.  Could also get a hang or end up in the right
1932column in the wrong line.
1933
1934When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak"
1935starts with "sl".
1936
1937When 'paste' is set in the GUI the Paste toolbar button doesn't work.  Clear
1938'paste' when starting the GUI.
1939
1940A message about a wrong viminfo line included the trailing NL.
1941
1942When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode.
1943Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a
1944mapping.
1945
1946Treat "mlterm" as an xterm-like terminal. (Seiichi Sato)
1947
1948":z.4" and ":z=4" didn't work Vi compatible.
1949
1950When sourcing a file, editing it and sourcing it again, it could appear twice
1951in ":scriptnames" and get a new <SID>, because the inode has changed.
1952
1953When $SHELL is set but empty the 'shell' option would be empty.  Don't use an
1954empty $SHELL value.
1955
1956A command "w! file" in .vimrc or $EXINIT didn't work.  Now it writes an empty
1957file.
1958
1959When a CTRL-F command at the end of the file failed, the cursor was still
1960moved to the start of the line.  Now it remains where it is.
1961
1962When using ":s" or "&" to repeat the last substitute and "$" was used to put
1963the cursor in the last column, put the cursor in the last column again.  This
1964is Vi compatible.
1965
1966Vim is not fully POSIX compliant but sticks with traditional Vi behavior.
1967Added a few flags in 'cpoptions' to behave the POSIX way when wanted.  The
1968$VIM_POSIX environment variable is checked to set the default.
1969
1970Appending to a register didn't insert a line break like Vi.  Added the '>'
1971flag to 'cpoptions' for this.
1972
1973Using "I" in a line with only blanks appended to the line.  This is not Vi
1974compatible.  Added the 'H' flag in 'coptions' for this.
1975
1976When joining multiple lines the cursor would be at the last joint, but Vi
1977leaves it at the position where "J" would put it.  Added the 'q' flag in
1978'cpoptions' for this.
1979
1980Autoindent didn't work for ":insert" and ":append".
1981
1982Using ":append" in an empty buffer kept the dummy line.  Now it's deleted to
1983be Vi compatible.
1984
1985When reading commands from a file and stdout goes to a terminal, would still
1986request the xterm version.  Vim can't read it, thus the output went to the
1987shell and caused trouble there.
1988
1989When redirecting to a register with an invalid name the redirection would
1990still be done (after an error message).  Now reset "redir_reg". (Yegappan
1991Lakshmanan)
1992
1993It was not possible to use a NL after a backslash in Ex mode.  This is
1994sometimes used to feed multiple lines to a shell command.
1995
1996When 'cmdheight' is set to 2 in .vimrc and the GUI uses the number of lines
1997from the terminal we actually get 3 lines for the cmdline in gvim.
1998
1999When setting $HOME allocated memory would leak.
2000
2001Win32: bold characters may sometimes write in another character cell.  Use
2002unicodepdy[] as for UTF-8. (Taro Muraoka)
2003
2004":w fname" didn't work for files with 'buftype' set to "nofile".
2005
2006The method used to locate user commands for completion differed from when they
2007are executed.  Ambiguous command names were not completed properly.
2008
2009Incremental search may cause a crash when there is a custom statusline that
2010indirectly invokes ":normal".
2011
2012Diff mode failed when $DIFF_OPTIONS was set in the environment.  Unset it
2013before invoking "diff".
2014
2015Completion didn't work after ":argdo", ":windo" and ":bufdo".  Also for ":set
2016&l:opt" and ":set &g:opt". (Peter Winters)
2017
2018When setting 'ttymouse' to "dec" in an xterm that supports the DEC mouse
2019locator it doesn't work.  Now switch off the mouse before selecting another
2020mouse model.
2021
2022When the CursorHold event is triggered and the commands peek for typed
2023characters the typeahead buffer may be messed up, e.g., when a mouse-up event
2024is received.  Avoid invoking the autocommands from the function waiting for a
2025character, let it put K_CURSORHOLD in the input buffer.
2026
2027Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
2028":1argadd *".  Same for ":argdelete" and ":argedit".
2029
2030Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
2031
2032Added backslashes before dashes in the vim.1 manual page to make the appear as
2033real dashes. (Pierr Habouzit)
2034
2035Where "gq" left the cursor depended on the value of 'formatprg'.  Now "gq"
2036always leaves the cursor at the last line of the formatted text.
2037
2038When editing a compressed file, such as "changelog.Debian.gz" file, filetype
2039detection may try to check the contents of the file while it's still
2040compressed.  Skip setting 'filetype' for compressed files until they have been
2041decompressed.  Required for patterns that end in a "*".
2042
2043Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
2044to the first line.  That breaks a BufReadPost autocommand that uses g`".
2045Don't move the cursor if it's somewhere past the first line.
2046
2047"gg=G" while 'modifiable' is off was uninterruptible.
2048
2049When 'encoding' is "sjis" inserting CTRL-V u d800 a few times causes a crash.
2050Don't insert a DBCS character with a NUL second byte.
2051
2052In Insert mode CTRL-O <Home> didn't move the cursor.  Made "ins_at_eol" global
2053and reset it in nv_home().
2054
2055Wildcard expansion failed: ":w /tmp/$$.`echo test`".  Don't put quotes around
2056spaces inside backticks.
2057
2058After this sequence of commands: Y V p gv: the wrong line is selected.  Now
2059let "gv" select the text that was put, since the original text is deleted.
2060This should be the most useful thing to do.
2061
2062":sleep 100u" sleeps for 100 seconds, not 100 usec as one might expect.  Give
2063an error message when the argument isn't recognized.
2064
2065In gui_mch_draw_string() in gui_w32.c "unibuflen" wasn't static, resulting in
2066reallocating the buffer every time. (Alexei Alexandrov)
2067
2068When using a Python "atexit" function it was not invoked when Vim exits.  Now
2069call Py_Finalize() for that. (Ugo Di Girolamo)
2070This breaks the thread stuff though, fixed by Ugo.
2071
2072GTK GUI: using a .vimrc with "set cmdheight=2 lines=43" and ":split" right
2073after startup, the window layout is messed up. (Michael Schaap)  Added
2074win_new_shellsize() call in gui_init() to fix the topframe size.
2075
2076Trick to get ...MOUSE_NM not used when there are vertical splits.  Now pass
2077column -1 for the left most window and add MOUSE_COLOFF for others.  Limits
2078mouse column to 10000.
2079
2080searchpair() may hang when the end pattern has "\zs" at the end.  Check that
2081we find the same position again and advance one character.
2082
2083When in diff mode and making a change that causes the "changed" highlighting
2084to disappear or reappear, it was still highlighted in another window.
2085
2086When a ":next" command fails because the user selects "Abort" at the ATTENTION
2087prompt the argument index was advanced anyway.
2088
2089When "~" is in 'iskeyword' the "gd" doesn't work, it's used for the previous
2090substitute pattern.  Put "\V" in the pattern to avoid that.
2091
2092Use of sprintf() sometimes didn't check properly for buffer overflow.  Also
2093when using smsg().  Included code for snprintf() to avoid having to do size
2094checks where invoking them
2095
2096":help \=<Tab>" didn't find "sub-replace-\=".  Wild menu for help tags didn't
2097show backslashes.  ":he :s\=" didn't work.
2098
2099When reading an errorfile "~/" in a file name was not expanded.
2100
2101GTK GUI: When adding a scrollbar (e.g. when using ":vsplit") in a script or
2102removing it the window size may change.  GTK sends us resize events when we
2103change the window size ourselves, but they may come at an unexpected moment.
2104Peek for a character to get any window resize events and fix 'columns' and
2105'lines' to undo this.
2106
2107When using the GTK plug mechanism, resizing and focus was not working
2108properly. (Neil Bird)
2109
2110After deleting files from the argument list a session file generated with
2111":mksession" may contain invalid ":next" commands.
2112
2113When 'shortmess' is empty and 'keymap' set to accents, in Insert mode CTRL-N
2114may cause the hit-enter prompt.  Typing 'a then didn't result in the accented
2115character.  Put the character typed at the prompt back in the typeahead buffer
2116so that mapping is done in the right mode.
2117
2118setbufvar() and setwinvar() did not give error messages.
2119
2120It was possible to set a variable with an illegal name, e.g. with setbufvar().
2121It was possible to define a function with illegal name, e.t. ":func F{-1}()"
2122
2123CTRL-W F and "gf" didn't use the same method to get the file name.
2124
2125When reporting a conversion error the line number of the last error could be
2126given.  Now report the first encountered error.
2127
2128When using ":e ++enc=name file" and iconv() was used for conversion an error
2129caused a fall-back to no conversion.  Now replace a character with '?' and
2130continue.
2131
2132When opening a new buffer the local value of 'bomb' was not initialized from
2133the global value.
2134
2135Win32: When using the "Edit with Vim" entry the file name was limited to about
2136200 characters.
2137
2138When using command line completion for ":e *foo" and the file "+foo" exists
2139the resulting command ":e +foo" doesn't work.  Now insert a backslash: ":e
2140\+foo".
2141
2142When the translation of "-- More --" was not 10 characters long the following
2143message would be in the wrong position.
2144
2145At the more-prompt the last character in the last line wasn't drawn.
2146
2147When deleting non-existing text while 'virtualedit' is set the '[ and '] marks
2148were not set.
2149
2150Win32: Could not use "**/" in 'path', it had to be "**\".
2151
2152The search pattern "\n" did not match at the end of the last line.
2153
2154Searching for a pattern backwards, starting on the NUL at the end of the line
2155and 'encoding' is "utf-8" would match the pattern just before it incorrectly.
2156Affected searchpair('/\*', '', '\*/').
2157
2158For the Find/Replace dialog it was possible that not finding the text resulted
2159in an error message while redrawing, which cleared the syntax highlighting
2160while it was being used, resulting in a crash.  Now don't clear syntax
2161highlighting, disable it with b_syn_error.
2162
2163Win32: Combining UTF-8 characters were drawn on the previous character.
2164Could be noticed with a Thai font.
2165
2166Output of ":function" could leave some of the typed text behind. (Yegappan
2167Lakshmanan)
2168
2169When the command line history has only a few lines the command line window
2170would be opened with these lines above the first window line.
2171
2172When using a command line window for search strings ":qa" would result in
2173searching for "qa" instead of quitting all windows.
2174
2175GUI: When scrolling with the scrollbar and there is a line that doesn't fit
2176redrawing may fail.  Make sure w_skipcol is valid before redrawing.
2177
2178Limit the values of 'columns' and 'lines' to avoid an overflow in Rows *
2179Columns.  Fixed bad effects when running out of memory (command line would be
2180reversed, ":qa!" resulted in ":!aq").
2181
2182Motif: "gvim -iconic" opened the window anyway.  (David Harrison)
2183
2184There is a tiny chance that a symlink gets created between checking for an
2185existing file and creating a file.  Use the O_NOFOLLOW for open() if it's
2186available.
2187
2188In an empty line "ix<CTRL-O>0" moved the cursor to after the line instead of
2189sticking to the first column.
2190
2191When using ":wq" and a BufWriteCmd autocmd uses inputsecret() the text was
2192echoed anyway.  Set terminal to raw mode in getcmdline().
2193
2194Unix: ":w a;b~c" caused an error in expanding wildcards.
2195
2196When appending to a file with ":w >>fname" in a buffer without a name, causing
2197the buffer to use "fname", the modified flag was reset.
2198
2199When appending to the current file the "not edited" flag would be reset.
2200":w" would overwrite the file accidentally.
2201
2202Unix: When filtering text with an external command Vim would still read input,
2203causing text typed for the command (e.g., a password) to be eaten and echoed.
2204Don't read input when the terminal is in cooked mode.
2205
2206The Cygwin version of xxd used CR/LF line separators. (Corinna Vinschen)
2207
2208Unix: When filtering text through a shell command some resulting text may be
2209dropped.  Now after detecting that the child has exited try reading some more
2210of its output.
2211
2212When inside input(), using "CTRL-R =" and the expression throws an exception
2213the command line was not abandoned but it wasn't used either.  Now abandon
2214typing the command line.
2215
2216'delcombine' was also used in Visual and Select mode and for commands like
2217"cl".  That was illogical and has been disabled.
2218
2219When recording while a CursorHold autocommand was defined special keys would
2220appear in the register.  Now the CursorHold event is not triggered while
2221recording.
2222
2223Unix: the src/configure script used ${srcdir-.}, not all shells understand
2224that.  Use ${srcdir:-.} instead.
2225
2226When editing file "a" which is a symlink to file "b" that doesn't exist,
2227writing file "a" to create "b" and then ":split b" resulted in two buffers on
2228the same file with two different swapfile names.  Now set the inode in the
2229buffer when creating a new file.
2230
2231When 'esckeys' is not set don't send the xterm code to request the version
2232string, because it may cause trouble in Insert mode.
2233
2234When evaluating an expression for CTRL-R = on the command line it was possible
2235to call a function that opens a new window, resulting in errors for
2236incremental search, and many other nasty things were possible.  Now use the
2237|textlock| to disallow changing the buffer or jumping to another window
2238to protect from unexpected behavior.  Same for CTRL-\ e.
2239
2240"d(" deleted the character under the cursor, while the documentation specified
2241an exclusive motion.  Vi also doesn't delete the character under the cursor.
2242
2243Shift-Insert in Insert mode could put the cursor before the last character
2244when it just fits in the window.  In coladvance() don't stop at the window
2245edge when filling with spaces and when in Insert mode.  In mswin.vim avoid
2246getting a beep from the "l" command.
2247
2248Win32 GUI: When Alt-F4 is used to close the window and Cancel is selected in
2249the dialog then Vim would insert <M-F4> in the text.  Now it's ignored.
2250
2251When ":silent! {cmd}" caused the swap file dialog, which isn't displayed,
2252there would still be a hit-enter prompt.
2253
2254Requesting the termresponse (|t_RV|) early may cause problems with "-c"
2255arguments that invoke an external command or even "-c quit".  Postpone it
2256until after executing "-c" arguments.
2257
2258When typing in Insert mode so that a new line is started, using CTRL-G u to
2259break undo and start a new change, then joining the lines with <BS> caused
2260undo info to be missing.  Now reset the insertion start point.
2261
2262Syntax HL: When a region start match has a matchgroup and an offset that
2263happens to be after the end of the line then it continued in the next line and
2264stopped at the region end match, making the region continue after that.
2265Now check for the column being past the end of the line in syn_add_end_off().
2266
2267When changing a file, setting 'swapfile' off and then on again, making another
2268change and killing Vim, then some blocks may be missing from the swapfile.
2269When 'swapfile' is switched back on mark all blocks in the swapfile as dirty.
2270Added mf_set_dirty().
2271
2272Expanding wildcards in a command like ":e aap;<>!" didn't work.  Put
2273backslashes before characters that are special to the shell. (Adri Verhoef)
2274
2275A CursorHold autocommand would cause a message to be cleared.  Don't show the
2276special key for the event for 'showcmd'.
2277
2278When expanding a file name for a shell command, as in "!cmd foo<Tab>" or ":r
2279!cmd foo<Tab>" also escape characters that are special for the shell:
2280"!;&()<>".
2281
2282When the name of the buffer was set by a ":r fname" command |cpo-f| no
2283autocommands were triggered to notify about the change in the buffer list.
2284
2285In the quickfix buffer 'bufhidden' was set to "delete", which caused closing
2286the quickfix window to leave an unlisted "No Name" buffer behind every time.
2287
2288Win32: when using two screens of different size, setting 'lines' to a large
2289value didn't fill the whole screen. (SungHyun Nam)
2290
2291Win32 installer: The generated _vimrc contained an absolute path to diff.exe.
2292After upgrading it becomes invalid.  Now use $VIMRUNTIME instead.
2293
2294The command line was cleared to often when 'showmode' was set and ":silent
2295normal vy" was used.  Don't clear the command line unless the mode was
2296actually displayed.  Added the "mode_displayed" variable.
2297
2298The "load session" toolbar item could not handle a space or other special
2299characters in v:this_session.
2300
2301":set sta ts=8 sw=4 sts=2" deleted 4 spaces halfway a line instead of 2.
2302
2303In a multi-byte file the foldmarker could be recognized in the trail byte.
2304(Taro Muraoka)
2305
2306Pasting with CTRL-V and menu didn't work properly when some commands are
2307mapped.  Use ":normal!" instead of ":normal". (Tony Apuzzo)
2308
2309Crashed when expanding a file name argument in backticks.
2310
2311In some situations the menu and scrollbar didn't work, when the value contains
2312a CSI byte. (Yukihiro Nakadaira)
2313
2314GTK GUI: When drawing the balloon focus changes and we might get a key release
2315event that removed the balloon again.  Ignore the key release event.
2316
2317'titleold' was included in ":mkexrc" and ":mksession" files.
2318
2319":set background&" didn't use the same logic as was used when starting up.
2320
2321When "umask" is set such that nothing is writable then the viminfo file would
2322be written without write permission. (Julian Bridle)
2323
2324Motif: In diff mode dragging one scrollbar didn't update the scrollbar of the
2325other diff'ed window.
2326
2327When editing in an xterm with a different number of colors than expected the
2328screen would be cleared and redrawn, causing the message about the edited file
2329to be cleared.  Now set "keep_msg" to redraw the last message.
2330
2331For a color terminal: When the Normal HL uses bold, possibly to make the color
2332lighter, and another HL group specifies a color it might become light as well.
2333Now reset bold if a HL group doesn't specify bold itself.
2334
2335When using 256 color xterm the color 255 would show up as color 0.  Use a
2336short instead of a char to store the color number.
2337
2338ml_get errors when searching for "\n\zs" in an empty file.
2339
2340When selecting a block and using "$" to select until the end of every line and
2341not highlighting the character under the cursor the first character of the
2342block could be unhighlighted.
2343
2344When counting words for the Visual block area and using "$" to select until
2345the end of every line only up to the length of the last line was counted.
2346
2347"dip" in trailing empty lines left one empty line behind.
2348
2349The script ID was only remembered globally for each option. When a buffer- or
2350window-local option was set the same "last set" location was changed for all
2351buffers and windows.  Now remember the script ID for each local option
2352separately.
2353
2354GUI: The "Replace All" button didn't handle backslashes in the replacement in
2355the same way as "Replace".  Escape backslashes so that they are taken
2356literally.
2357
2358When using Select mode from Insert mode and typing a key, causing lines to be
2359deleted and a message displayed, delayed the effect of inserting the key.
2360Now overwrite the message without delay.
2361
2362When 'whichwrap' includes "l" then "dl" and "yl" on a single letter line
2363worked differently.  Now recognize all operators when using "l" at the end of
2364a line.
2365
2366GTK GUI: when the font selector returned a font name with a comma in it then
2367it would be handled like two font names.  Now put a backslash before the
2368comma.
2369
2370MS-DOS, Win32: When 'encoding' defaults to "latin1" then the value for
2371'iskeyword' was still for CPxxx.  And when 'nocompatible' was set 'isprint'
2372would also be the wrong value.
2373
2374When a command was defined not to take arguments and no '|' no warning message
2375would be given for using a '|'.  Also with ":loadkeymap".
2376
2377Motif: When using a fontset and 'encoding' is "utf-8" and sizeof(wchar_t) !=
2378sizeof(XChar2b) then display was wrong. (Yukihiro Nakadaira)
2379
2380":all" always set the current window to the first window, even when it
2381contains a buffer that is not in the argument list (can't be closed because it
2382is modified).  Now go to the window that has the first item of the argument
2383list.
2384
2385GUI: To avoid left-over pixels from bold text all characters after a character
2386with special attributes were redrawn.  Now only do this for characters that
2387actually are bold.  Speeds up displaying considerably.
2388
2389When only highlighting changes and the text is scrolled at the same time
2390everything is redraw instead of using a scroll and updating the changed text.
2391E.g., when using ":match" to highlight a paren that the cursor landed on.
2392Added SOME_VALID: Redraw the whole window but also try to scroll to minimize
2393redrawing.
2394
2395Win32: When using Korean IME making it active didn't work properly. (Moon,
2396Yu-sung, 2005 March 21)
2397
2398Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan
2399Paul)
2400
2401--- fixes since Vim 7.0b ---
2402
2403Getting the GCC version in configure didn't work with Solaris sed.  First
2404strip any "darwin." and then get the version number.
2405
2406The "autoload" directory was missing from the self-installing executable for
2407MS-Windows.
2408
2409The MS-Windows install program would find "vimtutor.bat" in the install
2410directory.  After changing to "c:" also change to "\" to avoid looking in the
2411install directory.
2412
2413To make the 16 bit DOS version compile exclude not used highlight
2414initializations and build a tiny instead of small version.
2415
2416finddir() and findfile() accept a negative count and return a List then.
2417
2418The Python indent file contained a few debugging statements, removed.
2419
2420Expanding {} for a function name, resulting in a name starting with "s:" was
2421not handled correctly.
2422
2423Spelling: renamed COMPOUNDMAX to COMPOUNDWORDMAX.  Added several items to be
2424able to handle the new Hungarian dictionary.
2425
2426Mac: Default to building for the current platform only, that is much faster
2427than building a universal binary.  Also, using Perl/Python/etc. only works for
2428the current platform.
2429
2430The time on undo messages disappeared for someone.  Using %T for strftime()
2431apparently doesn't work everywhere.  Use %H:%M:%S instead.
2432
2433Typing BS at the "z=" prompt removed the prompt.
2434
2435--- fixes and changes since Vim 7.0c ---
2436
2437When jumping to another tab page the Vim window size was always set, even when
2438nothing in the layout changed.
2439
2440Win32 GUI tab pages line wasn't always enabled.  Do a proper check for the
2441compiler version.
2442
2443Win32: When switching between tab pages the Vim window was moved when part of
2444it was outside of the screen.  Now only do that in the direction of a size
2445change.
2446
2447Win32: added menu to GUI tab pages line. (Yegappan Lakshmanan)
2448
2449Mac: Added document icons. (Benji Fisher)
2450
2451Insert mode completion: Using Enter to accept the current match causes
2452confusion.  Use CTRL-Y instead.  Also, use CTRL-E to go back to the typed
2453text.
2454
2455GUI: When there are left and right scrollbars, ":tabedit" kept them instead of
2456using the one that isn't needed.
2457
2458Using "gP" to replace al the text could leave the cursor below the last line,
2459causing ml_get errors.
2460
2461When 'cursorline' is set don't use the highlighting when Visual mode is
2462active, otherwise it's difficult to see the selected area.
2463
2464The matchparen plugin restricts the search to 100 lines, to avoid a long delay
2465when there are closed folds.
2466
2467Sometimes using CTRL-X s to list spelling suggestions used text from another
2468line.
2469
2470Win32: Set the default for 'isprint' back to the wrong default "@,~-255",
2471because many people use Windows-1252 while 'encoding' is "latin1".
2472
2473GTK: Added a workaround for gvim crashing when used over an untrusted ssh
2474link, caused by GTK doing something nasty. (Ed Catmur)
2475
2476Win32: The font used for the tab page labels is too big.  Use the system menu
2477font. (George Reilly)
2478
2479Win32: Adjusting the window position and size to keep it on the screen didn't
2480work properly when the taskbar is on the left or top of the screen.
2481
2482The installman.sh and installml.sh scripts use ${10}, that didn't work with
2483old shells.  And use "test -f" instead of "test -e".
2484
2485Win32: When 'encoding' was set in the vimrc then a directory argument for diff
2486mode didn't work.
2487
2488GUI: at the inputlist() prompt the cursorshape was adjusted as if the windows
2489were still at their old position.
2490
2491The parenmatch plugin didn't remember the highlighting per window.
2492
2493Using ":bd" for a buffer that's the current window in another tab page caused
2494a crash.
2495
2496For a new tab page the 'scroll' option wasn't set to a good default.
2497
2498Using an end offset for a search "/pat/e" didn't work properly for multi-byte
2499text. (Yukihiro Nakadaira)
2500
2501":s/\n/,/" doubled the text when used on the last line.
2502
2503When "search" is in 'foldopen' "[s" and "]s" now open folds.
2504
2505When using a numbered function "dict" can be omitted, but "self" didn't work
2506then.  Always add FC_DICT to the function flags when it's part of a
2507dictionary.
2508
2509When "--remote-tab" executes locally it left an empty tab page.
2510
2511"gvim -u NONE", ":set cursorcolumn", "C" in the second line didn't update
2512text.  Do update further lines even though the "$" is displayed.
2513
2514VMS: Support GTK better, also enable +clientserver. (Zoltan Arpadffy)
2515
2516When highlighting of statusline or tabline is changed there was no redraw to
2517show the effect.
2518
2519Mac: Added "CFBundleIdentifier" to infplist.xml.
2520
2521Added tabpage-local variables t:var.
2522
2523Win32: Added double-click in tab pages line creates new tab. (Yegappan
2524Lakshmanan)
2525
2526Motif: Added GUI tab pages line. (Yegappan Lakshmanan)
2527
2528Fixed crash when 'lines' was set to 1000 in a modeline.
2529
2530When init_spellfile() finds a writable directory in 'runtimepath' but it
2531doesn't contain a "spell" directory, create one.
2532
2533Win32: executable() also finds "xxd" in the directory where Vim was started,
2534but "!xxd" doesn't work.  Append the Vim starting directory to $PATH.
2535
2536The tab page labels are shortened, directory names are reduced to a single
2537letter by default.  Added the pathshorten() function to allow a user to do the
2538same.
2539
2540":saveas" now resets 'readonly' if the file was successfully written.
2541
2542Set $MYVIMRC file to the first found .vimrc file.
2543Set $MYGVIMRC file to the first found .gvimrc file.
2544Added menu item "Startup Settings" that edits the $MYVIMRC file
2545
2546Added matcharg().
2547
2548Error message E745 appeared twice.  Renamed one to E786.
2549
2550Fixed crash when using "au BufRead * Sexplore" and doing ":help".  Was wiping
2551out a buffer that's still in a window.
2552
2553":hardcopy" resulted in an error message when 'encoding' is "utf-8" and
2554'printencoding' is empty.  Now it assumes latin1. (Mike Williams)
2555
2556The check for the toolbar feature for Motif, depending on certain included
2557files, wasn't detailed enough, causing building to fail in gui_xmebw.c.
2558
2559Using CTRL-E in Insert mode completion after CTRL-P inserted the first match
2560instead of the original text.
2561
2562When displaying a UTF-8 character with a zero lower byte Vim might think the
2563previous character is double-wide.
2564
2565The "nbsp" item of 'listchars' didn't work when 'encoding' was utf-8.
2566
2567Motif: when Xm/xpm.h is missing gui_xmebw.c would not compile.
2568HAVE_XM_UNHIGHLIGHTT_H was missing a T.
2569
2570Mac: Moved the .icns files into src/os_mac_rsrc, so that they can all be
2571copied at once.  Adjusted the Info.plist file for three icons.
2572
2573When Visual mode is active while switching to another tabpage could get ml_get
2574errors.
2575
2576When 'list' is set, 'nowrap' the $ in the first column caused 'cursorcolumn'
2577to move to the right.
2578
2579When a line wraps, 'cursorcolumn' was never displayed past the end of the
2580line.
2581
2582'autochdir' was only available when compiled with NetBeans and GUI.  Now it's
2583a separate feature, also available in the "big" version.
2584
2585Added CTRL-W gf: open file under cursor in new tab page.
2586
2587When using the menu in the tab pages line, "New Tab" opens the new tab before
2588where the click was.  Beyond the labels the new tab appears at the end instead
2589of after the current tab page.
2590
2591Inside a mapping with an expression getchar() could not be used.
2592
2593When vgetc is used recursively vgetc_busy protects it from being used
2594recursively.  But after a ":normal" command the protection was reset.
2595
2596":s/a/b/n" didn't work when 'modifiable' was off.
2597
2598When $VIMRUNTIME includes a multi-byte character then rgb.txt could not be
2599found. (Yukihiro Nakadaira)
2600
2601":mkspell" didn't work correctly for non-ASCII affix flags when conversion is
2602needed on the spell file.
2603
2604glob('/dir/\$ABC/*') didn't work.
2605
2606When using several tab pages and changing 'cmdheight' the display could become
2607messed up.  Now store the value of 'cmdheight' separately for each tab page.
2608
2609The user of the Enter key while the popup menu is visible was still confusing.
2610Now use Enter to select the match after using a cursor key.
2611
2612Added "usetab" to 'switchbuf'.
2613
2614
2615--- fixes and changes since Vim 7.0d ---
2616
2617Added CTRL-W T: move a window to a new tab page.
2618
2619Using CTRL-X s in Insert mode to complete spelling suggestions and using BS
2620deleted characters before the bad word.
2621
2622A few small fixes for the VMS makefile. (Zoltan Arpadffy)
2623
2624With a window of 91 lines 45 cols, ":vsp" scrolled the window.  Copy w_wrow
2625when splitting a window and skip setting the height when it's already at the
2626right value.
2627
2628Using <silent> in a mapping with a shell command and the GUI caused redraw
2629to use wrong attributes.
2630
2631Win32: Using MSVC 4.1 for install.exe resulted in the start menu items to be
2632created in the administrator directory instead of "All Users".  Define the
2633CSIDL_ items if they are missing.
2634
2635Motif: The GUI tabline did not use the space above the right scrollbar.  Work
2636around a bug in the Motif library. (Yegappan Lakshmanan)
2637
2638The extra files for XML Omni completion are now also installed.
2639|xml-omni-datafile|
2640
2641GTK GUI: when 'm' is missing from 'guioptions' during startup and pressing
2642<F10> GTK produced error messages.  Now do create the menu but disable it just
2643after the first gui_mch_update().
2644
2645":mkspell" doesn't work well with the Hungarian dictionary from the Hunspell
2646project.  Back to the Myspell dictionary.
2647
2648In help files hide the | used around tags.
2649
2650Renamed pycomplete to pythoncomplete.
2651
2652Added "tabpages" to 'sessionoptions'.
2653
2654When 'guitablabel' is set the effect wasn't visible right away.
2655
2656Fixed a few 'cindent' errors.
2657
2658When completing menu names, e.g., after ":emenu", don't sort the entries but
2659keep them in the original order.
2660
2661Fixed a crash when editing a directory in diff mode.  Don't trigger
2662autocommands when executing the diff command.
2663
2664Getting a keystroke could get stuck if 'encoding' is a multi-byte encoding and
2665typing a special key.
2666
2667When 'foldignore' is set the folds were not updated right away.
2668
2669When a list is indexed with [a : b] and b was greater than the length an error
2670message was given.  Now silently truncate the result.
2671
2672When using BS during Insert mode completion go back to the original text, so
2673that CTRL-N selects the first matching entry.
2674
2675Added the 'M' flag to 'cinoptions'.
2676
2677Win32: Make the "gvim --help" window appear in the middle of the screen
2678instead of at an arbitrary position. (Randall W. Morris)
2679
2680Added gettabwinvar() and settabwinvar().
2681
2682Command line completion: pressing <Tab> after ":e /usr/*" expands the whole
2683tree, because it becomes ":e /usr/**".  Don't add a star if there already is
2684one.
2685
2686Added grey10 to grey90 to all GUIs, so that they can all be used for
2687initializing highlighting.  Use grey40 for CursorColumn and CursorLine when
2688'background' is "dark".
2689
2690When reading a file and using iconv for conversion, an incomplete byte
2691sequence at the end caused problems. (Yukihiro Nakadaira)
2692
2693
2694--- fixes and changes since Vim 7.0e ---
2695
2696Default color for MatchParen when 'background' is "dark" is now DarkCyan.
2697
2698":syn off" had to be used twice in a file that sets 'syntax' in a modeline.
2699(Michael Geddes)
2700
2701When using ":vsp" or ":sp" the available space wasn't used equally between
2702windows. (Servatius Brandt)
2703
2704Expanding <cWORD> on a trailing blank resulted in the first word in the line
2705if 'encoding' is a multi-byte encoding.
2706
2707Spell checking: spellbadword() didn't see a missing capital in the first word
2708of a line.  Popup menu now only suggest the capitalized word when appropriate.
2709
2710When using whole line completion CTRL-L moves through the matches but it
2711didn't work when at the original text.
2712
2713When completion finds the longest match, don't go to the first match but stick
2714at the original text, so that CTRL-N selects the first one.
2715
2716Recognize "zsh-beta" like "zsh" for setting the 'shellpipe' default. (James
2717Vega)
2718
2719When using ":map <expr>" and the expression results in something with a
2720special byte (NUL or CSI) then it didn't work properly.  Now escape special
2721bytes.
2722
2723The default Visual highlighting for a color xterm with 8 colors was a magenta
2724background, which made magenta text disappear.  Now use reverse in this
2725specific situation.
2726
2727After completing the longest match "." didn't insert the same text.  Repeating
2728also didn't work correctly for multi-byte text.
2729
2730When using Insert mode completion and BS the whole word that was completed
2731would result in all possible matches.  Now stop completion.  Also fixes that
2732for spell completion the previous word was deleted.
2733
2734GTK: When 'encoding' is "latin1" and using non-ASCII characters in a file name
2735the tab page label was wrong and an error message would be given.
2736
2737The taglist() function could hang on a tags line with a non-ASCII character.
2738
2739Win32: When 'encoding' differs from the system encoding tab page labels with
2740non-ASCII characters looked wrong. (Yegappan Lakshmanan)
2741
2742Motif: building failed when Xm/Notebook.h doesn't exist.  Added a configure
2743check, disable GUI tabline when it's missing.
2744
2745Mac: When compiled without multi-byte feature the clipboard didn't work.
2746
2747It was possible to switch to another tab page when the cmdline window is open.
2748
2749Completion could hang when 'lines' is 6 and a preview window was opened.
2750
2751Added CTRL-W gF: open file under cursor in new tab page and jump to the line
2752number following the file name.
2753Added 'guitabtooltip'.  Implemented for Win32 (Yegappan Lakshmanan).
2754
2755Added "throw" to 'debug' option: throw an exception for error messages even
2756whey they would otherwise be ignored.
2757
2758When 'keymap' is set and a line contains an invalid entry could get a "No
2759mapping found" warning instead of a proper error message.
2760
2761Motif: default to using XpmAttributes instead of XpmAttributes_21.
2762
2763A few more changes for 64 bit MS-Windows. (George Reilly)
2764
2765Got ml_get errors when doing "o" and selecting in other window where there are
2766less lines shorter than the cursor position in the other window.  ins_mouse()
2767was using position in wrong window.
2768
2769Win32 GUI: Crash when giving a lot of messages during startup.  Allocate twice
2770as much memory for the dialog template.
2771
2772Fixed a few leaks and wrong pointer use reported by coverity.
2773
2774When showing menus the mode character was sometimes wrong.
2775
2776Added feedkeys(). (Yakov Lerner)
2777
2778Made matchlist() always return all submatches.
2779
2780Moved triggering QuickFixCmdPost to before jumping to the first location.
2781
2782Mac: Added the 'macatsui' option as a temporary work around for text drawing
2783problems.
2784
2785Line completion on "/**" gave error messages when scanning an unloaded buffer.
2786
2787--- fixes and changes since Vim 7.0f ---
2788
2789Win32: The height of the tab page labels is now adjusted to the font height.
2790(Yegappan Lakshmanan)
2791
2792Win32: selecting the tab label was off by one. (Yegappan Lakshmanan)
2793
2794Added tooltips for Motif and GTK tab page labels. (Yegappan Lakshmanan)
2795
2796When 'encoding' is "utf-8" then ":help spell" would report an illegal byte and
2797the file was not converted from latin1 to utf-8.  Now retry with latin1 if
2798reading the file as utf-8 results in illegal bytes.
2799
2800Escape the argument of feedkeys() before putting it in the typeahead buffer.
2801(Yukihiro Nakadaira)
2802
2803Added the v:char variable for evaluating 'formatexpr'. (Yukihiro Nakadaira)
2804
2805With 8 colors Search highlighting combined with Statement highlighted text
2806made the text disappear.
2807
2808VMS: avoid warnings for redefining MAX and MIN. (Zoltan Arpadffy)
2809
2810When 'virtualedit' includes "onemore", stopping Visual selection would still
2811move the cursor left.
2812
2813Prevent that using CTRL-R = in Insert mode can start Visual mode.
2814
2815Fixed a crash that occurred when in Insert mode with completion active and a
2816mapping caused edit() to be called recursively.
2817
2818When using CTRL-O in Insert mode just after the last character while
2819'virtualedit' is "all", then typing CR moved the last character to the next
2820line.  Call coladvance() before starting the new line.
2821
2822When using |:shell| ignore clicks on the tab page labels.  Also when using the
2823command line window.
2824
2825When 'eventignore' is "all" then adding more to ignoring some events, e.g.,
2826for ":vimgrep", would actually trigger more events.
2827
2828Win32: When a running Vim uses server name GVIM1 then "gvim --remote fname"
2829didn't find it.  When looking for a server name that doesn't end in a digit
2830and it is not found then use another server with that name and a number (just
2831like on Unix).
2832
2833When using "double" in 'spellsuggest' when the language doesn't support sound
2834folding resulted in too many suggestions.
2835
2836Win32: Dropping a shortcut on the Vim icon didn't edit the referred file like
2837editing it in another way would.  Use fname_expand() in buf_set_name() instead
2838of simply make the file name a full path.
2839
2840Using feedkeys() could cause Vim to hang.
2841
2842When closing another tab page from the tabline menu in Insert mode the tabline
2843was not updated right away.
2844
2845The syntax menu didn't work in compatible mode.
2846
2847After using ":tag id" twice with the same "id", ":ts" and then ":pop" a ":ts"
2848reported no matching tag.  Clear the cached tag name.
2849
2850In Insert mode the matchparen plugin highlighted the wrong paren when there is
2851a string just next to a paren.
2852
2853GTK: After opening a new tab page the text was sometimes not drawn correctly.
2854Flush output and catch up with events when updating the tab page labels.
2855
2856In the GUI, using CTRL-W q to close the last window of a tab page could cause
2857a crash.
2858
2859GTK: The tab pages line menu was not converted from 'encoding' to utf-8.
2860
2861Typing a multi-byte character or a special key at the hit-enter prompt did not
2862work.
2863
2864When 'virtualedit' contains "onemore" CTRL-O in Insert mode still moved the
2865cursor left when it was after the end of the line, even though it's allowed to
2866be there.
2867
2868Added test for using tab pages.
2869
2870towupper() and towlower() were not used, because of checking for
2871__STDC__ISO_10646__ instead of __STDC_ISO_10646__. (sertacyildiz)
2872
2873For ":map <expr>" forbid changing the text, jumping to another buffer and
2874using ":normal" to avoid nasty side effects.
2875
2876--- fixes and changes since Vim 7.0g ---
2877
2878Compilation error on HP-UX, use of "dlerr" must be inside a #ifdef.
2879(Gary Johnson)
2880
2881Report +reltime feature in ":version" output.
2882
2883The tar and zip plugins detect failure to get the contents of the archive and
2884edit the file as-is.
2885
2886When the result of 'guitablabel' is empty fall back to the default label.
2887
2888Fixed crash when using ":insert" in a while loop and missing "endwhile".
2889
2890"gt" and other commands could move to another window when |textlock| active
2891and when the command line window was open.
2892
2893Spell checking a file with syntax highlighting and a bad word at the end of
2894the line is ignored could make "]s" hang.
2895
2896Mac: inputdialog() didn't work when compiled with big features.
2897
2898Interrupting ":vimgrep" while it is busy loading a file left a modified and
2899hidden buffer behind.  Use enter_cleanup() and leave_cleanup() around
2900wipe_buffer().
2901
2902When making 'keymap' empty the b:keymap_name variable wasn't deleted.
2903
2904Using CTRL-N that searches a long time, pressing space to interrupt the
2905searching and accept the first match, the popup menu was still displayed
2906briefly.
2907
2908When setting the Vim window height with -geometry the 'window' option could be
2909at a value that makes CTRL-F behave differently.
2910
2911When opening a quickfix window in two tabs they used different buffers,
2912causing redrawing problems later.  Now use the same buffer for all quickfix
2913windows. (Yegappan Lakshmanan)
2914
2915When 'mousefocus' is set moving the mouse to the text tab pages line would
2916move focus to the first window.  Also, the mouse pointer would jump to the
2917active window.
2918
2919In a session file, when an empty buffer is wiped out, do this silently.
2920
2921When one window has the cursor on the last line and another window is resized
2922to make that window smaller, the cursor line could go below the displayed
2923lines.  In win_new_height() subtract one from the available space.
2924Also avoid that using "~" lines makes the window scroll down.
2925
2926Mac: When sourcing the "macmap.vim" script and then finding a .vimrc file the
2927'cpo' option isn't set properly, because it was already set and restored.
2928Added the <special> argument to ":map", so that 'cpo' doesn't need to be
2929changed to be able to use <> notation.  Also do this for ":menu" for
2930consistency.
2931
2932When using "/encoding=abc" in a spell word list, only "bc" was used.
2933
2934When 'encoding' and 'printencoding' were both "utf-8" then ":hardcopy" didn't
2935work. (Mike Williams)
2936
2937Mac: When building with "--disable-gui" the install directory would still be
2938"/Applications" and Vim.app would be installed.  Now install in /usr/local as
2939usual for a console application.
2940
2941GUI: when doing completion and there is one match and still searching for
2942another, the cursor was displayed at the end of the line instead of after the
2943match.  Now show the cursor after the match while still searching for matches.
2944
2945GUI: The mouse shape changed on the statusline even when 'mouse' was empty and
2946they can't be dragged.
2947
2948GTK2: Selecting a button in the confirm() dialog with Tab or cursor keys and
2949hitting Enter didn't select that button.  Removed GTK 1 specific code. (Neil
2950Bird)
2951
2952When evaluating 'balloonexpr' takes a long time it could be called
2953recursively, which could cause a crash.
2954
2955exists() could not be used to detect whether ":2match" is supported.  Added a
2956check for it specifically.
2957
2958GTK1: Tab page labels didn't work. (Yegappan Lakshmanan)
2959
2960Insert mode completion: When finding matches use 'ignorecase', but when adding
2961matches to the list don't use it, so that all words with different case are
2962added, "word", "Word" and "WORD".
2963
2964When 'cursorline' and 'hlsearch' are set and the search pattern is "x\n"
2965the rest of the line was highlighted as a match.
2966
2967Cursor moved while evaluating 'balloonexpr' that invokes ":isearch" and
2968redirects the output.  Don't move the cursor to the command line if msg_silent
2969is set.
2970
2971exists() ignored text after a function name and option name, which could
2972result in false positives.
2973
2974exists() ignored characters after the recognized word, which can be wrong when
2975using a name with non-keyword characters.  Specifically, these calls no longer
2976allow characters after the name: exists('*funcname') exists('*funcname(...')
2977exists('&option') exists(':cmd') exists('g:name') exists('g:name[n]')
2978exists('g:name.n')
2979
2980Trigger the TabEnter autocommand only after entering the current window of the
2981tab page, otherwise the commands are executed with an invalid current window.
2982
2983Win32: When using two monitors and Vim is on the second monitor, changing the
2984width of the Vim window could make it jump to the first monitor.
2985
2986When scrolling back at the more prompt and the quitting a line of text would
2987be left behind when 'cmdheight' is 2 or more.
2988
2989Fixed a few things for Insert mode completion, especially when typing BS,
2990CTRL-N or a printable character while still searching for matches.
2991
2992
2993==============================================================================
2994VERSION 7.1					*version-7.1* *version7.1*
2995
2996This section is about improvements made between version 7.0 and 7.1.
2997
2998This is a bug-fix release, there are no fancy new features.
2999
3000
3001Changed							*changed-7.1*
3002-------
3003
3004Added setting 'mouse' in vimrc_example.vim.
3005
3006When building with MZscheme also look for include files in the "plt"
3007subdirectory.  That's where they are for FreeBSD.
3008
3009The Ruby interface module is now called "Vim" instead of "VIM".  But "VIM" is
3010an alias, so it's backwards compatible. (Tim Pope)
3011
3012
3013Added							*added-7.1*
3014-----
3015
3016New syntax files:
3017	/var/log/messages (Yakov Lerner)
3018	Autohotkey (Nikolai Weibull)
3019	AutoIt v3 (Jared Breland)
3020	Bazaar commit file "bzr". (Dmitry Vasiliev)
3021	Cdrdao TOC (Nikolai Weibull)
3022	Cmusrc (Nikolai Weibull)
3023	Conary recipe (rPath Inc)
3024	Framescript (Nikolai Weibull)
3025	FreeBasic (Mark Manning)
3026	Hamster (David Fishburn)
3027	IBasic (Mark Manning)
3028	Initng (Elan Ruusamae)
3029	Ldapconf (Nikolai Weibull)
3030	Litestep (Nikolai Weibull)
3031	Privoxy actions file (Doug Kearns)
3032	Streaming Descriptors "sd" (Puria Nafisi Azizi)
3033
3034New tutor files:
3035	Czech (Lubos Turek)
3036	Hungarian (Arpad Horvath)
3037	Turkish (Serkan kkk)
3038	utf-8 version of Greek tutor.
3039	utf-8 version of Russian tutor.
3040	utf-8 version of Slowak tutor.
3041
3042New filetype plugins:
3043	Bst (Tim Pope)
3044	Cobol (Tim Pope)
3045	Fvwm (Gautam Iyer)
3046	Hamster (David Fishburn)
3047	Django HTML template (Dave Hodder)
3048
3049New indent files:
3050	Bst (Tim Pope)
3051	Cobol (Tim Pope)
3052	Hamster (David Fishburn)
3053	Django HTML template (Dave Hodder)
3054	Javascript
3055	JSP (David Fishburn)
3056
3057New keymap files:
3058	Bulgarian (Boyko Bantchev)
3059	Mongolian (Natsagdorj Shagdar)
3060	Thaana (Ibrahim Fayaz)
3061	Vietnamese (Samuel Thibault)
3062
3063Other new runtime files:
3064	Ada support files. (Neil Bird, Martin Krischik)
3065	Slovenian menu translations (Mojca Miklavec)
3066	Mono C# compiler plugin (Jarek Sobiecki)
3067
3068
3069Fixed							*fixed-7.1*
3070-----
3071
3072Could not build the Win32s version.  Added a few structure definitions in
3073src/gui_w32.c
3074
3075
3076Patch 7.0.001
3077Problem:    ":set spellsuggest+=10" does not work. (Suresh Govindachar)
3078Solution:   Add P_COMMA to the 'spellsuggest' flags.
3079Files:	    src/option.c
3080
3081Patch 7.0.002
3082Problem:    C omni completion has a problem with tags files with a path
3083	    containing "#" or "%".
3084Solution:   Escape these characters. (Sebastian Baberowski)
3085Files:	    runtime/autoload/ccomplete.vim
3086
3087Patch 7.0.003
3088Problem:    GUI: clicking in the lower part of a label in the tab pages line
3089	    while 'mousefocus' is set may warp the mouse pointer. (Robert
3090	    Webb)
3091Solution:   Check for a negative mouse position.
3092Files:	    src/gui.c
3093
3094Patch 7.0.004
3095Problem:    Compiler warning for debug_saved used before set. (Todd Blumer)
3096Solution:   Remove the "else" for calling save_dbg_stuff().
3097Files:	    src/ex_docmd.c
3098
3099Patch 7.0.005 (extra)
3100Problem:    Win32: The installer doesn't remove the "autoload" and "spell"
3101	    directories. (David Fishburn)
3102Solution:   Add the directories to the list to be removed.
3103Files:	    nsis/gvim.nsi
3104
3105Patch 7.0.006
3106Problem:    Mac: "make shadow" doesn't make a link for infplist.xml. (Axel
3107	    Kielhorn)
3108Solution:   Make the link.
3109Files:	    src/Makefile
3110
3111Patch 7.0.007
3112Problem:    AIX: compiling fails for message.c. (Ruediger Hornig)
3113Solution:   Move the #if outside of memchr().
3114Files:	    src/message.c
3115
3116Patch 7.0.008
3117Problem:    Can't call a function that uses both <SID> and {expr}. (Thomas)
3118Solution:   Check both the expanded and unexpanded name for <SID>.
3119Files:	    src/eval.c
3120
3121Patch 7.0.009
3122Problem:    ml_get errors with both 'sidescroll' and 'spell' set.
3123Solution:   Use ml_get_buf() instead of ml_get(), get the line from the right
3124	    buffer, not the current one.
3125Files:	    src/spell.c
3126
3127Patch 7.0.010
3128Problem:    The spellfile plugin required typing login name and password.
3129Solution:   Use "anonymous" and "vim7user" by default.  No need to setup a
3130	    .netrc file.
3131Files:	    runtime/autoload/spellfile.vim
3132
3133Patch 7.0.011
3134Problem:    Can't compile without the folding and with the eval feature.
3135Solution:   Add an #ifdef. (Vallimar)
3136Files:	    src/option.c
3137
3138Patch 7.0.012
3139Problem:    Using the matchparen plugin, moving the cursor in Insert mode to a
3140	    shorter line that ends in a brace, changes the preferred column
3141Solution:   Use winsaveview()/winrestview() instead of getpos()/setpos().
3142Files:	    runtime/plugin/matchparen.vim
3143
3144Patch 7.0.013
3145Problem:    Insert mode completion: using CTRL-L to add an extra character
3146	    also deselects the current match, making it impossible to use
3147	    CTRL-L a second time.
3148Solution:   Keep the current match.  Also make CTRL-L work at the original
3149	    text, using the first displayed match.
3150Files:	    src/edit.c
3151
3152Patch 7.0.014
3153Problem:    Compiling gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3154Solution:   Disable some code for Motif 1.2 and older.
3155Files:	    src/gui_xmebw.c
3156
3157Patch 7.0.015
3158Problem:    Athena: compilation problems with modern compiler.
3159Solution:   Avoid type casts for lvalue. (Alexey Froloff)
3160Files:	    src/gui_at_fs.c
3161
3162Patch 7.0.016
3163Problem:    Printing doesn't work for "dec-mcs" encoding.
3164Solution:   Add "dec-mcs", "mac-roman" and "hp-roman8" to the list of
3165	    recognized 8-bit encodings. (Mike Williams)
3166Files:	    src/mbyte.c
3167
3168Patch 7.0.017 (after 7.0.014)
3169Problem:    Linking gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
3170Solution:   Adjust defines for Motif 1.2 and older.
3171Files:	    src/gui_xmebw.c
3172
3173Patch 7.0.018
3174Problem:    VMS: plugins are not loaded on startup.
3175Solution:   Remove "**" from the path. (Zoltan Arpadffy)
3176Files:	    src/main.c
3177
3178Patch 7.0.019
3179Problem:    Repeating "VjA789" may cause a crash. (James Vega)
3180Solution:   Check the cursor column after moving it to another line.
3181Files:	    src/ops.c
3182
3183Patch 7.0.020
3184Problem:    Crash when using 'mousefocus'. (William Fulton)
3185Solution:   Make buffer for mouse coordinates 2 bytes longer. (Juergen Weigert)
3186Files:	    src/gui.c
3187
3188Patch 7.0.021
3189Problem:    Crash when using "\\[" and "\\]" in 'errorformat'. (Marc Weber)
3190Solution:   Check for valid submatches after matching the pattern.
3191Files:	    src/quickfix.c
3192
3193Patch 7.0.022
3194Problem:    Using buffer.append() in Ruby may append the line to the wrong
3195	    buffer. (Alex Norman)
3196Solution:   Properly switch to the buffer to do the appending.  Also for
3197	    buffer.delete() and setting a buffer line.
3198Files:	    src/if_ruby.c
3199
3200Patch 7.0.023
3201Problem:    Crash when doing spell completion in an empty line and pressing
3202	    CTRL-E.
3203Solution:   Check for a zero pointer. (James Vega)
3204	    Also handle a situation without a matching pattern better, report
3205	    "No matches" instead of remaining in undefined CTRL-X mode.  And
3206	    get out of CTRL-X mode when typing a letter.
3207Files:	    src/edit.c
3208
3209Patch 7.0.024
3210Problem:    It is possible to set arbitrary "v:" variables.
3211Solution:   Disallow setting "v:" variables that are not predefined.
3212Files:	    src/eval.c
3213
3214Patch 7.0.025
3215Problem:    Crash when removing an element of a:000.  (Nikolai Weibull)
3216Solution:   Mark the a:000 list with VAR_FIXED.
3217Files:	    src/eval.c
3218
3219Patch 7.0.026
3220Problem:    Using libcall() may show an old error.
3221Solution:   Invoke dlerror() to clear a previous error. (Yukihiro Nakadaira)
3222Files:	    src/os_unix.c
3223
3224Patch 7.0.027 (extra)
3225Problem:    Win32: When compiled with SNIFF gvim may hang on exit.
3226Solution:   Translate and dispatch the WM_USER message. (Mathias Michaelis)
3227Files:	    src/gui_w48.c
3228
3229Patch 7.0.028 (extra)
3230Problem:    OS/2: Vim doesn't compile with gcc 3.2.1.
3231Solution:   Add argument to after_pathsep(), don't define vim_handle_signal(),
3232	    define HAVE_STDARG_H. (David Sanders)
3233Files:	    src/os_unix.c, src/vim.h, src/os_os2_cfg.h
3234
3235Patch 7.0.029
3236Problem:    getchar() may not position the cursor after a space.
3237Solution:   Position the cursor explicitly.
3238Files:	    src/eval.c
3239
3240Patch 7.0.030
3241Problem:    The ":compiler" command can't be used in a FileChangedRO event.
3242	    (Hari Krishna Dara)
3243Solution:   Add the CMDWIN flag to the ":compiler" command.
3244Files:	    src/ex_cmds.h
3245
3246Patch 7.0.031
3247Problem:    When deleting a buffer the buffer-local mappings for Select mode
3248	    remain.
3249Solution:   Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner)
3250Files:	    src/vim.h
3251
3252Patch 7.0.032 (extra, after 7.0.027)
3253Problem:    Missing semicolon.
3254Solution:   Add the semicolon.
3255Files:	    src/gui_w48.c
3256
3257Patch 7.0.033
3258Problem:    When pasting text, with the menu or CTRL-V, autoindent is removed.
3259Solution:   Use "x<BS>" to avoid indent to be removed. (Benji Fisher)
3260Files:	    runtime/autoload/paste.vim
3261
3262Patch 7.0.034
3263Problem:    After doing completion and typing more characters or using BS
3264	    repeating with "." didn't work properly. (Martin Stubenschrott)
3265Solution:   Don't put BS and other characters in the redo buffer right away,
3266	    do this when finishing completion.
3267Files:	    src/edit.c
3268
3269Patch 7.0.035
3270Problem:    Insert mode completion works when typed but not when replayed from
3271	    a register. (Hari Krishna Dara)
3272	    Also: Mappings for Insert mode completion don't always work.
3273Solution:   When finding a non-completion key in the input don't interrupt
3274	    completion when it wasn't typed.
3275	    Do use mappings when checking for typeahead while still finding
3276	    completions.  Avoids that completion is interrupted too soon.
3277	    Use "compl_pending" in a different way.
3278Files:	    src/edit.c
3279
3280Patch 7.0.036
3281Problem:    Can't compile with small features and syntax highlighting or the
3282	    diff feature.
3283Solution:   Define LINE_ATTR whenever syntax highlighting or the diff feature
3284	    is enabled.
3285Files:	    src/screen.c
3286
3287Patch 7.0.037
3288Problem:    Crash when resizing the GUI window vertically when there is a line
3289	    that doesn't fit.
3290Solution:   Don't redraw while the screen data is invalid.
3291Files:	    src/screen.c
3292
3293Patch 7.0.038
3294Problem:    When calling complete() from an Insert mode expression mapping
3295	    text could be inserted in an improper way.
3296Solution:   Make undo_allowed() global and use it in complete().
3297Files:	    src/undo.c, src/proto/undo.pro, src/eval.c
3298
3299Patch 7.0.039
3300Problem:    Calling inputdialog() with a third argument in the console doesn't
3301	    work.
3302Solution:   Make a separate function for input() and inputdialog(). (Yegappan
3303	    Lakshmanan)
3304Files:	    src/eval.c
3305
3306Patch 7.0.040
3307Problem:    When 'cmdheight' is larger than 1 using inputlist() or selecting
3308	    a spell suggestion with the mouse gets the wrong entry.
3309Solution:   Start listing the first alternative on the last line of the screen.
3310Files:	    src/eval.c, src/spell.c
3311
3312Patch 7.0.041
3313Problem:    cursor([1, 1]) doesn't work. (Peter Hodge)
3314Solution:   Allow leaving out the third item of the list and use zero for the
3315	    virtual column offset.
3316Files:	    src/eval.c
3317
3318Patch 7.0.042
3319Problem:    When pasting a block of text in Insert mode Vim hangs or crashes.
3320	    (Noam Halevy)
3321Solution:   Avoid that the cursor is positioned past the NUL of a line.
3322Files:	    src/ops.c
3323
3324Patch 7.0.043
3325Problem:    Using "%!" at the start of 'statusline' doesn't work.
3326Solution:   Recognize the special item when the option is being set.
3327Files:	    src/option.c
3328
3329Patch 7.0.044
3330Problem:    Perl: setting a buffer line in another buffer may result in
3331	    changing the current buffer.
3332Solution:   Properly change to the buffer to be changed.
3333Files:	    src/if_perl.xs
3334
3335Patch 7.0.045 (extra)
3336Problem:    Win32: Warnings when compiling OLE version with MSVC 2005.
3337Solution:   Move including vim.h to before windows.h. (Ilya Bobir)
3338Files:	    src/if_ole.cpp
3339
3340Patch 7.0.046
3341Problem:    The matchparen plugin ignores parens in strings, but not in single
3342	    quotes, often marked with "character".
3343Solution:   Also ignore parens in syntax items matching "character".
3344Files:	    runtime/plugin/matchparen.vim
3345
3346Patch 7.0.047
3347Problem:    When running configure the exit status is wrong.
3348Solution:   Handle the exit status properly. (Matthew Woehlke)
3349Files:	    configure, src/configure
3350
3351Patch 7.0.048
3352Problem:    Writing a compressed file fails when there are parens in the name.
3353	    (Wang Jian)
3354Solution:   Put quotes around the temp file name.
3355Files:	    runtime/autoload/gzip.vim
3356
3357Patch 7.0.049
3358Problem:    Some TCL scripts are not recognized. (Steven Atkinson)
3359Solution:   Check for "exec wish" in the file.
3360Files:	    runtime/scripts.vim
3361
3362Patch 7.0.050
3363Problem:    After using the netbeans interface close command a stale pointer
3364	    may be used.
3365Solution:   Clear the pointer to the closed buffer. (Xaview de Gaye)
3366Files:	    src/netbeans.c
3367
3368Patch 7.0.051 (after 7.0.44)
3369Problem:    The Perl interface doesn't compile or doesn't work properly.
3370Solution:   Remove the spaces before #ifdef and avoid an empty line above it.
3371Files:	    src/if_perl.xs
3372
3373Patch 7.0.052
3374Problem:    The user may not be aware that the Vim server allows others more
3375	    functionality than desired.
3376Solution:   When running Vim as root don't become a Vim server without an
3377	    explicit --servername argument.
3378Files:	    src/main.c
3379
3380Patch 7.0.053
3381Problem:    Shortening a directory name may fail when there are multi-byte
3382	    characters.
3383Solution:   Copy the correct bytes. (Titov Anatoly)
3384Files:	    src/misc1.c
3385
3386Patch 7.0.054
3387Problem:    Mac: Using a menu name that only has a mnemonic or accelerator
3388	    causes a crash.  (Elliot Shank)
3389Solution:   Check for an empty menu name.  Also delete empty submenus that
3390	    were created before detecting the error.
3391Files:	    src/menu.c
3392
3393Patch 7.0.055
3394Problem:    ":startinsert" in a CmdwinEnter autocommand doesn't take immediate
3395	    effect. (Bradley White)
3396Solution:   Put a NOP key in the typeahead buffer.  Also avoid that using
3397	    CTRL-C to go back to the command line moves the cursor left.
3398Files:	    src/edit.c, src/ex_getln.c
3399
3400Patch 7.0.056
3401Problem:    "#!something" gives an error message.
3402Solution:   Ignore this line, so that it can be used in an executable Vim
3403	    script.
3404Files:	    src/ex_docmd.c
3405
3406Patch 7.0.057 (extra, after 7.0.45)
3407Problem:    Win32: Compilation problem with Borland C 5.5.
3408Solution:   Include vim.h as before. (Mark S. Williams)
3409Files:	    src/if_ole.cpp
3410
3411Patch 7.0.058
3412Problem:    The gbk and gb18030 encodings are not recognized.
3413Solution:   Add aliases to cp936. (Edward L. Fox)
3414Files:	    src/mbyte.c
3415
3416Patch 7.0.059
3417Problem:    The Perl interface doesn't compile with ActiveState Perl 5.8.8.
3418Solution:   Remove the __attribute__() items. (Liu Yubao)
3419Files:	    src/if_perl.xs
3420
3421Patch 7.0.060 (after 7.0.51)
3422Problem:    Code for temporarily switching to another buffer is duplicated in
3423	    quite a few places.
3424Solution:   Use aucmd_prepbuf() and aucmd_restbuf() also when FEAT_AUTOCMD is
3425	    not defined.
3426Files:	    src/buffer.c, src/eval.c, src/fileio.c, src/if_ruby.c,
3427	    src/if_perl.xs, src/quickfix.c, src/structs.h
3428
3429Patch 7.0.061
3430Problem:    Insert mode completion for Vim commands may crash if there is
3431	    nothing to complete.
3432Solution:   Instead of freeing the pattern make it empty, so that a "not
3433	    found" error is given. (Yukihiro Nakadaira)
3434Files:	    src/edit.c
3435
3436Patch 7.0.062
3437Problem:    Mac: Crash when using the popup menu for spell correction.  The
3438	    popup menu appears twice when letting go of the right mouse button
3439	    early.
3440Solution:   Don't show the popup menu on the release of the right mouse
3441	    button.  Also check that a menu pointer is actually valid.
3442Files:	    src/proto/menu.pro, src/menu.c, src/normal.c, src/term.c
3443
3444Patch 7.0.063
3445Problem:    Tiny chance for a memory leak. (coverity)
3446Solution:   Free pointer when next memory allocation fails.
3447Files:	    src/eval.c
3448
3449Patch 7.0.064
3450Problem:    Using uninitialized variable. (Tony Mechelynck)
3451Solution:   When not used set "temp" to zero.  Also avoid a warning for
3452	    "files" in ins_compl_dictionaries().
3453Files:	    src/edit.c
3454
3455Patch 7.0.065 (extra)
3456Problem:    Mac: left-right movement of the scrollwheel causes up-down
3457	    scrolling.
3458Solution:   Ignore mouse wheel events that are not up-down. (Nicolas Weber)
3459Files:	    src/gui_mac.c
3460
3461Patch 7.0.066
3462Problem:    After the popup menu for Insert mode completion overlaps the tab
3463	    pages line it is not completely removed.
3464Solution:   Redraw the tab pages line after removing the popup menu. (Ori
3465	    Avtalion)
3466Files:	    src/popupmnu.c
3467
3468Patch 7.0.067
3469Problem:    Undo doesn't always work properly when using "scim" input method.
3470	    Undo is split up when using preediting.
3471Solution:   Reset xim_has_preediting also when preedit_start_col is not
3472	    MAXCOL.  Don't split undo when <Left> is used while preediting.
3473	    (Yukihiro Nakadaira)
3474Files:	    src/edit.c, src/mbyte.c
3475
3476Patch 7.0.068
3477Problem:    When 'ignorecase' is set and using Insert mode completion,
3478	    typing characters to change the list of matches, case is not
3479	    ignored. (Hugo Ahlenius)
3480Solution:   Store the 'ignorecase' flag with the matches where needed.
3481Files:	    src/edit.c, src/search.c, src/spell.c
3482
3483Patch 7.0.069
3484Problem:    Setting 'guitablabel' to %!expand(\%)  causes Vim to free an
3485	    invalid pointer. (Kim Schulz)
3486Solution:   Don't try freeing a constant string pointer.
3487Files:	    src/buffer.c
3488
3489Patch 7.0.070
3490Problem:    Compiler warnings for shadowed variables and uninitialized
3491	    variables.
3492Solution:   Rename variables such as "index", "msg" and "dup".  Initialize
3493	    variables.
3494Files:	    src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c,
3495	    src/ex_docmd.c, src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c,
3496	    src/hardcopy.c, src/if_cscope.c, src/main.c, src/mbyte.c,
3497	    src/memline.c, src/netbeans.c, src/normal.c, src/option.c,
3498	    src/os_unix.c, src/quickfix.c, src/regexp.c, src/screen.c,
3499	    src/search.c, src/spell.c, src/ui.c, src/undo.c, src/window.c,
3500	    src/version.c
3501
3502Patch 7.0.071
3503Problem:    Using an empty search pattern may cause a crash.
3504Solution:   Avoid using a NULL pointer.
3505Files:	    src/search.c
3506
3507Patch 7.0.072
3508Problem:    When starting the GUI fails there is no way to adjust settings or
3509	    do something else.
3510Solution:   Add the GUIFailed autocommand event.
3511Files:	    src/fileio.c, src/gui.c, src/vim.h
3512
3513Patch 7.0.073
3514Problem:    Insert mode completion: Typing <CR> sometimes selects the original
3515	    text instead of keeping what was typed.  (Justin Constantino)
3516Solution:   Don't let <CR> select the original text if there is no popup menu.
3517Files:	    src/edit.c
3518
3519Patch 7.0.074 (extra)
3520Problem:    Win32: tooltips were not converted from 'encoding' to Unicode.
3521Solution:   Set the tooltip to use Unicode and do the conversion.  Also
3522	    cleanup the code for the tab pages tooltips. (Yukihiro Nakadaira)
3523Files:	    src/gui_w32.c, src/gui_w48.c
3524
3525Patch 7.0.075
3526Problem:    winsaveview() did not store the actual value of the desired cursor
3527	    column.  This could move the cursor in the matchparen plugin.
3528Solution:   Call update_curswant() before using the value w_curswant.
3529Files:	    src/eval.c
3530
3531Patch 7.0.076 (after 7.0.010)
3532Problem:    Automatic downloading of spell files only works for ftp.
3533Solution:   Don't add login and password for non-ftp URLs. (Alexander Patrakov)
3534Files:	    runtime/autoload/spellfile.vim
3535
3536Patch 7.0.077
3537Problem:    ":unlet v:this_session" causes a crash. (Marius Roets)
3538Solution:   When trying to unlet a fixed variable give an error message.
3539Files:	    src/eval.c
3540
3541Patch 7.0.078
3542Problem:    There are two error messages E46.
3543Solution:   Change the number for the sandbox message to E794.
3544Files:	    src/globals.h
3545
3546Patch 7.0.079
3547Problem:    Russian tutor doesn't work when 'encoding' is "utf-8".
3548Solution:   Use tutor.ru.utf-8 as the master, and generate the other encodings
3549	    from it.  Select the right tutor depending on 'encoding'. (Alexey
3550	    Froloff)
3551Files:	    runtime/tutor/Makefile, runtime/tutor/tutor.vim,
3552	    runtime/tutor/tutor.ru.utf-8
3553
3554Patch 7.0.080
3555Problem:    Generating auto/pathdef.c fails for CFLAGS with a backslash.
3556Solution:   Double backslashes in the string. (Alexey Froloff)
3557Files:	    src/Makefile
3558
3559Patch 7.0.081
3560Problem:    Command line completion doesn't work for a shell command with an
3561	    absolute path.
3562Solution:   Don't use $PATH when there is an absolute path.
3563Files:	    src/ex_getln.c
3564
3565Patch 7.0.082
3566Problem:    Calling a function that waits for input may cause List and
3567	    Dictionary arguments to be freed by the garbage collector.
3568Solution:   Keep a list of all arguments to internal functions.
3569Files:	    src/eval.c
3570
3571Patch 7.0.083
3572Problem:    Clicking with the mouse on an item for inputlist() doesn't work
3573	    when 'compatible' is set and/or when 'cmdheight' is more than one.
3574	    (Christian J.  Robinson)
3575Solution:   Also decrement "lines_left" when 'more' isn't set.  Set
3576	    "cmdline_row" to zero to get all mouse events.
3577Files:	    src/message.c, src/misc1.c
3578
3579Patch 7.0.084
3580Problem:    The garbage collector may do its work while some Lists or
3581	    Dictionaries are used internally, e.g., by ":echo" that runs into
3582	    the more-prompt or ":echo [garbagecollect()]".
3583Solution:   Only do garbage collection when waiting for a character at the
3584	    toplevel.  Let garbagecollect() set a flag that is handled at the
3585	    toplevel before waiting for a character.
3586Files:	    src/eval.c, src/getchar.c, src/globals.h, src/main.c
3587
3588Patch 7.0.085
3589Problem:    When doing "make test" the viminfo file is modified.
3590Solution:   Use another viminfo file after setting 'compatible.
3591Files:	    src/testdir/test56.in
3592
3593Patch 7.0.086
3594Problem:    getqflist() returns entries for pattern and text with the number
3595	    zero.  Passing these to setqflist() results in the string "0".
3596Solution:   Use an empty string instead of the number zero.
3597Files:	    src/quickfix.c
3598
3599Patch 7.0.087
3600Problem:    After ":file fname" and ":saveas fname" the 'autochdir' option
3601	    does not take effect. (Yakov Lerner)
3602	    Commands for handling 'autochdir' are repeated many times.
3603Solution:   Add the DO_AUTOCHDIR macro and do_autochdir().  Use it for
3604	    ":file fname" and ":saveas fname".
3605Files:	    src/proto/buffer.pro, src/buffer.c, src/ex_cmds.c, src/macros.h,
3606	    src/netbeans.c, src/option.c, src/window.c
3607
3608Patch 7.0.088
3609Problem:    When compiled with Perl the generated prototypes have "extern"
3610	    unnecessarily added.
3611Solution:   Remove the "-pipe" argument from PERL_CFLAGS.
3612Files:	    src/auto/configure, src/configure.in
3613
3614Patch 7.0.089
3615Problem:    "ga" does not work properly for a non-Unicode multi-byte encoding.
3616Solution:   Only check for composing chars for utf-8. (Taro Muraoka)
3617Files:	    src/ex_cmds.c
3618
3619Patch 7.0.090
3620Problem:    Cancelling the conform() dialog on the console with Esc requires
3621	    typing it twice. (Benji Fisher)
3622Solution:   When the start of an escape sequence is found use 'timeoutlen' or
3623	    'ttimeoutlen'.
3624Files:	    src/misc1.c
3625
3626Patch 7.0.091
3627Problem:    Using winrestview() while 'showcmd' is set causes the cursor to be
3628	    displayed in the wrong position. (Yakov Lerner)
3629Solution:   Set the window topline properly.
3630Files:	    src/eval.c
3631
3632Patch 7.0.092 (after 7.0.082 and 7.0.084)
3633Problem:    The list of internal function arguments is obsolete now that
3634	    garbage collection is only done at the toplevel.
3635Solution:   Remove the list of all arguments to internal functions.
3636Files:	    src/eval.c
3637
3638Patch 7.0.093
3639Problem:    The matchparen plugin can't handle a 'matchpairs' value where a
3640	    colon is matched.
3641Solution:   Change the split() that is used to change 'matchpairs' into a
3642	    List.
3643Files:	    runtime/plugin/matchparen.vim
3644
3645Patch 7.0.094
3646Problem:    When a hidden buffer is made the current buffer and another file
3647	    edited later, the file message will still be given.  Using
3648	    ":silent" also doesn't prevent the file message. (Marvin Renich)
3649Solution:   Reset the need_fileinfo flag when reading a file.  Don't set
3650	    need_fileinfo when msg_silent is set.
3651Files:	    src/buffer.c, src/fileio.c
3652
3653Patch 7.0.095
3654Problem:    The Greek tutor is not available in utf-8.  "el" is used for the
3655	    language, only "gr" for the country is recognized.
3656Solution:   Add the utf-8 Greek tutor.  Use it for conversion to iso-8859-7
3657	    and cp737.  (Lefteris Dimitroulakis)
3658Files:	    runtime/tutor/Makefile, runtime/tutor/tutor.gr.utf-8,
3659	    runtime/tutor/tutor.vim
3660
3661Patch 7.0.096
3662Problem:    taglist() returns the filename relative to the tags file, while
3663	    the directory of the tags file is unknown. (Hari Krishna Dara)
3664Solution:   Expand the file name. (Yegappan Lakshmanan)
3665Files:	    src/tag.c
3666
3667Patch 7.0.097
3668Problem:    ":tabclose N" that closes another tab page does not remove the tab
3669	    pages line.  Same problem when using the mouse.
3670Solution:   Adjust the tab pages line when needed in tabpage_close_other().
3671Files:	    src/ex_docmd.c
3672
3673Patch 7.0.098
3674Problem:    Redirecting command output in a cmdline completion function
3675	    doesn't work. (Hari Krishna Dara)
3676Solution:   Enable redirection when redirection is started.
3677Files:	    src/ex_docmd.c, src/ex_getln.c
3678
3679Patch 7.0.099
3680Problem:    GUI: When the popup menu is visible using the scrollbar messes up
3681	    the display.
3682Solution:   Disallow scrolling the current window.  Redraw the popup menu
3683	    after scrolling another window.
3684Files:	    src/gui.c
3685
3686Patch 7.0.100
3687Problem:    "zug" may report the wrong filename. (Lawrence Kesteloot)
3688Solution:   Call home_replace() to fill NameBuff[].
3689Files:	    src/spell.c
3690
3691Patch 7.0.101
3692Problem:    When the "~/.vim/spell" directory does not exist "zg" may create
3693	    a wrong directory.  "zw" doesn't work.
3694Solution:   Use the directory of the file name instead of NameBuff.  For "zw"
3695	    not only remove a good word but also add the word with "!".
3696Files:	    src/spell.c
3697
3698Patch 7.0.102
3699Problem:    Redrawing cmdline is not correct when using SCIM.
3700Solution:   Don't call im_get_status(). (Yukihiro Nakadaira)
3701Files:	    src/ex_getln.c
3702
3703Patch 7.0.103 (after 7.0.101)
3704Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
3705Solution:   Init variable.
3706Files:	    src/spell.c
3707
3708Patch 7.0.104
3709Problem:    The CursorHoldI event only triggers once in Insert mode.  It also
3710	    triggers after CTRL-V and other two-key commands.
3711Solution:   Set "did_cursorhold" before getting a second key.  Reset
3712	    "did_cursorhold" after handling a command.
3713Files:	    src/edit.c, src/fileio.c
3714
3715Patch 7.0.105
3716Problem:    When using incremental search the statusline ruler isn't updated.
3717	    (Christoph Koegl)
3718Solution:   Update the statusline when it contains the ruler.
3719Files:	    src/ex_getln.c
3720
3721Patch 7.0.106
3722Problem:    The spell popup menu uses ":amenu", triggering mappings.  Other
3723	    PopupMenu autocommands are removed. (John Little)
3724Solution:   Use ":anoremenu" and use an autocmd group.
3725Files:	    runtime/menu.vim
3726
3727Patch 7.0.107
3728Problem:    Incremental search doesn't redraw the text tabline. (Ilya Bobir)
3729	    Also happens in other situations with one window in a tab page.
3730Solution:   Redraw the tabline after clearing the screen.
3731Files:	    src/screen.c
3732
3733Patch 7.0.108 (extra)
3734Problem:    Amiga: Compilation problem.
3735Solution:   Have mch_mkdir() return a failure flag. (Willy Catteau)
3736Files:	    src/os_amiga.c, src/proto/os_amiga.pro
3737
3738Patch 7.0.109
3739Problem:    Lisp indenting is confused by escaped quotes in strings. (Dorai
3740	    Sitaram)
3741Solution:   Check for backslash inside strings. (Sergey Khorev)
3742Files:	    src/misc1.c
3743
3744Patch 7.0.110
3745Problem:    Amiga: Compilation problems when not using libnix.
3746Solution:   Change a few #ifdefs. (Willy Catteau)
3747Files:	    src/memfile.c
3748
3749Patch 7.0.111
3750Problem:    The gzip plugin can't handle filenames with single quotes.
3751Solution:   Add and use the shellescape() function. (partly by Alexey Froloff)
3752Files:	    runtime/autoload/gzip.vim, runtime/doc/eval.txt, src/eval.c,
3753	    src/mbyte.c, src/misc2.c, src/proto/misc2.pro
3754
3755Patch 7.0.112
3756Problem:    Python interface does not work with Python 2.5.
3757Solution:   Change PyMem_DEL() to Py_DECREF(). (Sumner Hayes)
3758Files:	    src/if_python.c
3759
3760Patch 7.0.113
3761Problem:    Using CTRL-L in Insert completion when there is no current match
3762	    may cause a crash. (Yukihiro Nakadaira)
3763Solution:   Check for compl_leader to be NULL
3764Files:	    src/edit.c
3765
3766Patch 7.0.114
3767Problem:    When aborting an insert with CTRL-C an extra undo point is
3768	    created in the GUI. (Yukihiro Nakadaira)
3769Solution:   Call gotchars() only when advancing.
3770Files:	    src/getchar.c
3771
3772Patch 7.0.115
3773Problem:    When 'ignorecase' is set, Insert mode completion only adds "foo"
3774	    and not "Foo" when both are found.
3775	    A found match isn't displayed right away when 'completeopt' does
3776	    not have "menu" or "menuone".
3777Solution:   Do not ignore case when checking if a completion match already
3778	    exists.  call ins_compl_check_keys() also when not using a popup
3779	    menu. (Yukihiro Nakadaira)
3780Files:	    src/edit.c
3781
3782Patch 7.0.116
3783Problem:    64 bit Windows version reports "32 bit" in the ":version" output.
3784	    (M. Veerman)
3785Solution:   Change the text for Win64.
3786Files:	    src/version.c
3787
3788Patch 7.0.117
3789Problem:    Using "extend" on a syntax item inside a region with "keepend", an
3790	    intermediate item may be truncated.
3791	    When applying the "keepend" and there is an offset to the end
3792	    pattern the highlighting of a contained item isn't adjusted.
3793Solution:   Use the seen_keepend flag to remember when to apply the "keepend"
3794	    flag.  Adjust the keepend highlighting properly. (Ilya Bobir)
3795Files:	    src/syntax.c
3796
3797Patch 7.0.118
3798Problem:    printf() does not do zero padding for strings.
3799Solution:   Do allow zero padding for strings.
3800Files:	    src/message.c
3801
3802Patch 7.0.119
3803Problem:    When going back from Insert to Normal mode the CursorHold event
3804	    doesn't trigger. (Yakov Lerner)
3805Solution:   Reset "did_cursorhold" when leaving Insert mode.
3806Files:	    src/edit.c
3807
3808Patch 7.0.120
3809Problem:    Crash when using CTRL-R = at the command line and entering
3810	    "getreg('=')". (James Vega)
3811Solution:   Avoid recursiveness of evaluating the = register.
3812Files:	    src/ops.c
3813
3814Patch 7.0.121
3815Problem:    GUI: Dragging the last status line doesn't work when there is a
3816	    text tabline.  (Markus Wolf)
3817Solution:   Take the text tabline into account when deciding to start modeless
3818	    selection.
3819Files:	    src/gui.c
3820
3821Patch 7.0.122
3822Problem:    GUI: When clearing after a bold, double-wide character half a
3823	    character may be drawn.
3824Solution:   Check for double-wide character and redraw it. (Yukihiro Nakadaira)
3825Files:	    src/screen.c
3826
3827Patch 7.0.123
3828Problem:    On SCO Openserver configure selects the wrong terminal library.
3829Solution:   Put terminfo before the other libraries. (Roger Cornelius)
3830	    Also fix a small problem compiling on Mac without Darwin.
3831Files:	    src/configure.in, src/auto/configure
3832
3833Patch 7.0.124
3834Problem:    getwinvar() obtains a dictionary with window-local variables, but
3835	    it's always for the current window.
3836Solution:   Get the variables of the specified window. (Geoff Reedy)
3837Files:	    src/eval.c
3838
3839Patch 7.0.125
3840Problem:    When "autoselect" is in the 'clipboard' option then the '< and '>
3841	    marks are set while Visual mode is still active.
3842Solution:   Don't set the '< and '> marks when yanking the selected area for
3843	    the clipboard.
3844Files:	    src/normal.c
3845
3846Patch 7.0.126
3847Problem:    When 'formatexpr' uses setline() and later internal formatting is
3848	    used undo information is not correct. (Jiri Cerny, Benji Fisher)
3849Solution:   Set ins_need_undo after using 'formatexpr'.
3850Files:	    src/edit.c
3851
3852Patch 7.0.127
3853Problem:    Crash when swap files has invalid timestamp.
3854Solution:   Check return value of ctime() for being NULL.
3855Files:	    src/memline.c
3856
3857Patch 7.0.128
3858Problem:    GUI: when closing gvim is cancelled because there is a changed
3859	    buffer the screen isn't updated to show the changed buffer in the
3860	    current window.  (Krzysztof Kacprzak)
3861Solution:   Redraw when closing gvim is cancelled.
3862Files:	    src/gui.c
3863
3864Patch 7.0.129
3865Problem:    GTK GUI: the GTK file dialog can't handle a relative path.
3866Solution:   Make the initial directory a full path before passing it to GTK.
3867	    (James Vega)  Also postpone adding the default file name until
3868	    after setting the directory.
3869Files:	    src/gui_gtk.c
3870
3871Patch 7.0.130 (extra)
3872Problem:    Win32: Trying to edit or write devices may cause Vim to get stuck.
3873Solution:   Add the 'opendevice' option, default off.  Disallow
3874	    reading/writing from/to devices when it's off.
3875	    Also detect more devices by the full name starting with "\\.\".
3876Files:	    runtime/doc/options.txt, src/fileio.c, src/option.c, src/option.h,
3877	    src/os_win32.c
3878
3879Patch 7.0.131
3880Problem:    Win32: "vim -r" does not list all the swap files.
3881Solution:   Also check for swap files starting with a dot.
3882Files:	    src/memline.c
3883
3884Patch 7.0.132 (after 7.0.130)
3885Problem:    Win32: Crash when Vim reads from stdin.
3886Solution:   Only use mch_nodetype() when there is a file name.
3887Files:	    src/fileio.c
3888
3889Patch 7.0.133
3890Problem:    When searching included files messages are added to the history.
3891Solution:   Set msg_hist_off for messages about scanning included files.
3892            Set msg_silent to avoid message about wrapping around.
3893Files:	    src/edit.c, src/globals.h, src/message.c, src/search.c
3894
3895Patch 7.0.134
3896Problem:    Crash when comparing a recursively looped List or Dictionary.
3897Solution:   Limit recursiveness for comparing to 1000.
3898Files:	    src/eval.c
3899
3900Patch 7.0.135
3901Problem:    Crash when garbage collecting list or dict with loop.
3902Solution:   Don't use DEL_REFCOUNT but don't recurse into Lists and
3903	    Dictionaries when freeing them in the garbage collector.
3904	    Also add allocated Dictionaries to the list of Dictionaries to
3905	    avoid leaking memory.
3906Files:	    src/eval.c, src/proto/eval.pro, src/tag.c
3907
3908Patch 7.0.136
3909Problem:    Using "O" while matching parens are highlighted may not remove the
3910	    highlighting. (Ilya Bobir)
3911Solution:   Also trigger CursorMoved when a line is inserted under the cursor.
3912Files:	    src/misc1.c
3913
3914Patch 7.0.137
3915Problem:    Configure check for big features is wrong.
3916Solution:   Change "==" to "=". (Martti Kuparinen)
3917Files:	    src/auto/configure, src/configure.in
3918
3919Patch 7.0.138 (extra)
3920Problem:    Mac: modifiers don't work with function keys.
3921Solution:   Use GetEventParameter() to obtain modifiers. (Nicolas Weber)
3922Files:	    src/gui_mac.c
3923
3924Patch 7.0.139
3925Problem:    Using CTRL-PageUp or CTRL-PageDown in Insert mode to go to another
3926	    tab page does not prepare for undo properly. (Stefano Zacchiroli)
3927Solution:   Call start_arrow() before switching tab page.
3928Files:	    src/edit.c
3929
3930Patch 7.0.140 (after 7.0.134)
3931Problem:    Comparing recursively looped List or Dictionary doesn't work well.
3932Solution:   Detect comparing a List or Dictionary with itself.
3933Files:	    src/eval.c
3934
3935Patch 7.0.141
3936Problem:    When pasting a while line on the command line an extra CR is added
3937	    literally.
3938Solution:   Don't add the trailing CR when pasting with the mouse.
3939Files:	    src/ex_getln.c, src/proto/ops.pro, src/ops.c
3940
3941Patch 7.0.142
3942Problem:    Using the middle mouse button in Select mode to paste text results
3943	    in an extra "y". (Kriton Kyrimis)
3944Solution:   Let the middle mouse button replace the selected text with the
3945	    contents of the clipboard.
3946Files:	    src/normal.c
3947
3948Patch 7.0.143
3949Problem:    Setting 'scroll' to its default value was not handled correctly.
3950Solution:   Compare the right field to PV_SCROLL.
3951Files:	    src/option.c
3952
3953Patch 7.0.144
3954Problem:    May compare two unrelated pointers when matching a pattern against
3955	    a string.  (Dominique Pelle)
3956Solution:   Avoid calling reg_getline() when REG_MULTI is false.
3957Files:	    src/regexp.c
3958
3959Patch 7.0.145 (after 7.0.142)
3960Problem:    Compiler warning.
3961Solution:   Add type cast.
3962Files:	    src/normal.c
3963
3964Patch 7.0.146
3965Problem:    When 'switchbuf' is set to "usetab" and the current tab has only a
3966	    quickfix window, jumping to an error always opens a new window.
3967	    Also, when the buffer is open in another tab page it's not found.
3968Solution:   Check for the "split" value of 'switchbuf' properly.  Search in
3969	    other tab pages for the desired buffer. (Yegappan Lakshmanan)
3970Files:	    src/buffer.c, src/quickfix.c
3971
3972Patch 7.0.147
3973Problem:    When creating a session file and there are several tab pages and
3974	    some windows have a local directory a short file name may be used
3975	    when it's not valid. (Marius Roets)
3976	    A session with multiple tab pages may result in "No Name" buffers.
3977	    (Bill McCarthy)
3978Solution:   Don't enter tab pages when going through the list, only use a
3979	    pointer to the first window in each tab page.
3980            Use "tabedit" instead of "tabnew | edit" when possible.
3981Files:	    src/ex_docmd.c
3982
3983Patch 7.0.148
3984Problem:    When doing "call a.xyz()" and "xyz" does not exist in dictionary
3985	    "a" there is no error message. (Yegappan Lakshmanan)
3986Solution:   Add the error message.
3987Files:	    src/eval.c
3988
3989Patch 7.0.149
3990Problem:    When resizing a window that shows "~" lines the text sometimes
3991	    jumps down.
3992Solution:   Remove code that uses "~" lines in some situations.  Fix the
3993            computation of the screen line of the cursor.  Also set w_skipcol
3994	    to handle very long lines.
3995Files:	    src/misc1.c, src/window.c
3996
3997Patch 7.0.150
3998Problem:    When resizing the Vim window scrollbinding doesn't work. (Yakov
3999	    Lerner)
4000Solution:   Do scrollbinding in set_shellsize().
4001Files:	    src/term.c
4002
4003Patch 7.0.151
4004Problem:    Buttons in file dialog are not according to Gnome guidelines.
4005Solution:   Swap Cancel and Open buttons. (Stefano Zacchiroli)
4006Files:	    src/gui_gtk.c
4007
4008Patch 7.0.152
4009Problem:    Crash when using lesstif 2.
4010Solution:   Fill in the extension field. (Ben Hutchings)
4011Files:	    src/gui_xmebw.c
4012
4013Patch 7.0.153
4014Problem:    When using cscope and opening the temp file fails Vim crashes.
4015	    (Kaya Bekiroglu)
4016Solution:   Check for NULL pointer returned from mch_open().
4017Files:	    src/if_cscope.c
4018
4019Patch 7.0.154
4020Problem:    When 'foldnextmax' is negative Vim can hang. (James Vega)
4021Solution:   Avoid the fold level becoming negative.
4022Files:	    src/fold.c, src/syntax.c
4023
4024Patch 7.0.155
4025Problem:    When getchar() returns a mouse button click there is no way to get
4026	    the mouse coordinates.
4027Solution:   Add v:mouse_win, v:mouse_lnum and v:mouse_col.
4028Files:	    runtime/doc/eval.txt, src/eval.c, src/vim.h
4029
4030Patch 7.0.156 (extra)
4031Problem:    Vim doesn't compile for Amiga OS 4.
4032Solution:   Various changes for Amiga OS4. (Peter Bengtsson)
4033Files:	    src/feature.h, src/mbyte.c, src/memfile.c, src/memline.c,
4034	    src/os_amiga.c, src/os_amiga.h, src/pty.c
4035
4036Patch 7.0.157
4037Problem:    When a function is used recursively the profiling information is
4038	    invalid. (Mikolaj Machowski)
4039Solution:   Put the start time on the stack instead of in the function.
4040Files:	    src/eval.c
4041
4042Patch 7.0.158
4043Problem:    In a C file with ":set foldmethod=syntax", typing {<CR> on the
4044	    last line results in the cursor being in a closed fold. (Gautam
4045	    Iyer)
4046Solution:   Open fold after inserting a new line.
4047Files:	    src/edit.c
4048
4049Patch 7.0.159
4050Problem:    When there is an I/O error in the swap file the cause of the error
4051	    cannot be seen.
4052Solution:   Use PERROR() instead of EMSG() where possible.
4053Files:	    src/memfile.c
4054
4055Patch 7.0.160
4056Problem:    ":@a" echoes the command, Vi doesn't do that.
4057Solution:   Set the silent flag in the typeahead buffer to avoid echoing the
4058	    command.
4059Files:	    src/ex_docmd.c, src/normal.c, src/ops.c, src/proto/ops.pro
4060
4061Patch 7.0.161
4062Problem:    Win32: Tab pages line popup menu isn't using the right encoding.
4063            (Yongwei Wu)
4064Solution:   Convert the text when necessary.  Also fixes the Find/Replace
4065	    dialog title. (Yegappan Lakshmanan)
4066Files:	    src/gui_w48.c
4067
4068Patch 7.0.162
4069Problem:    "vim -o a b" when file "a" triggers the ATTENTION dialog,
4070	    selecting "Quit" exits Vim instead of editing "b" only.
4071	    When file "b" triggers the ATTENTION dialog selecting "Quit" or
4072	    "Abort" results in editing file "a" in that window.
4073Solution:   When selecting "Abort" exit Vim.  When selecting "Quit" close the
4074	    window.  Also avoid hit-enter prompt when selecting Abort.
4075Files:	    src/buffer.c, src/main.c
4076
4077Patch 7.0.163
4078Problem:    Can't retrieve the position of a sign after it was set.
4079Solution:   Add the netbeans interface getAnno command. (Xavier de Gaye)
4080Files:	    runtime/doc/netbeans.txt, src/netbeans.c
4081
4082Patch 7.0.164
4083Problem:    ":redir @+" doesn't work.
4084Solution:   Accept "@+" just like "@*". (Yegappan Lakshmanan)
4085Files:	    src/ex_docmd.c
4086
4087Patch 7.0.165
4088Problem:    Using CTRL-L at the search prompt adds a "/" and other characters
4089	    without escaping, causing the pattern not to match.
4090Solution:   Escape special characters with a backslash.
4091Files:	    src/ex_getln.c
4092
4093Patch 7.0.166
4094Problem:    Crash in cscope code when connection could not be opened.
4095	    (Kaya Bekiroglu)
4096Solution:   Check for the file descriptor to be NULL.
4097Files:	    src/if_cscope.c
4098
4099Patch 7.0.167
4100Problem:    ":function" redefining a dict function doesn't work properly.
4101	    (Richard Emberson)
4102Solution:   Allow a function name to be a number when it's a function
4103	    reference.
4104Files:	    src/eval.c
4105
4106Patch 7.0.168
4107Problem:    Using uninitialized memory and memory leak. (Dominique Pelle)
4108Solution:   Use alloc_clear() instead of alloc() for w_lines.  Free
4109	    b_ml.ml_stack after recovery.
4110Files:	    src/memline.c, src/window.c
4111
4112Patch 7.0.169
4113Problem:    With a Visual block selection, with the cursor in the left upper
4114	    corner, pressing "I" doesn't remove the highlighting. (Guopeng
4115	    Wen)
4116Solution:   When checking if redrawing is needed also check if Visual
4117	    selection is still active.
4118Files:	    src/screen.c
4119
4120Patch 7.0.170 (extra)
4121Problem:    Win32: Using "gvim --remote-tab foo" when gvim is minimized while
4122	    it previously was maximized, un-maximizing doesn't work properly.
4123	    And the labels are not displayed properly when 'encoding' is
4124	    utf-8.
4125Solution:   When minimized check for SW_SHOWMINIMIZED.  When updating the tab
4126	    pages line use TCM_SETITEMW instead of TCM_INSERTITEMW. (Liu
4127	    Yubao)
4128Files:	    src/gui_w48.c
4129
4130Patch 7.0.171 (extra)
4131Problem:    VMS: A file name with multiple paths is written in the wrong file.
4132Solution:   Get the actually used file name. (Zoltan Arpadffy)
4133	    Also add info to the :version command about compilation.
4134Files:	    src/Make_vms.mms, src/buffer.c, src/os_unix.c, src/version.c
4135
4136Patch 7.0.172
4137Problem:    Crash when recovering and quitting at the "press-enter" prompt.
4138Solution:   Check for "msg_list" to be NULL. (Liu Yubao)
4139Files:	    src/ex_eval.c
4140
4141Patch 7.0.173
4142Problem:    ":call f().TT()" doesn't work.  (Richard Emberson)
4143Solution:   When a function returns a Dictionary or another composite continue
4144	    evaluating what follows.
4145Files:	    src/eval.c    
4146
4147Patch 7.0.174
4148Problem:    ":mksession" doesn't restore window layout correctly in tab pages
4149	    other than the current one. (Zhibin He)
4150Solution:   Use the correct topframe for producing the window layout commands.
4151Files:	    src/ex_docmd.c
4152
4153Patch 7.0.175
4154Problem:    The result of tr() is missing the terminating NUL. (Ingo Karkat)
4155Solution:   Add the NUL.
4156Files:	    src/eval.c
4157
4158Patch 7.0.176
4159Problem:    ":emenu" isn't executed directly, causing the encryption key
4160	    prompt to fail. (Life Jazzer)
4161Solution:   Fix wrong #ifdef.
4162Files:	    src/menu.c
4163
4164Patch 7.0.177
4165Problem:    When the press-enter prompt gets a character from a non-remappable
4166	    mapping, it's put back in the typeahead buffer as remappable,
4167	    which may cause an endless loop.
4168Solution:   Restore the non-remappable flag and the silent flag when putting a
4169	    char back in the typeahead buffer.
4170Files:	    src/getchar.c, src/message.c, src/normal.c
4171
4172Patch 7.0.178
4173Problem:    When 'enc' is "utf-8" and 'ignorecase' is set the result of ":echo
4174	    ("\xe4" == "\xe4")" varies.
4175Solution:   In mb_strnicmp() avoid looking past NUL bytes.
4176Files:	    src/mbyte.c
4177
4178Patch 7.0.179
4179Problem:    Using ":recover" or "vim -r" without a swapfile crashes Vim.
4180Solution:   Check for "buf" to be unequal NULL. (Yukihiro Nakadaira)
4181Files:	    src/memline.c
4182
4183Patch 7.0.180 (extra, after 7.0.171)
4184Problem:    VMS: build failed.  Problem with swapfiles.
4185Solution:   Add "compiled_arch".  Always expand path and pass it to
4186	    buf_modname().  (Zoltan Arpadffy)
4187Files:	    src/globals.h, src/memline.c, src/os_unix.c, runtime/menu.vim
4188
4189Patch 7.0.181
4190Problem:    When reloading a file that starts with an empty line, the reloaded
4191	    buffer has an extra empty line at the end. (Motty Lentzitzky)
4192Solution:   Delete all lines, don't use bufempty().
4193Files:	    src/fileio.c
4194
4195Patch 7.0.182
4196Problem:    When using a mix of undo and "g-" it may no longer be possible to
4197	    go to every point in the undo tree.  (Andy Wokula)
4198Solution:   Correctly update pointers in the undo tree.
4199Files:	    src/undo.c
4200
4201Patch 7.0.183
4202Problem:    Crash in ":let" when redirecting to a variable that's being
4203	    displayed. (Thomas Link)
4204Solution:   When redirecting to a variable only do the assignment when
4205	    stopping redirection to avoid that setting the variable causes a
4206	    freed string to be accessed.
4207Files:	    src/eval.c
4208
4209Patch 7.0.184
4210Problem:    When the cscope program is called "mlcscope" the Cscope interface
4211	    doesn't work.
4212Solution:   Accept "\S*cscope:" instead of "cscope:". (Frodak D. Baksik)
4213Files:	    src/if_cscope.c
4214
4215Patch 7.0.185
4216Problem:    Multi-byte characters in a message are displayed with attributes
4217	    from what comes before it.
4218Solution:   Don't use the attributes for a multi-byte character.  Do use
4219	    attributes for special characters. (Yukihiro Nakadaira)
4220Files:	    src/message.c
4221
4222Patch 7.0.186
4223Problem:    Get an ml_get error when 'encoding' is "utf-8" and searching for
4224	    "/\_s*/e" in an empty buffer.  (Andrew Maykov)
4225Solution:   Don't try getting the line just below the last line.
4226Files:	    src/search.c
4227
4228Patch 7.0.187
4229Problem:    Can't source a remote script properly.
4230Solution:   Add the SourceCmd event. (Charles Campbell)
4231Files:	    runtime/doc/autocmd.txt, src/ex_cmds2.c, src/fileio.c, src/vim.h
4232
4233Patch 7.0.188 (after 7.0.186)
4234Problem:    Warning for wrong pointer type.
4235Solution:   Add a type cast.
4236Files:	    src/search.c
4237
4238Patch 7.0.189
4239Problem:    Translated message about finding matches is truncated. (Yukihiro
4240	    Nakadaira)
4241Solution:   Enlarge the buffer.  Also use vim_snprintf().
4242Files:	    src/edit.c
4243
4244Patch 7.0.190
4245Problem:    "syntax spell default" results in an error message.
4246Solution:   Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado)
4247Files:	    src/syntax.c
4248
4249Patch 7.0.191
4250Problem:    The items used by getqflist() and setqflist() don't match.
4251Solution:   Support the "bufnum" item for setqflist(). (Yegappan Lakshmanan)
4252Files:	    runtime/doc/eval.txt, src/quickfix.c
4253
4254Patch 7.0.192
4255Problem:    When 'swapfile' is switched off in an empty file it is possible
4256	    that not all blocks are loaded into memory, causing ml_get errors
4257	    later.
4258Solution:   Rename "dont_release" to "mf_dont_release" and also use it to
4259	    avoid using the cached line and locked block. 
4260Files:	    src/globals.h, src/memfile.c, src/memline.c
4261
4262Patch 7.0.193
4263Problem:    Using --remote or --remote-tab with an argument that matches
4264	    'wildignore' causes a crash.
4265Solution:   Check the argument count before using ARGLIST[0].
4266Files:	    src/ex_cmds.c
4267
4268Patch 7.0.194
4269Problem:    Once an ml_get error is given redrawing part of the screen may
4270	    cause it again, resulting in an endless loop.
4271Solution:   Don't give the error message for a recursive call.
4272Files:	    src/memline.c
4273
4274Patch 7.0.195
4275Problem:    When a buffer is modified and 'autowriteall' is set, ":quit"
4276	    results in an endless loop when there is a conversion error while
4277	    writing. (Nikolai Weibull)
4278Solution:   Make autowrite() return FAIL if the buffer is still changed after
4279	    writing it.
4280	    /* put the cursor on the last char, for 'tw' formatting */
4281Files:	    src/ex_cmds2.c
4282
4283Patch 7.0.196
4284Problem:    When using ":vert ball" the computation of the mouse pointer
4285	    position may be off by one column. (Stefan Karlsson)
4286Solution:   Recompute the frame width when moving the vertical separator from
4287	    one window to another.
4288Files:	    src/window.c
4289
4290Patch 7.0.197 (extra)
4291Problem:    Win32: Compiling with EXITFREE doesn't work.
4292Solution:   Adjust a few #ifdefs. (Alexei Alexandrof)
4293Files:	    src/misc2.c, src/os_mswin.c
4294
4295Patch 7.0.198 (extra)
4296Problem:    Win32: Compiler warnings.  No need to generate gvim.exe.mnf.
4297Solution:   Add type casts.  Use "*" for processorArchitecture. (George Reilly)
4298Files:	    src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c
4299
4300Patch 7.0.199
4301Problem:    When using multi-byte characters the combination of completion and
4302	    formatting may result in a wrong cursor position.
4303Solution:   Don't decrement the cursor column, use dec_cursor(). (Yukihiro
4304	    Nakadaira)  Also check for the column to be zero.
4305Files:	    src/edit.c
4306
4307Patch 7.0.200
4308Problem:    Memory leaks when out of memory.
4309Solution:   Free the memory.
4310Files:	    src/edit.c, src/diff.c
4311
4312Patch 7.0.201
4313Problem:    Message for ":diffput" about buffer not being in diff mode may be
4314	    wrong.
4315Solution:   Check for buffer in diff mode but not modifiable.
4316Files:	    src/diff.c
4317
4318Patch 7.0.202
4319Problem:    Problems on Tandem systems while compiling and at runtime.
4320Solution:   Recognize root uid is 65535.  Check select() return value for it
4321	    not being supported.  Avoid wrong function prototypes.  Mention
4322	    use of -lfloss.  (Matthew Woehlke)
4323Files:	    src/Makefile, src/ex_cmds.c, src/fileio.c, src/main.c,
4324	    src/osdef1.h.in, src/osdef2.h.in, src/os_unix.c, src/pty.c,
4325	    src/vim.h
4326
4327Patch 7.0.203
4328Problem:    0x80 characters in a register are not handled correctly for the
4329	    "@" command.
4330Solution:   Escape CSI and 0x80 characters. (Yukihiro Nakadaira)
4331Files:	    src/ops.c
4332
4333Patch 7.0.204
4334Problem:    Cscope: Parsing matches for listing isn't done properly.
4335Solution:   Check for line number being found. (Yu Zhao)
4336Files:	    src/if_cscope.c
4337
4338Patch 7.0.205 (after 7.0.203)
4339Problem:    Can't compile.
4340Solution:   Always include the vim_strsave_escape_csi function.
4341Files:	    src/getchar.c
4342
4343Patch 7.0.206 (after 7.0.058)
4344Problem:    Some characters of the "gb18030" encoding are not handled
4345	    properly.
4346Solution:   Do not use "cp936" as an alias for "gb18030" encoding.  Instead
4347	    initialize 'encoding' to "cp936".
4348Files:	    src/mbyte.c, src/option.c
4349
4350Patch 7.0.207
4351Problem:    After patch 2.0.203 CSI and K_SPECIAL characters are escaped when
4352	    recorded and then again when the register is executed.
4353Solution:   Remove escaping before putting the recorded characters in a
4354	    register.  (Yukihiro Nakadaira)
4355Files:	    src/getchar.c, src/ops.c, src/proto/getchar.pro
4356
4357Patch 7.0.208 (after 7.0.171 and 7.0.180)
4358Problem:    VMS: changes to path handling cause more trouble than they solve.
4359Solution:   Revert changes.
4360Files:	    src/buffer.c, src/memline.c, src/os_unix.c
4361
4362Patch 7.0.209
4363Problem:    When replacing a line through Python the cursor may end up beyond
4364	    the end of the line.
4365Solution:   Check the cursor column after replacing the line.
4366Files:	    src/if_python.c
4367
4368Patch 7.0.210
4369Problem:    ":cbuffer" and ":lbuffer" always fail when the buffer is modified.
4370	    (Gary Johnson)
4371Solution:   Support adding a !. (Yegappan Lakshmanan)
4372Files:	    runtime/doc/quickfix.txt, src/ex_cmds.h
4373
4374Patch 7.0.211
4375Problem:    With ":set cindent noai bs=0" using CTRL-U in Insert mode will
4376	    delete auto-indent.  After ":set ai" it doesn't.
4377Solution:   Also check 'cindent' being set. (Ryan Lortie)
4378Files:	    src/edit.c
4379
4380Patch 7.0.212
4381Problem:    The GUI can't be terminated with SIGTERM. (Mark Logan)
4382Solution:   Use the signal protection in the GUI as in the console, allow
4383	    signals when waiting for 100 msec or longer.
4384Files:	    src/ui.c
4385
4386Patch 7.0.213
4387Problem:    When 'spellfile' has two regions that use the same sound folding
4388	    using "z=" will cause memory to be freed twice. (Mark Woodward)
4389Solution:   Clear the hashtable properly so that the items are only freed once.
4390Files:	    src/spell.c
4391
4392Patch 7.0.214
4393Problem:    When using <f-args> in a user command it's not possible to have an
4394	    argument end in '\ '.
4395Solution:   Change the handling of backslashes. (Yakov Lerner)
4396Files:	    runtime/doc/map.txt, src/ex_docmd.c
4397
4398Patch 7.0.215 (extra)
4399Problem:    Mac: Scrollbar size isn't set.  Context menu has disabled useless
4400	    Help entry.  Call to MoreMasterPointers() is ignored.
4401Solution:   Call SetControlViewSize() in gui_mch_set_scrollbar_thumb().  Use
4402	    kCMHelpItemRemoveHelp for ContextualMenuSelect().  Remove call to
4403	    MoreMasterPointers(). (Nicolas Weber)
4404Files:	    src/gui_mac.c
4405
4406Patch 7.0.216
4407Problem:    ":tab wincmd ]" does not open a tab page. (Tony Mechelynck)
4408Solution:   Copy the cmdmod.tab value to postponed_split_tab and use it.
4409Files:	    src/globals.h, src/ex_docmd.c, src/if_cscope.c, src/window.c
4410
4411Patch 7.0.217
4412Problem:    This hangs when pressing "n": ":%s/\n/,\r/gc". (Ori Avtalion)
4413Solution:   Set "skip_match" to advance to the next line.
4414Files:	    src/ex_cmds.c
4415
4416Patch 7.0.218
4417Problem:    "%B" in 'statusline' always shows zero in Insert mode. (DervishD)
4418Solution:   Remove the exception for Insert mode, check the column for being
4419	    valid instead.
4420Files:	    src/buffer.c
4421
4422Patch 7.0.219
4423Problem:    When using the 'editexisting.vim' script and a file is being
4424	    edited in another tab page the window is split.  The "+123"
4425	    argument is not used.
4426Solution:   Make the tab page with the file the current tab page.  Set
4427	    v:swapcommand when starting up to the first "+123" or "-c" command
4428	    line argument.
4429Files:	    runtime/macros/editexisting.vim, src/main.c
4430
4431Patch 7.0.220
4432Problem:    Crash when using winnr('#') in a new tab page. (Andy Wokula)
4433Solution:   Check for not finding the window.
4434Files:	    src/eval.c
4435
4436Patch 7.0.221
4437Problem:    finddir() uses 'path' by default, where "." means relative to the
4438	    current file.  But it works relative to the current directory.
4439	    (Tye Zdrojewski)
4440Solution:   Add the current buffer name to find_file_in_path_option() for the
4441	    relative file name.
4442Files:	    runtime/doc/eval.txt, src/eval.c
4443
4444Patch 7.0.222
4445Problem:    Perl indenting using 'cindent' works almost right.
4446Solution:   Recognize '#' to start a comment. (Alex Manoussakis)  Added '#'
4447	    flag in 'cinoptions'.
4448Files:	    runtime/doc/indent.txt, src/misc1.c
4449
4450Patch 7.0.223
4451Problem:    Unprintable characters in completion text mess up the popup menu.
4452	    (Gombault Damien)
4453Solution:   Use strtrans() to make the text printable.
4454Files:	    src/charset.c, src/popupmnu.c
4455
4456Patch 7.0.224
4457Problem:    When expanding "##" spaces are escaped twice.  (Pavol Juhas)
4458Solution:   Don't escape the spaces that separate arguments.
4459Files:	    src/eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro
4460
4461Patch 7.0.225
4462Problem:    When using setline() in an InsertEnter autocommand and doing "A"
4463	    the cursor ends up on the last byte in the line. (Yukihiro
4464	    Nakadaira)
4465Solution:   Only adjust the column when using setline() for the cursor line.
4466	    Move it back to the head byte if necessary.
4467Files:	    src/eval.c, src/misc2.c
4468
4469Patch 7.0.226
4470Problem:    Display flickering when updating signs through the netbeans
4471	    interface. (Xavier de Gaye)
4472Solution:   Remove the redraw_later(CLEAR) call.
4473Files:	    src/netbeans.c
4474
4475Patch 7.0.227
4476Problem:    Crash when closing a window in the GUI. (Charles Campbell)
4477Solution:   Don't call out_flush() from win_free().
4478Files:	    src/window.c
4479
4480Patch 7.0.228
4481Problem:    Cygwin: problem with symlink to DOS style path.
4482Solution:   Invoke cygwin_conv_to_posix_path(). (Luca Masini)
4483Files:	    src/os_unix.c
4484
4485Patch 7.0.229
4486Problem:    When 'pastetoggle' starts with Esc then pressing Esc in Insert
4487	    mode will not time out. (Jeffery Small)
4488Solution:   Use KL_PART_KEY instead of KL_PART_MAP, so that 'ttimeout' applies
4489	    to the 'pastetoggle' key.
4490Files:	    src/getchar.c
4491
4492Patch 7.0.230
4493Problem:    After using ":lcd" a script doesn't know how to restore the
4494	    current directory.
4495Solution:   Add the haslocaldir() function. (Bob Hiestand)
4496Files:	    runtime/doc/usr_41.txt, runtime/doc/eval.txt, src/eval.c
4497
4498Patch 7.0.231
4499Problem:    When recovering from a swap file the page size is likely to be
4500	    different from the minimum.  The block used for the first page
4501	    then has a buffer of the wrong size, causing a crash when it's
4502	    reused later.  (Zephaniah Hull)
4503Solution:   Reallocate the buffer when the page size changes.  Also check that
4504	    the page size is at least the minimum value.
4505Files:	    src/memline.c
4506
4507Patch 7.0.232 (extra)
4508Problem:    Mac: doesn't support GUI tab page labels.
4509Solution:   Add GUI tab page labels. (Nicolas Weber)
4510Files:	    src/feature.h, src/gui.c, src/gui.h, src/gui_mac.c,
4511	    src/proto/gui_mac.pro
4512
4513Patch 7.0.233 (extra)
4514Problem:    Mac: code formatted badly.
4515Solution:   Fix code formatting
4516Files:	    src/gui_mac.c
4517
4518Patch 7.0.234
4519Problem:    It's possible to use feedkeys() from a modeline.  That is a
4520	    security issue, can be used for a trojan horse.
4521Solution:   Disallow using feedkeys() in the sandbox.
4522Files:	    src/eval.c
4523
4524Patch 7.0.235
4525Problem:    It is possible to use writefile() in the sandbox.
4526Solution:   Add a few more checks for the sandbox.
4527Files:	    src/eval.c
4528
4529Patch 7.0.236
4530Problem:    Linux 2.4 uses sysinfo() with a mem_unit field, which is not
4531	    backwards compatible.
4532Solution:   Add an autoconf check for sysinfo.mem_unit.  Let mch_total_mem()
4533	    return Kbyte to avoid overflow.
4534Files:	    src/auto/configure, src/configure.in, src/config.h.in,
4535	    src/option.c, src/os_unix.c
4536
4537Patch 7.0.237
4538Problem:    For root it is recommended to not use 'modeline', but in
4539	    not-compatible mode the default is on.
4540Solution:   Let 'modeline' default to off for root.
4541Files:	    runtime/doc/options.txt, src/option.c
4542
4543Patch 7.0.238
4544Problem:    Crash when ":match" pattern runs into 'maxmempattern'. (Yakov
4545	    Lerner)
4546Solution:   Don't free the regexp program of match_hl.
4547Files:	    src/screen.c
4548
4549Patch 7.0.239
4550Problem:    When using local directories and tab pages ":mksession" uses a
4551	    short file name when it shouldn't.  Window-local options from a
4552	    modeline may be applied to the wrong window. (Teemu Likonen)
4553Solution:   Add the did_lcd flag, use the full path when it's set.  Don't use
4554	    window-local options from the modeline when using the current
4555	    window for another buffer in ":doautoall".
4556Files:	    src/fileio.c,  src/ex_docmd.c
4557
4558Patch 7.0.240
4559Problem:    Crash when splitting a window in the GUI. (opposite of 7.0.227)
4560Solution:   Don't call out_flush() from win_alloc().  Also avoid this for
4561	    win_delete().  Also block autocommands while the window structure
4562	    is invalid.
4563Files:	    src/window.c
4564
4565Patch 7.0.241
4566Problem:    ":windo throw 'foo'" loops forever. (Andy Wokula)
4567Solution:   Detect that win_goto() doesn't work.
4568Files:	    src/ex_cmds2.c
4569
4570Patch 7.0.242 (extra)
4571Problem:    Win32: Using "-register" in a Vim that does not support OLE causes
4572	    a crash.
4573Solution:   Don't use EMSG() but mch_errmsg().  Check p_go for being NULL.
4574	    (partly by Michael Wookey)
4575Files:	    src/gui_w32.c
4576
4577Patch 7.0.243 (extra)
4578Problem:    Win32: When GvimExt is built with MSVC 2005 or later, the "Edit
4579	    with vim" context menu doesn't appear in the Windows Explorer.
4580Solution:   Embed the linker manifest file into the resources of GvimExt.dll.
4581	    (Mathias Michaelis)
4582Files:	    src/GvimExt/Makefile
4583
4584
4585Fixes after Vim 7.1a BETA:
4586
4587The extra archive had CVS directories included below "farsi" and
4588"runtime/icons".  CVS was missing the farsi icon files.
4589
4590Fix compiling with Gnome 2.18, undefine bind_textdomain_codeset. (Daniel
4591Drake)
4592
4593Mac: "make install" didn't copy rgb.txt.
4594
4595When editing a compressed file while there are folds caused "ml_get" errors
4596and some lines could be missing.  When decompressing failed option values were
4597not restored.
4598
4599
4600Patch 7.1a.001
4601Problem:    Crash when downloading a spell file.  (Szabolcs Horvat)
4602Solution:   Avoid that did_set_spelllang() is used recursively when a new
4603	    window is opened for the download.
4604	    Also avoid wiping out the wrong buffer.
4605Files:	    runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c,
4606            src/spell.c
4607
4608Patch 7.1a.002 (extra)
4609Problem:    Compilation error with MingW.
4610Solution:   Check for LPTOOLTIPTEXT to be defined.
4611Files:	    src/gui_w32.c
4612
4613
4614Fixes after Vim 7.1b BETA:
4615
4616Made the Mzscheme interface build both with old and new versions of Mzscheme,
4617using an #ifdef. (Sergey Khorev)
4618Mzscheme interface didn't link, missing function.  Changed order of libraries
4619in the configure script.
4620
4621Ruby interface didn't compile on Mac.  Changed #ifdef. (Kevin Ballard)
4622
4623Patch 7.1b.001 (extra)
4624Problem:    Random text in a source file.  No idea how it got there.
4625Solution:   Delete the text.
4626Files:	    src/gui_w32.c
4627
4628Patch 7.1b.002
4629Problem:    When 'maxmem' is large there can be an overflow in computations.
4630	    (Thomas Wiegner)
4631Solution:   Use the same mechanism as in mch_total_mem(): first reduce the
4632	    multiplier as much as possible.
4633Files:	    src/memfile.c
4634
4635==============================================================================
4636VERSION 7.2					*version-7.2* *version7.2*
4637
4638This section is about improvements made between version 7.1 and 7.2.
4639
4640This is mostly a bug-fix release.  The main new feature is floating point
4641support. |Float|
4642
4643
4644Changed							*changed-7.2*
4645-------
4646
4647Changed the command line buffer name from "command-line" to "[Command Line]".
4648
4649Removed optional ! for ":caddexpr", ":cgetexpr", ":cgetfile", ":laddexpr",
4650":lgetexpr" and ":lgetfile".  They are not needed.  (Yegappan Lakshmanan)
4651
4652An offset for syntax matches worked on bytes instead of characters.  That is
4653inconsistent and can easily be done wrong.  Use character offsets now.
4654(Yukihiro Nakadaira)
4655
4656The FileChangedShellPost event was also given when a file didn't change.
4657(John Little)
4658
4659When the current line is long (doesn't fit) the popup menu can't be seen.
4660Display it below the screen line instead of below the text line.
4661(Francois Ingelrest)
4662
4663Switched to autoconf version 2.62.
4664
4665Moved including fcntl.h to vim.h and removed it from all .c files.
4666
4667Introduce macro STRMOVE(d, s), like STRCPY() for overlapping strings.
4668Use it instead of mch_memmove(p, p + x, STRLEN(p + x) + 1).
4669
4670Removed the bulgarian.vim keymap file, two more standard ones replace it.
4671(Boyko Bantchev)
4672
4673Increased the maximum number of tag matches for command line completion from
4674200 to 300.
4675
4676Renamed help file sql.txt to ft_sql.txt and ada.txt to ft_ada.txt.
4677
4678
4679Added							*added-7.2*
4680-----
4681
4682New syntax files:
4683	CUDA (Timothy B. Terriberry)
4684	Cdrdao config (Nikolai Weibull)
4685	Coco/R (Ashish Shukla)
4686	Denyhosts config (Nikolai Weibull)
4687	Dtrace script (Nicolas Weber)
4688	Git output, commit, config, rebase, send-email (Tim Pope)
4689	HASTE and HastePreProc (M. Tranchero)
4690	Haml (Tim Pope)
4691	Host conf (Nikolai Weibull)
4692	Linden script (Timo Frenay)
4693	MS messages (Kevin Locke)
4694	PDF (Tim Pope)
4695	ProMeLa (Maurizio Tranchero)
4696	Reva Foth (Ron Aaron)
4697	Sass (Tim Pope)
4698	Symbian meta-makefile, MMP (Ron Aaron)
4699	VOS CM macro (Andrew McGill)
4700	XBL (Doug Kearns)
4701
4702New tutor files:
4703	Made UTF-8 versions of all the tutor files.
4704	Greek renamed from ".gr" to ".el" (Greek vs Greece).
4705	Esperanto (Dominique Pelle)
4706	Croatian (Paul B. Mahol)
4707
4708New filetype plugins:
4709	Cdrdao config (Nikolai Weibull)
4710	Debian control files (Debian Vim maintainers)
4711	Denyhosts (Nikolai Weibull)
4712	Dos .ini file (Nikolai Weibull)
4713	Dtrace script (Nicolas Weber)
4714	FnameScript (Nikolai Weibull)
4715	Git, Git config, Git commit, Git rebase, Git send-email (Tim Pope)
4716	Haml (Tim Pope)
4717	Host conf (Nikolai Weibull)
4718	Host access (Nikolai Weibull)
4719	Logtalk (Paulo Moura)
4720	MS messages (Kevin Locke)
4721	NSIS script (Nikolai Weibull)
4722	PDF (Tim Pope)
4723	Reva Forth (Ron Aaron)
4724	Sass (Tim Pope)
4725
4726New indent files:
4727	DTD (Nikolai Weibull)
4728	Dtrace script (Nicolas Weber)
4729	Erlang (Csaba Hoch)
4730	FrameScript (Nikolai Weibull)
4731	Git config (Tim Pope)
4732	Haml (Tim Pope)
4733	Logtalk (Paulo Moura)
4734	Sass (Tim Pope)
4735	Tiny Fugue (Christian J. Robinson)
4736
4737New compiler plugins:
4738	RSpec (Tim Pope)
4739
4740New keymap files:
4741	Croatian (Paul B. Mahol)
4742	Russian Dvorak (Serhiy Boiko)
4743	Ukrainian Dvorak (Serhiy Boiko)
4744	Removed plain Bulgarian, "bds" and phonetic are sufficient.
4745
4746Other new runtime files:
4747	Esperanto menu and message translations. (Dominique Pelle)
4748	Finnish menu and message translations. (Flammie Pirinen)
4749	Brazilian Portuguese message translations. (Eduardo Dobay)
4750
4751Added floating point support. |Float|
4752
4753Added argument to mode() to return a bit more detail about the current mode.
4754(Ben Schmidt)
4755
4756Added support for BSD console mouse: |sysmouse|.  (Paul B. Mahol)
4757
4758Added the "newtab" value for the 'switchbuf' option.  (partly by Yegappan
4759Lakshmanan)
4760
4761Improved error messages for the netbeans interface. (Philippe Fremy)
4762
4763Added support for using xterm mouse codes for screen. (Micah Cowan)
4764
4765Added support for cross compiling:
4766Adjusted configure.in and added INSTALLcross.txt. (Marc Haisenko)  Fixed
4767mistakes in configure.in after that.
4768Don't use /usr/local/include and /usr/local/lib in configure. (Philip
4769Prindeville)
4770For cross compiling the Cygwin version on Unix, change VIM.TLB to vim.tlb in
4771src/vim.rc. (Tsuneo Nakagawa)
4772
4773Added v:searchforward variable: What direction we're searching in.  (Yakov
4774Lerner)
4775
4776
4777Fixed							*fixed-7.2*
4778-----
4779
4780Patch 7.1.001
4781Problem:    Still can't build with Gnome libraries.
4782Solution:   Fix typo in bind_textdomain_codeset. (Mike Kelly)
4783Files:	    src/gui_gtk.c, src/gui_gtk_x11.c
4784
4785Patch 7.1.002
4786Problem:    Oracle Pro*C/C++ files are not detected.
4787Solution:   Add the missing star. (Micah J. Cowan)
4788Files:	    runtime/filetype.vim
4789
4790Patch 7.1.003 (extra)
4791Problem:    The "Tear off this menu" message appears in the message history
4792	    when using a menu. (Yongwei Wu)
4793Solution:   Disable message history when displaying the menu tip.
4794Files:	    src/gui_w32.c
4795
4796Patch 7.1.004
4797Problem:    Crash when doing ":next directory". (Raphael Finkel)
4798Solution:   Do not use "buf", it may be invalid after autocommands.
4799Files:	    src/ex_cmds.c
4800
4801Patch 7.1.005
4802Problem:    "cit" used on <foo></foo> deletes <foo>.  Should not delete
4803	    anything and start insertion, like "ci'" does on "". (Michal
4804	    Bozon)
4805Solution:   Handle an empty object specifically.  Made it work consistent for
4806	    various text objects.
4807Files:	    src/search.c
4808
4809Patch 7.1.006
4810Problem:    Resetting 'modified' in a StdinReadPost autocommand doesn't work.
4811Solution:   Set 'modified' before the autocommands instead of after it.
4812Files:	    src/buffer.c
4813
4814Patch 7.1.007 (extra)
4815Problem:    Mac: Context menu doesn't work on Intel Macs.
4816	    Scrollbars are not dimmed when Vim is not the active application.
4817Solution:   Remove the test whether context menus are supported.  They are
4818	    always there in OS/X.  Handle the dimming. (Nicolas Weber)
4819Files:	    src/gui_mac.c, src/gui.h
4820
4821Patch 7.1.008
4822Problem:    getfsize() returns a negative number for very big files.
4823Solution:   Check for overflow and return -2.
4824Files:	    runtime/doc/eval.txt, src/eval.c
4825
4826Patch 7.1.009
4827Problem:    In diff mode, displaying the difference between a tab and spaces
4828	    is not highlighted correctly.
4829Solution:   Only change highlighting at the end of displaying a tab.
4830Files:	    src/screen.c
4831
4832Patch 7.1.010
4833Problem:    The Gnome session file doesn't restore tab pages.
4834Solution:   Add SSOP_TABPAGES to the session flags. (Matias D'Ambrosio)
4835Files:	    src/gui_gtk_x11.c
4836
4837Patch 7.1.011
4838Problem:    Possible buffer overflow when $VIMRUNTIME is very long. (Victor
4839	    Stinner)
4840Solution:   Use vim_snprintf().
4841Files:	    src/main.c
4842
4843Patch 7.1.012
4844Problem:    ":let &shiftwidth = 'asdf'" doesn't produce an error message.
4845Solution:   Check for a string argument. (Chris Lubinski)
4846Files:	    src/option.c
4847
4848Patch 7.1.013
4849Problem:    ":syn include" only loads the first file, while it is documented
4850	    as doing the equivalent of ":runtime!".
4851Solution:   Change the argument to source_runtime(). (James Vega)
4852Files:	    src/syntax.c
4853
4854Patch 7.1.014
4855Problem:    Crash when doing C indenting. (Chris Monson)
4856Solution:   Obtain the current line again after invoking cin_islabel().
4857Files:	    src/edit.c
4858
4859Patch 7.1.015
4860Problem:    MzScheme interface: current-library-collection-paths produces no
4861	    list.  Interface doesn't build on a Mac.
4862Solution:   Use a list instead of a pair. (Bernhard Fisseni)  Use "-framework"
4863	    argument for MZSCHEME_LIBS in configure.
4864Files:	    src/configure.in, src/if_mzsch.c, src/auto/configure
4865
4866Patch 7.1.016 (after patch 7.1.012)
4867Problem:    Error message about setting 'diff' to a string.
4868Solution:   Don't pass an empty string to set_option_value() when setting
4869	    'diff'.
4870Files:	    src/quickfix.c, src/popupmnu.c
4871
4872Patch 7.1.017
4873Problem:    ":confirm w" does give a prompt when 'readonly' is set, but not
4874	    when the file permissions are read-only.  (Michael Schaap)
4875Solution:   Provide a dialog in both situations.  (Chris Lubinski)
4876Files:	    src/ex_cmds.c, src/fileio.c, src/proto/fileio.pro
4877
4878Patch 7.1.018
4879Problem:    When 'virtualedit' is set a "p" of a block just past the end of
4880	    the line inserts before the cursor. (Engelke)
4881Solution:   Check for the cursor being just after the line (Chris Lubinski)
4882Files:	    src/ops.c
4883
4884Patch 7.1.019
4885Problem:    ":py" asks for an argument, ":py asd" then gives the error that
4886	    ":py" isn't implemented.  Should already happen for ":py".
4887Solution:   Compare with ex_script_ni. (Chris Lubinski)
4888Files:	    src/ex_docmd.c
4889
4890Patch 7.1.020
4891Problem:    Reading from uninitialized memory when using a dialog. (Dominique
4892	    Pelle)
4893Solution:   In msg_show_console_dialog() append a NUL after every appended
4894	    character.
4895Files:	    src/message.c
4896
4897Patch 7.1.021 (after 7.1.015)
4898Problem:    Mzscheme interface doesn't compile on Win32.
4899Solution:   Fix the problem that 7.1.015 fixed in a better way. (Sergey Khorev)
4900Files:	    src/if_mzsch.c
4901
4902Patch 7.1.022
4903Problem:    When setting 'keymap' twice the b:keymap_name variable isn't set.
4904	    (Milan Berta)
4905Solution:   Don't unlet b:keymap_name for ":loadkeymap". (Martin Toft)
4906Files:	    src/digraph.c
4907
4908Patch 7.1.023
4909Problem:    "dw" in a line with one character deletes the line.  Vi and nvi
4910	    don't do this.  (Kjell Arne Rekaa)
4911Solution:   Check for one-character words especially.
4912Files:	    src/search.c
4913
4914Patch 7.1.024
4915Problem:    Using a pointer that has become invalid. (Chris Monson)
4916Solution:   Obtain the line pointer again after we looked at another line.
4917Files:	    src/search.c
4918
4919Patch 7.1.025
4920Problem:    search() and searchpos() don't use match under cursor at start of
4921	    line when using 'bc' flags. (Viktor Kojouharov)
4922Solution:   Don't go to the previous line when the 'c' flag is present.
4923	    Also fix that "j" doesn't move the cursor to the right column.
4924Files:	    src/eval.c, src/search.c
4925
4926Patch 7.1.026
4927Problem:    "[p" doesn't work in Visual mode. (David Brown)
4928Solution:   Use checkclearop() instead of checkclearopq().
4929Files:	    src/normal.c
4930
4931Patch 7.1.027
4932Problem:    On Sun systems opening /dev/fd/N doesn't work, and they are used
4933	    by process substitutions.
4934Solution:   Allow opening specific character special files for Sun systems.
4935	    (Gary Johnson)
4936Files:	    src/fileio.c, src/os_unix.h
4937
4938Patch 7.1.028
4939Problem:    Can't use last search pattern for ":sort". (Brian McKee)
4940Solution:   When the pattern is empty use the last search pattern. (Martin
4941	    Toft)
4942Files:	    runtime/doc/change.txt, src/ex_cmds.c
4943
4944Patch 7.1.029 (after 7.1.019)
4945Problem:    Can't compile when all interfaces are used. (Taylor Venable)
4946Solution:   Only check for ex_script_ni when it's defined.
4947Files:	    src/ex_docmd.c
4948
4949Patch 7.1.030
4950Problem:    The "vimtutor" shell script checks for "vim6" but not for "vim7".
4951	    (Christian Robinson)
4952Solution:   Check for more versions, but prefer using "vim".
4953Files:	    src/vimtutor
4954
4955Patch 7.1.031
4956Problem:    virtcol([123, '$']) doesn't work. (Michael Schaap)
4957Solution:   When '$' is used for the column number get the last column.
4958Files:	    runtime/doc/eval.txt, src/eval.c
4959
4960Patch 7.1.032
4961Problem:    Potential crash when editing a command line. (Chris Monson)
4962Solution:   Check the position to avoid access before the start of an array.
4963Files:	    src/ex_getln.c
4964
4965Patch 7.1.033
4966Problem:    A buffer is marked modified when it was first deleted and then
4967	    added again using a ":next" command. (John Mullin)
4968Solution:   When checking if a buffer is modified use the BF_NEVERLOADED flag.
4969Files:	    src/option.c
4970
4971Patch 7.1.034
4972Problem:    Win64: A few compiler warnings.  Problems with optimizer.
4973Solution:   Use int instead of size_t.  Disable the optimizer in one function.
4974	    (George V.  Reilly)
4975Files:	    src/eval.c, src/spell.c
4976
4977Patch 7.1.035
4978Problem:    After ":s/./&/#" all listed lines have a line number. (Yakov
4979	    Lerner)
4980Solution:   Reset the line number flag when not using the "&" flag.
4981Files:	    src/ex_cmds.c
4982
4983Patch 7.1.036
4984Problem:    Completing ":echohl" argument should include "None". (Ori
4985	    Avtalion)  ":match" should have "none" too.
4986Solution:   Add flags to use expand_highlight().  Also fix that when disabling
4987	    FEAT_CMDL_COMPL compilation fails.  (Chris Lubinski)
4988Files:	    src/eval.c, src/ex_docmd.c, src/ex_getln.c, src/proto/syntax.pro
4989	    src/syntax.c
4990
4991Patch 7.1.037
4992Problem:    strcpy() used for overlapping strings. (Chris Monson)
4993Solution:   Use mch_memmove() instead.
4994Files:	    src/option.c
4995
4996Patch 7.1.038
4997Problem:    When 'expandtab' is set then a Tab copied for 'copyindent' is
4998	    expanded to spaces, even when 'preserveindent' is set. (Alexei
4999	    Alexandrov)
5000Solution:   Remove the check for 'expandtab'.  Also fix that ">>" doesn't obey
5001	    'preserveindent'. (Chris Lubinski)
5002Files:	    src/misc1.c
5003
5004Patch 7.1.039
5005Problem:    A tag in a help file that starts with "help-tags" and contains a
5006	    percent sign may make Vim crash. (Ulf Harnhammar)
5007Solution:   Use puts() instead of fprintf().
5008Files:	    src/ex_cmds.c
5009
5010Patch 7.1.040
5011Problem:    ":match" only supports three matches.
5012Solution:   Add functions clearmatches(), getmatches(), matchadd(),
5013	    matchdelete() and setmatches().  Changed the data structures for
5014	    this.  A small bug in syntax.c is fixed, so newly created
5015	    highlight groups can have their name resolved correctly from their
5016	    ID.  (Martin Toft)
5017Files:	    runtime/doc/eval.txt, runtime/doc/pattern.txt,
5018	    runtime/doc/usr_41.txt, src/eval.c, src/ex_docmd.c,
5019	    src/proto/window.pro, src/screen.c, src/structs.h, src/syntax.c,
5020	    src/testdir/Makefile, src/testdir/test63.in,
5021	    src/testdir/test63.ok, src/window.c
5022
5023Patch 7.1.041 (extra, after 7.1.040)
5024Problem:    Some changes for patch 7.1.040 are in extra files.
5025Solution:   Update the extra files.
5026Files:	    src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5027	    src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5028
5029Patch 7.1.042 (after 7.1.040)
5030Problem:    Internal error when using matchadd(). (David Larson)
5031Solution:   Check the third argument to be present before using the fourth
5032	    argument. (Martin Toft)
5033Files:	    src/eval.c
5034
5035Patch 7.1.043
5036Problem:    In Ex mode using CTRL-D twice may cause a crash.  Cursor isn't
5037	    positioned properly after CTRL-D.
5038Solution:   Set prev_char properly.  Position the cursor correctly. (Antony
5039	    Scriven)
5040Files:	    src/ex_getln.c
5041
5042Patch 7.1.044
5043Problem:    In Insert mode 0 CTRL-T deletes all indent, it should add indent.
5044	    (Gautam Iyer)
5045Solution:   Check for CTRL-D typed.
5046Files:	    src/edit.c
5047
5048Patch 7.1.045
5049Problem:    Unnecessary screen redrawing. (Jjgod Jiang)
5050Solution:   Reset "must_redraw" after clearing the screen.
5051Files:	    src/screen.c
5052
5053Patch 7.1.046
5054Problem:    ":s" command removes combining characters. (Ron Aaron)
5055Solution:   Copy composing characters individually. (Chris Lubinski)
5056Files:	    src/regexp.c
5057
5058Patch 7.1.047
5059Problem:    vim_regcomp() called with invalid argument. (Xiaozhou Liu)
5060Solution:   Change TRUE to RE_MAGIC + RE_STRING.
5061Files:	    src/ex_eval.c
5062
5063Patch 7.1.048
5064Problem:    The matchparen plugin doesn't update the match when scrolling with
5065	    the mouse wheel. (Ilya Bobir)
5066Solution:   Set the match highlighting for text that can be scrolled into the
5067	    viewable area without moving the cursor. (Chris Lubinski)
5068Files:	    runtime/plugin/matchparen.vim
5069
5070Patch 7.1.049
5071Problem:    Cannot compile GTK2 version with Hangul input feature.
5072Solution:   Don't define FEAT_XFONTSET when using GTK2.
5073Files:	    src/feature.h
5074
5075Patch 7.1.050
5076Problem:    Possible crash when using C++ indenting. (Chris Monson)
5077Solution:   Keep the line pointer to the line to compare with.  Avoid going
5078	    past the end of line.
5079Files:	    src/misc1.c
5080
5081Patch 7.1.051
5082Problem:    Accessing uninitialized memory when finding spell suggestions.
5083Solution:   Don't try swapping characters at the end of a word.
5084Files:	    src/spell.c
5085
5086Patch 7.1.052
5087Problem:    When creating a new match not all fields are initialized, which
5088	    may lead to unpredictable results.
5089Solution:   Initialise rmm_ic and rmm_maxcol.
5090Files:	    src/window.c
5091
5092Patch 7.1.053
5093Problem:    Accessing uninitialized memory when giving a message.
5094Solution:   Check going the length before checking for a NUL byte.
5095Files:	    src/message.c
5096
5097Patch 7.1.054
5098Problem:    Accessing uninitialized memory when displaying the fold column.
5099Solution:   Add a NUL to the extra array. (Dominique Pelle).  Also do this in
5100	    a couple of other situations.
5101Files:	    src/screen.c
5102
5103Patch 7.1.055
5104Problem:    Using strcpy() with arguments that overlap.
5105Solution:   Use mch_memmove() instead.
5106Files:	    src/buffer.c, src/charset.c, src/eval.c, src/ex_getln.c,
5107	    src/misc1.c, src/regexp.c, src/termlib.c
5108
5109Patch 7.1.056
5110Problem:    More prompt does not behave correctly after scrolling back.
5111	    (Randall W. Morris)
5112Solution:   Avoid lines_left becomes negative. (Chris Lubinski)  Don't check
5113	    mp_last when deciding to show the more prompt. (Martin Toft)
5114Files:	    src/message.c
5115
5116Patch 7.1.057
5117Problem:    Problem with CursorHoldI when using "r" in Visual mode (Max
5118	    Dyckhoff)
5119Solution:   Ignore CursorHold(I) when getting a second character for a Normal
5120	    mode command.  Also abort the "r" command in Visual when a special
5121	    key is typed.
5122Files:	    src/normal.c
5123
5124Patch 7.1.058
5125Problem:    When 'rightleft' is set the completion menu is positioned wrong.
5126	    (Baha-Eddine MOKADEM)
5127Solution:   Fix the completion menu. (Martin Toft)
5128Files:	    src/popupmnu.c, src/proto/search.pro, src/search.c
5129
5130Patch 7.1.059
5131Problem:    When in Ex mode and doing "g/^/vi" and then pressing CTRL-C Vim
5132	    hangs and beeps. (Antony Scriven)
5133Solution:   Clear "got_int" in the main loop to avoid the hang.  When typing
5134	    CTRL-C twice in a row abort the ":g" command.  This is Vi
5135	    compatible.
5136Files:	    src/main.c
5137
5138Patch 7.1.060
5139Problem:    Splitting quickfix window messes up window layout. (Marius
5140	    Gedminas)
5141Solution:   Compute the window size in a smarter way. (Martin Toft)
5142Files:	    src/window.c
5143
5144Patch 7.1.061
5145Problem:    Win32: When 'encoding' is "latin1" 'ignorecase' doesn't work for
5146	    characters with umlaut. (Joachim Hofmann)
5147Solution:   Do not use islower()/isupper()/tolower()/toupper() but our own
5148	    functions. (Chris Lubinski)
5149Files:	    src/mbyte.c, src/regexp.c, src/vim.h
5150
5151Patch 7.1.062 (after 7.1.038)
5152Problem:    Indents of C comments can be wrong. (John Mullin)
5153Solution:   Adjust ind_len. (Chris Lubinski)
5154Files:	    src/misc1.c
5155
5156Patch 7.1.063 (after 7.1.040)
5157Problem:    Warning for uninitialized variable.
5158Solution:   Initialise it to NULL.
5159Files:	    src/ex_docmd.c
5160
5161Patch 7.1.064
5162Problem:    On Interix some files appear not to exist.
5163Solution:   Remove the top bit from st_mode. (Ligesh)
5164Files:	    src/os_unix.c
5165
5166Patch 7.1.065 (extra)
5167Problem:    Win32: Compilation problem for newer version of w32api.
5168Solution:   Only define __IID_DEFINED__ when needed. (Chris Sutcliffe)
5169Files:	    src/Make_ming.mak, src/iid_ole.c
5170
5171Patch 7.1.066
5172Problem:    When 'bomb' is set or reset the file should be considered
5173	    modified.  (Tony Mechelynck)
5174Solution:   Handle like 'endofline'. (Martin Toft)
5175Files:	    src/buffer.c, src/fileio.c, src/option.c, src/structs.h
5176
5177Patch 7.1.067
5178Problem:    'thesaurus' doesn't work when 'infercase' is set. (Mohsin)
5179Solution:   Don't copy the characters being completed but check the case and
5180	    apply it to the suggested word.  Also fix that the first word in
5181	    the thesaurus line is not used.  (Martin Toft)
5182Files:	    src/edit.c
5183
5184Patch 7.1.068
5185Problem:    When 'equalalways' is set and splitting a window, it's possible
5186	    that another small window gets bigger.
5187Solution:   Only equalize window sizes when after a split the windows are
5188	    smaller than another window. (Martin Toft)
5189Files:	    runtime/doc/options.txt, runtime/doc/windows.txt, src/window.c
5190
5191Patch 7.1.069
5192Problem:    GTK GUI: When using confirm() without a default button there still
5193	    is a default choice.
5194Solution:   Ignore Enter and Space when there is no default button. (Chris
5195	    Lubinski)
5196Files:	    src/gui_gtk.c
5197
5198Patch 7.1.070 (extra)
5199Problem:    Win32 GUI: When using confirm() without a default button there
5200	    still is a default choice.
5201Solution:   Set focus on something else than a button. (Chris Lubinski)
5202Files:	    src/gui_w32.c
5203
5204Patch 7.1.071 (after 7.1.040)
5205Problem:    Regexp patterns are not tested.
5206Solution:   Add a basic test, to be expanded later.
5207	    Also add (commented-out) support for valgrind.
5208Files:	    src/testdir/Makefile, src/testdir/test64.in, src/testdir/test64.ok
5209
5210Patch 7.1.072 (extra, after 7.1.041 and 7.1.071)
5211Problem:    Some changes for patch 7.1.071 are in extra files.
5212Solution:   Update the extra files.  Also fix a few warnings from the DOS test
5213	    makefile.
5214Files:	    src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
5215	    src/testdir/Make_os2.mak, src/testdir/Make_vms.mms
5216
5217Patch 7.1.073 (after 7.1.062)
5218Problem:    Wrong cursor position and crash when 'preserveindent' is set.
5219	    (Charles Campbell)
5220Solution:   Handle the situation that we start without indent. (Chris
5221	    Lubinski)
5222Files:	    src/misc1.c
5223
5224Patch 7.1.074
5225Problem:    Crash when calling string() on a recursively nested List.
5226Solution:   Check result value for being NULL. (Yukihiro Nakadaira)
5227Files:	    src/eval.c
5228
5229Patch 7.1.075
5230Problem:    ":let v:statusmsg" reads memory already freed.
5231Solution:   Don't set v:statusmsg when listing it.
5232Files:	    src/eval.c
5233
5234Patch 7.1.076
5235Problem:    Another strcpy() with overlapping arguments.
5236Solution:   Use mch_memmove(). (Dominique Pelle)  And another one.
5237Files:	    src/ex_docmd.c, src/normal.c
5238
5239Patch 7.1.077
5240Problem:    Using "can_spell" without initializing it. (Dominique Pelle)
5241Solution:   Set a default for get_syntax_attr().
5242Files:	    src/syntax.c
5243
5244Patch 7.1.078
5245Problem:    Dropping a file name on gvim that contains a CSI byte doesn't work
5246	    when editing the command line.
5247Solution:   Escape the CSI byte when inserting in the input buffer. (Yukihiro
5248	    Nakadaira)
5249Files:	    src/gui.c, src/ui.c
5250
5251Patch 7.1.079
5252Problem:    When the locale is "C" and 'encoding' is "latin1" then the "@"
5253	    character in 'isfname', 'isprint', etc. doesn't pick up accented
5254	    characters.
5255Solution:   Instead of isalpha() use MB_ISLOWER() and MB_ISUPPER().
5256Files:	    src/charset.c, src/macros.h
5257
5258Patch 7.1.080 (extra)
5259Problem:    Compiler warnings for using "const char *" for "char *".
5260Solution:   Add type casts. (Chris Sutcliffe)
5261Files:	    src/GvimExt/gvimext.cpp
5262
5263Patch 7.1.081
5264Problem:    Command line completion for a shell command: "cat </tmp/file<Tab>"
5265	    doesn't work.
5266Solution:   Start the file name at any character that can't be in a file name.
5267	    (Martin Toft)
5268Files:	    src/ex_docmd.c
5269
5270Patch 7.1.082
5271Problem:    After a ":split" the matchparen highlighting isn't there.
5272Solution:   Install a WinEnter autocommand.  Also fixes that after
5273	    ":NoMatchParen" only the current window is updated. (Martin Toft)
5274Files:	    runtime/doc/pi_paren.txt, runtime/plugin/matchparen.vim
5275
5276Patch 7.1.083 (after 7.1.081)
5277Problem:    Command line completion doesn't work with wildcards.
5278Solution:   Add vim_isfilec_or_wc() and use it. (Martin Toft)
5279Files:	    src/charset.c, src/proto/charset.pro, src/ex_docmd.c
5280
5281Patch 7.1.084
5282Problem:    Using the "-nb" argument twice causes netbeans not to get
5283	    fileOpened events.
5284Solution:   Change "&" to "&&". (Xavier de Gaye)
5285Files:	    src/ex_cmds.c
5286
5287Patch 7.1.085
5288Problem:    ":e fold.c" then ":sp fold.c" results in folds of original window
5289	    to disappear. (Akita Noek)
5290Solution:   Invoke foldUpdateAll() for all windows of the changed buffer.
5291	    (Martin Toft)
5292Files:	    src/ex_cmds.c
5293
5294Patch 7.1.086
5295Problem:    Crash when using specific Python syntax highlighting.  (Quirk)
5296Solution:   Check for a negative index, coming from a keyword match at the
5297	    start of a line from a saved state.
5298Files:	    src/syntax.c
5299
5300Patch 7.1.087
5301Problem:    Reading past ":cscope find" command.  Writing past end of a buffer.
5302Solution:   Check length of the argument before using the pattern.  Use
5303	    vim_strncpy().  (Dominique Pelle)
5304Files:	    if_cscope.c
5305
5306Patch 7.1.088 (extra)
5307Problem:    The coordinates used by ":winpos" differ from what getwinposx()
5308	    and getwinposy() return.
5309Solution:   Use MoveWindowStructure() instead of MoveWindow(). (Michael Henry)
5310Files:	    src/gui_mac.c
5311
5312Patch 7.1.089
5313Problem:    ":let loaded_getscriptPlugin" doesn't clear to eol, result is
5314	    "#1in".
5315Solution:   Clear to the end of the screen after displaying the first variable
5316	    value.
5317Files:	    src/eval.c
5318
5319Patch 7.1.090
5320Problem:    Compiler warning on Mac OS X 10.5.
5321Solution:   Don't redeclare sigaltstack(). (Hisashi T Fujinaka)
5322Files:	    src/os_unix.c
5323
5324Patch 7.1.091 (extra)
5325Problem:    Win32: Can't embed Vim inside another application.
5326Solution:   Add the --windowid argument. (Nageshwar)
5327Files:	    runtime/doc/gui_w32.txt, runtime/doc/starting.txt,
5328	    runtime/doc/vi_diff.txt, src/globals.h, src/gui_w32.c, src/main.c
5329
5330Patch 7.1.092 (extra, after 7.1.088)
5331Problem:    Wrong arguments for MoveWindowStructure().
5332Solution:   Remove "TRUE". (Michael Henry)
5333Files:	    src/gui_mac.c
5334
5335Patch 7.1.093
5336Problem:    Reading past end of a screen line when determining cell width.
5337	    (Dominique Pelle)
5338Solution:   Add an argument to mb_off2cells() for the maximum offset.
5339Files:	    src/globals.h, src/gui.c, src/mbyte.c, src/proto/mbyte.pro,
5340	    src/screen.c
5341
5342Patch 7.1.094
5343Problem:    When checking if syntax highlighting is present, looking in the
5344	    current buffer instead of the specified one.
5345Solution:   Use "buf" instead of "curbuf".
5346Files:	    src/syntax.c
5347
5348Patch 7.1.095
5349Problem:    The FocusLost and FocusGained autocommands are triggered
5350	    asynchronously in the GUI.  This may cause arbitrary problems.
5351Solution:   Put the focus event in the input buffer and handle it when ready
5352	    for it.
5353Files:	    src/eval.c, src/getchar.c, src/gui.c, src/gui_gtk_x11.c,
5354	    src/keymap.h
5355
5356Patch 7.1.096
5357Problem:    Reading past end of a string when resizing Vim. (Dominique Pelle)
5358Solution:   Check the string pointer before getting the char it points to.
5359Files:	    src/message.c
5360
5361Patch 7.1.097
5362Problem:    ":setlocal stl=%!1+1" does not work.
5363Solution:   Adjust check for pointer. (Politz)
5364Files:	    src/option.c
5365
5366Patch 7.1.098
5367Problem:    ":call s:var()" doesn't work if "s:var" is a Funcref. (Andy Wokula)
5368Solution:   Before converting "s:" into a script ID, check if it is a Funcref.
5369Files:	    src/eval.c
5370
5371Patch 7.1.099
5372Problem:    When the 'keymap' and 'paste' options have a non-default value,
5373	    ":mkexrc" and ":mksession" do not correctly set the options.
5374Solution:   Set the options with side effects before other options.
5375Files:	    src/option.c
5376
5377Patch 7.1.100
5378Problem:    Win32: Executing cscope doesn't always work properly.
5379Solution:   Use another way to invoke cscope. (Mike Williams)
5380Files:	    src/if_cscope.c, src/if_cscope.h, src/main.c,
5381	    src/proto/if_cscope.pro
5382
5383Patch 7.1.101
5384Problem:    Ruby: The Buffer.line= method does not work.
5385Solution:   Add the "self" argument to set_current_line(). (Jonathan Hankins)
5386Files:	    src/if_ruby.c
5387
5388Patch 7.1.102
5389Problem:    Perl interface doesn't compile with new version of Perl.
5390Solution:   Add two variables to the dynamic library loading. (Suresh
5391	    Govindachar)
5392Files:	    src/if_perl.xs
5393
5394Patch 7.1.103
5395Problem:    Using "dw" with the cursor past the end of the last line (using
5396	    CTRL-\ CTRL-O from Insert mode) deletes a character. (Tim Chase)
5397Solution:   Don't move the cursor back when the movement failed.
5398Files:	    src/normal.c
5399
5400Patch 7.1.104 (after 7.1.095)
5401Problem:    When 'lazyredraw' is set a focus event causes redraw to be
5402	    postponed until a key is pressed.
5403Solution:   Instead of not returning from vgetc() when a focus event is
5404	    encountered return K_IGNORE.  Add plain_vgetc() for when the
5405	    caller doesn't want to get K_IGNORE.
5406Files:	    src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_getln.c,
5407	    src/getchar.c, src/normal.c, src/proto/getchar.pro, src/window.c
5408
5409Patch 7.1.105
5410Problem:    Internal error when using "0 ? {'a': 1} : {}". (A.Politz)
5411Solution:   When parsing a dictionary value without using the value, don't try
5412	    obtaining the key name.
5413Files:	    src/eval.c
5414
5415Patch 7.1.106
5416Problem:    ":messages" doesn't quit listing on ":".
5417Solution:   Break the loop when "got_int" is set.
5418Files:	    src/message.c
5419
5420Patch 7.1.107
5421Problem:    When doing a block selection and using "s" to change the text,
5422	    while triggering auto-indenting, causes the wrong text to be
5423	    repeated in other lines. (Adri Verhoef)
5424Solution:   Compute the change of indent and compensate for that.
5425Files:	    src/ops.c
5426
5427Patch 7.1.108 (after 7.1.100)
5428Problem:    Win32: Compilation problems in Cscope code. (Jeff Lanzarotta)
5429Solution:   Use (long) instead of (intptr_t) when it's not defined.
5430Files:	    src/if_cscope.c
5431
5432Patch 7.1.109
5433Problem:    GTK: when there are many tab pages, clicking on the arrow left of
5434	    the labels moves to the next tab page on the right. (Simeon Bird)
5435Solution:   Check the X coordinate of the click and pass -1 as value for the
5436	    left arrow.
5437Files:	    src/gui_gtk_x11.c, src/term.c
5438
5439Patch 7.1.110 (after 7.1.102)
5440Problem:    Win32: Still compilation problems with Perl.
5441Solution:   Change the #ifdefs. (Suresh Govindachar)
5442Files:	    src/if_perl.xs
5443
5444Patch 7.1.111
5445Problem:    When using ":vimgrep" with the "j" flag folds from another buffer
5446	    may be displayed. (A.Politz)
5447Solution:   When not jumping to another buffer update the folds.
5448Files:	    src/quickfix.c
5449
5450Patch 7.1.112
5451Problem:    Using input() with a wrong argument may crash Vim. (A.Politz)
5452Solution:   Init the input() return value to NULL.
5453Files:	    src/eval.c
5454
5455Patch 7.1.113
5456Problem:    Using map() to go over an empty list causes memory to be freed
5457	    twice. (A.Politz)
5458Solution:   Don't clear the typeval in restore_vimvar().
5459Files:	    src/eval.c
5460
5461Patch 7.1.114
5462Problem:    Memory leak in getmatches().
5463Solution:   Don't increment the refcount twice.
5464Files:	    src/eval.c
5465
5466Patch 7.1.115 (after 7.1.105)
5467Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
5468Solution:   Init variable to NULL.
5469Files:	    src/eval.c
5470
5471Patch 7.1.116
5472Problem:    Cannot display Unicode characters above 0x10000.
5473Solution:   Remove the replacement with a question mark when UNICODE16 is not
5474	    defined. (partly by Nicolas Weber)
5475Files:	    src/screen.c
5476
5477Patch 7.1.117
5478Problem:    Can't check whether Vim was compiled with Gnome. (Tony Mechelynck)
5479Solution:   Add gui_gnome to the has() list.
5480Files:	    src/eval.c
5481
5482Patch 7.1.118 (after 7.1.107)
5483Problem:    Compiler warning for Visual C compiler.
5484Solution:   Add typecast. (Mike Williams)
5485Files:	    src/ops.c
5486
5487Patch 7.1.119
5488Problem:    Crash when 'cmdheight' set to very large value. (A.Politz)
5489Solution:   Limit 'cmdheight' to 'lines' minus one.  Store right value of
5490	    'cmdheight' when running out of room.
5491Files:	    src/option.c, src/window.c
5492
5493Patch 7.1.120
5494Problem:    Can't properly check memory leaks while running tests.
5495Solution:   Add an argument to garbagecollect().  Delete functions and
5496	    variables in the test scripts.
5497Files:	    runtime/doc/eval.txt src/eval.c, src/globals.h, src/main.c,
5498	    src/testdir/Makefile, src/testdir/test14.in,
5499	    src/testdir/test26.in, src/testdir/test34.in,
5500	    src/testdir/test45.in, src/testdir/test47.in,
5501	    src/testdir/test49.in, src/testdir/test55.in,
5502	    src/testdir/test56.in, src/testdir/test58.in,
5503	    src/testdir/test59.in, src/testdir/test60.in,
5504	    src/testdir/test60.vim, src/testdir/test62.in,
5505	    src/testdir/test63.in, src/testdir/test64.in,
5506
5507Patch 7.1.121
5508Problem:    Using ":cd %:h" when editing a file in the current directory
5509	    results in an error message for using an empty string.
5510Solution:   When "%:h" results in an empty string use ".".
5511Files:	    src/eval.c
5512
5513Patch 7.1.122
5514Problem:    Mac: building Vim.app fails.  Using wrong architecture.
5515Solution:   Use line continuation for the gui_bundle dependency.  Detect the
5516	    system architecture with "uname -a".
5517Files:	    src/main.aap
5518
5519Patch 7.1.123
5520Problem:    Win32: ":edit foo ~ foo" expands "~".
5521Solution:   Change the call to expand_env().
5522Files:	    src/ex_docmd.c, src/misc1.c, src/proto/misc1.pro, src/option.c
5523
5524Patch 7.1.124 (extra)
5525Problem:    Mac: When dropping a file on Vim.app that is already in the buffer
5526	    list (from .viminfo) results in editing an empty, unnamed buffer.
5527	    (Axel Kielhorn)  Also: warning for unused variable.
5528Solution:   Move to the buffer of the first argument.  Delete unused variable.
5529Files:	    src/gui_mac.c
5530
5531Patch 7.1.125
5532Problem:    The TermResponse autocommand event is not always triggered. (Aron
5533	    Griffis)
5534Solution:   When unblocking autocommands check if v:termresponse changed and
5535	    trigger the event then.
5536Files:	    src/buffer.c, src/diff.c, src/ex_getln.c, src/fileio.c,
5537	    src/globals.h, src/misc2.c, src/proto/fileio.pro, src/window.c
5538
5539Patch 7.1.126 (extra)
5540Problem:    ":vimgrep */*" fails when a BufRead autocommand changes directory.
5541	    (Bernhard Kuhn)
5542Solution:   Change back to the original directory after loading a file.
5543	    Also: use shorten_fname1() to avoid duplicating code.
5544Files:	    src/buffer.c, src/ex_docmd.c, src/fileio.c, src/gui_gtk.c,
5545	    src/gui_w48.c, src/proto/ex_docmd.pro, src/proto/fileio.pro,
5546	    src/quickfix.c
5547
5548Patch 7.1.127
5549Problem:    Memory leak when doing cmdline completion. (Dominique Pelle)
5550Solution:   Free "orig" argument of ExpandOne() when it's not used.
5551Files:	    src/ex_getln.c
5552
5553Patch 7.1.128 (extra)
5554Problem:    Build problems with new version of Cygwin.
5555Solution:   Remove -D__IID_DEFINED__, like with MingW. (Guopeng Wen)
5556Files:	    src/Make_cyg.mak
5557
5558Patch 7.1.129 (extra)
5559Problem:    Win32: Can't get the user name when it is longer than 15
5560	    characters.
5561Solution:   Use UNLEN instead of MAX_COMPUTERNAME_LENGTH. (Alexei Alexandrov)
5562Files:	    src/os_win32.c
5563
5564Patch 7.1.130
5565Problem:    Crash with specific order of undo and redo. (A.Politz)
5566Solution:   Clear and adjust pointers properly.  Add u_check() for debugging.
5567Files:	    src/undo.c, src/structs.h
5568
5569Patch 7.1.131
5570Problem:    ":mksession" always adds ":setlocal autoread". (Christian J.
5571	    Robinson)
5572Solution:   Skip boolean global/local option using global value.
5573Files:	    src/option.c
5574
5575Patch 7.1.132
5576Problem:    getpos("'>") may return a negative column number for a Linewise
5577	    selection. (A.Politz)
5578Solution:   Don't add one to MAXCOL.
5579Files:	    src/eval.c
5580
5581Patch 7.1.133 (after 7.1.126)
5582Problem:    shorten_fname1() linked when it's not needed.
5583Solution:   Add #ifdef.
5584Files:	    src/fileio.c
5585
5586Patch 7.1.134 (extra)
5587Problem:    Win32: Can't build with VC8
5588Solution:   Detect the MSVC version instead of using NMAKE_VER.
5589	    (Mike Williams)
5590Files:	    src/Make_mvc.mak
5591
5592Patch 7.1.135
5593Problem:    Win32: When editing a file c:\tmp\foo and c:\tmp\\foo we have two
5594	    buffers for the same file. (Suresh Govindachar)
5595Solution:   Invoke FullName_save() when a path contains "//" or "\\".
5596Files:	    src/buffer.c
5597
5598Patch 7.1.136
5599Problem:    Memory leak when using Ruby syntax highlighting. (Dominique Pelle)
5600Solution:   Free the contained-in list.
5601Files:	    src/syntax.c
5602
5603Patch 7.1.137
5604Problem:    Build failure when using EXITFREE. (Dominique Pelle)
5605Solution:   Add an #ifdef around using clip_exclude_prog.
5606Files:	    src/misc2.c
5607
5608Patch 7.1.138
5609Problem:    The Perl Msg() function doesn't stop when "q" is typed at the more
5610	    prompt. (Hari Krishna Dara)
5611Solution:   Check got_int.
5612Files:	    src/if_perl.xs
5613
5614Patch 7.1.139
5615Problem:    When using marker folding and ending Insert mode with CTRL-C the
5616	    current fold is truncated. (Fred Kater)
5617Solution:   Ignore got_int while updating folds.
5618Files:	    src/fold.c
5619
5620Patch 7.1.140
5621Problem:    v:count is set only after typing a non-digit, that makes it
5622	    difficult to make a nice mapping.
5623Solution:   Set v:count while still typing the count.
5624Files:	    src/normal.c
5625
5626Patch 7.1.141
5627Problem:    GTK: -geom argument doesn't support a negative offset.
5628Solution:   Compute position from the right/lower corner.
5629Files:	    src/gui_gtk_x11.c
5630
5631Patch 7.1.142
5632Problem:    ":redir @A>" doesn't work.
5633Solution:   Ignore the extra ">" also when appending. (James Vega)
5634Files:	    src/ex_docmd.c
5635
5636Patch 7.1.143
5637Problem:    Uninitialized memory read when diffing three files. (Dominique
5638	    Pelle)
5639Solution:   Remove "+ !notset" so that we don't use fields that were not
5640	    computed.
5641Files:	    src/diff.c
5642
5643Patch 7.1.144
5644Problem:    After ":diffup" cursor can be in the wrong position.
5645Solution:   Force recomputing the cursor position.
5646Files:	    src/diff.c
5647
5648Patch 7.1.145
5649Problem:    Insert mode completion: When using the popup menu, after
5650	    completing a word and typing a non-word character Vim is still
5651	    completing the same word, following CTRL-N doesn't work.
5652	    Insert mode Completion: When using CTRL-X O and there is only
5653	    "struct." before the cursor, typing one char to reduce the
5654	    matches, then BS completion stops.
5655Solution:   When typing a character that is not part of the item being
5656	    completed, stop complete mode.  For whole line completion also
5657	    accept a space.  For file name completion stop at a path
5658	    separator.
5659	    For omni completion stay in completion mode even if completing
5660	    with empty string.
5661Files:	    src/edit.c
5662
5663Patch 7.1.146 (extra)
5664Problem:    VMS: Files with a very rare record organization (VFC) cannot be
5665	    properly written by Vim.
5666	    On older VAX systems mms runs into a syntax error.
5667Solution:   Check for this special situation.  Do not wrap a comment, make it
5668	    one long line.  (Zoltan Arpadffy)
5669Files:	    src/fileio.c, src/Make_vms.mms
5670
5671Patch 7.1.147 (after 7.1.127)
5672Problem:    Freeing memory already freed when completing user name. (Meino
5673	    Cramer)
5674Solution:   Use a flag to remember if "orig" needs to be freed.
5675Files:	    src/ex_getln.c
5676
5677Patch 7.1.148
5678Problem:    Some types are not found by configure.
5679Solution:   Test for the sys/types.h header file. (Sean Boudreau)
5680Files:	    src/configure.in, src/auto/configure
5681
5682Patch 7.1.149
5683Problem:    GTK GUI: When the completion popup menu is used scrolling another
5684	    window by the scrollbar is OK, but using the scroll wheel it
5685	    behaves line <Enter>.
5686Solution:   Ignore K_MOUSEDOWN and K_MOUSEUP.  Fix redrawing the popup menu.
5687Files:	    src/edit.c, src/gui.c
5688
5689Patch 7.1.150
5690Problem:    When 'clipboard' has "unnamed" using "p" in Visual mode doesn't
5691	    work correctly. (Jianrong Yu)
5692Solution:   When 'clipboard' has "unnamed" also obtain the selection when
5693	    getting the default register.
5694Files:	    src/ops.c
5695
5696Patch 7.1.151
5697Problem:    Using whole line completion with 'ignorecase' and 'infercase' set
5698	    and the line is empty get an lalloc(0) error.
5699Solution:   Don't try changing case for an empty match. (Matthew Wozniski)
5700Files:	    src/edit.c
5701
5702Patch 7.1.152
5703Problem:    Display problem when 'hls' and 'cursorcolumn' are set and
5704	    searching for "$".  (John Mullin)  Also when scrolling
5705	    horizontally when 'wrap' is off.
5706Solution:   Keep track of the column where highlighting was set.  Check the
5707	    column offset when skipping characters.
5708Files:	    src/screen.c
5709
5710Patch 7.1.153
5711Problem:    Compiler warnings on SGI.  Undefined XpmAllocColor (Charles
5712	    Campbell)
5713Solution:   Add type casts.  Init st_dev and st_ino separately.  Don't use
5714	    type casts for vim_snprintf() when HAVE_STDARG_H is defined.
5715	    Define XpmAllocColor when needed.
5716Files:	    src/eval.c, src/ex_cmds.c, src/fileio.c, src/misc2.c,
5717	    src/gui_xmebw.c
5718
5719Patch 7.1.154
5720Problem:    Compiler warning for signed/unsigned compare.
5721Solution:   Add type cast.
5722Files:	    src/screen.c
5723
5724Patch 7.1.155
5725Problem:    Crash when 'undolevels' is 0 and repeating "udd". (James Vega)
5726Solution:   When there is only one branch use u_freeheader() to delete it.
5727Files:	    src/undo.c
5728
5729Patch 7.1.156
5730Problem:    Overlapping arguments for strcpy() when expanding command line
5731	    variables.
5732Solution:   Use mch_memmove() instead of STRCPY().  Also fix a few typos.
5733	    (Dominique Pelle)
5734Files:	    src/ex_docmd.c
5735
5736Patch 7.1.157
5737Problem:    In Ex mode, :" gives an error at end-of-file. (Michael Hordijk)
5738Solution:   Only give an error for an empty line, not for a comment.
5739Files:	    src/ex_docmd.c
5740
5741Patch 7.1.158 (extra)
5742Problem:    Win32 console: When 'encoding' is "utf-8" and typing Alt-y the
5743	    result is wrong.  Win32 GUI: Alt-y results in "u" when 'encoding'
5744	    is "cp1250" (Lukas Cerman)
5745Solution:   For utf-8 don't set the 7th bit in a byte, convert to the correct
5746	    byte sequence.  For cp1250, when conversion to 'encoding' results
5747	    in the 7th bit not set, set the 7th bit after conversion.
5748Files:	    src/os_win32.c, src/gui_w48.c
5749
5750Patch 7.1.159
5751Problem:    strcpy() has overlapping arguments.
5752Solution:   Use mch_memmove() instead. (Dominique Pelle)
5753Files:	    src/ex_cmds.c
5754
5755Patch 7.1.160
5756Problem:    When a focus autocommand is defined, getting or losing focus
5757	    causes the hit-enter prompt to be redrawn. (Bjorn Winckler)
5758Solution:   Overwrite the last line.
5759Files:	    src/message.c
5760
5761Patch 7.1.161
5762Problem:    Compilation errors with tiny features and EXITFREE.
5763Solution:   Add #ifdefs. (Dominique Pelle)
5764Files:	    src/edit.c, src/misc2.c
5765
5766Patch 7.1.162
5767Problem:    Crash when using a modifier before "while" or "for". (A.Politz)
5768Solution:   Skip modifiers when checking for a loop command.
5769Files:	    src/proto/ex_docmd.pro, src/ex_docmd.c, src/ex_eval.c
5770
5771Patch 7.1.163
5772Problem:    Warning for the unknown option 'bufsecret'.
5773Solution:   Remove the lines .vim that use this option. (Andy Wokula)
5774Files:	    runtime/menu.vim
5775
5776Patch 7.1.164
5777Problem:    Reading past end of regexp pattern. (Dominique Pelle)
5778Solution:   Use utf_ptr2len().
5779Files:	    src/regexp.c
5780
5781Patch 7.1.165
5782Problem:    Crash related to getting X window ID. (Dominique Pelle)
5783Solution:   Don't trust the window ID that we got in the past, check it every
5784	    time.
5785Files:	    src/os_unix.c
5786
5787Patch 7.1.166
5788Problem:    Memory leak for using "gp" in Visual mode.
5789Solution:   Free memory in put_register(). (Dominique Pelle)
5790Files:	    src/ops.c
5791
5792Patch 7.1.167
5793Problem:    Xxd crashes when using "xxd -b -c 110". (Debian bug 452789)
5794Solution:   Allocate more memory.  Fix check for maximum number of columns.
5795Files:	    src/xxd/xxd.c
5796
5797Patch 7.1.168 (extra)
5798Problem:    Win32 GUI: Since patch 7.1.095, when the Vim window does not have
5799	    focus, clicking in it doesn't position the cursor. (Juergen
5800	    Kraemer)
5801Solution:   Don't reset s_button_pending just after receiving focus.
5802Files:	    src/gui_w48.c
5803
5804Patch 7.1.169
5805Problem:    Using uninitialized variable when system() fails. (Dominique
5806	    Pelle)
5807Solution:   Let system() return an empty string when it fails.
5808Files:	    src/eval.c
5809
5810Patch 7.1.170
5811Problem:    Valgrind warning for overlapping arguments for strcpy().
5812Solution:   Use mch_memmove() instead. (Dominique Pelle)
5813Files:	    src/getchar.c
5814
5815Patch 7.1.171
5816Problem:    Reading one byte before allocated memory.
5817Solution:   Check index not to become negative. (Dominique Pelle)
5818Files:	    src/ex_getln.c
5819
5820Patch 7.1.172
5821Problem:    When 'buftype' is "acwrite" Vim still checks if the file or
5822	    directory exists before overwriting.
5823Solution:   Don't check for overwriting when the buffer name is not a file
5824	    name.
5825Files:	    src/ex_cmds.c
5826
5827Patch 7.1.173
5828Problem:    Accessing freed memory. (Dominique Pelle)
5829Solution:   Don't call reg_getline() to check if a line is the first in the
5830	    file.
5831Files:	    src/regexp.c
5832
5833Patch 7.1.174
5834Problem:    Writing NUL past end of a buffer.
5835Solution:   Copy one byte less when using strncat(). (Dominique Pelle)
5836Files:	    src/ex_cmds.c, src/ex_docmd.c,
5837
5838Patch 7.1.175
5839Problem:    <BS> doesn't work with some combination of 'sts', 'linebreak' and
5840	    'backspace'. (Francois Ingelrest)
5841Solution:   When adding white space results in not moving back delete one
5842	    character.
5843Files:	    src/edit.c
5844
5845Patch 7.1.176
5846Problem:    Building with Aap fails when the "compiledby" argument contains
5847	    '<' or '>' characters. (Alex Yeh)
5848Solution:   Change how quoting is done in the Aap recipe.
5849Files:	    src/main.aap
5850
5851Patch 7.1.177
5852Problem:    Freeing memory twice when in debug mode while reading a script.
5853Solution:   Ignore script input while in debug mode.
5854Files:	    src/ex_cmds2.c, src/getchar.c, src/globals.h
5855
5856Patch 7.1.178
5857Problem:    "%" doesn't work on "/* comment *//* comment */".
5858Solution:   Don't handle the "//" in "*//*" as a C++ comment. (Markus
5859	    Heidelberg)
5860Files:	    src/search.c
5861
5862Patch 7.1.179
5863Problem:    Need to check for TCL 8.5.
5864Solution:   Adjust configure script. (Alexey Froloff)
5865Files:	    src/configure.in, src/auto/configure
5866
5867Patch 7.1.180
5868Problem:    Regexp patterns not tested sufficiently.
5869Solution:   Add more checks to the regexp test.
5870Files:	    src/testdir/test64.in, src/testdir/test64.ok
5871
5872Patch 7.1.181
5873Problem:    Accessing uninitialized memory in Farsi mode. (Dominique Pelle)
5874Solution:   Only invoke lrF_sub() when there is something to do.
5875Files:	    src/ex_cmds.c
5876
5877Patch 7.1.182
5878Problem:    When using tab pages and an argument list the session file may
5879	    contain wrong "next" commands. (Alexander Bluem)
5880Solution:   Use "argu" commands and only when needed.
5881Files:	    src/ex_docmd.c
5882
5883Patch 7.1.183
5884Problem:    "Internal error" for ":echo matchstr('a', 'a\%[\&]')" (Mitanu
5885	    Paul)
5886Solution:   Inside "\%[]" detect \&, \| and \) as an error.
5887Files:	    src/regexp.c
5888
5889Patch 7.1.184
5890Problem:    Crash when deleting backwards over a line break in Insert mode.
5891Solution:   Don't advance the cursor when it's already on the NUL after a
5892	    line. (Matthew Wozniski)
5893Files:	    src/normal.c
5894
5895Patch 7.1.185
5896Problem:    Using "gR" with a multi-byte encoding and typing a CR pushes
5897	    characters onto the replace stack incorrectly, resulting in BS
5898	    putting back the wrong characters. (Paul B. Mahol)
5899Solution:   Push multi-byte characters onto the replace stack in reverse byte
5900	    order.  Add replace_push_mb().
5901Files:	    src/edit.c, src/misc1.c, src/proto/edit.pro
5902
5903Patch 7.1.186
5904Problem:    "expand('<afile>')" returns a bogus value after changing
5905	    directory. (Dave Fishburn)
5906Solution:   Copy "autocmd_fname" to allocated memory and expand to full
5907	    filename.  Shorten the path when expanding <afile>.
5908Files:	    src/ex_docmd.c, src/fileio.c
5909
5910Patch 7.1.187
5911Problem:    Win32 GUI: Custom completion using system() no longer works
5912	    after patch 7.1.104. (Erik Falor)
5913Solution:   Loop when safe_vgetc() returns K_IGNORE.
5914Files:	    src/ex_getln.c
5915
5916Patch 7.1.188
5917Problem:    When 'showmode' is off the message for changing a readonly file is
5918	    given in the second column instead of the first.  (Payl B. Mahol)
5919Solution:   Put the W10 message in the first column.
5920Files:	    src/edit.c
5921
5922Patch 7.1.189 (after 7.1.104)
5923Problem:    Patch 7.1.104 was incomplete.
5924Solution:   Also call plain_vgetc() in ask_yesno().
5925Files:	    src/misc1.c
5926
5927Patch 7.1.190
5928Problem:    Cursor after end-of-line: "iA sentence.<Esc>)"
5929Solution:   Move cursor back and make motion inclusive.
5930Files:	    src/normal.c
5931
5932Patch 7.1.191
5933Problem:    Win32 GUI: after patch 7.1.168 there is still a problem when
5934	    clicking in a scrollbar. (Juergen Jottkaerr)
5935Solution:   Don't check the input buffer when dragging the scrollbar.
5936Files:	    src/gui.c
5937
5938Patch 7.1.192
5939Problem:    With Visual block selection, "s" and typing something, CTRL-C
5940	    doesn't stop Vim from repeating the replacement in other lines,
5941	    like happens for "I".
5942Solution:   Check for "got_int" to be set.
5943Files:	    src/ops.c
5944
5945Patch 7.1.193
5946Problem:    Some Vim 5.x digraphs are missing in Vim 7, even though the
5947	    character pairs are not used. (Philippe de Muyter)
5948Solution:   Add those Vim 5.x digraphs that don't conflict with others.
5949Files:	    src/digraph.c
5950
5951Patch 7.1.194
5952Problem:    ":echo glob('~/{}')" results in /home/user//.
5953Solution:   Don't add a slash if there already is one.
5954Files:	    src/os_unix.c
5955
5956Patch 7.1.195
5957Problem:    '0 mark doesn't work for "~/foo ~ foo".
5958Solution:   Don't expand the whole file name, only "~/".
5959Files:	    src/mark.c
5960
5961Patch 7.1.196 (extra)
5962Problem:    Win32 GUI: "\n" in a tooltip doesn't cause a line break. (Erik
5963	    Falor)
5964Solution:   Use the TTM_SETMAXTIPWIDTH message.
5965Files:	    src/gui_w32.c
5966
5967Patch 7.1.197
5968Problem:    Mac: "make install" doesn't work when prefix defined.
5969Solution:   Pass different arguments to "make installruntime".  (Jjgod Jiang)
5970Files:	    src/Makefile
5971
5972Patch 7.1.198
5973Problem:    Hang when using ":s/\n//gn". (Burak Gorkemli)
5974Solution:   Set "skip_match".
5975Files:	    src/ex_cmds.c
5976
5977Patch 7.1.199
5978Problem:    Can't do command line completion for a specific file name
5979	    extension.
5980Solution:   When the pattern ends in "$" don't add a star for completion and
5981	    remove the "$" before matching with file names.
5982Files:	    runtime/doc/cmdline.txt, src/ex_getln.c
5983
5984Patch 7.1.200 (after 7.1.177 and 7.1.182)
5985Problem:    Compiler warnings for uninitialized variables.
5986Solution:   Init variables.
5987Files:	    src/ex_cmds2.c, src/ex_docmd.c
5988
5989Patch 7.1.201
5990Problem:    When reading stdin 'fenc' and 'ff are not set.
5991Solution:   Set the options after reading stdin. (Ben Schmidt)
5992Files:	    src/fileio.c
5993
5994Patch 7.1.202
5995Problem:    Incomplete utf-8 byte sequence is not checked for validity.
5996Solution:   Check the bytes that are present for being valid. (Ben Schmidt)
5997Files:	    src/mbyte.c
5998
5999Patch 7.1.203
6000Problem:    When 'virtualedit' is "onemore" then "99|" works but ":normal 99|"
6001	    doesn't.  (Andy Wokula)
6002Solution:   Check for "onemore" flag in check_cursor_col().
6003Files:	    src/misc2.c
6004
6005Patch 7.1.204 (extra)
6006Problem:    Win32: Using the example at 'balloonexpr' the balloon disappears
6007	    after four seconds and then comes back again.  Also moves the
6008	    mouse pointer a little bit.  (Yongwei Wu)
6009Solution:   Set the autopop time to 30 seconds (the max value).  (Sergey
6010	    Khorev)  Move the mouse two pixels forward and one back to end up
6011	    in the same position (really!).
6012Files:	    src/gui_w32.c
6013
6014Patch 7.1.205
6015Problem:    Can't get the operator in an ":omap".
6016Solution:   Add the "v:operator" variable. (Ben Schmidt)
6017Files:	    runtime/doc/eval.txt, src/eval.c, src/normal.c, src/vim.h
6018
6019Patch 7.1.206
6020Problem:    Compiler warnings when using MODIFIED_BY.
6021Solution:   Add type casts. (Ben Schmidt)
6022Files:	    src/version.c
6023
6024Patch 7.1.207
6025Problem:    Netbeans: "remove" cannot delete one line. 
6026Solution:   Remove partial lines and whole lines properly.  Avoid a memory
6027	    leak.  (Xavier de Gaye)
6028Files:	    src/netbeans.c
6029
6030Patch 7.1.208
6031Problem:    On Alpha get an unaligned access error.
6032Solution:   Store the dictitem pointer before using it. (Matthew Luckie)
6033Files:	    src/eval.c
6034
6035Patch 7.1.209
6036Problem:    GTK: When using the netrw plugin and doing ":gui" Vim hangs.
6037Solution:   Stop getting a selection after three seconds.  This is a hack.
6038Files:	    src/gui_gtk_x11.c
6039
6040Patch 7.1.210
6041Problem:    Listing mapping for 0xdb fails when 'encoding' is utf-8. (Tony
6042	    Mechelynck)
6043Solution:   Recognize K_SPECIAL KS_EXTRA KE_CSI as a CSI byte.
6044Files:	    src/mbyte.c
6045
6046Patch 7.1.211
6047Problem:    The matchparen plugin may take an unexpected amount of time, so
6048	    that it looks like Vim hangs.
6049Solution:   Add a timeout to searchpair(), searchpairpos(), search() and
6050	    searchpos().  Use half a second timeout in the plugin.
6051Files:	    runtime/doc/eval.txt, runtime/plugin/matchparen.vim, src/edit.c,
6052	    src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c,
6053	    src/proto/eval.pro, src/proto/ex_cmds2.pro, src/proto/search.pro,
6054	    src/search.c
6055
6056Patch 7.1.212
6057Problem:    Accessing a byte before a line.
6058Solution:   Check that the column is 1 or more. (Dominique Pelle)
6059Files:	    src/edit.c
6060
6061Patch 7.1.213
6062Problem:    A ":tabedit" command that results in the "swap file exists" dialog
6063	    and selecting "abort" doesn't close the new tab. (Al Budden)
6064Solution:   Pass "old_curwin" to do_exedit().
6065Files:	    src/ex_docmd.c
6066
6067Patch 7.1.214
6068Problem:    ":1s/g\n\zs1//" deletes characters from the first line. (A Politz)
6069Solution:   Start replacing in the line where the match starts.
6070Files:	    src/ex_cmds.c
6071
6072Patch 7.1.215
6073Problem:    It is difficult to figure out what syntax items are nested at a
6074	    certain position.
6075Solution:   Add the synstack() function.
6076Files:	    runtime/doc/eval.txt, src/eval.c, src/proto/syntax.pro,
6077	    src/syntax.c
6078
6079Patch 7.1.216
6080Problem:    Variants of --remote-tab are not mentioned for "vim --help".
6081Solution:   Display optional -wait and -silent.
6082Files:	    src/main.c
6083
6084Patch 7.1.217
6085Problem:    The "help-tags" tag may be missing from runtime/doc/tags when it
6086	    was generated during "make install".
6087Solution:   Add the "++t" argument to ":helptags" to force adding the tag.
6088Files:	    runtime/doc/Makefile, runtime/doc/various.txt, src/ex_cmds.c,
6089	    src/ex_cmds.h
6090
6091Patch 7.1.218
6092Problem:    A syntax region without a "keepend", containing a region with
6093	    "extend" could be truncated at the end of the containing region.
6094Solution:   Do not call syn_update_ends() when there are no keepend items.
6095Files:	    src/syntax.c
6096
6097Patch 7.1.219 (after 7.1.215)
6098Problem:    synstack() returns situation after the current character, can't
6099	    see the state for a one-character region.
6100Solution:   Don't update ending states in the requested column.
6101Files:	    runtime/doc/eval.txt, src/eval.c, src/hardcopy.c,
6102	    src/proto/syntax.pro, src/screen.c, src/spell.c, src/syntax.c
6103
6104Patch 7.1.220
6105Problem:    When a ")" or word movement command moves the cursor back from the
6106	    end of the line it may end up on the trail byte of a multi-byte
6107	    character.  It's also moved back when it isn't needed.
6108Solution:   Add the adjust_cursor() function.
6109Files:	    src/normal.c
6110
6111Patch 7.1.221
6112Problem:    When inserting a "(", triggering the matchparen plugin, the
6113	    following highlighting may be messed up.
6114Solution:   Before triggering the CursorMovedI autocommands update the display
6115	    to update the stored syntax stacks for the change.
6116Files:	    src/edit.c
6117
6118Patch 7.1.222 (after 7.1.217)
6119Problem:    Wildcards in argument of ":helptags" are not expanded.  (Marcel
6120	    Svitalsky)
6121Solution:   Expand wildcards in the directory name.
6122Files:	    src/ex_cmds.c
6123
6124Patch 7.1.223
6125Problem:    glob() doesn't work properly when 'shell' is "sh" or "bash" and
6126	    the expanded name contains spaces, '~', single quotes and other
6127	    special characters.  (Adri Verhoef, Charles Campbell)
6128Solution:   For Posix shells define a vimglob() function to list the matches
6129	    instead of using "echo" directly.
6130Files:	    src/os_unix.c
6131
6132Patch 7.1.224
6133Problem:    When using "vim -F -o file1 file2" only one window is
6134	    right-to-left.  Same for "-H".  (Ben Schmidt)
6135Solution:   use set_option_value() to set 'rightleft'.
6136Files:	    src/main.c
6137
6138Patch 7.1.225
6139Problem:    Using uninitialized value when XGetWMNormalHints() fails.
6140Solution:   Check the return value. (Dominique Pelle)
6141Files:	    src/os_unix.c
6142
6143Patch 7.1.226
6144Problem:    Command line completion doesn't work when a file name contains a
6145	    '&' character.
6146Solution:   Accept all characters in a file name, except ones that end a
6147	    command or white space.
6148Files:	    src/ex_docmd.c
6149
6150Patch 7.1.227
6151Problem:    Hang in syntax HL when moving over a ")". (Dominique Pelle)
6152Solution:   Avoid storing a syntax state in the wrong position in the list of
6153	    remembered states.
6154Files:	    src/syntax.c
6155
6156Patch 7.1.228
6157Problem:    When 'foldmethod' is "indent" and a fold is created with ">>" it
6158	    can't be closed with "zc".  (Daniel Shahaf)
6159Solution:   Reset the "small" flag of a fold when adding a line to it.
6160Files:	    src/fold.c
6161
6162Patch 7.1.229
6163Problem:    A fold is closed when it shouldn't when 'foldmethod' is "indent"
6164	    and backspacing a non-white character so that the indent increases.
6165Solution:   Keep the fold open after backspacing a character.
6166Files:	    src/edit.c
6167
6168Patch 7.1.230
6169Problem:    Memory leak when executing SourceCmd autocommands.
6170Solution:   Free the memory. (Dominique Pelle)
6171Files:	    src/ex_cmds2.c
6172
6173Patch 7.1.231
6174Problem:    When shifting lines the change is acted upon multiple times.
6175Solution:   Don't have shift_line() call changed_bytes.
6176Files:	    src/edit.c, src/ops.c, src/proto/edit.pro, src/proto/ops.pro
6177
6178Patch 7.1.232 (after 7.1.207 and 7.1.211)
6179Problem:    Compiler warnings with MSVC.
6180Solution:   Add type casts. (Mike Williams)
6181Files:	    src/ex_cmds2.c, src/netbeans.c
6182
6183Patch 7.1.233
6184Problem:    Crash when doing Insert mode completion for a user defined
6185	    command.  (Yegappan Lakshmanan)
6186Solution:   Don't use the non-existing command line.
6187Files:	    src/ex_getln.c
6188
6189Patch 7.1.234
6190Problem:    When diff'ing three files the third one isn't displayed correctly.
6191	    (Gary Johnson)
6192Solution:   Compute the size of diff blocks correctly when merging blocks.
6193	    Compute filler lines correctly when scrolling.
6194Files:	    src/diff.c
6195
6196Patch 7.1.235
6197Problem:    Pattern matching is slow when using a lot of simple patterns.
6198Solution:   Avoid allocating memory by not freeing it when it's not so much.
6199	    (Alexei Alexandrov)
6200Files:	    src/regexp.c
6201
6202Patch 7.1.236
6203Problem:    When using 'incsearch' and 'hlsearch' a complicated pattern may
6204	    make Vim hang until CTRL-C is pressed.
6205Solution:   Add the 'redrawtime' option.
6206Files:	    runtime/doc/options.txt, src/ex_cmds.c, src/ex_docmd.c,
6207	    src/ex_getln.c, src/gui.c, src/misc1.c, src/normal.c,
6208	    src/option.c, src/quickfix.c, src/regexp.c, src/proto/regexp.pro,
6209	    src/proto/search.pro, src/search.c, src/screen.c,
6210	    src/option.h, src/spell.c, src/structs.h, src/syntax.c, src/tag.c,
6211	    src/vim.h
6212
6213Patch 7.1.237
6214Problem:    Compiler warning on an Alpha processor in Motif code.
6215Solution:   Change a typecast. (Adri Verhoef)
6216Files:	    src/gui_motif.c
6217
6218Patch 7.1.238
6219Problem:    Using the 'c' flag with searchpair() may cause it to fail.  Using
6220	    the 'r' flag doesn't work when 'wrapscan' is set.  (A.Politz)
6221Solution:   Only use the 'c' flag for the first search, not for repeating.
6222	    When using 'r' imply 'W'. (Antony Scriven)
6223Files:	    src/eval.c
6224
6225Patch 7.1.239 (after 7.1.233)
6226Problem:    Compiler warning for sprintf() argument.
6227Solution:   Add a typecast. (Nico Weber)
6228Files:	    src/ex_getln.c
6229
6230Patch 7.1.240
6231Problem:    When "gUe" turns a German sharp s into SS the operation stops
6232	    before the end of the word.  Latin2 has the same sharp s but it's
6233	    not changed to SS there.
6234Solution:   Make sure all the characters are operated upon.  Detect the sharp
6235	    s in latin2.  Also fixes that changing case of a multi-byte
6236	    character that changes the byte count doesn't always work.
6237Files:	    src/ops.c
6238
6239Patch 7.1.241
6240Problem:    Focus change events not always ignored.  (Erik Falor)
6241Solution:   Ignore K_IGNORE in Insert mode in a few more places.
6242Files:	    src/edit.c
6243
6244Patch 7.1.242 (after 7.1.005)
6245Problem:    "cib" doesn't work properly on "(x)". (Tim Pope)
6246Solution:   Use ltoreq() instead of lt().  Also fix "ciT" on "<a>x</a>".
6247Files:	    src/search.c
6248
6249Patch 7.1.243 (after 7.1.240)
6250Problem:    "U" doesn't work on all text in Visual mode. (Adri Verhoef)
6251Solution:   Loop over all the lines to be changed.  Add tests for this.
6252Files:	    src/ops.c, src/testdir/test39.in, src/testdir/test39.ok
6253
6254Patch 7.1.244
6255Problem:    GUI may have part of the command line cut off.
6256Solution:   Don't round the number of lines up, always round down.
6257	    (Tony Houghton, Scott Dillard)
6258Files:	    src/gui.c
6259
6260Patch 7.1.245
6261Problem:    Pressing CTRL-\ three times causes Vim to quit.  (Ranganath Rao).
6262	    Also for f CTRL-\ CTRL-\.
6263Solution:   When going to cooked mode in mch_delay() set a flag to ignore
6264	    SIGQUIT.
6265Files:	    src/os_unix.c
6266
6267Patch 7.1.246
6268Problem:    Configure hangs when the man pager is something strange. (lorien)
6269Solution:   Set MANPAGER and PAGER to "cat". (Micah Cowan)
6270Files:	    src/auto/configure, src/configure.in
6271
6272Patch 7.1.247
6273Problem:    When using Netbeans backspacing in Insert mode skips a character
6274	    now and then. (Ankit Jain)
6275Solution:   Avoid calling netbeans_removed(), it frees the line pointer.
6276	    (partly by Dominique Pelle).
6277Files:	    src/misc1.c
6278
6279Patch 7.1.248
6280Problem:    Can't set the '" mark.  Can't know if setpos() was successful.
6281Solution:   Allow setting the '" mark with setpos().  Have setpos() return a
6282	    value indicating success/failure.
6283Files:	    runtime/doc/eval.txt, src/eval.c, src/mark.c
6284
6285Patch 7.1.249
6286Problem:    After "U" the cursor can be past end of line.  (Adri Verhoef)
6287Solution:   Adjust the cursor position in u_undoline().
6288Files:	    src/undo.c
6289
6290Patch 7.1.250
6291Problem:    ":setglobal fenc=anything" gives an error message in a buffer
6292	    where 'modifiable' is off.  (Ben Schmidt)
6293Solution:   Don't give an error if 'modifiable' doesn't matter.
6294Files:	    src/option.c
6295
6296Patch 7.1.251
6297Problem:    Using freed memory when spell checking enabled.
6298Solution:   Obtain the current line again after calling spell_move_to().
6299	    (Dominique Pelle)
6300Files:	    src/screen.c
6301
6302Patch 7.1.252 (after 7.1.243)
6303Problem:    Test 39 fails when the environment has a utf-8 locale. (Dominique
6304	    Pelle)
6305Solution:   Force 'encoding' to be latin1.
6306Files:	    src/testdir/test39.in
6307
6308Patch 7.1.253
6309Problem:    ":sort" doesn't work in a one line file. (Patrick Texier)
6310Solution:   Don't sort if there is only one line. (Dominique Pelle)
6311Files:	    src/ex_cmds.c
6312
6313Patch 7.1.254
6314Problem:    Tests 49 and 55 fail when the locale is French.
6315Solution:   Using C messages for test 49.  Filter the error message in test 55
6316	    such that it works when the number is halfway the message.
6317Files:	    src/testdir/test49.in, src/testdir/test55.in
6318
6319Patch 7.1.255
6320Problem:    Vim doesn't support utf-32. (Yongwei Wu)
6321Solution:   Add aliases for utf-32, it's the same as ucs-4.
6322Files:	    src/mbyte.c
6323
6324Patch 7.1.256
6325Problem:    findfile() also returns directories.
6326Solution:   Cleanup the code for finding files and directories in a list of
6327	    directories.  Remove the ugly global ff_search_ctx.
6328Files:	    src/eval.c, src/misc2.c, src/vim.h, src/tag.c
6329
6330Patch 7.1.257
6331Problem:    Configure can't always find the Tcl header files.
6332Solution:   Also look in /usr/local/include/tcl$tclver and
6333	    /usr/include/tcl$tclver (James Vega)
6334Files:	    src/auto/configure, src/configure.in
6335
6336Patch 7.1.258
6337Problem:    Crash when doing "d/\n/e" and 'virtualedit' is "all". (Andy Wokula)
6338Solution:   Avoid that the column becomes negative.  Also fixes other problems
6339	    with the end of a pattern match is in column zero. (A.Politz)
6340Files:	    src/search.c
6341
6342Patch 7.1.259
6343Problem:    Cursor is in the wrong position when 'rightleft' is set,
6344	    'encoding' is "utf-8" and on an illegal byte.  (Dominique Pelle)
6345Solution:   Only put the cursor in the first column when actually on a
6346	    double-wide character.  (Yukihiro Nakadaira)
6347Files:	    src/screen.c
6348
6349Patch 7.1.260
6350Problem:    Cursor positioning problem after ^@ wrapping halfway when
6351	    'encoding' is utf-8.
6352Solution:   Only count a position for printable characters.  (partly by
6353	    Yukihiro Nakadaira)
6354Files:	    src/charset.c
6355
6356Patch 7.1.261
6357Problem:    When a 2 byte BOM is detected Vim uses UCS-2, which doesn't work
6358	    for UTF-16 text. (Tony Mechelynck)
6359Solution:   Default to UTF-16.
6360Files:	    src/fileio.c, src/testdir/test42.ok
6361
6362Patch 7.1.262
6363Problem:    Can't get the process ID of Vim.
6364Solution:   Implement getpid().
6365Files:	    src/eval.c, runtime/doc/eval.txt
6366
6367Patch 7.1.263
6368Problem:    The filetype can consist of two dot separated names.  This works
6369	    for syntax and ftplugin, but not for indent. (Brett Stahlman)
6370Solution:   Use split() and loop over each dot separated name.
6371Files:	    runtime/indent.vim
6372
6373Patch 7.1.264
6374Problem:    Crash when indenting lines. (Dominique Pelle)
6375Solution:   Set the cursor column when changing the cursor line.
6376Files:	    src/ops.c, src/misc1.c
6377
6378Patch 7.1.265
6379Problem:    When 'isfname' contains a space, cmdline completion can hang.
6380	    (James Vega)
6381Solution:   Reset the "len" variable.
6382Files:	    src/ex_docmd.c
6383
6384Patch 7.1.266
6385Problem:    When the version string returned by the terminal contains
6386	    unexpected characters, it is used as typed input. (James Vega)
6387Solution:   Assume the escape sequence ends in a letter.
6388Files:	    src/term.c
6389
6390Patch 7.1.267
6391Problem:    When changing folds cursor may be positioned in the wrong place.
6392Solution:   Call changed_window_setting_win() instead of
6393	    changed_window_setting().
6394Files:	    src/fold.c
6395
6396Patch 7.1.268
6397Problem:    Always shows "+" at end of screen line with: ":set
6398	    listchars=eol:$,extends:+ nowrap list cursorline" (Gary Johnson)
6399Solution:   Check for lcs_eol_one instead of lcs_eol.
6400Files:	    src/screen.c
6401
6402Patch 7.1.269
6403Problem:    The matchparen plugin has an arbitrary limit for the number of
6404	    lines to look for a match.
6405Solution:   Rely on the searchpair() timeout.
6406Files:	    runtime/plugin/matchparen.vim
6407
6408Patch 7.1.270
6409Problem:    ":?foo?" matches in current line since patch 7.1.025. (A.Politz)
6410Solution:   Remove the SEARCH_START flag.
6411Files:	    src/ex_docmd.c, src/search.c
6412
6413Patch 7.1.271
6414Problem:    In a Vim build without autocommands, checking a file that was
6415	    changed externally causes the current buffer to be changed
6416	    unexpectedly.  (Karsten Hopp)
6417Solution:   Store "curbuf" instead of "buf".
6418Files:	    src/fileio.c
6419
6420Patch 7.1.272
6421Problem:    The special buffer name [Location List] is not used for a buffer
6422	    displayed in another tab page.
6423Solution:   Use FOR_ALL_TAB_WINDOWS instead of FOR_ALL_WINDOWS. (Hiroaki
6424	    Nishihara)
6425Files:	    src/buffer.c
6426
6427Patch 7.1.273
6428Problem:    When profiling on Linux Vim exits early. (Liu Yubao)
6429Solution:   When profiling don't exit on SIGPROF.
6430Files:	    src/Makefile, src/os_unix.c
6431
6432Patch 7.1.274 (after 7.1.272)
6433Problem:    Compiler warning for optimized build.
6434Solution:   Init win to NULL.
6435Files:	    src/buffer.c
6436
6437Patch 7.1.275 (extra)
6438Problem:    Mac: ATSUI and 'antialias' don't work properly together.
6439Solution:   Fix this and the input method. (Jjgod Jiang)
6440Files:	    src/vim.h, src/gui_mac.c
6441
6442Patch 7.1.276
6443Problem:    "gw" uses 'formatexpr', even though the docs say it doesn't.
6444Solution:   Don't use 'formatexpr' for "gw".
6445Files:	    src/vim.h, src/edit.c, src/ops.c, src/proto/ops.pro
6446
6447Patch 7.1.277
6448Problem:    Default for 'paragraphs' misses some items (Colin Watson)
6449Solution:   Add TP, HP, Pp, Lp and It to 'paragraphs'. (James Vega)
6450Files:	    runtime/doc/options.txt, src/option.c
6451
6452Patch 7.1.278 (extra, after 7.1.275)
6453Problem:    Build failure when USE_CARBONKEYHANDLER is not defined.
6454Solution:   Remove #ifdef.
6455Files:	    src/gui_mac.c
6456
6457Patch 7.1.279
6458Problem:    When using cscope temporary files are left behind.
6459Solution:   Send the quit command to cscope and give it two seconds to exit
6460	    nicely before killing it. (partly by Dominique Pelle)
6461Files:	    src/if_cscope.c
6462
6463Patch 7.1.280  (after 7.1.275)
6464Problem:    Mac: build problems when not using multibyte feature. (Nicholas
6465	    Stallard)
6466Solution:   Don't define USE_IM_CONTROL when not using multibyte.
6467Files:	    src/vim.h
6468
6469Patch 7.1.281 (after 7.1.279)
6470Problem:    sa.sa_mask is not initialized.  Cscope may not exit.
6471Solution:   Use sigemptyset().  Use SIGKILL instead of SIGTERM. (Dominique
6472	    Pelle)
6473Files:	    src/if_cscope.c
6474
6475Patch 7.1.282 (extra)
6476Problem:    Win64: Edit with Vim context menu isn't installed correctly.
6477	    Compiler warnings and a few other things.
6478Solution:   Add [ and ] to entry of class name.  Use UINT_PTR instead of UINT.
6479	    And a fixes for the other things. (George V.  Reilly)
6480Files:	    src/GvimExt/Makefile, src/dosinst.c, src/if_ole.cpp, src/if_ole.h,
6481	    src/if_ole.idl, src/INSTALLpc.txt,  src/Make_mvc.mak,
6482	    src/os_win32.c,
6483
6484Patch 7.1.283
6485Problem:    Non-extra part for 7.1.282.
6486Solution:   Various changes.
6487Files:	    src/ex_docmd.c, src/globals.h, src/if_cscope.c, src/main.c,
6488	    src/mark.c, src/netbeans.c, src/popupmnu.c, src/vim.h,
6489	    src/window.c
6490
6491Patch 7.1.284
6492Problem:    Compiler warnings for functions without prototype.
6493Solution:   Add the function prototypes. (Patrick Texier)
6494Files:	    src/eval.c, src/quickfix.c
6495
6496Patch 7.1.285 (extra)
6497Problem:    Mac: dialog hotkeys don't work.
6498Solution:   Add hotkey support. (Dan Sandler)
6499Files:	    src/gui_mac.c
6500
6501Patch 7.1.286 (after 7.1.103)
6502Problem:    "w" at the end of the buffer moves the cursor past the end of the
6503	    line. (Markus Heidelberg)
6504Solution:   Move the cursor back from the NUL when it was moved forward.
6505Files:	    src/normal.c
6506
6507Patch 7.1.287
6508Problem:    Crash when reversing a list after using it. (Andy Wokula)
6509Solution:   Update the pointer to the last used element. (Dominique Pelle)
6510Files:	    src/eval.c
6511
6512Patch 7.1.288 (after 7.1.281)
6513Problem:    Cscope still leaves behind temp files when using gvim.
6514Solution:   When getting the ECHILD error loop for a while until cscope exits.
6515	    (Dominique Pelle)
6516Files:	    if_cscope.c
6517
6518Patch 7.1.289
6519Problem:    When EXITFREE is defined and 'acd' is set freed memory is used.
6520	    (Dominique Pelle)
6521Solution:   Reset p_acd before freeing all buffers.
6522Files:	    src/misc2.c
6523
6524Patch 7.1.290
6525Problem:    Reading bytes that were not written when spell checking and a line
6526	    has a very large indent.
6527Solution:   Don't copy the start of the next line when it only contains
6528	    spaces. (Dominique Pelle)
6529Files:	    src/spell.c
6530
6531Patch 7.1.291 (after 7.1.288)
6532Problem:    Compiler warning.
6533Solution:   Change 50 to 50L.
6534Files:	    src/if_cscope.c
6535
6536Patch 7.1.292
6537Problem:    When using a pattern with "\@<=" the submatches can be wrong.
6538	    (Brett Stahlman)
6539Solution:   Save the submatches when attempting a look-behind match.
6540Files:	    src/regexp.c
6541
6542Patch 7.1.293
6543Problem:    Spell checking considers super- and subscript characters as word
6544	    characters.
6545Solution:   Recognize the Unicode super and subscript characters.
6546Files:	    src/spell.c
6547
6548Patch 7.1.294
6549Problem:    Leaking memory when executing a shell command.
6550Solution:   Free memory when not able to save for undo. (Dominique Pelle)
6551Files:	    src/ex_cmds.c
6552
6553Patch 7.1.295
6554Problem:    Vimtutor only works with vim, not gvim.
6555Solution:   Add the -g flag to vimtutor. (Dominique Pelle)  Add gvimtutor.
6556Files:	    src/Makefile, src/gvimtutor, src/vimtutor, runtime/doc/vimtutor.1
6557
6558Patch 7.1.296
6559Problem:    SELinux is not supported.
6560Solution:   Detect the selinux library and use mch_copy_sec(). (James Vega)
6561Files:	    src/auto/configure, src/config.h.in, src/configure.in,
6562	    src/fileio.c, src/memfile.c, src/os_unix.c, src/proto/os_unix.pro
6563
6564Patch 7.1.297
6565Problem:    When using the search/replace dialog the parenmatch highlighting
6566	    can be wrong. (Tim Duncan)
6567Solution:   In the GUI redraw function invoke the CursorMoved autocmd.
6568Files:	    src/gui.c
6569
6570Patch 7.1.298 (after 7.1.295)
6571Problem:    src/gvimtutor is not distributed.
6572Solution:   Add it to the list of distributed files.
6573Files:	    Filelist
6574
6575Patch 7.1.299
6576Problem:    Filetype detection doesn't work properly for file names ending in
6577	    a part that is ignored and contain a space or other special
6578	    characters.
6579Solution:   Escape the special characters using the new fnameescape function.
6580Files:	    runtime/doc/eval.txt, runtime/filetype.vim, src/eval.c,
6581	    src/ex_getln.c, src/proto/ex_getln.pro, src/vim.h
6582
6583Patch 7.1.300
6584Problem:    Value of asmsyntax argument isn't checked for valid characters.
6585Solution:   Only accepts letters and digits.
6586Files:	    runtime/filetype.vim
6587
6588Patch 7.1.301
6589Problem:    When the "File/Save" menu is used in Insert mode, a tab page label
6590	    is not updated to remove the "+".
6591Solution:   Call draw_tabline() from showruler(). (Bjorn Winckler)
6592Files:	    src/screen.c
6593
6594Patch 7.1.302 (after 7.1.299)
6595Problem:    Compilation error on MS-Windows.
6596Solution:   Don't use xp_shell when it's not defined.
6597Files:	    src/ex_getln.c
6598
6599Patch 7.1.303 (after 7.1.302)
6600Problem:    Compilation error on MS-Windows, again.
6601Solution:   Declare p.
6602Files:	    src/ex_getln.c
6603
6604Patch 7.1.304
6605Problem:    Shortpath_for_invalid_fname() does not work correctly and is
6606	    unnecessary complex.
6607Solution:   Clean up shortpath_for_invalid_fname(). (mostly by Yegappan
6608	    Lakshmanan)
6609Files:	    src/eval.c
6610
6611Patch 7.1.305
6612Problem:    Editing a compressed file with special characters in the name
6613	    doesn't work properly.
6614Solution:   Escape special characters.
6615Files:	    runtime/autoload/gzip.vim
6616
6617Patch 7.1.306
6618Problem:    Some Unicode characters are handled like word characters while
6619	    they are symbols.
6620Solution:   Adjust the table for Unicode classification.
6621Files:	    src/mbyte.c
6622
6623Patch 7.1.307
6624Problem:    Many warnings when compiling with Python 2.5.
6625Solution:   Use ssize_t instead of int for some types. (James Vega)
6626Files:	    src/if_python.c
6627
6628Patch 7.1.308
6629Problem:    When in readonly mode ":options" produces an error.
6630Solution:   Reset 'readonly'. (Gary Johnson)
6631Files:	    runtime/optwin.vim
6632
6633Patch 7.1.309
6634Problem:    Installing and testing with a shadow directory doesn't work.
6635	    (James Vega)
6636Solution:   Add "po" to the list of directories to link.  Also link the Vim
6637	    scripts in testdir.  And a few more small fixes.
6638Files:	    src/Makefile
6639
6640Patch 7.1.310
6641Problem:    Incomplete utf-8 byte sequence at end of the file is not detected.
6642	    Accessing memory that wasn't written.
6643Solution:   Check the last bytes in the buffer for being a valid utf-8
6644	    character. (mostly by Ben Schmidt)
6645	    Also fix that the reported line number of the error was wrong.
6646Files:	    src/fileio.c
6647
6648Patch 7.1.311
6649Problem:    Compiler warning for missing sentinel in X code.
6650Solution:   Change 0 to NULL. (Markus Heidelberg)
6651Files:	    src/mbyte.c
6652
6653Patch 7.1.312
6654Problem:    The .po files have mistakes in error numbers.
6655Solution:   Search for these mistakes in the check script. (Dominique Pelle)
6656Files:	    src/po/check.vim
6657
6658Patch 7.1.313
6659Problem:    When the netbeans interface setModified call is used the status
6660	    lines and window title are not updated.
6661Solution:   Redraw the status lines and title. (Philippe Fremy)
6662Files:	    src/netbeans.c
6663
6664Patch 7.1.314
6665Problem:    The value of 'pastetoggle' is written to the session file without
6666	    any escaping. (Randall Hansen)
6667Solution:   Use put_escstr(). (Ben Schmidt)
6668Files:	    src/option.c
6669
6670Patch 7.1.315
6671Problem:    Crash with specific search pattern using look-behind match.
6672	    (Andreas Politz)
6673Solution:   Also save the value of "need_clear_subexpr".
6674Files:	    src/regexp.c
6675
6676Patch 7.1.316
6677Problem:    When 'cscopetag' is set ":tag" gives an error message instead of
6678	    going to the next tag in the tag stack.
6679Solution:   Don't call do_cstag() when there is no argument. (Mark Goldman)
6680Files:	    src/ex_docmd.c
6681
6682Patch 7.1.317
6683Problem:    Compiler warnings in Motif calls.
6684Solution:   Change zero to NULL. (Dominique Pelle)
6685Files:	    src/gui_motif.c
6686
6687Patch 7.1.318
6688Problem:    Memory leak when closing xsmp connection.  Crash on exit when
6689	    using Lesstif.
6690Solution:   Don't close the X display to work around a Lesstif bug.  Free
6691	    clientid.  Also fix a leak for Motif and Athena. (Dominique Pelle)
6692Files:	    src/gui_x11.c, src/os_unix.c
6693
6694Patch 7.1.319
6695Problem:    When a register has an illegal utf-8 sequence, pasting it on the
6696	    command line causes an illegal memory access.
6697Solution:   Use mb_cptr2char_adv(). (Dominique Pelle)
6698Files:	    src/ex_getln.c
6699
6700Patch 7.1.320 (extra)
6701Problem:    Win64: Warnings while compiling Python interface.
6702Solution:   Use PyInt in more places.  Also update version message for the
6703	    console. (George Reilly)
6704Files:	    src/if_python.c, src/version.c
6705
6706Patch 7.1.321 (extra)
6707Problem:    Win32 / Win64: Install file is outdated.
6708Solution:   Update the text for recent compiler. (George Reilly)
6709Files:	    src/INSTALLpc.txt
6710
6711Patch 7.1.322
6712Problem:    Can't get start of Visual area in an <expr> mapping.
6713Solution:   Add the 'v' argument to getpos().
6714Files:	    runtime/doc/eval.txt, src/eval.c
6715
6716Patch 7.1.323
6717Problem:    Test 19 fails with some termcaps. (Dominique Pelle)
6718Solution:   Set the t_kb and t_kD termcap values.
6719Files:	    src/testdir/test19.in, src/testdir/test38.in
6720
6721Patch 7.1.324
6722Problem:    File name path length on Unix is limited to 1024.
6723Solution:   Use PATH_MAX when it's more than 1000.
6724Files:	    src/os_unix.h
6725
6726Patch 7.1.325
6727Problem:    When editing a command line that's longer than available space in
6728	    the window, the characters at the end are in reverse order.
6729Solution:   Increment the insert position even when the command line doesn't
6730	    fit.  (Ingo Karkat)
6731Files:	    src/ex_getln.c
6732
6733Patch 7.1.326
6734Problem:    ":s!from!to!" works, but ":smagic!from!to!" doesn't.  It sees the
6735	    "!" as a flag to the command.  Same for ":snomagic". (Johan Spetz)
6736Solution:   When checking for a forced command also ignore ":smagic" and
6737	    ":snomagic". (Ian Kelling)
6738Files:	    src/ex_docmd.c
6739
6740Patch 7.1.327
6741Problem:    The GUI tutor is installed when there is no GUI version.
6742Solution:   Only install gvimtutor when building a GUI version.
6743Files:	    src/Makefile
6744
6745Patch 7.1.328
6746Problem:    Crash when using Cygwin and non-posix path name in tags file.
6747Solution:   Use separate buffer for posix path. (Ben Schmidt)
6748Files:	    src/os_unix.c
6749
6750Patch 7.1.329
6751Problem:    When the popup menu is removed a column of cells, the right halve
6752	    of double-wide characters, may not be redrawn.
6753Solution:   Check if the right halve of a character needs to be redrawn.
6754	    (Yukihiro Nakadaira)
6755Files:	    src/screen.c
6756
6757Patch 7.1.330
6758Problem:    Reading uninitialized memory when using Del in replace mode.
6759Solution:   Use utfc_ptr2len_len() instead of mb_ptr2len(). (Dominique Pelle)
6760Files:	    src/misc1.c
6761
6762
6763Warning for missing sentinel in gui_xmldlg.c. (Dominique Pelle)
6764
6765A search offset from the end of a match didn't work properly for multi-byte
6766characters.  (Yukihiro Nakadaira)
6767
6768When displaying the value of 'key' don't show "*****" when the value is empty.
6769(Ben Schmidt)
6770
6771Internal error when compiled with EXITFREE and using the nerd_tree plugin.
6772Set last_msg_hist to NULL when history becomes empty.  Call
6773free_all_functions() after garbage collection.  (Dominique Pelle)
6774
6775GTK with XIM: <S-Space> does not work.  (Yukihiro Nakadaira)
6776
6777Some shells do not support "echo -n", which breaks glob().  Use "echo" instead
6778of "echo -n $1; echo".  (Gary Johnson)
6779
6780"echo 22,44" printed "22" on top of the command, the error messages caused
6781the rest not to be cleared.  Added the need_clr_eos flag.
6782
6783Netbeans events are handled while updating the screen, causing a crash.
6784Change the moment when events are handled.  Rename nb_parse_messages() to
6785netbeans_parse_messages().  (Xavier de Gaye)
6786
6787Test 11 was broken after patch 7.1.186 on Win32 console. (Daniel Shahaf)
6788Use shellescape() on the file name.
6789
6790IM was turned off in im_preedit_end_cb() for no good reason.  (Takuhiro
6791Nishioka)
6792
6793A corrupted spell file could cause Vim to use lots of memory.  Better
6794detection for running into the end of the file.  (idea from James Vega)
6795
6796Mac: Included a patch to make it build with GTK.  Moved language init to
6797mac_lang_init() function.  (Ben Schmidt)
6798
6799Problem with 'wildmenu' after ":lcd", up/down arrows don't work. (Erik Falor)
6800
6801Fix configure.in to avoid "implicitly declared" warnings when running
6802configure.
6803
6804Fixed a memory leak when redefining a keymap. (Dominique Pelle)
6805
6806Setting 'pastetoggle' to "jj" didn't work.
6807
6808'ic' and 'smartcase' don't work properly when using \%V in a search pattern.
6809(Kana Natsuno)
6810
6811Patch 7.2a.001
6812Problem:    On some systems X11/Xlib.h exists (from X11-dev package) but
6813	    X11/Intrinsic.h does not (in Xt-dev package).  This breaks the
6814	    build.  Also, on Solaris 9 sys/ptem.h isn't found.
6815Solution:   Have configure only accept X11 when X11/Intrinsic.h exists.
6816	    Check for sys/ptem.h while including sys/stream.h. (Vladimir
6817	    Marek)
6818Files:	    src/auto/configure, src/configure.in
6819
6820Patch 7.2a.002
6821Problem:    getbufvar(N, "") gets the dictionary of the current buffer instead
6822	    of buffer N.
6823Solution:   Set curbuf before calling find_var_in_ht(). (Kana Natsuno)
6824Files:	    src/eval.c
6825
6826Patch 7.2a.003
6827Problem:    Leaking memory when using ":file name" and using access control
6828	    lists.
6829Solution:   Invoke mch_free_acl() in vim_rename(). (Dominique Pelle)
6830Files:	    src/fileio.c
6831
6832Patch 7.2a.004
6833Problem:    Some systems can't get spell files by ftp.
6834Solution:   Use http when it looks like it's possible. (James Vega)
6835Files:	    runtime/autoload/spellfile.vim
6836
6837Patch 7.2a.005
6838Problem:    A few error messages use confusing names.  Misspelling.
6839Solution:   Change "dissallows" to "disallows". (Dominique Pelle)  Change
6840	    "number" to "Number".
6841Files:	    src/eval.c, src/fileio.c
6842
6843Patch 7.2a.006
6844Problem:    Reading past NUL in a string.
6845Solution:   Check for invalid utf-8 byte sequence. (Dominique Pelle)
6846Files:	    src/charset.c
6847
6848Patch 7.2a.007
6849Problem:    ":let v = 1.2.3" was OK in Vim 7.1, now it gives an error.
6850Solution:   Don't look for a floating point number after the "." operator.
6851Files:	    src/eval.c
6852
6853Patch 7.2a.008
6854Problem:    printf("%g", 1) doesn't work.
6855Solution:   Convert Number to Float when needed.
6856Files:	    src/message.c
6857
6858Patch 7.2a.009
6859Problem:    cygwin_conv_to_posix_path() does not specify buffer size.
6860Solution:   Use new Cygwin function: cygwin_conv_path(). (Corinna Vinschen)
6861Files:	    src/main.c, src/os_unix.c
6862
6863Patch 7.2a.010
6864Problem:    When a file name has an illegal byte sequence Vim may read
6865	    uninitialised memory.
6866Solution:   Don't use UTF_COMPOSINGLIKE() on an illegal byte.  In
6867	    msg_outtrans_len_attr() use char2cells() instead of ptr2cells().
6868	    In utf_ptr2char() don't check second byte when first byte is
6869	    illegal.  (Dominique Pelle)
6870Files:	    src/mbyte.c, src/message.c
6871
6872Patch 7.2a.011
6873Problem:    The Edit/Startup Settings menu doesn't work.
6874Solution:   Expand environment variables. (Ben Schmidt)
6875Files:	    runtime/menu.vim
6876
6877Patch 7.2a.012
6878Problem:    Compiler warnings for casting int to pointer.
6879Solution:   Add cast to long in between. (Martin Toft)
6880Files:	    src/gui_gtk_x11.c
6881
6882Patch 7.2a.013
6883Problem:    shellescape() does not escape "%" and "#" characters.
6884Solution:   Add find_cmdline_var() and use it when the second argument to
6885	    shellescape() is non-zero.
6886Files:	    runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
6887	    src/proto/ex_docmd.pro, src/proto/misc2.pro, src/misc2.c
6888
6889Patch 7.2a.014
6890Problem:    Problem with % in message.
6891Solution:   Put % in single quotes.
6892Files:	    src/eval.c
6893
6894Patch 7.2a.015 (after 7.2a.010)
6895Problem:    Misaligned messages.
6896Solution:   Compute length of unprintable chars correctly.
6897Files:	    src/message.c
6898
6899Patch 7.2a.016
6900Problem:    Using CTRL-W v in the quickfix window results in two quickfix
6901	    windows, which is not allowed.  ":tab split" should be allowed to
6902	    open a new quickfix window in another tab.
6903Solution:   For CTRL-W v instead of splitting the window open a new one.
6904	    When using ":tab" do allow splitting the quickfix window (was
6905	    already included in patch 7.2a.013).
6906Files:	    src/window.c
6907
6908Patch 7.2a.017
6909Problem:    ":doautoall" executes autocommands for all buffers instead of just
6910	    for loaded buffers.
6911Solution:   Change "curbuf" to "buf".
6912Files:	    src/fileio.c
6913
6914Patch 7.2a.018
6915Problem:    Compiler warnings when compiling with Gnome. (Tony Mechelynck)
6916Solution:   Add type casts.
6917Files:	    src/gui_gtk_x11.c
6918
6919Patch 7.2a.019
6920Problem:    ":let &g:tw = 44" sets the local option value. (Cyril Slobin)
6921Solution:   Use get_varp_scope() instead of get_varp(). (Ian Kelling)
6922Files:	    src/option.c
6923
6924There is no way to avoid adding /usr/local/{include|lib} to the build
6925commands.  Add the --with-local-dir argument to configure. (Michael
6926Haubenwallner)
6927
6928When using CTRL-D after ":help", the number of matches could be thousands.
6929Restrict to TAG_MANY to avoid this taking too long. (Ian Kelling)
6930
6931The popup menu could be placed at a weird location.  Caused by w_wcol computed
6932by curs_columns().  (Dominique Pelle)
6933
6934Overlapping STRCPY() arguments when using %r item in 'errorformat'.  Use
6935STRMOVE() instead. (Ralf Wildenhues)
6936
6937Mac: On Leopard gvim, when using the mouse wheel nothing would happen until
6938another event occurs, such as moving the mouse.  Then the recorded scrolling
6939would take place all at once. (Eckehard Berns)
6940
6941Solution for cursor color not reflecting IM status for GTK 2.  Add
6942preedit_is_active flag. (SungHyun Nam)
6943
6944filereadable() can hang on a FIFO on Linux.  Use open() instead of fopen(),
6945with O_NONBLOCK. (suggested by Lars Kotthoff)
6946
6947Included patch to support Perl 5.10. (Yasuhiro Matsumoto)
6948
6949When files are dropped on gvim while the screen is being updated, ignore the
6950drop command to avoid freeing memory that is being used.
6951
6952In a terminal, when drawing the popup menu over double-wide characters, half
6953characters may not be cleared properly. (Yukihiro Nakadaira)
6954
6955The #ifdef for including "vimio.h" was inconsistent.  In a few files it
6956depended on MSWIN, which isn't defined until later.
6957
6958Patch 7.2b.001
6959Problem:    Compilation problem: mb_fix_col() missing with multi-byte feature
6960	    but without GUI or clipboard.
6961Solution:   Remove #ifdef.
6962Files:	    src/mbyte.c
6963
6964Patch 7.2b.002
6965Problem:    Compiler warnings for signed/unsigned mismatch.
6966Solution:   Add type casts.
6967Files:	    src/screen.c
6968
6969Patch 7.2b.003
6970Problem:    Still a compilation problem, check_col() and check_row() missing.
6971Solution:   Add FEAT_MBYTE to the #if.
6972Files:	    src/ui.c
6973
6974Patch 7.2b.004
6975Problem:    Trying to free memory for a static string when using ":helpgrep".
6976	    (George Reilly)
6977Solution:   Set 'cpo' to empty_option instead of an empty string.  Also for
6978	    searchpair() and substitute().
6979Files:	    src/quickfix.c, src/eval.c
6980
6981Patch 7.2b.005
6982Problem:    The special character "!" isn't handled properly in shellescape().
6983	    (Jan Minar)
6984Solution:   Escape "!" when using a "csh" like shell and with
6985	    shellescape(s, 1).  Twice for both.  Also escape <NL>.
6986Files:	    src/misc2.c
6987
6988Patch 7.2b.006
6989Problem:    Reading past end of string when reading info from tags line.
6990Solution:   Break the loop when encountering a NUL. (Dominique Pelle)
6991Files:	    src/tag.c
6992
6993Patch 7.2b.007
6994Problem:    Part of a message cannot be translated.
6995Solution:   Put _() around the message.
6996Files:	    src/search.c
6997
6998Patch 7.2b.008
6999Problem:    A few filetypes are not detected or not detected properly.
7000Solution:   Add filetype detection patterns. (Nikolai Weibull)
7001Files:	    runtime/filetype.vim
7002
7003Patch 7.2b.009
7004Problem:    Reading past end of screen line. (Epicurus)
7005Solution:   Avoid going past the value of Columns.
7006Files:	    src/screen.c
7007
7008Patch 7.2b.010
7009Problem:    ":mksession" doesn't work for ":map , foo", ":sunmap ,". (Ethan
7010	    Mallove)
7011Solution:   Check for "nxo", "nso" and other strange mapping combinations.
7012Files:	    src/getchar.c
7013
7014Patch 7.2b.011
7015Problem:    Configure for TCL ends up with include file in compiler command.
7016	    (Richard Hogg)
7017Solution:   Delete items from $TCL_DEFS that do not start with a dash.
7018Files:	    src/auto/configure, src/configure.in
7019
7020Patch 7.2b.012
7021Problem:    Build failure with +multi_byte but without +diff.
7022Solution:   Add #ifdef. (Patrick Texier)
7023Files:	    src/main.c
7024
7025Patch 7.2b.013
7026Problem:    Build fails with tiny features and Perl. (Dominique Pelle)
7027Solution:   Define missing functions.  Also when compiling Python.
7028Files:	    src/if_perl.xs, src/if_python.c
7029
7030Patch 7.2b.014
7031Problem:    Configure uses an unsafe temp file to store commands.
7032Solution:   Create the temp file in local directory.
7033Files:	    src/auto/configure, src/configure.in
7034
7035Patch 7.2b.015
7036Problem:    Build fails on Mac when using Aap.
7037Solution:   Fix typo in configure script.
7038Files:	    src/auto/configure, src/configure.in
7039
7040Patch 7.2b.016
7041Problem:    Build fails with normal features but without +autocmd.
7042Solution:   Fix #ifdefs. (Ian Kelling)
7043Files:	    src/eval.c, src/ex_cmds.c, src/quickfix.c, src/option.c,
7044	    src/ex_docmd.c
7045
7046Patch 7.2b.017
7047Problem:    "vim -O foo foo" results in only one window.  (Zdenek Sekera)
7048Solution:   Handle result of ATTENTION prompt properly. (Ian Kelling)
7049Files:	    src/main.c
7050
7051Patch 7.2b.018
7052Problem:    When doing command line completion on a file name for a csh-like
7053	    shell argument a '!' character isn't escaped properly.
7054Solution:   Add another backslash.
7055Files:	    src/ex_getln.c, src/misc2.c, src/proto/misc2.pro, src/screen.c
7056
7057Patch 7.2b.019 (extra)
7058Problem:    Win32: Various compiler warnings.
7059Solution:   Use __w64 attribute.  Comment-out unused parameters.  Adjust a few
7060	    #ifdefs. (George Reilly)
7061Files:	    src/gui_w48.c, src/GvimExt/gvimext.cpp, src/Make_mvc.mak,
7062	    src/os_mswin.c, src/os_win32.c, src/vim.h
7063
7064Patch 7.2b.020
7065Problem:    ":sort n" doesn't handle negative numbers. (James Vega)
7066Solution:   Include '-' in the number.
7067Files:	    src/charset.c, src/ex_cmds.c
7068
7069Patch 7.2b.021
7070Problem:    Reloading doesn't read the BOM correctly. (Steve Gardner)
7071Solution:   Accept utf-8 BOM when specified file encoding is utf-8.
7072Files:	    src/fileio.c
7073
7074Patch 7.2b.022
7075Problem:    When using ":normal" while updating the status line the count of
7076	    an operator is lost. (Dominique Pelle)
7077Solution:   Save and restore "opcount".
7078Files:	    src/ex_docmd.c, src/globals.h, src/normal.c
7079
7080Patch 7.2b.023
7081Problem:    Crash when using the result of synstack(0,0). (Matt Wozniski)
7082Solution:   Check for v_list to be NULL in a few more places.
7083Files:	    src/eval.c
7084
7085Patch 7.2b.024
7086Problem:    Using ":gui" while the netrw plugin is active causes a delay in
7087	    updating the display.
7088Solution:   Don't check for terminal codes when starting the GUI.
7089Files:	    src/term.c
7090
7091Patch 7.2b.025
7092Problem:    When the CursorHold event triggers a pending count is lost.
7093	    (Juergen Kraemer)
7094Solution:   Save the counts and restore them.
7095Files:	    src/normal.c, src/structs.h
7096
7097Patch 7.2b.026
7098Problem:    The GTK 2 file chooser causes the ~/.recently-used.xbel file to be
7099	    written over and over again.  This may cause a significant
7100	    slowdown. (Guido Berhoerster)
7101Solution:   Don't use the GTK 2 file chooser.
7102Files:	    src/gui_gtk.c
7103
7104Patch 7.2b.027
7105Problem:    Memory leak for Python, Perl, etc. script command with end marker.
7106Solution:   Free the memory of the end marker. (Andy Kittner)
7107Files:	    src/ex_getln.c
7108
7109Patch 7.2b.028
7110Problem:    Reading uninitialized memory when doing ":gui -f". (Dominique
7111	    Pelle)
7112Solution:   Don't position the cursor when the screen size is invalid.
7113Files:	    src/gui.c
7114
7115Patch 7.2b.029
7116Problem:    ":help a" doesn't jump to "a" tag in docs. (Tony Mechelynck)
7117Solution:   Get all tags and throw away more than TAG_MANY after sorting.
7118	    When there is no argument find matches for "help" to avoid a long
7119	    delay.
7120Files:	    src/ex_cmds.c, src/ex_getln.c
7121
7122Patch 7.2b.030
7123Problem:    When changing the value of t_Co from 8 to 16 the Visual
7124	    highlighting keeps both reverse and a background color.
7125Solution:   Remove the attribute when setting the default highlight color.
7126	    (Markus Heidelberg)
7127Files:	    src/syntax.c
7128
7129Error when cancelling completion menu and auto-formatting. (fixed by Ian
7130Kelling)
7131
7132Patch 7.2c.001
7133Problem:    ":let x=[''] | let x += x" causes hang. (Matt Wozniski)
7134Solution:   Only insert elements up to the original length of the List.
7135Files:	    runtime/doc/eval.txt, src/eval.c
7136
7137Patch 7.2c.002
7138Problem:    fnameescape() doesn't handle a leading '+' or '>'. (Jan Minar)
7139Solution:   Escape a leading '+' and '>'.  And a single '-'.
7140Files:	    runtime/doc/eval.txt, src/ex_getln.c
7141
7142Patch 7.2c.003
7143Problem:    Searching for "foo\%[bar]\+" gives a "Corrupted regexp program"
7144	    error. (Joachim Hofmann)
7145Solution:   Mark the \%[] item as not being simple.
7146Files:	    src/regexp.c
7147
7148On Vista access to system directories is virtualized. (Michael Mutschler)
7149Adjusted the manifest file to avoid this. (George Reilly)
7150
7151Memory leak when using CTRL-C to cancel listing the jump list. (Dominique
7152Pelle)
7153
7154Mac: Could not build with Perl interface.
7155
7156==============================================================================
7157VERSION 7.3					*version-7.3* *version7.3*
7158
7159This section is about improvements made between version 7.2 and 7.3.
7160
7161This release has hundreds of bug fixes and there are a few new features.  The
7162most notable new features are:
7163
7164
7165Persistent undo					*new-persistent-undo*
7166---------------
7167
7168Store undo information in a file.  Can undo to before when the file was read,
7169also for unloaded buffers. See |undo-persistence| (partly by Jordan Lewis)
7170
7171Added the ":earlier 1f" and ":later 1f" commands.
7172Added file save counter to undo information.
7173Added the |undotree()| and |undofile()| functions.
7174
7175Also added the 'undoreload' option.  This makes it possible to save the
7176current text when reloading the buffer, so that the reload can be undone.
7177
7178
7179More encryption					*new-more-encryption*
7180---------------
7181
7182Support for Blowfish encryption.  Added the 'cryptmethod' option.
7183Mostly by Moshin Ahmed.
7184
7185Also encrypt the text in the swap file and the undo file.
7186
7187
7188Conceal text					*new-conceal*
7189------------
7190
7191Added the |+conceal| feature.  (Vince Negri)
7192This allows hiding stretches of text, based on syntax highlighting.
7193It also allows replacing a stretch of text by a character |:syn-cchar|.
7194The 'conceallevel' option specifies what happens with text matching a syntax
7195item that has the conceal attribute.
7196The 'concealcursor' option specifies what happens in the cursor line.
7197
7198The help files conceal characters used to mark tags and examples.
7199
7200Added the |synconcealed()| function and use it for :TOhtml. (Benjamin Fritz)
7201
7202Added the 'cursorbind' option, keeps the cursor in two windows with the same
7203text in sync.
7204
7205
7206Lua interface					*new-lua*
7207-------------
7208
7209Added the |Lua| interface.  (Luis Carvalho)
7210
7211
7212Python3 interface				*new-python3*
7213-----------------
7214
7215Added the Python3 interface.  It exists next to Python 2.x, both can be used
7216at the same time.  See |python3| (Roland Puntaier)
7217
7218
7219Changed							*changed-7.3*
7220-------
7221
7222The MS-Windows installer no longer requires the user to type anything in the
7223console windows.  The installer now also works on 64 bit systems, including
7224the "Edit with Vim" context menu.
7225The gvim executable is 32 bits, the installed gvimext.dll is either a 32 or 64
7226bit version. (mostly by George Reilly)
7227Made the DOS installer work with more compilers.
7228The MS-Windows big gvim is now built with Python 2.7 and 3.1.2, Perl 5.12 and
7229Ruby 1.9.1.  You need the matching .dll files to use them.
7230
7231The extra and language files are no longer distributed separately.
7232The source files for all systems are included in one distribution.
7233
7234After using ":recover" or recovering a file in another way, ":x" and "ZZ"
7235didn't save what you see.  This could result in work being lost.  Now the text
7236after recovery is compared to the original file contents.  When they differ
7237the buffer is marked as modified.
7238
7239When Vim is exiting because of a deadly signal, when v:dying is 2 or more,
7240VimLeavePre, VimLeave, BufWinLeave and BufUnload autocommands are not
7241executed.
7242
7243Removed support for GTK 1.  It was no longer maintained and required a lot of
7244#ifdefs in the source code.  GTK 2 should be available for every system.
7245(James Vega)
7246
7247It is no longer allowed to set the 'encoding' option from a modeline.  It
7248would corrupt the text.  (Patrick Texier)
7249
7250Renamed runtime/spell/fixdup to runtime/spell/fixdup.vim.
7251
7252Removed obsolete Mac code.
7253
7254Updated spell files for Ubuntu locale names.
7255
7256Switched from autoconf 2.63 to 2.65.
7257
7258Removed Mupad indent and ftplugin files, they are not useful.
7259
7260The maximum number of messages remembered in the history is now 200 (was 100).
7261
7262
7263Added							*added-7.3*
7264-----
7265
7266Added the 'relativenumber' option. (Markus Heidelberg)
7267
7268Added the 'colorcolumn' option: highlight one or more columns in a window.
7269E.g. to highlight the column after 'textwidth'. (partly by Gregor Uhlenheuer)
7270
7271Added support for NetBeans in a terminal.  Added |:nbstart| and |:nbclose|.
7272(Xavier de Gaye)
7273
7274More floating point functions: |acos()|, |asin()|, |atan2()|, |cosh()|,
7275|exp()|, |fmod()|, |log()|, |sinh()|, |tan()|, |tanh()|.  (Bill McCarthy)
7276
7277Added the |gettabvar()| and |settabvar()| functions. (Yegappan Lakshmanan)
7278
7279Added the |strchars()|, |strwidth()| and |strdisplaywidth()| functions.
7280
7281Support GDK_SUPER_MASK for GTK on Mac. (Stephan Schulz)
7282
7283Made CTRL and ALT modifier work for mouse wheel. (Benjamin Haskell)
7284
7285Added support for horizontal scroll wheel. (Bjorn Winckler)
7286
7287When the buffer is in diff mode, have :TOhtml create HTML to show the diff
7288side-by-side.  (Christian Brabandt)
7289
7290Various improvements to ":TOhtml" and the 2html.vim script.  (Benjamin Fritz)
7291
7292Add the 'L' item to 'cinoptions'. (Manuel Konig)
7293
7294Improve Javascript indenting.  Add "J" flag to 'cinoptions'. (Hari Kumar G)
7295
7296Mac: Support disabling antialias. (LC Mi)
7297
7298Mac: Add clipboard support in the Mac console. (Bjorn Winckler)
7299
7300Make it possible to drag a tab page label to another position. (Paul B. Mahol)
7301
7302Better implementation of creating the Color Scheme menu. (Juergen Kraemer)
7303
7304In Visual mode with 'showcmd' display the number of bytes and characters.
7305
7306Allow synIDattr() getting GUI attributes when built without GUI.  (Matt
7307Wozniski)
7308
7309Support completion for ":find".  Added test 73. (Nazri Ramliy)
7310
7311Command line completion for :ownsyntax and :setfiletype. (Dominique Pelle)
7312
7313Command line completion for :lmap and :lunmap.
7314
7315Support syntax and filetype completion for user commands. (Christian Brabandt)
7316
7317Add completion for ":ownsyntax" and improve completion for ":filetype".
7318
7319Avoid use of the GTK main_loop() so that the GtkFileChooser can be used.
7320(James Vega)
7321
7322When 'formatexpr' evaluates to non-zero fall back to internal formatting, also
7323for "gq". (James Vega)
7324
7325Support :browse for commands that use an error file argument. (Lech Lorens)
7326
7327Support wide file names in gvimext. (Szabolcs Horvat)
7328
7329Improve test for joining lines. (Milan Vancura)
7330Make joining a range of lines much faster. (Milan Vancura)
7331
7332Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
7333
7334Added the helphelp.txt file.  Moved text from various.txt to it.
7335
7336Added "q" item for 'statusline'.  Added |w:quickfix_title|. (Lech Lorens)
7337
7338Various improvements for VMS. (Zoltan Arpadffy)
7339
7340
7341New syntax files: ~
7342Haskell Cabal build file (Vincent Berthoux)
7343ChaiScript (Jason Turner)
7344Cucumber (Tim Pope)
7345Datascript (Dominique Pelle)
7346Fantom (Kamil Toman)
7347Liquid (Tim Pope)
7348Markdown (Tim Pope)
7349wavefront's obj file (Vincent Berthoux)
7350Perl 6 (Andy Lester)
7351SDC - Synopsys Design Constraints (Maurizio Tranchero)
7352SVG - Scalable Vector Graphics (Vincent Berthoux)
7353task data (John Florian)
7354task 42 edit (John Florian)
7355
7356New filetype plugins: ~
7357Cucumber (Tim Pope)
7358Liquid (Tim Pope)
7359Logcheck (Debian)
7360Markdown (Tim Pope)
7361Perl 6 (Andy Lester)
7362Quickfix window (Lech Lorens)
7363Tcl (Robert L Hicks)
7364
7365New indent plugins: ~
7366CUDA (Bram Moolenaar)
7367ChaiScript (Jason Turner)
7368Cucumber (Tim Pope)
7369LifeLines (Patrick Texier)
7370Liquid (Tim Pope)
7371Mail (Bram Moolenaar)
7372Perl 6 (Andy Lester)
7373
7374Other new runtime files: ~
7375Breton spell file (Dominique Pelle)
7376Dvorak keymap (Ashish Shukla)
7377Korean translations. (SungHyun Nam)
7378Python 3 completion (Aaron Griffin)
7379Serbian menu translations (Aleksandar Jelenak)
7380Tetum spell files
7381Tutor Bairish (Sepp Hell)
7382Tutor in Esperanto. (Dominique Pellé)
7383Tutor in Portuguese.
7384Norwegian Tutor now also available as tutor.nb
7385
7386Removed the Mupad runtime files, they were not maintained.
7387
7388
7389Fixed							*fixed-7.3*
7390-----
7391
7392Patch 7.2.001
7393Problem:    Mac: pseudo-ttys don't work properly on Leopard, resulting in the
7394	    shell not to have a prompt, CTRL-C not working, etc.
7395Solution:   Don't use SVR4 compatible ptys, even though they are detected.
7396	    (Ben Schmidt)
7397Files:	    src/pty.c
7398
7399Patch 7.2.002
7400Problem:    Leaking memory when displaying menus.
7401Solution:   Free allocated memory. (Dominique Pelle)
7402Files:	    src/menu.c
7403
7404Patch 7.2.003
7405Problem:    Typo in translated message.  Message not translated.
7406Solution:   Correct spelling. Add _(). (Dominique Pelle)
7407Files:	    src/spell.c, src/version.c
7408
7409Patch 7.2.004
7410Problem:    Cscope help message is not translated.
7411Solution:   Put it in _(). (Dominique Pelle)
7412Files:	    src/if_cscope.c, src/if_cscope.h
7413
7414Patch 7.2.005
7415Problem:    A few problems when profiling.  Using flag pointer instead of flag
7416	    value.  Allocating zero bytes.  Not freeing used memory.
7417Solution:   Remove wrong '&' characters.  Skip dumping when there is nothing
7418	    to dump.  Free used memory. (Dominique Pelle)
7419Files:	    src/eval.c
7420
7421Patch 7.2.006
7422Problem:    HTML files are not recognized by contents.
7423Solution:   Add a rule to the scripts file. (Nico Weber)
7424Files:	    runtime/scripts.vim
7425
7426Patch 7.2.007 (extra)
7427Problem:    Minor issues for VMS.
7428Solution:   Minor fixes for VMS.  Add float support. (Zoltan Arpadffy)
7429Files:	    runtime/doc/os_vms.txt, src/os_vms_conf.h, src/Make_vms.mms,
7430	    src/testdir/Make_vms.mms, src/testdir/test30.in,
7431	    src/testdir/test54.in
7432
7433Patch 7.2.008
7434Problem:    With a BufHidden autocommand that invokes ":bunload" the window
7435	    count for a buffer can be wrong. (Bob Hiestand)
7436Solution:   Don't call enter_buffer() when already in that buffer.
7437Files:	    src/buffer.c
7438
7439Patch 7.2.009
7440Problem:    Can't compile with Perl 5.10 on MS-Windows. (Cesar Romani)
7441Solution:   Add the Perl_sv_free2 function for dynamic loading. (Dan Sharp)
7442Files:	    src/if_perl.xs
7443
7444Patch 7.2.010
7445Problem:    When using "K" in Visual mode not all characters are properly
7446	    escaped. (Ben Schmidt)
7447Solution:   Use a function with the functionality of shellescape(). (Jan
7448	    Minar)
7449Files:	    src/mbyte.c, src/misc2.c, src/normal.c
7450
7451Patch 7.2.011
7452Problem:    Get an error when inserting a float value from the expression
7453	    register.
7454Solution:   Convert the Float to a String automatically in the same place
7455	    where a List would be converted to a String.
7456Files:	    src/eval.c
7457
7458Patch 7.2.012
7459Problem:    Compiler warnings when building with startup timing.
7460Solution:   Add type casts.
7461Files:	    src/ex_cmds2.c
7462
7463Patch 7.2.013
7464Problem:    While waiting for the X selection Vim consumes a lot of CPU time
7465	    and hangs until a response is received.
7466Solution:   Sleep a bit when the selection event hasn't been received yet.
7467	    Time out after a couple of seconds to avoid a hang when the
7468	    selection owner isn't responding.
7469Files:	    src/ui.c
7470
7471Patch 7.2.014
7472Problem:    synstack() doesn't work in an empty line.
7473Solution:   Accept column zero as a valid position.
7474Files:	    src/eval.c
7475
7476Patch 7.2.015
7477Problem:    "make all test install" doesn't stop when the test fails. (Daniel
7478	    Shahaf)
7479Solution:   When test.log contains failures exit with non-zero status.
7480Files:	    src/testdir/Makefile
7481
7482Patch 7.2.016
7483Problem:    The pattern being completed may be in freed memory when the
7484	    command line is being reallocated. (Dominique Pelle)
7485Solution:   Keep a pointer to the expand_T in the command line structure.
7486	    Don't use <S-Tab> as CTRL-P when there are no results.  Clear the
7487	    completion when using a command line from the history.
7488Files:	    src/ex_getln.c
7489
7490Patch 7.2.017
7491Problem:    strlen() used on text that may not end in a NUL. (Dominique Pelle)
7492	    Pasting a very big selection doesn't work.
7493Solution:   Use the length passed to the XtSelectionCallbackProc() function.
7494	    After getting the SelectionNotify event continue dispatching
7495	    events until the callback is actually called.  Also dispatch the
7496	    PropertyNotify event.
7497Files:	    src/ui.c
7498
7499Patch 7.2.018
7500Problem:    Memory leak when substitute is aborted.
7501Solution:   Free the buffer allocated for the new text. (Dominique Pelle)
7502Files:	    src/ex_cmds.c
7503
7504Patch 7.2.019
7505Problem:    Completion of ":noautocmd" doesn't work and exists(":noautocmd")
7506	    returns zero. (Ben Fritz)
7507Solution:   Add "noautocmd" to the list of modifiers and commands.
7508Files:	    src/ex_cmds.h, src/ex_docmd.c
7509
7510Patch 7.2.020
7511Problem:    Starting the GUI when the executable starts with 'k', but the KDE
7512	    version no longer exists.
7513Solution:   Don't have "kvim" start the GUI.
7514Files:	    src/main.c
7515
7516Patch 7.2.021
7517Problem:    When executing autocommands getting the full file name may be
7518	    slow. (David Kotchan)
7519Solution:   Postpone calling FullName_save() until autocmd_fname is used.
7520Files:	    src/ex_docmd.c, src/fileio.c, src/globals.h
7521
7522Patch 7.2.022 (extra)
7523Problem:    Testing is not possible when compiling with MingW.
7524Solution:   Add a MingW specific test Makefile. (Bill McCarthy)
7525Files:	    Filelist, src/testdir/Make_ming.mak
7526
7527Patch 7.2.023
7528Problem:    'cursorcolumn' is in the wrong place in a closed fold when the
7529	    display is shifted left. (Gary Johnson)
7530Solution:   Subtract w_skipcol or w_leftcol when needed.
7531Files:	    src/screen.c
7532
7533Patch 7.2.024
7534Problem:    It's possible to set 'history' to a negative value and that causes
7535	    an out-of-memory error.
7536Solution:   Check that 'history' has a positive value. (Doug Kearns)
7537Files:	    src/option.c
7538
7539Patch 7.2.025
7540Problem:    When a CursorHold event invokes system() it is retriggered over
7541	    and over again.
7542Solution:   Don't reset did_cursorhold when getting K_IGNORE.
7543Files:	    src/normal.c
7544
7545Patch 7.2.026 (after 7.2.010)
7546Problem:    "K" doesn't use the length of the identifier but uses the rest of
7547	    the line.
7548Solution:   Copy the desired number of characters first.
7549Files:	    src/normal.c
7550
7551Patch 7.2.027
7552Problem:    Can use cscope commands in the sandbox.
7553Solution:   Disallow them, they might not be safe.
7554Files:	    src/ex_cmds.h
7555
7556Patch 7.2.028
7557Problem:    Confusing error message for missing ().
7558Solution:   Change "braces" to "parentheses". (Gary Johnson)
7559Files:	    src/eval.c
7560
7561Patch 7.2.029
7562Problem:    No completion for ":doautoall".
7563Solution:   Complete ":doautoall" like ":doautocmd".  (Doug Kearns)
7564Files:	    src/ex_docmd.c
7565
7566Patch 7.2.030 (after 7.2.027)
7567Problem:    Can't compile.
7568Solution:   Remove prematurely added ex_oldfiles.
7569Files:	    src/ex_cmds.h
7570
7571Patch 7.2.031
7572Problem:    Information in the viminfo file about previously edited files is
7573	    not available to the user.  There is no way to get a complete list
7574	    of files edited in previous Vim sessions.
7575Solution:   Add v:oldfiles and fill it with the list of old file names when
7576	    first reading the viminfo file.  Add the ":oldfiles" command,
7577	    ":browse oldfiles" and the "#<123" special file name.  Increase
7578	    the default value for 'viminfo' from '20 to '100.
7579Files:	    runtime/doc/cmdline.txt, runtime/doc/eval.txt,
7580	    runtime/doc/starting.txt, runtime/doc/usr_21.txt, src/eval.c,
7581	    src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c, src/feature.h,
7582	    src/fileio.c, src/main.c, src/mark.c, src/misc1.c,
7583	    src/proto/eval.pro, src/proto/ex_cmds.pro, src/proto/mark.pro,
7584	    src/option.c, src/structs.h, src/vim.h
7585
7586Patch 7.2.032 (after 7.2.031)
7587Problem:    Can't build with EXITFREE defined. (Dominique Pelle)
7588Solution:   Change vv_string to vv_str.
7589Files:	    src/eval.c
7590
7591Patch 7.2.033
7592Problem:    When detecting a little endian BOM "ucs-2le" is used, but the text
7593	    might be "utf-16le".
7594Solution:   Default to "utf-16le", it also works for "ucs-2le". (Jia Yanwei)
7595Files:	    src/fileio.c, src/testdir/test42.ok
7596
7597Patch 7.2.034
7598Problem:    Memory leak in spell info when deleting buffer.
7599Solution:   Free the memory. (Dominique Pelle)
7600Files:	    src/buffer.c
7601
7602Patch 7.2.035
7603Problem:    Mismatches between alloc/malloc, free/vim_free,
7604	    realloc/vim_realloc.
7605Solution:   Use the right function. (Dominique Pelle)
7606Files:	    src/gui_x11.c, src/mbyte.c, src/misc2.c, src/os_unix.c
7607
7608Patch 7.2.036 (extra)
7609Problem:    Mismatches between alloc/malloc, free/vim_free,
7610	    realloc/vim_realloc.
7611Solution:   Use the right function. (Dominique Pelle)
7612Files:	    src/gui_riscos.c, src/gui_w48.c, src/mbyte.c, src/os_vms.c,
7613	    src/os_w32exe.c, src/os_win16.c
7614
7615Patch 7.2.037
7616Problem:    Double free with GTK 1 and compiled with EXITFREE.
7617Solution:   Don't close display. (Dominique Pelle)
7618Files:	    src/os_unix.c
7619
7620Patch 7.2.038
7621Problem:    Overlapping arguments to memcpy().
7622Solution:   Use mch_memmove(). (Dominique Pelle)
7623Files:	    src/if_xcmdsrv.c
7624
7625Patch 7.2.039
7626Problem:    Accessing freed memory on exit when EXITFREE is defined.
7627Solution:   Call hash_init() on the v: hash table.
7628Files:	    src/eval.c
7629
7630Patch 7.2.040
7631Problem:    When using ":e ++ff=dos fname" and the file contains a NL without
7632	    a CR before it and 'ffs' contains "unix" then the fileformat
7633	    becomes unix.
7634Solution:   Ignore 'ffs' when using the ++ff argument. (Ben Schmidt)
7635	    Also remove unreachable code.
7636Files:	    src/fileio.c
7637
7638Patch 7.2.041
7639Problem:    In diff mode, when using two tabs, each with two diffed buffers,
7640	    editing a buffer of the other tab messes up the diff.  (Matt
7641	    Mzyzik)
7642Solution:   Only copy options from a window where the buffer was edited that
7643	    doesn't have 'diff' set or is for the current tab page.
7644	    Also fix that window options for a buffer are stored with the
7645	    wrong window.
7646Files:	    src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
7647	    src/ex_getln.c, src/if_sniff.c, src/main.c, src/netbeans.c,
7648	    src/normal.c, src/popupmnu.c, src/proto/buffer.pro,
7649	    src/proto/ex_cmds.pro src/quickfix.c, src/window.c
7650
7651Patch 7.2.042
7652Problem:    When using winrestview() in a BufWinEnter autocommand the window
7653	    is scrolled anyway. (Matt Zyzik)
7654Solution:   Don't recompute topline when above 'scrolloff' from the bottom.
7655	    Don't always put the cursor halfway when entering a buffer.  Add
7656	    "w_topline_was_set".
7657Files:	    src/buffer.c, src/move.c, src/structs.h
7658
7659Patch 7.2.043
7660Problem:    VMS: Too many characters are escaped in filename and shell
7661	    commands.
7662Solution:   Escape fewer characters. (Zoltan Arpadffy)
7663Files:	    src/vim.h
7664
7665Patch 7.2.044
7666Problem:    Crash because of STRCPY() being over protective of the destination
7667	    size. (Dominique Pelle)
7668Solution:   Add -D_FORTIFY_SOURCE=1 to CFLAGS.  Use an intermediate variable
7669	    for the pointer to avoid a warning.
7670Files:	    src/auto/configure, src/configure.in, src/eval.c
7671
7672Patch 7.2.045
7673Problem:    The Python interface has an empty entry in sys.path.
7674Solution:   Filter out the empty entry. (idea from James Vega)
7675Files:	    src/if_python.c
7676
7677Patch 7.2.046
7678Problem:    Wrong check for filling buffer with encoding. (Danek Duvall)
7679Solution:   Remove pointers. (Dominique Pelle)
7680Files:	    src/mbyte.c
7681
7682Patch 7.2.047
7683Problem:    Starting Vim with the -nb argument while it's not supported causes
7684	    the other side to hang.
7685Solution:   When -nb is used while it's not supported exit Vim. (Xavier de
7686	    Gaye)
7687Files:	    src/main.c, src/vim.h
7688
7689Patch 7.2.048
7690Problem:    v:prevcount is changed too often.  Counts are not multiplied when
7691	    setting v:count.
7692Solution:   Set v:prevcount properly.  Multiply counts. (idea by Ben Schmidt)
7693Files:	    src/eval.c, src/normal.c, src/proto/eval.pro
7694
7695Patch 7.2.049 (extra)
7696Problem:    Win32: the clipboard doesn't support UTF-16.
7697Solution:   Change UCS-2 support to UTF-16 support. (Jia Yanwei)
7698Files:	    src/gui_w32.c, src/gui_w48.c, src/mbyte.c, src/misc1.c,
7699	    src/os_mswin.c, src/os_win32.c, src/proto/os_mswin.pro
7700
7701Patch 7.2.050
7702Problem:    Warnings for not checking return value of fwrite(). (Chip Campbell)
7703Solution:   Use the return value.
7704Files:	    src/spell.c
7705
7706Patch 7.2.051
7707Problem:    Can't avoid 'wildignore' and 'suffixes' for glob() and globpath().
7708Solution:   Add an extra argument to these functions. (Ingo Karkat)
7709Files:	    src/eval.c, src/ex_getln.c, src/proto/ex_getln.pro,
7710	    runtime/doc/eval.txt, runtime/doc/options.txt
7711
7712Patch 7.2.052
7713Problem:    synIDattr() doesn't support "sp" for special color.
7714Solution:   Recognize "sp" and "sp#".  (Matt Wozniski)
7715Files:	    runtime/doc/eval.txt, src/eval.c
7716
7717Patch 7.2.053
7718Problem:    Crash when using WorkShop command ":ws foo". (Dominique Pelle)
7719Solution:   Avoid using a NULL pointer.
7720Files:	    src/workshop.c
7721
7722Patch 7.2.054
7723Problem:    Compilation warnings for format in getchar.c.
7724Solution:   Use fputs() instead of fprintf().  (Dominique Pelle)
7725Files:	    src/getchar.c
7726
7727Patch 7.2.055
7728Problem:    Various compiler warnings with strict checking.
7729Solution:   Avoid the warnings by using return values and renaming.
7730Files:	    src/diff.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
7731	    src/fileio.c, src/fold.c, src/globals.h, src/gui.c,
7732	    src/gui_at_sb.c, src/gui_gtk_x11.c, src/gui_xmdlg.c,
7733	    src/gui_xmebw.c, src/main.c, src/mbyte.c, src/message.c,
7734	    src/netbeans.c, src/option.c, src/os_unix.c, src/spell.c,
7735	    src/ui.c, src/window.c
7736
7737Patch 7.2.056 (after 7.2.050)
7738Problem:    Tests 58 and 59 fail.
7739Solution:   Don't invoke fwrite() with a zero length. (Dominique Pelle)
7740Files:	    src/spell.c
7741
7742Patch 7.2.057 (after 7.2.056)
7743Problem:    Combination of int and size_t may not work.
7744Solution:   Use size_t for variable.
7745Files:	    src/spell.c
7746
7747Patch 7.2.058
7748Problem:    Can't add a patch name to the ":version" output.
7749Solution:   Add the extra_patches array.
7750Files:	    src/version.c
7751
7752Patch 7.2.059
7753Problem:    Diff display is not always updated.
7754Solution:   Update the display more often.
7755Files:	    src/diff.c
7756
7757Patch 7.2.060
7758Problem:    When a spell files has many compound rules it may take a very long
7759	    time making the list of suggestions.  Displaying also can be slow
7760	    when there are misspelled words.
7761	    Can't parse some Hunspell .aff files.
7762Solution:   Check if a compounding can possibly work before trying a
7763	    combination, if the compound rules don't contain wildcards.
7764	    Implement using CHECKCOMPOUNDPATTERN.
7765	    Ignore COMPOUNDRULES.  Ignore a comment after most items.
7766	    Accept ONLYINCOMPOUND as an alias for NEEDCOMPOUND.
7767	    Accept FORBIDDENWORD as an alias for BAD.
7768Files:	    runtime/doc/spell.txt, src/spell.c
7769
7770Patch 7.2.061
7771Problem:    Can't create a funcref for an autoload function without loading
7772	    the script first. (Marc Weber)
7773Solution:   Accept autoload functions that don't exist yet in function().
7774Files:	    src/eval.c
7775
7776Patch 7.2.062
7777Problem:    "[Scratch]" is not translated.
7778Solution:   Mark the string for translation. (Dominique Pelle)
7779Files:	    src/buffer.c
7780
7781Patch 7.2.063
7782Problem:    Warning for NULL argument of Perl_sys_init3().
7783Solution:   Use Perl_sys_init() instead. (partly by Dominique Pelle)
7784Files:	    src/if_perl.xs
7785
7786Patch 7.2.064
7787Problem:    Screen update bug when repeating "~" on a Visual block and the
7788	    last line doesn't change.
7789Solution:   Keep track of changes for all lines.  (Moritz Orbach)
7790Files:	    src/ops.c
7791
7792Patch 7.2.065
7793Problem:    GTK GUI: the cursor disappears when doing ":vsp" and the Vim
7794	    window is maximized.  (Dominique Pelle, Denis Smolyar)
7795Solution:   Don't change "Columns" back to an old value at a wrong moment.
7796	    Do change "Rows" when it should not be a problem.
7797Files:	    src/gui.c
7798
7799Patch 7.2.066
7800Problem:    It's not easy to see whether 'encoding' is a multi-byte encoding.
7801Solution:   Add has('multi_byte_encoding').
7802Files:	    runtime/doc/eval.txt, src/eval.c
7803
7804Patch 7.2.067
7805Problem:    Session file can't load extra file when the path contains special
7806	    characters.
7807Solution:   Escape the file name. (Lech Lorens)
7808Files:	    src/ex_docmd.c
7809
7810Patch 7.2.068
7811Problem:    Emacs tags file lines can be too long, resulting in an error
7812	    message. (James Vega)
7813Solution:   Ignore lines with errors if they are too long.
7814Files:	    src/tag.c
7815
7816Patch 7.2.069 (after 7.2.060)
7817Problem:    Compiler warning for storing size_t in int.
7818Solution:   Add type cast.
7819Files:	    src/spell.c
7820
7821Patch 7.2.070
7822Problem:    Crash when a function returns a:000. (Matt Wozniski)
7823Solution:   Don't put the function struct on the stack, allocate it.  Free it
7824	    only when nothing in it is used.
7825Files:	    src/eval.c
7826
7827Patch 7.2.071 (extra)
7828Problem:    Win32: Handling netbeans events while Vim is busy updating the
7829	    screen may cause a crash.
7830Solution:   Like with GTK, only handle netbeans messages in the main loop.
7831	    (Xavier de Gaye)
7832Files:	    src/gui_w48.c, src/netbeans.c
7833
7834Patch 7.2.072 (extra)
7835Problem:    Compiler warning in Sniff code.
7836Solution:   Use return value of pipe(). (Dominique Pelle)
7837Files:	    src/if_sniff.c
7838
7839Patch 7.2.073
7840Problem:    ":set <xHome>" has the same output as ":set <Home>". (Matt
7841	    Wozniski)
7842Solution:   Don't translate "x" keys to its alternative for ":set".
7843Files:	    src/gui_mac.c, src/misc2.c, src/option.c, src/proto/misc2.pro
7844
7845Patch 7.2.074 (extra, after 7.2.073)
7846Problem:    ":set <xHome>" has the same output as ":set <Home>". (Matt
7847	    Wozniski)
7848Solution:   Don't translate "x" keys to its alternative for ":set".
7849Files:	    src/gui_mac.c
7850
7851Patch 7.2.075 (after 7.2.058)
7852Problem:    Explanation about making a diff for extra_patches is unclear.
7853Solution:   Adjust comment.
7854Files:	    src/version.c
7855
7856Patch 7.2.076
7857Problem:    rename(from, to) deletes the file if "from" and "to" are not equal
7858	    but still refer to the same file.  E.g., on a FAT32 filesystem
7859	    under Unix.
7860Solution:   Go through another file name.
7861Files:	    src/fileio.c
7862
7863Patch 7.2.077 (after 7.2.076)
7864Problem:    rename(from, to) doesn't work if "from" and "to" differ only in
7865	    case on a system that ignores case in file names.
7866Solution:   Go through another file name.
7867Files:	    src/fileio.c
7868
7869Patch 7.2.078
7870Problem:    When deleting a fold that is specified with markers the cursor
7871	    position may be wrong.  Folds may not be displayed properly after
7872	    a delete.  Wrong fold may be deleted.
7873Solution:   Fix the problems. (mostly by Lech Lorens)
7874Files:	    src/fold.c
7875
7876Patch 7.2.079
7877Problem:    "killed" netbeans events are not handled correctly.
7878Solution:   A "killed" netbeans event is sent when the buffer is deleted or
7879	    wiped out (in this case, the netbeans annotations in this buffer
7880	    have been removed).  A user can still remove a sign with the
7881	    command ":sign unplace" and this does not trigger a "killed"
7882	    event.  (Xavier de Gaye)
7883Files:	    runtime/doc/netbeans.txt, src/buffer.c, src/globals.h,
7884	    src/netbeans.c, src/proto/netbeans.pro
7885
7886Patch 7.2.080
7887Problem:    When typing a composing character just after starting completion
7888	    may access memory before its allocation point. (Dominique Pelle)
7889Solution:   Don't delete before the completion start column.  Add extra checks
7890	    for the offset not being negative.
7891Files:	    src/edit.c
7892
7893Patch 7.2.081
7894Problem:    Compiler warning for floating point overflow on VAX.
7895Solution:   For VAX use a smaller number. (Zoltan Arpadffy)
7896Files:	    src/message.c
7897
7898Patch 7.2.082
7899Problem:    When 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a.
7900	    (Andy Wokula)
7901Solution:   Use NL for this situation. (Lech Lorens)
7902Files:	    src/ex_cmds.c
7903
7904Patch 7.2.083
7905Problem:    ":tag" does not return to the right tag entry from the tag stack.
7906Solution:   Don't change the current match when there is no argument.
7907	    (Erik Falor)
7908Files:	    src/tag.c
7909
7910Patch 7.2.084
7911Problem:    Recursive structures are not handled properly in Python
7912	    vim.eval().
7913Solution:   Keep track of references in a better way. (Yukihiro Nakadaira)
7914Files:	    src/if_python.c
7915
7916Patch 7.2.085
7917Problem:    ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8.
7918Solution:   Put the <M-b> character in the input buffer as valid utf-8.
7919	    (partly by Matt Wozniski)
7920Files:	    src/term.c
7921
7922Patch 7.2.086
7923Problem:    Using ":diffget 1" in buffer 1 corrupts the text.
7924Solution:   Don't do anything when source and destination of ":diffget" or
7925	    ":diffput" is the same buffer. (Dominique Pelle)
7926Files:	    src/diff.c
7927
7928Patch 7.2.087
7929Problem:    Adding URL to 'path' doesn't work to edit a file.
7930Solution:   Skip simplify_filename() for URLs. (Matt Wozniski)
7931Files:	    src/misc2.c
7932
7933Patch 7.2.088 (extra)
7934Problem:    OpenClipboard() may fail when another application is using the
7935	    clipboard.
7936Solution:   Retry OpenClipboard() a few times. (Jianrong Yu)
7937Files:	    src/os_mswin.c
7938
7939Patch 7.2.089 (extra)
7940Problem:    Win32: crash when using Ultramon buttons.
7941Solution:   Don't use a WM_OLE message of zero size. (Ray Megal)
7942Files:	    src/if_ole.cpp, src/gui_w48.c
7943
7944Patch 7.2.090
7945Problem:    User command containing 0x80 in multi-byte character does not work
7946	    properly. (Yasuhiro Matsumoto)
7947Solution:   Undo replacement of K_SPECIAL and CSI characters when executing
7948	    the command.
7949Files:	    src/ex_docmd.c
7950
7951Patch 7.2.091
7952Problem:    ":cs help" output is not aligned for some languages.
7953Solution:   Compute character size instead of byte size. (Dominique Pelle)
7954Files:	    src/if_cscope.c
7955
7956Patch 7.2.092
7957Problem:    Some error messages are not translated.
7958Solution:   Add _() around the messages. (Dominique Pelle)
7959Files:	    src/eval.c
7960
7961Patch 7.2.093 (extra)
7962Problem:    Win32: inputdialog() and find/replace dialogs can't handle
7963	    multi-byte text.
7964Solution:   Use the wide version of dialog functions when available. (Yanwei
7965	    Jia)
7966Files:	    src/gui_w32.c, src/gui_w48.c
7967
7968Patch 7.2.094
7969Problem:    Compiler warning for signed/unsigned compare.
7970Solution:   Add type cast.  Also fix a few typos.
7971Files:	    src/edit.c
7972
7973Patch 7.2.095
7974Problem:    With Visual selection, "r" and then CTRL-C Visual mode is stopped
7975	    but the highlighting is not removed.
7976Solution:   Call reset_VIsual().
7977Files:	    src/normal.c
7978
7979Patch 7.2.096
7980Problem:    After ":number" the "Press Enter" message may be on the wrong
7981	    screen, if switching screens for shell commands.
7982Solution:   Reset info_message. (James Vega)
7983Files:	    src/ex_cmds.c
7984
7985Patch 7.2.097
7986Problem:    "!xterm&" doesn't work when 'shell' is "bash".
7987Solution:   Ignore SIGHUP after calling setsid(). (Simon Schubert) 
7988Files:	    src/os_unix.c
7989
7990Patch 7.2.098
7991Problem:    Warning for signed/unsigned pointer.
7992Solution:   Add type cast.
7993Files:	    src/eval.c
7994
7995Patch 7.2.099
7996Problem:    Changing GUI options causes an unnecessary redraw when the GUI
7997	    isn't active.
7998Solution:   Avoid the redraw. (Lech Lorens)
7999Files:	    src/option.c
8000
8001Patch 7.2.100
8002Problem:    When using ":source" on a FIFO or something else that can't rewind
8003	    the first three bytes are skipped.
8004Solution:   Instead of rewinding read the first line and detect a BOM in that.
8005	    (mostly by James Vega)
8006Files:	    src/ex_cmds2.c
8007
8008Patch 7.2.101 (extra)
8009Problem:    MSVC version not recognized.
8010Solution:   Add the version number to the list.  (Zhong Zhang)
8011Files:	    src/Make_mvc.mak
8012
8013Patch 7.2.102 (after 7.2.100)
8014Problem:    When 'encoding' is "utf-8" a BOM at the start of a Vim script is
8015	    not removed. (Tony Mechelynck)
8016Solution:   When no conversion is taking place make a copy of the line without
8017	    the BOM.
8018Files:	    src/ex_cmds2.c
8019
8020Patch 7.2.103
8021Problem:    When 'bomb' is changed the window title is updated to show/hide a
8022	    "+", but the tab page label isn't. (Patrick Texier)
8023Solution:   Set "redraw_tabline" in most places where "need_maketitle" is set.
8024	    (partly by Lech Lorens)
8025Files:	    src/option.c
8026
8027Patch 7.2.104
8028Problem:    When using ":saveas bar.c" the tab label isn't updated right away.
8029Solution:   Set redraw_tabline. (Francois Ingelrest)
8030Files:	    src/ex_cmds.c
8031
8032Patch 7.2.105
8033Problem:    Modeline setting for 'foldmethod' overrules diff options. (Ingo
8034	    Karkat)
8035Solution:   Don't set 'foldmethod' and 'wrap' from a modeline when 'diff' is
8036	    on.
8037Files:	    src/option.c
8038
8039Patch 7.2.106
8040Problem:    Endless loop when using "]s" in HTML when there are no
8041	    misspellings. (Ingo Karkat)
8042Solution:   Break the search loop.  Also fix pointer alignment for systems
8043	    with pointers larger than int.
8044Files:	    src/spell.c
8045
8046Patch 7.2.107
8047Problem:    When using a GUI dialog and ":echo" commands the messages are
8048	    deleted after the dialog. (Vincent Birebent)
8049Solution:   Don't call msg_end_prompt() since there was no prompt.
8050Files:	    src/message.c
8051
8052Patch 7.2.108 (after 7.2.105)
8053Problem:    Can't build without the diff feature.
8054Solution:   Add #ifdef.
8055Files:	    src/option.c
8056
8057Patch 7.2.109
8058Problem:    'langmap' does not work for multi-byte characters.
8059Solution:   Add a list of mapped multi-byte characters. (based on work by
8060	    Konstantin Korikov, Agathoklis Hatzimanikas)
8061Files:	    runtime/doc/options.txt, src/edit.c, src/getchar.c, src/macros.h,
8062	    src/normal.c, src/option.c, src/proto/option.pro, src/window.c
8063
8064Patch 7.2.110
8065Problem:    Compiler warning for unused variable.
8066Solution:   Init the variable.
8067Files:	    src/ex_docmd.c
8068
8069Patch 7.2.111
8070Problem:    When using Visual block mode with 'cursorcolumn' it's unclear what
8071	    is selected.
8072Solution:   Don't use 'cursorcolumn' highlighting inside the Visual selection.
8073	    (idea by Dominique Pelle)
8074Files:	    src/screen.c
8075
8076Patch 7.2.112
8077Problem:    Cursor invisible in Visual mode when 'number' is set and cursor in
8078	    first column. (Matti Niemenmaa, Renato Alves)
8079Solution:   Check that vcol_prev is smaller than vcol.
8080Files:	    src/screen.c
8081
8082Patch 7.2.113
8083Problem:    Crash for substitute() call using submatch(1) while there is no
8084	    such submatch. (Yukihiro Nakadaira)
8085Solution:   Also check the start of the submatch is set, it can be NULL when
8086	    an attempted match didn't work out.
8087Files:	    src/regexp.c
8088
8089Patch 7.2.114
8090Problem:    Using wrong printf format.
8091Solution:   Use "%ld" instead of "%d". (Dominique Pelle)
8092Files:	    src/netbeans.c
8093
8094Patch 7.2.115
8095Problem:    Some debugging code is never used.
8096Solution:   Remove nbtrace() and nbprt(). (Dominique Pelle)
8097Files:	    src/nbdebug.c, src/nbdebug.h
8098
8099Patch 7.2.116
8100Problem:    Not all memory is freed when EXITFREE is defined.
8101Solution:   Free allocated memory on exit. (Dominique Pelle)
8102Files:	    src/ex_docmd.c, src/gui_gtk_x11.c, src/misc2.c, src/search.c,
8103	    src/tag.c
8104
8105Patch 7.2.117
8106Problem:    Location list incorrectly labelled "Quickfix List".
8107Solution:   Break out of both loops for finding window for location list
8108	    buffer. (Lech Lorens)
8109Files:	    src/buffer.c, src/quickfix.c, src/screen.c
8110
8111Patch 7.2.118
8112Problem:    <PageUp> at the more prompt only does half a page.
8113Solution:   Make <PageUp> go up a whole page.  Also make 'f' go a page
8114	    forward, but not quit the more prompt. (Markus Heidelberg)
8115Files:	    src/message.c
8116
8117Patch 7.2.119
8118Problem:    Status line is redrawn too often.
8119Solution:   Check ScreeenLinesUC[] properly. (Yukihiro Nakadaira)
8120Files:	    src/screen.c
8121
8122Patch 7.2.120
8123Problem:    When opening the quickfix window or splitting the window and
8124	    setting the location list, the location list is copied and then
8125	    deleted, which is inefficient.
8126Solution:   Don't copy the location list when not needed. (Lech Lorens)
8127Files:	    src/quickfix.c, src/vim.h, src/window.c
8128
8129Patch 7.2.121
8130Problem:    In gvim "!grep a *.c" spews out a lot of text that can't be
8131	    stopped with CTRL-C.
8132Solution:   When looping to read and show text, do check for typed characters
8133	    every two seconds.
8134Files:	    src/os_unix.c
8135
8136Patch 7.2.122
8137Problem:    Invalid memory access when the VimResized autocommand changes
8138	    'columns' and/or 'lines'.
8139Solution:   After VimResized check for changed values. (Dominique Pelle)
8140Files:	    src/screen.c
8141
8142Patch 7.2.123
8143Problem:    Typing 'q' at more prompt for ":map" output still displays another
8144	    line, causing another more prompt. (Markus Heidelberg)
8145Solution:   Quit listing maps when 'q' typed.
8146Files:	    src/getchar.c
8147
8148Patch 7.2.124
8149Problem:    Typing 'q' at more prompt for ":tselect" output still displays
8150	    more lines, causing another more prompt. (Markus Heidelberg)
8151Solution:   Quit listing tags when 'q' typed.
8152Files:	    src/tag.c
8153
8154Patch 7.2.125
8155Problem:    Leaking memory when reading XPM bitmap for a sign.
8156Solution:   Don't allocate the memory twice. (Dominique Pelle)
8157Files:	    src/gui_x11.c
8158
8159Patch 7.2.126
8160Problem:    When EXITFREE is defined signs are not freed.
8161Solution:   Free all signs on exit.  Also free keymaps. (Dominique Pelle)
8162Files:	    src/misc2.c, src/ex_cmds.c, src/proto/ex_cmds.pro
8163
8164Patch 7.2.127
8165Problem:    When listing mappings and a wrapping line causes the more prompt,
8166	    after typing 'q' there can be another more prompt. (Markus
8167	    Heidelberg)
8168Solution:   Set "lines_left" to allow more lines to be displayed.
8169Files:	    src/message.c
8170
8171Patch 7.2.128 (after 7.2.055)
8172Problem:    Using ":lcd" makes session files not work.
8173Solution:   Compare return value of mch_chdir() properly. (Andreas Bernauer)
8174Files:	    src/ex_docmd.c
8175
8176Patch 7.2.129
8177Problem:    When opening a command window from input() it uses the search
8178	    history.
8179Solution:   Use get_cmdline_type(). (James Vega)
8180Files:	    src/ex_getln.c
8181
8182Patch 7.2.130
8183Problem:    Vim may haing until CTRL-C is typed when using CTRL-Z.
8184Solution:   Avoid using pause().  Also use "volatile" for variables used in
8185	    signal functions. (Dominique Pelle)
8186Files:	    src/auto/configure, src/configure.in, src/config.h.in,
8187	    src/globals.h, src/os_unix.c
8188
8189Patch 7.2.131
8190Problem:    When 'keymap' is cleared may still use the cursor highlighting for
8191	    when it's enabled.
8192Solution:   Reset 'iminsert' and 'imsearch'. (partly by Dominique Pelle)
8193	    Also avoid ":setlocal" for these options have a global effect.
8194Files:	    src/option.c
8195
8196Patch 7.2.132
8197Problem:    When changing directory during a SwapExists autocmd freed memory
8198	    may be accessed. (Dominique Pelle)
8199Solution:   Add the allbuf_lock flag.
8200Files:	    src/ex_getln.c, src/globals.h, src/fileio.c,
8201	    src/proto/ex_getln.pro
8202
8203Patch 7.2.133
8204Problem:    ":diffoff!" changes settings in windows not in diff mode.
8205Solution:   Only change settings in other windows when 'diff' is set, always
8206	    do it for the current window. (Lech Lorens)
8207Files:	    src/diff.c
8208
8209Patch 7.2.134
8210Problem:    Warning for discarding "const" from pointer.
8211Solution:   Don't pass const pointer to mch_memmove().
8212Files:	    src/fileio.c
8213
8214Patch 7.2.135
8215Problem:    Memory leak when redefining user command with complete argument.
8216Solution:   Free the old complete argument. (Dominique Pelle)
8217Files:	    src/ex_docmd.c
8218
8219Patch 7.2.136 (after 7.2.132)
8220Problem:    ":cd" is still possible in a SwapExists autocmd.
8221Solution:   Check the allbuf_lock flag in ex_cd().
8222Files:	    src/ex_docmd.c
8223
8224Patch 7.2.137
8225Problem:    When 'virtualedit' is set, a left shift of a blockwise selection
8226	    that starts and ends inside a tab shifts too much. (Helmut
8227	    Stiegler)
8228Solution:   Redo the block left shift code. (Lech Lorens)
8229Files:	    src/ops.c, src/testdir/Makefile, src/testdir/test66.in,
8230	    src/testdir/test66.ok
8231
8232Patch 7.2.138 (extra part of 7.2.137)
8233Problem:    See 7.2.137.
8234Solution:   See 7.2.137.
8235Files:	    src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8236	    src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8237	    src/testdir/Make_vms.mms
8238
8239Patch 7.2.139
8240Problem:    Crash when 'virtualedit' is "all". (James Vega)
8241Solution:   Avoid overflow when column is MAXCOL. (Dominique Pelle)
8242Files:	    src/misc2.c
8243
8244Patch 7.2.140
8245Problem:    Diff highlighting isn't displayed before the Visual area if it
8246	    starts at the cursor position. (Markus Heidelberg)
8247Solution:   Also check fromcol_prev.
8248Files:	    src/screen.c
8249
8250Patch 7.2.141
8251Problem:    When redrawing a character for bold spill this causes the next
8252	    character to be redrawn as well.
8253Solution:   Only redraw one extra character. (Yukihiro Nakadaira)
8254Files:	    src/screen.c
8255
8256Patch 7.2.142
8257Problem:    Motif and Athena balloons don't use tooltip colors.
8258Solution:   Set the colors. (Matt Wozniski)
8259Files:	    src/gui_beval.c
8260
8261Patch 7.2.143
8262Problem:    No command line completion for ":cscope" command.
8263Solution:   Add the completion for ":cscope". (Dominique Pelle)
8264Files:	    src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c,
8265	    src/proto/if_cscope.pro, src/vim.h
8266
8267Patch 7.2.144
8268Problem:    When 't_Co' is set to the value it already had the color scheme is
8269	    reloaded anyway.
8270Solution:   Only load the colorscheme when the t_Co value changes. (Dominique
8271	    Pelle)
8272Files:	    src/option.c
8273
8274Patch 7.2.145
8275Problem:    White space in ":cscope find" is not ignored.
8276Solution:   Ignore the white space, but not when the leading white space is
8277	    useful for the argument.
8278Files:	    runtime/doc/if_scop.txt, src/if_cscope.c
8279
8280Patch 7.2.146
8281Problem:    v:warningmsg isn't used for all warnings.
8282Solution:   Set v:warningmsg for relevant warnings. (Ingo Karkat)
8283Files:	    src/fileio.c, src/misc1.c, src/option.c
8284
8285Patch 7.2.147
8286Problem:    When compiled as small version and 'number' is on the cursor is
8287	    displayed in the wrong position after a tab. (James Vega)
8288Solution:   Don't increment vcol when still displaying the line number.
8289Files:	    src/screen.c
8290
8291Patch 7.2.148
8292Problem:    When searching for "$" while 'hlsearch' is set, highlighting the
8293	    character after the line does not work in the cursor column.
8294	    Also highlighting for Visual mode after the line end when this
8295	    isn't needed.  (Markus Heidelberg)
8296Solution:   Only compare the cursor column in the cursor line.  Only highlight
8297	    for Visual selection after the last character when it's needed to
8298	    see where the Visual selection ends.
8299Files:	    src/screen.c
8300
8301Patch 7.2.149
8302Problem:    Using return value of function that doesn't return a value results
8303	    in reading uninitialized memory.
8304Solution:   Set the default to return zero.  Make cursor() return -1 on
8305	    failure.  Let complete() return an empty string in case of an
8306	    error.  (partly by Dominique Pelle)
8307Files:	    runtime/doc/eval.txt, src/eval.c
8308
8309Patch 7.2.150 (extra)
8310Problem:    Can't use tab pages from VisVim.
8311Solution:   Add tab page support to VisVim. (Adam Slater)
8312Files:	    src/VisVim/Commands.cpp, src/VisVim/Resource.h,
8313	    src/VisVim/VisVim.rc
8314
8315Patch 7.2.151
8316Problem:    ":hist a" doesn't work like ":hist all" as the docs suggest.
8317Solution:   Make ":hist a" and ":hist al" work. (Dominique Pelle)
8318Files:	    src/ex_getln.c
8319
8320Patch 7.2.152
8321Problem:    When using "silent echo x" inside ":redir" a next echo may start
8322	    halfway the line. (Tony Mechelynck, Dennis Benzinger)
8323Solution:   Reset msg_col after redirecting silently.
8324Files:	    src/ex_docmd.c, src/message.c, src/proto/message.pro
8325
8326Patch 7.2.153
8327Problem:    Memory leak for ":recover empty_dir/".
8328Solution:   Free files[] when it becomes empty. (Dominique Pelle)
8329Files:	    src/memline.c
8330
8331Patch 7.2.154 (after 7.2.132)
8332Problem:    ":cd" is still possible in a SwapExists autocmd.
8333Solution:   Set allbuf_lock in do_swapexists().
8334Files:	    src/memline.c
8335
8336Patch 7.2.155
8337Problem:    Memory leak in ":function /pat".
8338Solution:   Free the memory. (Dominique Pelle)
8339Files:	    src/eval.c
8340
8341Patch 7.2.156 (after 7.2.143)
8342Problem:    No completion for :scscope and :lcscope commands.
8343Solution:   Implement the completion. (Dominique Pelle)
8344Files:	    src/if_cscope.c, src/ex_docmd.c, src/proto/if_cscope.pro
8345
8346Patch 7.2.157
8347Problem:    Illegal memory access when searching in path.
8348Solution:   Avoid looking at a byte after end of a string. (Dominique Pelle)
8349Files:	    src/search.c
8350
8351Patch 7.2.158
8352Problem:    Warnings from VisualC compiler.
8353Solution:   Add type casts. (George Reilly)
8354Files:	    src/ops.c
8355
8356Patch 7.2.159
8357Problem:    When $x_includes ends up being "NONE" configure fails.
8358Solution:   Check for $x_includes not to be "NONE" (Rainer)
8359Files:	    src/auto/configure, src/configure.in
8360
8361Patch 7.2.160
8362Problem:    Search pattern not freed on exit when 'rightleft' set.
8363Solution:   Free mr_pattern_alloced.
8364Files:	    src/search.c
8365
8366Patch 7.2.161
8367Problem:    Folds messed up in other tab page. (Vlad Irnov)
8368Solution:   Instead of going over all windows in current tab page go over all
8369	    windows in all tab pages.  Also free memory for location lists in
8370	    other tab pages when exiting. (Lech Lorens)
8371Files:	    src/fileio.c, src/mark.c, src/misc1.c, src/misc2.c
8372
8373Patch 7.2.162
8374Problem:    The quickfix window may get wrong filetype.
8375Solution:   Do not detect the filetype for the quickfix window. (Lech Lorens)
8376Files:	    src/quickfix.c
8377
8378Patch 7.2.163
8379Problem:    The command line window may get folding.
8380Solution:   Default to no/manual folding. (Lech Lorens)
8381Files:	    src/ex_getln.c
8382
8383Patch 7.2.164
8384Problem:    When 'showbreak' is set the size of the Visual block may be
8385	    reported wrong. (Eduardo Daudt Flach)
8386Solution:   Temporarily make 'sbr' empty.
8387Files:	    src/normal.c, src/ops.c
8388
8389Patch 7.2.165
8390Problem:    The argument for the FuncUndefined autocmd event is expanded like
8391	    a file name.
8392Solution:   Don't try expanding it. (Wang Xu)
8393Files:	    src/fileio.c
8394
8395Patch 7.2.166
8396Problem:    No completion for ":sign" command.
8397Solution:   Add ":sign" completion. (Dominique Pelle)
8398Files:	    src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/vim.h,
8399	    src/proto/ex_cmds.pro
8400
8401Patch 7.2.167
8402Problem:    Splint doesn't work well for checking the code.
8403Solution:   Add splint arguments in the Makefile.  Exclude some code from
8404	    splint that it can't handle.  Tune splint arguments to give
8405	    reasonable errors.  Add a filter for removing false warnings from
8406	    splint output.  Many small changes to avoid warnings.  More to
8407	    follow...
8408Files:	    Filelist, src/Makefile, src/buffer.c, src/charset.c,
8409	    src/cleanlint.vim, src/digraph.c, src/edit.c, src/ex_cmds.c,
8410	    src/globals.h, src/ops.c, src/os_unix.c, src/os_unix.h,
8411	    src/proto/buffer.pro, src/proto/edit.pro, src/screen.c,
8412	    src/structs.h
8413
8414Patch 7.2.168
8415Problem:    When no ctags program can be found, "make tags" attempts to
8416	    execute the first C file.
8417Solution:   Default to "ctags" when no ctags program can be found.
8418Files:	    src/configure.in, src/auto/configure
8419
8420Patch 7.2.169
8421Problem:    Splint complains about a lot of things.
8422Solution:   Add type casts, #ifdefs and other changes to avoid warnings.
8423	    Change colnr_T from unsigned to int.  Avoids mistakes with
8424	    subtracting columns.
8425Files:	    src/cleanlint.vim, src/diff.c, src/edit.c, src/ex_cmds.c,
8426	    src/ex_cmds2.c, src/ex_docmd.c, src/proto/ex_cmds.pro,
8427	    src/proto/spell.pro, src/quickfix.c, src/spell.c, src/structs.h,
8428	    src/term.h, src/vim.h
8429
8430Patch 7.2.170
8431Problem:    Using b_dev while it was not set. (Dominique Pelle)
8432Solution:   Add the b_dev_valid flag.
8433Files:	    src/buffer.c, src/fileio.c, src/structs.h
8434
8435Patch 7.2.171 (after 7.2.169)
8436Problem:    Compiler warnings. (Tony Mechelynck)
8437Solution:   Add function prototype. (Patrick Texier)  Init variable.
8438Files:	    src/ex_cmds.c
8439
8440Patch 7.2.172 (extra)
8441Problem:    Compiler warning.
8442Solution:   Adjust function prototype. (Patrick Texier)
8443Files:	    src/os_mswin.c
8444
8445Patch 7.2.173
8446Problem:    Without lint there is no check for unused function arguments.
8447Solution:   Use gcc -Wunused-parameter instead of lint.  For a few files add
8448	    attributes to arguments that are known not to be used.
8449Files:	    src/auto/configure, src/buffer.c, src/charset.c, src/diff.c,
8450	    src/configure.in, src/config.h.in, src/edit.c, src/ex_cmds.c,
8451	    src/ex_cmds2.c, src/version.c, src/vim.h
8452
8453Patch 7.2.174
8454Problem:    Too many warnings from gcc -Wextra.
8455Solution:   Change initializer.  Add UNUSED.  Add type casts.
8456Files:	    src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c,
8457	    src/ex_getln.c, src/fileio.c, getchar.c, globals.h, main.c,
8458	    memline.c, message.c, src/misc1.c, src/move.c, src/normal.c,
8459	    src/option.c, src/os_unix.c, src/os_unix.h, src/regexp.c,
8460	    src/search.c, src/tag.c
8461
8462Patch 7.2.175
8463Problem:    Compiler warning in OpenBSD.
8464Solution:   Add type cast for NULL. (Dasn)
8465Files:	    src/if_cscope.c
8466
8467Patch 7.2.176
8468Problem:    Exceptions for splint are not useful.
8469Solution:   Remove the S_SPLINT_S ifdefs.
8470Files:	    src/edit.c, src/ex_cmds.c, src/ex_docmd.c, src/os_unix.c,
8471	    src/os_unix.h, src/os_unixx.h, src/structs.h, src/term.h
8472
8473Patch 7.2.177
8474Problem:    Compiler warnings when using -Wextra
8475Solution:   Add UNUSED and type casts.
8476Files:	    src/eval.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c,
8477	    src/fileio.c, src/hardcopy.c, src/if_cscope.c, src/if_xcmdsrv.c,
8478	    src/farsi.c, src/mark.c, src/menu.c
8479
8480Patch 7.2.178
8481Problem:    Using negative value for device number might not work.
8482Solution:   Use a separate flag for whether ffv_dev was set.
8483Files:	    src/misc2.c
8484
8485Patch 7.2.179
8486Problem:    Using negative value for device number might not work.
8487Solution:   Use a separate flag for whether sn_dev was set.
8488Files:	    src/ex_cmds2.c
8489
8490Patch 7.2.180
8491Problem:    Some more compiler warnings when using gcc -Wextra.
8492Solution:   Add UNUSED and type casts.
8493Files:	    src/buffer.c, src/ex_cmds.c, src/macros.h, src/main.c,
8494	    src/menu.c, src/message.c, src/misc1.c, src/mbyte.c,
8495	    src/normal.c, src/option.c, src/os_unix.c, src/quickfix.c,
8496	    src/screen.c, src/search.c, src/spell.c, src/syntax.c, src/tag.c,
8497	    src/term.c, src/ui.c
8498
8499Patch 7.2.181
8500Problem:    Some more compiler warnings when using gcc -Wextra.
8501Solution:   Add UNUSED and type casts.
8502Files:	    src/if_mzsch.c, src/gui.c, src/gui_gtk.c, src/gui_gtk_x11.c,
8503	    src/gui_gtk_f.c, src/gui_beval.c, src/netbeans.c
8504
8505Patch 7.2.182 (after 7.2.181)
8506Problem:    Compilation problems after previous patch for Motif.  Gvim with
8507	    GTK crashes on startup.
8508Solution:   Add comma.  Init form structure to zeroes.
8509Files:	    src/netbeans.c, src/gui_gtk_f.c
8510
8511Patch 7.2.183
8512Problem:    Configure problem for sys/sysctl.h on OpenBSD. (Dasn)
8513Solution:   Add separate check for this header file.  Also switch to newer
8514	    version of autoconf.
8515Files:	    src/auto/configure, src/configure.in
8516
8517Patch 7.2.184
8518Problem:    Some more compiler warnings when using gcc -Wextra.
8519Solution:   Add UNUSED and type casts.  Autoconf check for wchar_t.
8520Files:	    src/auto/configure, src/config.h.in, src/configure.in,
8521	    src/gui_athena.c, src/gui_x11.c, src/gui.c, src/gui_beval.c,
8522	    src/gui_at_sb.c, src/gui_at_fs.c, src/gui_motif.c,
8523	    src/gui_xmdlg.c, src/gui_xmebw.c, src/if_python.c, src/window.c,
8524	    src/workshop.c
8525
8526Patch 7.2.185
8527Problem:    Some more compiler warnings when using gcc -Wextra.
8528Solution:   Add UNUSED and type casts.
8529Files:	    src/Makefile, src/if_tlc.c, src/if_ruby.c
8530
8531Patch 7.2.186
8532Problem:    Some more compiler warnings when using gcc -Wextra.
8533Solution:   Now with the intended if_tcl.c changes.
8534Files:	    src/if_tcl.c
8535
8536Patch 7.2.187 (after 7.2.186)
8537Problem:    Doesn't build with older versions of TCL. (Yongwei Wu)
8538Solution:   Add #ifdefs. (Dominique Pelle)
8539Files:	    src/if_tcl.c
8540
8541Patch 7.2.188
8542Problem:    Crash with specific use of function calls. (Meikel Brandmeyer)
8543Solution:   Make sure the items referenced by a function call are not freed
8544	    twice.  (based on patch from Nico Weber)
8545Files:	    src/eval.c
8546
8547Patch 7.2.189
8548Problem:    Possible hang for deleting auto-indent. (Dominique Pelle)
8549Solution:   Make sure the position is not beyond the end of the line.
8550Files:	    src/edit.c
8551
8552Patch 7.2.190
8553Problem:    The register executed by @@ isn't restored.
8554Solution:   Mark the executable register in the viminfo file.
8555Files:	    src/ops.c
8556
8557Patch 7.2.191
8558Problem:    Mzscheme interface doesn't work on Ubuntu.
8559Solution:   Change autoconf rules.  Define missing macro.  Some changes to
8560	    avoid gcc warnings.  Remove per-buffer namespace. (Sergey Khorev)
8561Files:	    runtime/doc/if_mzsch.txt, src/Makefile, src/Make_ming.mak,
8562	    src/Make_mvc.mak, src/auto/configure, src/configure.in,
8563	    src/config.mk.in, src/eval.c, src/if_mzsch.c, src/if_mzsch.h,
8564	    src/main.c, src/proto/if_mzsch.pro
8565
8566Patch 7.2.192 (after 7.2.188)
8567Problem:    Still a crash in the garbage collector for a very rare situation.
8568Solution:   Make sure current_copyID is always incremented correctly. (Kent
8569	    Sibilev)
8570Files:	    src/eval.c
8571
8572Patch 7.2.193
8573Problem:    Warning for uninitialized values.
8574Solution:   Initialize all the struct items.
8575Files:	    src/eval.c
8576
8577Patch 7.2.194 (extra)
8578Problem:    MSVC: rem commands are echoed.
8579Solution:   Add commands to switch off echo. (Wang Xu)
8580Files:	    src/msvc2008.bat
8581
8582Patch 7.2.195
8583Problem:    Leaking memory for the command Vim was started with.
8584Solution:   Remember the pointer and free it.
8585Files:	    src/gui_gtk_x11.c
8586
8587Patch 7.2.196 (after 7.2.167)
8588Problem:    Turns out splint doesn't work well enough to be usable.
8589Solution:   Remove splint support.
8590Files:	    Filelist, src/cleanlint.vim
8591
8592Patch 7.2.197
8593Problem:    Warning for uninitialized values.
8594Solution:   Initialize all the struct items of typebuf.
8595Files:	    src/globals.h
8596
8597Patch 7.2.198
8598Problem:    Size of buffer used for tgetent() may be too small.
8599Solution:   Use the largest known size everywhere.
8600Files:	    src/vim.h
8601
8602Patch 7.2.199
8603Problem:    Strange character in comment.
8604Solution:   Change to "message". (Yongwei Wu)
8605Files:	    src/term.c
8606
8607Patch 7.2.200
8608Problem:    Reading past end of string when navigating the menu bar or
8609	    resizing the window.
8610Solution:   Add and use mb_ptr2len_len(). (partly by Dominique Pelle)
8611	    Also add mb_ptr2cells_len() to prevent more trouble.
8612Files:	    src/gui_gtk_x11.c, src/os_unix.c, src/globals.h, src/mbyte.c,
8613	    src/proto/mbyte.pro
8614
8615Patch 7.2.201
8616Problem:    Cannot copy/paste HTML to/from Firefox via the clipboard.
8617Solution:   Implement this for GTK.  Add the "html" value to 'clipboard'.
8618Files:	    runtime/doc/options.txt, src/globals.h, src/gui_gtk_x11.c,
8619	    src/mbyte.c, src/proto/mbyte.pro, src/option.c
8620
8621Patch 7.2.202
8622Problem:    BufWipeout autocommand that edits another buffer causes problems.
8623Solution:   Check for the situation, give an error and quit the operation.
8624Files:	    src/fileio.c
8625
8626Patch 7.2.203
8627Problem:    When reloading a buffer or doing anything else with a buffer that
8628	    is not displayed in a visible window, autocommands may be applied
8629	    to the current window, folds messed up, etc.
8630Solution:   Instead of using the current window for the hidden buffer use a
8631	    special window, splitting the current one temporarily.
8632Files:	    src/fileio.c, src/globals.h, src/gui.c, src/if_perl.xs,
8633	    src/progo/gui.pro, src/proto/window.pro, src/screen.c,
8634	    src/structs.h, src/window.c
8635
8636Patch 7.2.204 (extra)
8637Problem:    Win32: Can't build with Visual Studio 2010 beta 1.
8638Solution:   Fix the makefile. (George Reilly)
8639Files:	    src/Make_mvc.mak
8640
8641Patch 7.2.205 (extra)
8642Problem:    Win32: No support for High DPI awareness.
8643Solution:   Fix the manifest file. (George Reilly)
8644Files:	    src/Make_mvc.mak, src/gvim.exe.mnf
8645
8646Patch 7.2.206
8647Problem:    Win32: Can't build netbeans interface with Visual Studio 2010.
8648Solution:   Undefine ECONNREFUSED. (George Reilly)
8649Files:	    src/netbeans.c
8650
8651Patch 7.2.207
8652Problem:    Using freed memory with ":redrawstatus" when it works recursively.
8653Solution:   Prevent recursively updating the status line. (partly by Dominique
8654	    Pelle)
8655Files:	    src/screen.c
8656
8657Patch 7.2.208
8658Problem:    "set novice" gives an error message, it should be ignored.
8659Solution:   Don't see "no" in "novice" as unsetting an option.  (Patrick
8660	    Texier)
8661Files:	    src/option.c
8662
8663Patch 7.2.209
8664Problem:    For xxd setmode() is undefined on Cygwin.
8665Solution:   Include io.h. (Dominique Pelle)
8666Files:	    src/xxd/xxd.c
8667
8668Patch 7.2.210
8669Problem:    When a file that is being edited has its timestamp updated outside
8670	    of Vim and ":checktime" is used still get a warning when writing
8671	    the file. (Matt Mueller)
8672Solution:   Store the timestamp in b_mtime_read when the timestamp is the only
8673	    thing that changed.
8674Files:	    src/fileio.c
8675
8676Patch 7.2.211
8677Problem:    Memory leak when expanding a series of file names.
8678Solution:   Use ga_clear_strings() instead of ga_clear().
8679Files:	    src/misc1.c
8680
8681Patch 7.2.212 (extra)
8682Problem:    Warnings for redefining SIG macros.
8683Solution:   Don't define them if already defined. (Bjorn Winckler)
8684Files:	    src/os_mac.h
8685
8686Patch 7.2.213
8687Problem:    Warning for using vsprintf().
8688Solution:   Use vim_vsnprintf().
8689Files:	    src/netbeans.c
8690
8691Patch 7.2.214
8692Problem:    Crash with complete function for user command. (Andy Wokula)
8693Solution:   Avoid using a NULL pointer (Dominique Pelle)
8694Files:	    src/ex_getln.c
8695
8696Patch 7.2.215
8697Problem:    ml_get error when using ":vimgrep".
8698Solution:   Load the memfile for the hidden buffer before putting it in a
8699	    window.  Correct the order of splitting the window and filling
8700	    the window and buffer with data.
8701Files:	    src/fileio.c, src/proto/window.pro, src/quickfix.c, src/window.c
8702
8703Patch 7.2.216
8704Problem:    Two error messages have the same number E812.
8705Solution:   Give one message a different number.
8706Files:	    runtime/doc/autocmd.txt, runtime/doc/if_mzsch.txt, src/if_mzsch.c
8707
8708Patch 7.2.217
8709Problem:    Running tests with valgrind doesn't work as advertised.
8710Solution:   Fix the line in the Makefile.
8711Files:	    src/testdir/Makefile
8712
8713Patch 7.2.218
8714Problem:    Cannot build GTK with hangul_input feature. (Dominique Pelle)
8715Solution:   Adjust #ifdef.  (SungHyun Nam)
8716Files:	    src/gui.c
8717
8718Patch 7.2.219 (extra)
8719Problem:    Photon GUI is outdated.
8720Solution:   Updates for QNX 6.4.0. (Sean Boudreau)
8721Files:	    src/gui_photon.c
8722
8723Patch 7.2.220 (after 7.2.215)
8724Problem:    a BufEnter autocommand that changes directory causes problems.
8725	    (Ajit Thakkar)
8726Solution:   Disable autocommands when opening a hidden buffer in a window.
8727Files:	    src/fileio.c
8728
8729Patch 7.2.221
8730Problem:    X cut_buffer0 text is used as-is, it may be in the wrong encoding.
8731Solution:   Convert between 'enc' and latin1. (James Vega)
8732Files:	    src/gui_gtk_x11.c, src/message.c, src/ops.c, src/proto/ui.pro,
8733	    src/ui.c
8734
8735Patch 7.2.222
8736Problem:   ":mksession" doesn't work properly with 'acd' set. 
8737Solution:   Make it work. (Yakov Lerner)
8738Files:	    src/ex_docmd.c
8739
8740Patch 7.2.223
8741Problem:    When a script is run with ":silent" it is not able to give warning
8742	    messages.
8743Solution:   Add the ":unsilent" command.
8744Files:	    runtime/doc/various.txt, src/ex_cmds.h, src/ex_docmd.c
8745
8746Patch 7.2.224
8747Problem:    Crash when using 'completefunc'. (Ingo Karkat)
8748Solution:   Disallow entering edit() recursively when doing completion.
8749Files:	    src/edit.c
8750
8751Patch 7.2.225
8752Problem:    When using ":normal" a saved character may be executed.
8753Solution:   Also store old_char when saving typeahead.
8754Files:	    src/getchar.c, src/structs.h
8755
8756Patch 7.2.226
8757Problem:    ml_get error after deleting the last line. (Xavier de Gaye)
8758Solution:   When adjusting marks a callback may be invoked.  Adjust the cursor
8759	    position before invoking deleted_lines_mark().
8760Files:	    src/ex_cmds.c, src/ex_docmd.c, src/if_mzsch.c, src/if_python.c,
8761	    src/if_perl.xs, src/misc1.c
8762
8763Patch 7.2.227
8764Problem:    When using ":cd" in a script there is no way to track this.
8765Solution:   Display the directory when 'verbose' is 5 or higher.
8766Files:	    src/ex_docmd.c
8767
8768Patch 7.2.228
8769Problem:    Cscope is limited to 8 connections.
8770Solution:   Allocated the connection array to handle any number of
8771	    connections. (Dominique Pelle)
8772Files:	    runtime/doc/if_cscop.txt, src/if_cscope.h, src/if_cscope.c
8773
8774Patch 7.2.229
8775Problem:    Warning for shadowed variable.
8776Solution:   Rename "wait" to "wait_time".
8777Files:	    src/os_unix.c
8778
8779Patch 7.2.230
8780Problem:    A few old lint-style ARGUSED comments.
8781Solution:   Change to the new UNUSED style.
8782Files:	    src/getchar.c
8783
8784Patch 7.2.231
8785Problem:    Warning for unreacheable code.
8786Solution:   Add #ifdef.
8787Files:	    src/if_perl.xs
8788
8789Patch 7.2.232
8790Problem:    Cannot debug problems with being in a wrong directory.
8791Solution:   When 'verbose' is 5 or higher report directory changes.
8792Files:	    src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro
8793
8794Patch 7.2.233 (extra part of 7.2.232)
8795Problem:    Cannot debug problems with being in a wrong directory.
8796Solution:   When 'verbose' is 5 or higher report directory changes.
8797Files:	    src/os_msdos.c, src/os_mswin.c, src/os_riscos.c, src/os_mac.h
8798
8799Patch 7.2.234
8800Problem:    It is not possible to ignore file names without a suffix.
8801Solution:   Use an empty entry in 'suffixes' for file names without a dot.
8802Files:	    runtime/doc/cmdline.txt, src/misc1.c
8803
8804Patch 7.2.235
8805Problem:    Using CTRL-O z= in Insert mode has a delay before redrawing.
8806Solution:   Reset msg_didout and msg_scroll.
8807Files:	    src/misc1.c, src/spell.c
8808
8809Patch 7.2.236
8810Problem:    Mac: Compiling with Ruby doesn't always work.
8811Solution:   In configure filter out the --arch argument (Bjorn Winckler)
8812Files:	    src/configure.in, src/auto/configure
8813
8814Patch 7.2.237
8815Problem:    Crash on exit when window icon not set.
8816Solution:   Copy terminal name when using it for the icon name.
8817Files:	    src/os_unix.c
8818
8819Patch 7.2.238
8820Problem:    Leaking memory when setting term to "builtin_dumb".
8821Solution:   Free memory when resetting term option t_Co.
8822Files:	    src/option.c, src/proto/option.pro, src/term.c
8823
8824Patch 7.2.239
8825Problem:    Using :diffpatch twice or when patching fails causes memory
8826	    corruption and/or a crash.  (Bryan Venteicher)
8827Solution:   Detect missing output file.  Avoid using non-existing buffer.
8828Files:	    src/diff.c
8829
8830Patch 7.2.240
8831Problem:    Crash when using find/replace dialog repeatedly. (Michiel
8832	    Hartsuiker)
8833Solution:   Avoid doing the operation while busy or recursively.  Also refuse
8834	    replace when text is locked.
8835Files:	    src/gui.c
8836
8837Patch 7.2.241
8838Problem:    When using a combination of ":bufdo" and "doautoall" we may end up
8839	    in the wrong directory. (Ajit Thakkar)
8840	    Crash when triggering an autocommand in ":vimgrep".  (Yukihiro
8841	    Nakadaira)
8842Solution:   Clear w_localdir and globaldir when using the aucmd_win.
8843	    Use a separate flag to decide aucmd_win needs to be restored.
8844Files:	    src/fileio.c, src/globals.h, src/structs.h
8845
8846Patch 7.2.242
8847Problem:    Setting 'lazyredraw' causes the cursor column to be recomputed.
8848	    (Tom Link)
8849Solution:   Only recompute the cursor column for a boolean option if changes
8850	    the cursor position.
8851Files:	    src/option.c
8852
8853Patch 7.2.243
8854Problem:    Memory leak when using :vimgrep and resizing. (Dominique Pelle)
8855Solution:   Free memory for aucmd_win when resizing and don't allocate it
8856	    twice.
8857Files:	    src/screen.c
8858
8859Patch 7.2.244
8860Problem:    When 'enc' is utf-8 and 'fenc' is latin1, writing a non-latin1
8861	    character gives a conversion error without any hint what is wrong.
8862Solution:   When known add the line number to the error message.
8863Files:	    src/fileio.c
8864
8865Patch 7.2.245
8866Problem:    When 'enc' is "utf-16" and 'fenc' is "utf-8" writing a file does
8867	    conversion while none should be done. (Yukihiro Nakadaira) When
8868	    'fenc' is empty the file is written as utf-8 instead of utf-16.
8869Solution:   Do proper comparison of encodings, taking into account that all
8870	    Unicode values for 'enc' use utf-8 internally.
8871Files:	    src/fileio.c
8872
8873Patch 7.2.246
8874Problem:    Cscope home page link is wrong.
8875Solution:   Update the URL. (Sergey Khorev)
8876Files:	    runtime/doc/if_cscop.txt
8877
8878Patch 7.2.247
8879Problem:    Mzscheme interface minor problem.
8880Solution:   Better error message when build fails. (Sergey Khorev)
8881Files:	    src/if_mzsch.c
8882
8883Patch 7.2.248 (extra)
8884Problem:    Mzscheme interface building minor problems.
8885Solution:   Update Win32 makefiles. (Sergey Khorev)
8886Files:	    src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak
8887
8888Patch 7.2.249
8889Problem:    The script to check .po files can't handle '%' in plural forms.
8890Solution:   Remove "Plural-Forms:" from the checked string.
8891Files:	    src/po/check.vim
8892
8893Patch 7.2.250 (extra)
8894Problem:    Possible buffer overflow.
8895Solution:   Compute the remaining space. (Dominique Pelle)
8896Files:	    src/GvimExt/gvimext.cpp
8897
8898Patch 7.2.251 (after 7.2.044)
8899Problem:    Compiler adds invalid memory bounds check.
8900Solution:   Remove _FORTIFY_SOURCE=2 from CFLAGS. (Dominique Pelle)
8901Files:	    src/auto/configure, src/configure.in
8902
8903Patch 7.2.252
8904Problem:    When using a multi-byte 'enc' the 'iskeyword' option cannot
8905	    contain characters above 128.
8906Solution:   Use mb_ptr2char_adv().
8907Files:	    src/charset.c
8908
8909Patch 7.2.253
8910Problem:    Netbeans interface: getLength always uses current buffer.
8911Solution:   Use ml_get_buf() instead of ml_get(). (Xavier de Gaye)
8912Files:	    src/netbeans.c
8913
8914Patch 7.2.254
8915Problem:    Compiler warning for assigning size_t to int.
8916Solution:   Use size_t for the variable. (George Reilly)
8917Files:	    src/fileio.c
8918
8919Patch 7.2.255 (after 7.2.242)
8920Problem:    Setting 'rightleft', 'linebreak' and 'wrap' may cause cursor to be
8921	    in wrong place.
8922Solution:   Recompute the cursor column for these options.
8923Files:	    src/option.c
8924
8925Patch 7.2.256
8926Problem:    When 'guifont' was not set GTK font dialog doesn't have a default.
8927	    (Andreas Metzler)
8928Solution:   Set default to DEFAULT_FONT. (James Vega)
8929Files:	    src/gui_gtk_x11.c
8930
8931Patch 7.2.257
8932Problem:    With GTK 2.17 lots of assertion error messages.
8933Solution:   Remove check for static gravity. (Sebastian Droege)
8934Files:	    src/gui_gtk_f.c
8935
8936Patch 7.2.258
8937Problem:    v:beval_col and b:beval_text are wrong in UTF-8 text. (Tony
8938	    Mechelynck)
8939Solution:   Use byte number instead of character number for the column.
8940Files:	    src/ui.c
8941
8942Patch 7.2.259
8943Problem:    exists() doesn't work properly for an empty aucmd group.
8944Solution:   Change how au_exists() handles a missing pattern.  Also add a
8945	    test for this. (Bob Hiestand)
8946Files:	    src/fileio.c, src/testdir/Makefile, src/testdir/test67.in,
8947	    src/testdir/test67.ok
8948
8949Patch 7.2.260 (extra part of 7.2.259)
8950Problem:    exists() doesn't work properly for empty aucmd group.
8951Solution:   Change how au_exists() handles a missing pattern.  Also add a
8952	    test for this. (Bob Hiestand)
8953Files:	    src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
8954	    src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
8955	    src/testdir/Make_vms.mms
8956
8957Patch 7.2.261
8958Problem:    When deleting lines with a specific folding configuration E38 may
8959	    appear. (Shahaf)
8960Solution:   When adjusting nested folds for deleted lines take into account
8961	    that they don't start at the top of the enclosing fold.
8962Files:	    src/fold.c
8963
8964Patch 7.2.262
8965Problem:    When using custom completion for a user command the pattern string
8966	    goes beyond the cursor position. (Hari Krishna Dara)
8967Solution:   Truncate the string at the cursor position.
8968Files:	    src/ex_getln.c, src/structs.h
8969
8970Patch 7.2.263
8971Problem:    GTK2: when using the -geom argument with an offset from the right
8972	    edge and the size is smaller than the default, the Vim window is
8973	    not positioned properly.
8974Solution:   Use another function to set the size. (Vitaly Minko)
8975Files:	    src/gui_gtk_x11.c
8976
8977Patch 7.2.264
8978Problem:    GTK2: When the Vim window is maximized setting 'columns' or
8979	    'lines' doesn't work.
8980Solution:   Unmaximize the window before setting the size. (Vitaly Minko)
8981Files:	    src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro
8982
8983Patch 7.2.265
8984Problem:    When using ":silent broken" inside try/catch silency may persist.
8985	    (dr-dr xp)
8986Solution:   Set msg_silent when there is an error and it's bigger than the
8987	    saved value.
8988Files:	    src/ex_docmd.c
8989
8990Patch 7.2.266
8991Problem:    When an expression abbreviation is triggered, the typed character
8992	    is unknown.
8993Solution:   Make the typed character available in v:char.
8994Files:	    runtime/doc/map.txt, src/eval.c, src/getchar.c, src/ops.c,
8995	    src/proto/eval.pro
8996
8997Patch 7.2.267
8998Problem:    Crash for narrow window and double-width character.
8999Solution:   Check for zero width.  (Taro Muraoka)
9000Files:	    src/charset.c
9001
9002Patch 7.2.268
9003Problem:    Crash when using Python to set cursor beyond end of line.
9004	    (winterTTr)
9005Solution:   Check the column to be valid.
9006Files:	    src/if_python.c
9007
9008Patch 7.2.269
9009Problem:    Many people struggle to find out why Vim startup is slow.
9010Solution:   Add the --startuptime command line flag.
9011Files:	    runtime/doc/starting.txt, src/globals.h, src/feature.h,
9012	    src/main.c, src/macros.h
9013
9014Patch 7.2.270
9015Problem:    Using ":@c" when the c register contains a CR causes the rest to
9016	    be executed later. (Dexter Douglas)
9017Solution:   Don't check for typeahead to start with ':', keep executing
9018	    commands until all added typeahead has been used.
9019Files:	    src/ex_docmd.c
9020
9021Patch 7.2.271
9022Problem:    Using freed memory in Motif GUI version when making a choice.
9023Solution:   Free memory only after using it. (Dominique Pelle)
9024Files:	    src/gui_xmdlg.c
9025
9026Patch 7.2.272
9027Problem:    "_.svz" is not recognized as a swap file. (David M. Besonen)
9028Solution:   Accept .s[uvw][a-z] as a swap file name extension.
9029Files:	    src/memline.c
9030
9031Patch 7.2.273
9032Problem:    Crash with redir to unknown array. (Christian Brabandt)
9033Solution:   Don't assign the redir result when there was an error.
9034Files:	    src/eval.c
9035
9036Patch 7.2.274
9037Problem:    Syntax folding doesn't work properly when adding a comment.
9038Solution:   Fix it and add a test. (Lech Lorens)
9039Files:	    src/fold.c, src/testdir/test45.in, src/testdir/test45.ok
9040
9041Patch 7.2.275
9042Problem:    Warning for unused argument and comparing signed and unsigned.
9043Solution:   Add type cast.
9044Files:	    src/memline.c
9045
9046Patch 7.2.276
9047Problem:    Crash when setting 'isprint' to a small bullet. (Raul Coronado)
9048Solution:   Check for the character to be < 256.  Also make it possible to
9049	    specify a range of multi-byte characters. (Lech Lorens)
9050Files:	    src/charset.c
9051
9052Patch 7.2.277
9053Problem:    CTRL-Y in a diff'ed window may move the cursor outside of the
9054	    window. (Lech Lorens)
9055Solution:   Limit the number of filler lines to the height of the window.
9056	    Don't reset filler lines to zero for an empty buffer.
9057Files:	    src/move.c
9058
9059Patch 7.2.278
9060Problem:    Using magic number in the folding code.
9061Solution:   Use the defined MAX_LEVEL.
9062Files:	    src/fold.c
9063
9064Patch 7.2.279
9065Problem:    Invalid memory read with visual mode "r". (Dominique Pelle)
9066Solution:   Make sure the cursor position is valid.  Don't check the cursor
9067	    position but the position being used.  And make sure we get the
9068	    right line.
9069Files:	    src/misc2.c, src/ops.c
9070
9071Patch 7.2.280
9072Problem:    A redraw in a custom statusline with %! may cause a crash.
9073	    (Yukihiro Nakadaira)
9074Solution:   Make a copy of 'statusline'.  Also fix typo in function name
9075	    redraw_custum_statusline. (partly by Dominique Pelle)
9076Files:	    src/screen.c
9077
9078Patch 7.2.281
9079Problem:    'cursorcolumn' highlighting is wrong in diff mode.
9080Solution:   Adjust the column computation. (Lech Lorens)
9081Files:	    src/screen.c
9082
9083Patch 7.2.282
9084Problem:    A fold can't be closed.
9085Solution:   Initialize fd_small to MAYBE. (Lech Lorens)
9086Files:	    src/fold.c
9087
9088Patch 7.2.283
9089Problem:    Changing font while the window is maximized doesn't keep the
9090	    window maximized.
9091Solution:   Recompute number of lines and columns after changing font. (James
9092	    Vega)
9093Files:	    src/gui_gtk_x11.c
9094
9095Patch 7.2.284
9096Problem:    When editing the same buffer in two windows, one with folding,
9097	    display may be wrong after changes.
9098Solution:   Call set_topline() to take care of side effects. (Lech Lorens)
9099Files:	    src/misc1.c
9100
9101Patch 7.2.285 (after 7.2.169)
9102Problem:    CTRL-U in Insert mode also deletes indent. (Andrey Voropaev)
9103Solution:   Fix mistake made in patch 7.2.169.
9104Files:	    src/edit.c
9105
9106Patch 7.2.286 (after 7.2.269)
9107Problem:    The "--startuptime=<file>" argument is not consistent with other
9108	    arguments.
9109Solution:   Use "--startuptime <file>".  Added the +startuptime feature.
9110Files:	    runtime/doc/eval.txt, runtime/doc/starting.txt,
9111	    runtime/doc/various.txt, src/eval.c, src/main.c, src/version.c
9112
9113Patch 7.2.287
9114Problem:    Warning from gcc 3.4 about uninitialized variable.
9115Solution:   Move assignment outside of #ifdef.
9116Files:	    src/if_perl.xs
9117
9118Patch 7.2.288
9119Problem:    Python 2.6 pyconfig.h redefines macros.
9120Solution:   Undefine the macros before including pyconfig.h.
9121Files:	    src/if_python.c
9122
9123Patch 7.2.289
9124Problem:    Checking wrong struct member.
9125Solution:   Change tb_buf to tb_noremap. (Dominique Pelle)
9126Files:	    src/getchar.c
9127
9128Patch 7.2.290
9129Problem:    Not freeing memory from ":lmap", ":xmap" and ":menutranslate".
9130Solution:   Free the memory when exiting. (Dominique Pelle)
9131Files:	    src/misc2.c
9132
9133Patch 7.2.291
9134Problem:    Reading uninitialised memory in arabic mode.
9135Solution:   Use utfc_ptr2char_len() rather than utfc_ptr2char().  (Dominique
9136	    Pelle)
9137Files:	    src/screen.c
9138
9139Patch 7.2.292
9140Problem:    Block right-shift doesn't work properly with multi-byte encoding
9141	    and 'list' set.
9142Solution:   Add the missing "else". (Lech Lorens)
9143Files:	    src/ops.c
9144
9145Patch 7.2.293
9146Problem:    When setting 'comments' option it may be used in a wrong way. 
9147Solution:   Don't increment after skipping over digets. (Yukihiro Nakadaira)
9148Files:	    src/misc1.c
9149
9150Patch 7.2.294
9151Problem:    When using TEMPDIRS dir name could get too long.
9152Solution:   Overwrite tail instead of appending each time.  Use mkdtemp() when
9153	    available. (James Vega)
9154Files:	    src/auto/configure, src/config.h.in, src/configure.in, src/fileio.c
9155
9156Patch 7.2.295
9157Problem:    When using map() on a List the index is not known.
9158Solution:   Set v:key to the  index. (Hari Krishna Dara)
9159Files:	    runtime/doc/eval.txt, src/eval.c
9160
9161Patch 7.2.296
9162Problem:    Help message about startuptime is wrong. (Dominique Pelle)
9163Solution:   Remove the equal sign.
9164Files:	    src/main.c
9165
9166Patch 7.2.297
9167Problem:    Reading freed memory when writing ":reg" output to a register.
9168	    (Dominique Pelle)
9169Solution:   Skip the register being written to.
9170Files:	    src/ops.c
9171
9172Patch 7.2.298
9173Problem:    ":vimgrep" crashes when there is an autocommand that sets a
9174	    window-local variable.
9175Solution:   Initialize the w: hashtab for re-use. (Yukihiro Nakadaira)
9176Files:	    src/fileio.c
9177
9178Patch 7.2.299
9179Problem:    Crash when comment middle is longer than start.
9180Solution:   Fix size computation. (Lech Lorens)
9181Files:	    src/misc1.c
9182
9183Patch 7.2.300
9184Problem:    Vim doesn't close file descriptors when forking and executing
9185	    another command, e.g., ":shell".
9186Solution:   Use FD_CLOEXEC when available. (James Vega)
9187Files:	    auto/configure, src/config.h.in, src/configure.in,
9188	    src/ex_cmdds2.c, src/fileio.c, src/memfile.c, src/memline.c
9189
9190Patch 7.2.301
9191Problem:    Formatting is wrong when 'tw' is set to a small value.
9192Solution:   Fix it and add tests.  Also fix behavior of "1" in 'fo'. (Yukihiro
9193	    Nakadaira)
9194Files:	    src/edit.c, src/testdir/Makefile, src/testdir/test68.in,
9195	    src/testdir/test68.ok, src/testdir/test69.in,
9196	    src/testdir/test69,ok
9197
9198Patch 7.2.302 (extra part of 7.2.301)
9199Problem:    Formatting wrong with small 'tw' value.
9200Solution:   Add build rules for tests.
9201Files:	    src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
9202	    src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
9203	    src/testdir/Make_vms.mms
9204
9205Patch 7.2.303 (after 7.2.294)
9206Problem:    Can't build on MS-Windows.
9207Solution:   Add #ifdef around vim_settempdir(). (James Vega)
9208Files:	    src/fileio.c
9209
9210Patch 7.2.304
9211Problem:    Compiler warning for bad pointer cast.
9212Solution:   Use another variable for int pointer.
9213Files:	    src/ops.c
9214
9215Patch 7.2.305
9216Problem:    Recursively redrawing causes a memory leak. (Dominique Pelle)
9217Solution:   Disallow recursive screen updating.
9218Files:	    src/screen.c
9219
9220Patch 7.2.306
9221Problem:    shellescape("10%%", 1) only escapes first %. (Christian Brabandt)
9222Solution:   Don't copy the character after the escaped one.
9223Files:	    src/misc2.c
9224
9225Patch 7.2.307
9226Problem:    Crash with a very long syntax match statement. (Guy Gur Ari)
9227Solution:   When the offset does not fit in the two bytes available give an
9228	    error instead of continuing with invalid pointers.
9229Files:	    src/regexp.c
9230
9231Patch 7.2.308
9232Problem:    When using a regexp in the "\=" expression of a substitute
9233	    command, submatch() returns empty strings for further lines.
9234	    (Clockwork Jam)
9235Solution:   Save and restore the line number and line count when calling
9236	    reg_getline().
9237Files:	    src/regexp.c
9238
9239Patch 7.2.309 (after 7.2.308)
9240Problem:    Warning for missing function prototype. (Patrick Texier)
9241Solution:   Add the prototype.
9242Files:	    src/regexp.c
9243
9244Patch 7.2.310
9245Problem:    When a filetype plugin in ~/.vim/ftdetect uses ":setfiletype" and
9246	    the file starts with a "# comment" it gets "conf" filetype.
9247Solution:   Check for "conf" filetype after using ftdetect plugins.
9248Files:	    runtime/filetype.vim
9249
9250Patch 7.2.311
9251Problem:    Can't compile with FreeMiNT.
9252Solution:   Change #ifdef for limits.h. (Alan Hourihane)
9253Files:	    src/fileio.c
9254
9255Patch 7.2.312
9256Problem:    iconv() returns an invalid character sequence when conversion
9257	    fails.  It should return an empty string. (Yongwei Wu)
9258Solution:   Be more strict about invalid characters in the input.
9259Files:	    src/mbyte.c
9260
9261Patch 7.2.313
9262Problem:    Command line completion doesn't work after "%:h" and similar.
9263Solution:   Expand these items before doing the completion.
9264Files:	    src/ex_getln.c, src/misc1.c, src/proto/misc1.pro
9265
9266Patch 7.2.314
9267Problem:    Missing function in small build.
9268Solution:   Always include concat_str.
9269Files:	    src/misc1.c
9270
9271Patch 7.2.315
9272Problem:    Python libs can't be found on 64 bit system.
9273Solution:   Add lib64 to the list of directories. (Michael Henry)
9274Files:	    src/auto/configure, src/configure.in
9275
9276Patch 7.2.316
9277Problem:    May get multiple _FORTIFY_SOURCE arguments. (Tony Mechelynck)
9278Solution:   First remove all these arguments and then add the one we want.
9279	    (Dominique Pelle)
9280Files:	    src/auto/configure, src/configure.in
9281
9282Patch 7.2.317
9283Problem:    Memory leak when adding a highlight group with unprintable
9284	    characters, resulting in E669.
9285Solution:   Free the memory.  And fix a few typos. (Dominique Pelle)
9286Files:	    src/syntax.c
9287
9288Patch 7.2.318
9289Problem:    Wrong locale value breaks floating point numbers for gvim.
9290Solution:   Set the locale again after doing GUI inits. (Dominique Pelle)
9291Files:	    src/main.c
9292
9293Patch 7.2.319
9294Problem:    Motif: accessing freed memory when cancelling font dialog.
9295Solution:   Destroy the widget only after accessing it. (Dominique Pelle)
9296Files:	    src/gui_xmdlg.c
9297
9298Patch 7.2.320
9299Problem:    Unused function in Mzscheme interface.
9300Solution:   Remove the function and what depends on it. (Dominique Pelle)
9301Files:	    src/if_mzsch.c, src/proto/if_mzsch.pro
9302
9303Patch 7.2.321
9304Problem:    histadd() and searching with "*" fails to add entry to history
9305	    when it is empty.
9306Solution:   Initialize the history. (Lech Lorens)
9307Files:	    src/eval.c, src/normal.c
9308
9309Patch 7.2.322
9310Problem:    Wrong indenting in virtual replace mode with CTRL-Y below a short
9311	    line.
9312Solution:   Check for character to be NUL. (suggested by Lech Lorens)
9313Files:	    src/edit.c
9314
9315Patch 7.2.323 (extra)
9316Problem:    Balloon evaluation crashes on Win64.
9317Solution:   Change pointer types. (Sergey Khorev)
9318Files:	    src/gui_w32.c
9319
9320Patch 7.2.324
9321Problem:    A negative column argument in setpos() may cause a crash.
9322Solution:   Check for invalid column number. (James Vega)
9323Files:	    src/eval.c, src/misc2.c
9324
9325Patch 7.2.325
9326Problem:    A stray "w" in the startup vimrc file causes the edited file to be
9327	    replaced with an empty file. (Stone Kang).
9328Solution:   Do not write a buffer when it has never been loaded.
9329Files:	    src/fileio.c
9330
9331Patch 7.2.326
9332Problem:    Win32: $HOME doesn't work when %HOMEPATH% is not defined.
9333Solution:   Use "\" for %HOMEPATH% when it is not defined.
9334Files:	    src/misc1.c
9335
9336Patch 7.2.327
9337Problem:    Unused functions in Workshop.
9338Solution:   Add "#if 0" and minor cleanup. (Dominique Pelle)
9339Files:	    src/workshop.c, src/integration.c, src/integration.h
9340
9341Patch 7.2.328
9342Problem:    has("win64") does not return 1 on 64 bit MS-Windows version.
9343Solution:   Also check for _WIN64 besides WIN64.
9344Files:	    src/eval.c
9345
9346Patch 7.2.329
9347Problem:    "g_" doesn't position cursor correctly when in Visual mode and
9348	    'selection' is "exclusive". (Ben Fritz)
9349Solution:   Call adjust_for_sel().
9350Files:	    src/normal.c
9351
9352Patch 7.2.330
9353Problem:    Tables for Unicode case operators are outdated.
9354Solution:   Add a Vim script for generating the tables.  Include tables for
9355	    Unicode 5.2.
9356Files:	    runtime/tools/README.txt, runtime/tools/unicode.vim, src/mbyte.c
9357
9358Patch 7.2.331
9359Problem:    Can't interrupt "echo list" for a very long list.
9360Solution:   Call line_breakcheck() in list_join().
9361Files:	    src/eval.c
9362
9363Patch 7.2.332
9364Problem:    Crash when spell correcting triggers an autocommand that reloads
9365	    the buffer.
9366Solution:   Make a copy of the line to be modified. (Dominique Pelle)
9367Files:	    src/spell.c
9368
9369Patch 7.2.333
9370Problem:    Warnings from static code analysis.
9371Solution:   Small changes to various lines. (Dominique Pelle)
9372Files:	    src/buffer.c, src/edit.c, src/ex_getln.c, src/fileio.c,
9373	    src/if_cscope.c, src/netbeans.c, src/ops.c, src/quickfix.c,
9374	    src/syntax.c, src/ui.c
9375
9376Patch 7.2.334
9377Problem:    Postponing keys in Netbeans interface does not work properly.
9378Solution:   Store the key string instead of the number.  Avoid an infinite
9379	    loop. (Mostly by Xavier de Gaye)
9380Files:	    src/netbeans.c, src/proto/netbeans.pro
9381
9382Patch 7.2.335
9383Problem:    The CTRL-] command escapes too many characters.
9384Solution:   Use a different list of characters to be escaped. (Sergey Khorev)
9385Files:	    src/normal.c
9386
9387Patch 7.2.336
9388Problem:    MzScheme interface can't evaluate an expression.
9389Solution:   Add mzeval(). (Sergey Khorev)
9390Files:	    runtime/doc/eval.txt, runtime/doc/if_mzsch.txt,
9391	    runtime/doc/usr_41.txt, src/eval.c, src/if_mzsch.c,
9392	    src/proto/eval.pro, src/proto/if_mzsch.pro,
9393	    src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
9394	    src/testdir/Makefile, src/testdir/main.aap, src/testdir/test1.in,
9395	    src/testdir/test70.in, src/testdir/test70.ok
9396
9397Patch 7.2.337
9398Problem:    The :compiler command doesn't function properly when invoked in a
9399	    function.
9400Solution:   Add "g:" before "current_compiler". (Yukihiro Nakadaira)
9401Files:	    src/ex_cmds2.c
9402
9403Patch 7.2.338 (after 7.2.300)
9404Problem:    Part of FD_CLOEXEC change is missing.
9405Solution:   Include source file skipped because of typo.
9406Files:	    src/ex_cmds2.c
9407
9408Patch 7.2.339 (after 7.2.269)
9409Problem:    Part of --startuptime patch is missing.
9410Solution:   Add check for time_fd.
9411Files:	    src/ex_cmds2.c
9412
9413Patch 7.2.340
9414Problem:    Gcc warning for condition that can never be true. (James Vega)
9415Solution:   Use start_lvl instead flp->lvl.
9416Files:	    src/fold.c
9417
9418Patch 7.2.341
9419Problem:    Popup menu wraps to next line when double-wide character doesn't
9420	    fit. (Jiang Ma)
9421Solution:   Display a ">" instead. (Dominique Pelle)
9422Files:	    src/screen.c
9423
9424Patch 7.2.342
9425Problem:    Popup menu displayed wrong in 'rightleft' mode when there are
9426	    multi-byte characters.
9427Solution:   Adjust the column computations. (Dominique Pelle)
9428Files:	    src/popupmnu.c
9429
9430Patch 7.2.343 (after 7.2.338)
9431Problem:    Can't compile on Win32.
9432Solution:   Insert the missing '|'.
9433Files:	    src/ex_cmds2.c
9434
9435Patch 7.2.344 (after 7.2.343)
9436Problem:    Can't compile on some systems
9437Solution:   Move the #ifdef outside of the mch_open macro. (Patrick Texier)
9438Files:	    src/ex_cmds2.c
9439
9440Patch 7.2.345
9441Problem:    Tab line is not updated when the value of 'bt' is changed.
9442Solution:   Call redraw_titles(). (Lech Lorens)
9443Files:	    src/option.c
9444
9445Patch 7.2.346
9446Problem:    Repeating a command with @: causes a mapping to be applied twice.
9447Solution:   Do not remap characters inserted in the typeahead buffer. (Kana
9448	    Natsuno)
9449Files:	    src/ops.c
9450
9451Patch 7.2.347
9452Problem:    Crash when executing <expr> mapping redefines that same mapping.
9453Solution:   Save the values used before evaluating the expression.
9454Files:	    src/getchar.c
9455
9456Patch 7.2.348 (after 7.2.330)
9457Problem:    Unicode double-width characters are not up-to date.
9458Solution:   Produce the double-width table like the others.
9459Files:	    runtime/tools/unicode.vim, src/mbyte.c
9460
9461Patch 7.2.349
9462Problem:    CTRL-W gf doesn't put the new tab in the same place as "tab split"
9463	    and "gf". (Tony Mechelynck)
9464Solution:   Store the tab number in cmdmod.tab.
9465Files:	    src/window.c
9466
9467Patch 7.2.350
9468Problem:    Win32: When changing font the window may jump from the secondary
9469	    to the primary screen. (Michael Wookey)
9470Solution:   When the screen position was negative don't correct it to zero.
9471Files:	    src/gui.c
9472
9473Patch 7.2.351 (after 7.2.347)
9474Problem:    Can't build with some compilers.
9475Solution:   Move the #ifdef outside of a macro.  Cleanup the code.
9476Files:	    src/getchar.c
9477
9478Patch 7.2.352 (extra)
9479Problem:    Win64: Vim doesn't work when cross-compiled with MingW libraries.
9480Solution:   Always return TRUE for the WM_NCCREATE message. (Andy Kittner)
9481Files:	    src/gui_w48.c
9482
9483Patch 7.2.353
9484Problem:    No command line completion for ":profile".
9485Solution:   Complete the subcommand and file name.
9486Files:	    src/ex_docmd.c, src/ex_cmds2.c, src/ex_getln.c,
9487	    src/proto/ex_cmds2.pro, src/vim.h
9488
9489Patch 7.2.354
9490Problem:    Japanese single-width double-byte characters not handled correctly.
9491Solution:   Put 0x8e in ScreenLines[] and the second byte in ScreenLines2[].
9492	    (partly by Kikuchan)
9493Files:	    src/screen.c
9494
9495Patch 7.2.355
9496Problem:    Computing the cursor column in validate_cursor_col() is wrong when
9497	    line numbers are used and 'n' is not in 'cpoptions', causing the
9498	    popup menu to be positioned wrong.
9499Solution:   Correctly use the offset. (partly by Dominique Pelle)
9500Files:	    src/move.c
9501
9502Patch 7.2.356
9503Problem:    When 'foldmethod' is changed not all folds are closed as expected.
9504Solution:   In foldUpdate() correct the start position and reset fd_flags when
9505	    w_foldinvalid is set. (Lech Lorens)
9506Files:	    src/fold.c
9507
9508Patch 7.2.357
9509Problem:    When changing 'fileformat' from/to "mac" and there is a CR in the
9510	    text the display is wrong.
9511Solution:   Redraw the text when 'fileformat' is changed. (Ben Schmidt)
9512Files:	    src/option.c
9513
9514Patch 7.2.358
9515Problem:    Compiler warnings on VMS. (Zoltan Arpadffy)
9516Solution:   Pass array itself instead its address.  Return a value.
9517Files:	    src/gui_gtk_x11.c, src/os_unix.c
9518
9519Patch 7.2.359
9520Problem:    Crash when using the Netbeans join command.
9521Solution:   Make sure the ml_flush_line() function is not used recursively.
9522	    (Xavier de Gaye)
9523Files:	    src/memline.c
9524
9525Patch 7.2.360
9526Problem:    Ruby on MS-Windows: can't use sockets.
9527Solution:   Call NtInitialize() during initialization. (Ariya Mizutani)
9528Files:	    src/if_ruby.c
9529
9530Patch 7.2.361
9531Problem:    Ruby 1.9 is not supported.
9532Solution:   Add Ruby 1.9 support. (Masaki Suketa)
9533Files:	    src/Makefile, src/auto/configure, src/configure.in, src/if_ruby.c
9534
9535Patch 7.2.362 (extra, after 7.2.352)
9536Problem:    Win64: Vim doesn't work when cross-compiled with MingW libraries.
9537Solution:   Instead of handling WM_NCCREATE, create wide text area window
9538	    class if the parent window iw side. (Sergey Khorev)
9539Files:	    src/gui_w32.c, src/gui_w48.c
9540
9541Patch 7.2.363
9542Problem:    Can't dynamically load Perl 5.10.
9543Solution:   Add the function Perl_croak_xs_usage. (Sergey Khorev)
9544Files:	    src/if_perl.xs
9545
9546Patch 7.2.364 (extra)
9547Problem:    Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott)
9548Solution:   Check if _MSC_VER is defined. (Andy Kittner)
9549Files:	    src/GvimExt/gvimext.h
9550
9551Patch 7.2.365 (extra)
9552Problem:    MS-Windows with MingW: "File->Save As" does not work. (John
9553	    Marriott)
9554Solution:   Correctly fill in structure size. (Andy Kittner)
9555Files:	    src/gui_w48.c
9556
9557Patch 7.2.366
9558Problem:    CTRL-B doesn't go back to the first line of the buffer.
9559Solution:   Avoid an overflow when adding MAXCOL.
9560Files:	    src/move.c
9561
9562Patch 7.2.367
9563Problem:    "xxd -r -p" doesn't work as documented.
9564Solution:   Skip white space. (James Vega)
9565Files:	    src/xxd/xxd.c
9566
9567Patch 7.2.368 (after 7.2.361)
9568Problem:    Ruby interface: Appending line doesn't work. (Michael Henry)
9569Solution:   Reverse check for NULL line. (James Vega)
9570Files:	    src/if_ruby.c
9571
9572Patch 7.2.369
9573Problem:    Error message is not easy to understand.
9574Solution:   Add quotes. (SungHyun Nam)
9575Files:	    src/ex_cmds2.c
9576
9577Patch 7.2.370 (after 7.2.356)
9578Problem:    A redraw may cause folds to be closed.
9579Solution:   Revert part of the previous patch.  Add a test. (Lech Lorens)
9580Files:	    src/diff.c, src/fold.c, src/option.c, src/testdir/test45.in,
9581	    src/testdir/test45.ok
9582
9583Patch 7.2.371
9584Problem:    Build problems on Tandem NonStop.
9585Solution:   A few changes to #ifdefs (Joachim Schmitz)
9586Files:	    src/auto/configure, src/configure.in, src/config.h.in, src/vim.h,
9587	    src/if_cscope.c, src/osdef1.h.in, src/tag.c
9588
9589Patch 7.2.372 (extra)
9590Problem:    Cross-compiling GvimExt and xxd doesn't work.
9591Solution:   Change the build files. (Markus Heidelberg)
9592Files:	    src/INSTALLpc.txt, src/GvimExt/Make_ming.mak, src/Make_cyg.mak,
9593	    src/Make_ming.mak, src/xxd/Make_cyg.mak
9594
9595Patch 7.2.373
9596Problem:    Gcc 4.5 adds more error messages. (Chris Indy)
9597Solution:   Update default 'errorformat'.
9598Files:	    src/option.h
9599
9600Patch 7.2.374
9601Problem:    Ruby eval() doesn't understand Vim types.
9602Solution:   Add the vim_to_ruby() function.  (George Gensure)
9603Files:	    src/eval.c, src/if_ruby.c
9604
9605Patch 7.2.375
9606Problem:    ml_get errors when using ":bprevious" in a BufEnter autocmd.
9607	    (Dominique Pelle)
9608Solution:   Clear w_valid when entering another buffer.
9609Files:	    src/buffer.c
9610
9611Patch 7.2.376
9612Problem:    ml_get error when using SiSU syntax. (Nathan Thomas)
9613Solution:   If the match ends below the last line move it to the end of the
9614	    last line.
9615Files:	    src/syntax.c
9616
9617Patch 7.2.377 (extra, after 7.2.372)
9618Problem:    Misplaced assignment.  Duplicate build line for gvimext.dll.
9619Solution:   Move setting CROSS_COMPILE to before ifneq.  Remove the wrong
9620	    build line. (Markus Heidelberg)
9621Files:	    src/Make_ming.mak
9622
9623Patch 7.2.378
9624Problem:    C function declaration indented too much. (Rui)
9625Solution:   Don't see a line containing { or } as a type. (Matt Wozniski)
9626Files:	    src/misc1.c
9627
9628Patch 7.2.379
9629Problem:    'eventignore' is set to an invalid value inside ":doau". (Antony
9630	    Scriven)
9631Solution:   Don't include the leading comma when the option was empty.
9632Files:	    src/fileio.c
9633
9634Patch 7.2.380 (after 7.2.363)
9635Problem:    Perl interface builds with 5.10.1 but not with 5.10.0.
9636Solution:   Change the #ifdefs. (Sergey Khorev)
9637Files:	    src/if_perl.xs
9638
9639Patch 7.2.381
9640Problem:    No completion for :behave.
9641Solution:   Add :behave completion.  Minor related fixes. (Dominique Pelle)
9642Files:	    src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro, src/vim.h
9643
9644Patch 7.2.382
9645Problem:    Accessing freed memory when closing the cmdline window when
9646	    'bufhide' is set to "wipe".
9647Solution:   Check if the buffer still exists before invoking close_buffer()
9648	    (Dominique Pelle)
9649Files:	    src/ex_getln.c
9650
9651Patch 7.2.383
9652Problem:    Vim doesn't build cleanly with MSVC 2010.
9653Solution:   Change a few types. (George Reilly)
9654Files:	    src/ex_cmds2.c, src/if_python.c, src/syntax.c
9655
9656Patch 7.2.384 (extra)
9657Problem:    Vim doesn't build properly with MSVC 2010.
9658Solution:   Add the nmake version to the build file. (George Reilly)
9659Files:	    src/Make_mvc.mak, src/testdir/Make_dos.mak
9660
9661Patch 7.2.385
9662Problem:    When in the command line window dragging status line only works
9663	    for last-but-one window. (Jean Johner)
9664Solution:   Remove the code that disallows this.
9665Files:	    src/ui.c
9666
9667Patch 7.2.386
9668Problem:    Focus hack for KDE 3.1 causes problems for other window managers.
9669Solution:   Remove the hack. (forwarded by Joel Bradshaw)
9670Files:	    src/gui_gtk.c
9671
9672Patch 7.2.387
9673Problem:    Ruby with MingW still doesn't build all versions.
9674Solution:   More #ifdefs for the  Ruby code. (Sergey Khorev)
9675Files:	    src/if_ruby.c
9676
9677Patch 7.2.388 (extra part of 7.2.387)
9678Problem:    Ruby with MingW still doesn't build all versions.
9679Solution:   Different approach to build file. (Sergey Khorev)
9680Files:	    src/Make_ming.mak
9681
9682Patch 7.2.389
9683Problem:    synIDattr() cannot return the font.
9684Solution:   Support the "font" argument. (Christian Brabandt)
9685Files:	    runtime/doc/eval.txt, src/eval.c, src/syntax.c
9686
9687Patch 7.2.390
9688Problem:    In some situations the popup menu can be displayed wrong.
9689Solution:   Remove the popup menu if the cursor moved. (Lech Lorens)
9690Files:	    src/edit.c
9691
9692Patch 7.2.391
9693Problem:    Internal alloc(0) error when doing "CTRL-V $ c". (Martti Kuparinen)
9694Solution:   Fix computations in getvcol(). (partly by Lech Lorens)
9695Files:	    src/charset.c, src/memline.c
9696
9697Patch 7.2.392
9698Problem:    Netbeans hangs reading from a socket at the maximum block size.
9699Solution:   Use select() or poll(). (Xavier de Gaye)
9700Files:	    src/vim.h, src/os_unixx.h, src/if_xcmdsrv.c, src/netbeans.c
9701
9702Patch 7.2.393
9703Problem:    Mac: Can't build with different Xcode developer tools directory.
9704Solution:   make "Developer" directory name configurable. (Rainer Muller)
9705Files:	    src/configure.in, src/auto/configure
9706
9707Patch 7.2.394
9708Problem:    .lzma and .xz files are not supported.
9709Solution:   Recognize .lzma and .xz files so that they can be edited.
9710Files:	    runtime/plugin/gzip.vim
9711
9712Patch 7.2.395
9713Problem:    In help CTRL=] on g?g? escapes the ?, causing it to fail. (Tony
9714	    Mechelynck)
9715Solution:   Don't escape ? for a help command. (Sergey Khorev)
9716Files:	    src/normal.c
9717
9718Patch 7.2.396
9719Problem:    Get E38 errors. (Dasn)
9720Solution:   Set cursor to line 1 instead of 0. (Dominique Pelle)
9721Files:	    src/popupmnu.c
9722
9723Patch 7.2.397
9724Problem:    Redundant check for w_lines_valid.
9725Solution:   Remove the if.  (Lech Lorens)
9726Files:	    src/fold.c
9727
9728Patch 7.2.398
9729Problem:    When moving windows the cursor ends up in the wrong line.
9730Solution:   Set the window width and height properly. (Lech Lorens)
9731Files:	    src/window.c
9732
9733Patch 7.2.399 (extra, after 7.2.388)
9734Problem:    Cannot compile on MingW.
9735Solution:   Move ifneq to separate line. (Vlad Sandrini, Dominique Pelle)
9736Files:	    src/Make_ming.mak
9737
9738Patch 7.2.400 (after 7.2.387)
9739Problem:    Dynamic Ruby is not initialised properly for version 1.9.1.
9740	    Ruby cannot create strings from NULL.
9741Solution:   Cleanup #ifdefs.  Handle NULL like an empty string.  Add
9742	    ruby_init_stack. (Sergey Khorev)
9743Files:	    src/if_ruby.c
9744
9745Patch 7.2.401
9746Problem:    ":e dir<Tab>" with 'wildmode' set to "list" doesn't highlight
9747	    directory names with a space. (Alexandre Provencio)
9748Solution:   Remove the backslash before checking if the name is a directory.
9749	    (Dominique Pelle)
9750Files:	    src/ex_getln.c
9751
9752Patch 7.2.402
9753Problem:    This gives a #705 error: let X = function('haslocaldir')
9754	    let X = function('getcwd')
9755Solution:   Don't give E705 when the name is found in the hashtab. (Sergey
9756	    Khorev)
9757Files:	    src/eval.c
9758
9759Patch 7.2.403 (after 7.2.400)
9760Problem:    Compiler warning for pointer type. (Tony Mechelynck)
9761Solution:   Move type cast to the right place.
9762Files:	    src/if_ruby.c
9763
9764Patch 7.2.404
9765Problem:    Pointers for composing characters are not properly initialized.
9766Solution:   Compute the size of the pointer, not what it points to. (Yukihiro
9767	    Nakadaira)
9768Files:	    src/screen.c
9769
9770Patch 7.2.405
9771Problem:    When built with small features the matching text is not
9772	    highlighted for ":s/pat/repl/c".
9773Solution:   Remove the #ifdef for IncSearch. (James Vega)
9774Files:	    src/syntax.c
9775
9776Patch 7.2.406
9777Problem:    Patch 7.2.119 introduces uninit mem read. (Dominique Pelle)
9778Solution:   Only used ScreeenLinesC when ScreeenLinesUC is not zero. (Yukihiro
9779	    Nakadaira)  Also clear ScreeenLinesC when allocating.
9780Files:	    src/screen.c
9781
9782Patch 7.2.407
9783Problem:    When using an expression in ":s" backslashes in the result are
9784	    dropped. (Sergey Goldgaber, Christian Brabandt)
9785Solution:   Double backslashes.
9786Files:	    src/regexp.c
9787
9788Patch 7.2.408
9789Problem:    With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line
9790	    that was not changed.
9791Solution:   Only set '[ and '] marks when a substitution was done.
9792Files:	    src/ex_cmds.c
9793
9794Patch 7.2.409
9795Problem:    Summary of number of substitutes is incorrect for ":folddo". (Jean
9796	    Johner)
9797Solution:   Reset sub_nsubs and sub_nlines in global_exe().
9798Files:	    src/ex_cmds.c
9799
9800Patch 7.2.410
9801Problem:    Highlighting directories for completion doesn't work properly.
9802Solution:   Don't halve backslashes when not needed, expanded "~/".
9803	    (Dominique Pelle)
9804Files:	    src/ex_getln.c
9805
9806Patch 7.2.411
9807Problem:    When parsing 'cino' a comma isn't skipped properly.
9808Solution:   Skip the comma. (Lech Lorens)
9809Files:	    src/misc1.c
9810
9811Patch 7.2.412
9812Problem:    [ or ] followed by mouse click doesn't work.
9813Solution:   Reverse check for key being a mouse event. (Dominique Pelle)
9814Files:	    src/normal.c
9815
9816Patch 7.2.413
9817Problem:    Large file support is incorrect.
9818Solution:   Add AC_SYS_LARGEFILE to configure. (James Vega)
9819Files:	    src/configure.in, src/config.h.in, src/auto/configure
9820
9821Patch 7.2.414
9822Problem:    CTRK-K <space> <space> does not produce 0xa0 as expected. (Tony
9823	    Mechelynck)
9824Solution:   Remove the Unicode range 0xe000 - 0xefff from digraphs, these are
9825	    not valid characters.
9826Files:	    src/digraph.c
9827
9828Patch 7.2.415
9829Problem:    Win32: Can't open a remote file when starting Vim.
9830Solution:   Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi)
9831Files:	    src/main.c
9832
9833Patch 7.2.416
9834Problem:    Logtalk.dict is not installed.
9835Solution:   Add it to the install target. (Markus Heidelberg)
9836Files:	    src/Makefile
9837
9838Patch 7.2.417
9839Problem:    When 'shell' has an argument with a slash then 'shellpipe' is not
9840	    set properly. (Britton Kerin)
9841Solution:   Assume there are no spaces in the path, arguments follow.
9842Files:	    src/option.c
9843
9844Patch 7.2.418
9845Problem:    Vim tries to set the background or foreground color in a terminal
9846	    to -1.  (Graywh)  Happens with ":hi Normal ctermbg=NONE".
9847Solution:   When resetting the foreground or background color don't set the
9848	    color, let the clear screen code do that.
9849Files:	    src/syntax.c
9850
9851Patch 7.2.419
9852Problem:    Memory leak in Motif when clicking on "Search Vim Help".
9853Solution:   Free string returned by XmTextGetString(). (Dominique Pelle)
9854Files:	    src/gui_motif.c
9855
9856Patch 7.2.420
9857Problem:    ":argedit" does not accept "++enc=utf8" as documented. (Dominique
9858	    Pelle)
9859Solution:   Add the ARGOPT flag to ":argedit".
9860Files:	    src/ex_cmds.h
9861
9862Patch 7.2.421
9863Problem:    Folds are sometimes not updated properly and there is no way to
9864	    force an update.
9865Solution:   Make "zx" and "zX" recompute folds (suggested by Christian
9866	    Brabandt)
9867Files:	    src/normal.c
9868
9869Patch 7.2.422
9870Problem:    May get E763 when using spell dictionaries.
9871Solution:   Avoid utf-8 case folded character to be truncated to 8 bits and
9872	    differ from latin1. (Dominique Pelle)
9873Files:	    src/spell.c
9874
9875Patch 7.2.423
9876Problem:    Crash when assigning s: to variable. (Yukihiro Nakadaira)
9877Solution:   Make ga_scripts contain pointer to scriptvar_T instead of
9878	    scriptvar_T itself. (Dominique Pelle)
9879Files:	    src/eval.c
9880
9881Patch 7.2.424
9882Problem:    ":colorscheme" without an argument doesn't do anything.
9883Solution:   Make it echo the current color scheme name.  (partly by Christian
9884	    Brabandt)
9885Files:	    runtime/doc/syntax.txt, src/ex_cmds.h, src/ex_docmd.c
9886
9887Patch 7.2.425
9888Problem:    Some compilers complain about fourth EX() argument.
9889Solution:   Add cast to long_u.
9890Files:	    src/ex_cmds.h
9891
9892Patch 7.2.426
9893Problem:    Commas in 'langmap' are not always handled correctly.
9894Solution:   Require commas to be backslash escaped. (James Vega)
9895Files:	    src/option.c
9896
9897Patch 7.2.427
9898Problem:    The swapfile is created using the destination of a symlink, but
9899	    recovery doesn't follow symlinks.
9900Solution:   When recovering, resolve symlinks. (James Vega)
9901Files:	    src/memline.c
9902
9903Patch 7.2.428
9904Problem:    Using setqflist([]) to clear the error list doesn't work properly.
9905Solution:   Set qf_nonevalid to TRUE when appropriate. (Christian Brabandt)
9906Files:	    src/quickfix.c
9907
9908Patch 7.2.429
9909Problem:    A file that exists but access is denied may result in a "new file"
9910	    message.  E.g. when its directory is unreadable.
9911Solution:   Specifically check for ENOENT to decide a file doesn't exist.
9912	    (partly by James Vega)
9913Files:	    src/fileio.c
9914
9915Patch 7.2.430
9916Problem:    The ++bad argument is handled wrong, resulting in an invalid
9917	    memory access.
9918Solution:   Use the bad_char field only for the replacement character, add
9919	    bad_char_idx to store the position. (Dominique Pelle)
9920Files:	    src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9921
9922Patch 7.2.431
9923Problem:    ":amenu" moves the cursor when in Insert mode.
9924Solution:   Use CTRL-\ CTRL-O instead of CTRL-O. (Christian Brabandt)
9925Files:	    src/menu.c
9926
9927Patch 7.2.432
9928Problem:    When menus are translated they can only be found by the translated
9929	    name.  That makes ":emenu" difficult to use.
9930Solution:   Store the untranslated name and use it for completion and :emenu.
9931	    (Liang Peng (Bezetek James), Edward L. Fox)
9932Files:	    src/menu.c, src/structs.h
9933
9934Patch 7.2.433
9935Problem:    Can't use cscope with QuickFixCmdPre and QuickFixCmdPost.
9936Solution:   Add cscope support for these autocmd events. (Bryan Venteicher)
9937Files:	    runtime/doc/autocmd.txt, src/if_cscope.c
9938
9939Patch 7.2.434 (after 7.2.432)
9940Problem:    Compilation fails without the multi-lang feature.
9941Solution:   Add #ifdefs. (John Marriott)
9942Files:	    src/menu.c
9943
9944Patch 7.2.435 (after 7.2.430)
9945Problem:    Crash when using bad_char_idx uninitialized. (Patrick Texier)
9946Solution:   Don't use bad_char_idx, reproduce the ++bad argument from bad_char.
9947Files:	    src/eval.c, src/ex_cmds.h, src/ex_docmd.c
9948
9949Patch 7.2.436
9950Problem:    Reproducible crash in syntax HL. (George Reilly, Dominique Pelle)
9951Solution:   Make sst_stacksize an int instead of short. (Dominique Pelle)
9952Files:	    src/structs.h
9953
9954Patch 7.2.437 (after 7.2.407)
9955Problem:    When "\\\n" appears in the expression result the \n doesn't result
9956	    in a line break. (Andy Wokula)
9957Solution:   Also replace a \n after a backslash into \r.
9958Files:	    src/regexp.c
9959
9960Patch 7.2.438 (after 7.2.427)
9961Problem:    "vim -r" crashes.
9962Solution:   Don't use NULL pointer argument.
9963Files:	    src/memline.c
9964
9965Patch 7.2.439
9966Problem:    Invalid memory access when doing thesaurus completion and
9967	    'infercase' is set.
9968Solution:   Use the minimal length of completed word and replacement.
9969	    (Dominique Pelle)
9970Files:	    src/edit.c
9971
9972Patch 7.2.440
9973Problem:    Calling a function through a funcref, where the function deletes
9974	    the funcref, leads to an invalid memory access.
9975Solution:   Make a copy of the function name. (Lech Lorens)
9976Files:	    src/eval.c, src/testdir/test34.in, src/testdir/test34.ok
9977
9978Patch 7.2.441
9979Problem:    When using ":earlier" undo information may be wrong.
9980Solution:   When changing alternate branches also adjust b_u_oldhead.
9981Files:	    src/undo.c
9982
9983Patch 7.2.442 (after 7.2.201)
9984Problem:    Copy/paste with OpenOffice doesn't work.
9985Solution:   Do not offer the HTML target when it is not supported. (James
9986	    Vega)
9987Files:	    src/gui_gtk_x11.c, src/option.c, src/proto/gui_gtk_x11.pro
9988
9989Patch 7.2.443
9990Problem:    Using taglist() on a tag file with duplicate fields generates an
9991	    internal error. (Peter Odding)
9992Solution:   Check for duplicate field names.
9993Files:	    src/eval.c, src/proto/eval.pro, src/tag.c
9994
9995Patch 7.2.444 (after 7.2.442)
9996Problem:    Can't build with GTK 1, gtk_selection_clear_targets() is not
9997	    available. (Patrick Texier)
9998Solution:   Don't change the targets for GTK 1, set them once.
9999Files:	    src/gui_gtk_x11.c, src/option.c
10000
10001Patch 7.2.445
10002Problem:    Crash when using undo/redo and a FileChangedRO autocmd event that
10003	    reloads the buffer. (Dominique Pelle)
10004Solution:   Do not allow autocommands while performing and undo or redo.
10005Files:	    src/misc1.c, src/undo.c
10006
10007Patch 7.2.446
10008Problem:    Crash in GUI when closing the last window in a tabpage. (ryo7000)
10009Solution:   Remove the tabpage from the list before freeing the window.
10010Files:	    src/window.c
10011
10012When writing a file, switching tab pages and selecting a word the file write
10013message would be displayed again.  This happened in Insert mode and with
10014'cmdheight' set to 2.
10015
10016When using ":lang" to set a locale that uses a comma for decimal separator and
10017using GTK floating point numbers stop working.  Use gtk_disable_setlocale().
10018(James Vega)
10019
10020"g8" didn't produce the right value on a NUL. (Dominique Pelle)
10021
10022Use BASEMODLIBS instead of MODLIBS for Python configuration to pick up the
10023right compiler flags. (Michael Bienia)
10024
10025Window title was not updated after dropping a file on Vim. (Hari G)
10026
10027synstack() did not return anything when just past the end of the line.  Useful
10028when using the cursor position in Insert mode.
10029
10030When entering a digraph or special character after a line that fits the window
10031the '?' or '^' on the next line is not redrawn. (Ian Kelling)
10032
10033Composing characters in |:s| substitute text were dropped.
10034
10035|exists()| was causing an autoload script to be loaded.
10036
10037Filter out -pthread for cproto.
10038
10039Make CTRL-L in command line mode respect 'ignorecase' and 'smartcase'. (Martin
10040Toft)
10041
10042Spell menu moved the cursor, causing Copy not to work.  Spell replacement
10043didn't work in 'compatible' mode.
10044
10045Various small fixes from Dominique Pelle.
10046
10047Fix that :mksession may generate "2argu" even though there is no such
10048argument. (Peter Odding)
10049
10050Fixes for time in clipboard request.  Also fix ownership.  (David Fries)
10051
10052Fixed completion of file names with '%' and '*'.
10053
10054Fixed MSVC makefile use of /Wp64 flag.
10055
10056Correct use of long instead of off_t for file size. (James Vega)
10057
10058Add a few #ifdefs to exclude functions that are not used. (Dominique Pelle)
10059
10060Remove old and unused method to allocate memory for undo.
10061
10062Fix definition of UINT_PTR for 64 bit systems.
10063
10064Some versions of Ruby redefine rb_str_new2 to rb_str_new_cstr.
10065
10066Window title not updated after file dropped.
10067
10068Fixed crash for ":find" completion, might also happen in other path expansion
10069usage.
10070
10071When 'searchhl' causes a hang make CTRL-C disable 'searchhl'.
10072
10073When resetting both 'title' and 'icon' the title would be set after a shell
10074command.
10075
10076Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
10077
10078Fix for compiler warning about function prototype in pty.c.
10079
10080Added 'window' to the options window.
10081
10082Fixed: errors for allocating zero bytes when profiling an empty function.
10083
10084Remove -arch flag from build flags for Perl. (Bjorn Wickler)
10085
10086Fix 'autochdir' not showing up in :options window. (Dominique Pelle)
10087
10088Fix: test 69 didn't work on MS-Windows.  Test 72 beeped too often.
10089
10090Avoid illegal memory access in spell suggestion. (Dominique Pelle)
10091Fix: crash in spell checking with a 0x300 character.
10092
10093Avoid that running tests changes viminfo.
10094
10095Fix: changing case of a character removed combining characters.
10096Fixed: CTRL-R in Insert mode doesn't insert composing characters.
10097
10098Added the WOW64 flag to OLE registration, for 64 bit Windows systems.
10099
10100Various fixes for coverity warnings.
10101
10102Fix compile warnings, esp. for 64-bit systems.  (Mike Williams)
10103
10104Fix: :redir to a dictionary that is changed before ":redir END" causes a
10105memory access error.
10106
10107Fix: terminal title not properly restored when there are multi-byte
10108characters.  (partly by James Vega)
10109
10110Set 'wrapscan' when checking the .po files. (Mike Williams)
10111
10112Win32: Put quotes around the gvim.exe path for the "Open with" menu entry.
10113
10114On MS-Windows sometimes files with number 4913 or higher are left behind.
10115
10116'suffixesadd' was used for finding tags file.
10117
10118Removed unused code.
10119
10120Improved positioning of combining characters in GTK.
10121
10122Made test 11 pass when there is no gzip program. (John Beckett)
10123
10124Changed readfile() to ignore byte order marks, unless in binary mode.
10125
10126On MS-Windows completion of shell commands didn't work.
10127
10128An unprintable multi-byte character at the start of the screen line caused the
10129following text to be drawn at the wrong position.
10130
10131Got ml_get errors when using undo with 'virtualedit'.
10132
10133Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron)
10134
10135Unix "make install" installed a few Amiga .info files.
10136
10137Disallow setting 'ambiwidth' to "double" when 'listchars' or 'fillchars'
10138contains a character that would become double width.
10139
10140Set 'wrapscan' when checking the .po files. (Mike Williams)
10141
10142Fixed: using expression in command line may cause a crash.
10143
10144Avoid warnings from the clang compiler. (Dominique Pelle)
10145
10146Fix: Include wchar.h in charset.c for towupper().
10147
10148Fixed: Using ":read file" in an empty buffer when 'compatible' is set caused
10149an error.  Was caused by patch 7.2.132.
10150
10151Make the references to features in the help more consistent. (Sylvain Hitier)
10152
10153
10154 vim:tw=78:ts=8:ft=help:norl:
10155