home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unix / vim-6.2.tar.bz2 / vim-6.2.tar / vim62 / runtime / doc / version6.txt < prev    next >
Encoding:
Text File  |  2003-06-01  |  383.1 KB  |  9,797 lines

  1. *version6.txt*  For Vim version 6.2.  Last change: 2003 Jun 01
  2.  
  3.  
  4.           VIM REFERENCE MANUAL    by Bram Moolenaar
  5.  
  6.  
  7. Welcome to Vim Version 6.0!  A large number of features has been added.  This
  8. file mentions all the new items that have been added, changes to existing
  9. features and bug fixes compared to Vim 5.x.
  10.  
  11. See |vi_diff.txt| for an overview of differences between Vi and Vim 6.0.
  12. See |version4.txt| for differences between Vim 3.0 and Vim 4.0.
  13. See |version5.txt| for differences between Vim 4.0 and Vim 5.0.
  14.  
  15. INCOMPATIBLE CHANGES            |incompatible-6|
  16.  
  17. Cursor position in Visual mode        |curpos-visual|
  18. substitute command Vi compatible    |substitute-CR|
  19. global option values introduced        |new-global-values|
  20. 'fileencoding' changed            |fileencoding-changed|
  21. Digraphs changed            |digraphs-changed|
  22. Filetype detection changed        |filetypedetect-changed|
  23. Unlisted buffers introduced        |new-unlisted-buffers|
  24. CTRL-U in Command-line mode changed    |CTRL-U-changed|
  25. Ctags gone                |ctags-gone|
  26. Documentation reorganized        |documentation-6|
  27. Modeless selection and clipboard    |modeless-and-clipboard|
  28. Small incompatibilities            |incomp-small-6|
  29.  
  30. NEW FEATURES
  31.  
  32. Folding                    |new-folding|
  33. Vertically split windows        |new-vertsplit|
  34. Diff mode                |new-diff-mode|
  35. Easy Vim: click-and-type        |new-evim|
  36. User manual                |new-user-manual|
  37. Flexible indenting            |new-indent-flex|
  38. Extended search patterns        |new-searchpat|
  39. UTF-8 support                |new-utf-8|
  40. Multi-language support            |new-multi-lang|
  41. Plugin support                |new-plugins|
  42. Filetype plugins            |new-filetype-plugins|
  43. File browser                |new-file-browser|
  44. Editing files over a network        |new-network-files|
  45. Window for command-line editing        |new-cmdwin|
  46. Debugging mode                |new-debug-mode|
  47. Cursor in virtual position        |new-virtedit|
  48. Debugger interface            |new-debug-itf|
  49. Communication between Vims        |new-vim-server|
  50. Buffer type options            |new-buftype|
  51. Printing                |new-printing|
  52. Ports                    |ports-6|
  53. Quickfix extended            |quickfix-6|
  54. Operator modifiers            |new-operator-mod|
  55. Search Path                |new-search-path|
  56. Writing files improved            |new-file-writing|
  57. Argument list                |new-argument-list|
  58. Restore a View                |new-View|
  59. Color schemes                |new-color-schemes|
  60. Various new items            |new-items-6|
  61.  
  62. IMPROVEMENTS                |improvements-6|
  63.  
  64. COMPILE TIME CHANGES            |compile-changes-6|
  65.  
  66. BUG FIXES                |bug-fixes-6|
  67.  
  68. VERSION 6.1            |version-6.1|
  69. Changed                    |changed-6.1|
  70. Added                    |added-6.1|
  71. Fixed                    |fixed-6.1|
  72.  
  73. VERSION 6.2            |version-6.2|
  74. Changed                    |changed-6.2|
  75. Added                    |added-6.2|
  76. Fixed                    |fixed-6.2|
  77.  
  78. ==============================================================================
  79. INCOMPATIBLE CHANGES                *incompatible-6*
  80.  
  81. These changes are incompatible with previous releases.  Check this list if you
  82. run into a problem when upgrading from Vim 5.x to 6.0
  83.  
  84.  
  85. Cursor position in Visual mode            *curpos-visual*
  86. ------------------------------
  87.  
  88. When going from one window to another window on the same buffer while in
  89. Visual mode, the cursor position of the other window is adjusted to keep the
  90. same Visual area.  This can be used to set the start of the Visual area in one
  91. window and the end in another.  In vim 5.x the cursor position of the other
  92. window would be used, which could be anywhere and was not very useful.
  93.  
  94.  
  95. Substitute command Vi compatible        *substitute-CR*
  96. --------------------------------
  97.  
  98. The substitute string (the "to" part of the substitute command) has been made
  99. Vi compatible.  Previously a CTRL-V had a special meaning and could be used to
  100. prevent a <CR> to insert a line break.  This made it impossible to insert a
  101. CTRL-V before a line break.  Now a backslash is used to prevent a <CR> to
  102. cause a line break.  Since the number of backslashes is halved, it is still
  103. possible to insert a line break at the end of the line.  This now works just
  104. like Vi, but it's not compatible with Vim versions before 6.0.
  105.  
  106. When a ":s" command doesn't make any substitutions, it no longer sets the '[
  107. and '] marks.  This is not related to Vi, since it doesn't have these marks.
  108.  
  109.  
  110. Global option values introduced            *new-global-values*
  111. -------------------------------
  112.  
  113. There are now global values for options which are local to a buffer or window.
  114. Previously the local options were copied from one buffer to another.  When
  115. editing another file this could cause option values from a modeline to be used
  116. for the wrong file.  Now the global values are used when entering a buffer
  117. that has not been used before.  Also, when editing another buffer in a window,
  118. the local window options are reset to their global values.  The ":set" command
  119. sets both the local and global values, this is still compatible.  But a
  120. modeline only sets the local value, this is not backwards compatible.
  121.  
  122. ":let &opt = val" now sets the local and global values, like ":set".  New
  123. commands have been added to set the global or local value:
  124.     :let &opt = val        like ":set"
  125.     :let &g:opt = val    like ":setglobal"
  126.     :let &l:opt = val    like ":setlocal"
  127.  
  128.  
  129. 'fileencoding' changed                *fileencoding-changed*
  130. ----------------------
  131.  
  132. 'fileencoding' was used in Vim 5.x to set the encoding used inside all of Vim.
  133. This was a bit strange, because it was local to a buffer and worked for all
  134. buffers.  It could never be different between buffers, because it changed the
  135. way text in all buffers was interpreted.
  136. It is now used for the encoding of the file related to the buffer.  If you
  137. still set 'fileencoding' it is likely to be overwritten by the detected
  138. encoding from 'fileencodings', thus it is "mostly harmless".
  139. The old FileEncoding autocommand now does the same as the new EncodingChanged
  140. event.
  141.  
  142.  
  143. Digraphs changed                *digraphs-changed*
  144. ----------------
  145.  
  146. The default digraphs now correspond to RFC1345.  This is very different from
  147. what was used in Vim 5.x. |digraphs|
  148.  
  149.  
  150. Filetype detection changed            *filetypedetect-changed*
  151. --------------------------
  152.  
  153. The filetype detection previously was using the "filetype" autocommand group.
  154. This caused confusion with the FileType event name (case is ignored).  The
  155. group is now called "filetypedetect".  It still works, but if the "filetype"
  156. group is used the autocommands will not be removed by ":filetype off".
  157.    The support for 'runtimepath' has made the "myfiletypefile" and
  158. "mysyntaxfile" mechanism obsolete.  They are still used for backwards
  159. compatibility.
  160.  
  161. The connection between the FileType event and setting the 'syntax' option was
  162. previously in the "syntax" autocommand group.  That caused confusion with the
  163. Syntax event name.  The group is now called "syntaxset".
  164.  
  165. The distributed syntax files no longer contain "syntax clear".  That makes it
  166. possible to include one in the other without tricks.  The syntax is now
  167. cleared when the 'syntax' option is set (by an autocommand added from
  168. synload.vim).  This makes the syntax cleared when the value of 'syntax' does
  169. not correspond to a syntax file.  Previously the existing highlighting was
  170. kept.
  171.  
  172.  
  173. Unlisted buffers introduced            *new-unlisted-buffers*
  174. ---------------------------
  175.  
  176. There is now a difference between buffers which don't appear in the buffer
  177. list and buffers which are really not in the buffer list.  Commands like
  178. ":ls", ":bnext", ":blast" and the Buffers menu will skip buffers not in the
  179. buffer list. |unlisted-buffer|
  180. The 'buflisted' option can be used to make a buffer appear in the buffer list
  181. or not.
  182.  
  183. Several commands that previously added a buffer to the buffer list now create
  184. an unlisted buffer.  This means that a ":bnext" and ":ball" will not find these
  185. files until they have actually been edited.  For example, buffers used for the
  186. alternative file by ":write file" and ":read file".
  187.    Other commands previously completely deleted a buffer and now only remove
  188. the buffer from the buffer list.  Commands relying on a buffer not to be
  189. present might fail.  For example A ":bdelete" command in an autocommand that
  190. relied on something following to fail (was used in the automatic tests).
  191. |:bwipeout| can be used for the old meaning of ":bdelete".
  192.  
  193. The BufDelete autocommand event is now triggered when a buffer is removed from
  194. the buffer list.  The BufCreate event is only triggered when a buffer is
  195. created that is added to the buffer list, or when an existing buffer is added
  196. to the buffer list.  BufAdd is a new name for BufCreate.
  197. The new BufNew event is for creating any buffer and BufWipeout for really
  198. deleting a buffer.
  199.  
  200. When doing Insert mode completion, only buffers in the buffer list are
  201. scanned.  Added the 'U' flag to 'complete' to do completion from unlisted
  202. buffers.
  203.  
  204. Unlisted buffers are not stored in a viminfo file.
  205.  
  206.  
  207. CTRL-U in Command-line mode changed        *CTRL-U-changed*
  208. -----------------------------------
  209.  
  210. Using CTRL-U when editing the command line cleared the whole line.  Most
  211. shells only delete the characters before the cursor.  Made it work like that.
  212. (Steve Wall)
  213.  
  214. You can get the old behavior with CTRL-E CTRL-U: >
  215.     :cnoremap <C-U> <C-E><C-U>
  216.  
  217.  
  218. Ctags gone                    *ctags-gone*
  219. ----------
  220.  
  221. Ctags is no longer part of the Vim distribution.  It's now a grown-up program
  222. by itself, it deserves to be distributed separately.
  223. Ctags can be found here: http://ctags.sf.net/.
  224.  
  225.  
  226. Documentation reorganized            *documentation-6*
  227. -------------------------
  228.  
  229. The documentation has been reorganized, an item may not be where you found it
  230. in Vim 5.x.
  231. - The user manual was added, some items have been moved to it from the
  232.   reference manual.
  233. - The quick reference is now in a separate file (so that it can be printed).
  234.  
  235. The examples in the documentation were previously marked with a ">" in the
  236. first column.  This made it difficult to copy/paste them.  There is now a
  237. single ">" before the example and it ends at a "<" or a non-blank in the first
  238. column.  This also looks better without highlighting.
  239.  
  240. 'helpfile' is no longer used to find the help tags file.  This allows a user
  241. to add its own help files (e.g., for plugins).
  242.  
  243.  
  244. Modeless selection and clipboard        *modeless-and-clipboard*
  245. --------------------------------
  246.  
  247. The modeless selection is used to select text when Visual mode can't be used,
  248. for example when editing the command line or at the more prompt.
  249. In Vim 5.x the modeless selection was always used.  On MS-Windows this caused
  250. the clipboard to be overwritten, with no way to avoid that.  The modeless
  251. selection now obeys the 'a' and 'A' flags in 'guioptions' and "autoselect" and
  252. "autoselectml" in 'clipboard'.  By default there is no automatic copy on
  253. MS-Windows.  Use the |c_CTRL-Y| command to manually copy the selection.
  254.  
  255. To get the old behavior back, do this: >
  256.  
  257.     :set clipboard^=autoselectml guioptions+=A
  258.  
  259.  
  260. Small incompatibilities                *incomp-small-6*
  261. -----------------------
  262.  
  263. 'backupdir', 'cdpath', 'directory', 'equalprg', 'errorfile', 'formatprg',
  264. 'grepprg', 'helpfile', 'makeef', 'makeprg', 'keywordprg', 'cscopeprg',
  265. 'viminfo' and 'runtimepath' can no longer be set from a modeline, for better
  266. security.
  267.  
  268. Removed '_' from the 'breakat' default: It's commonly used in keywords.
  269.  
  270. The default for 'mousehide' is on, because this works well for most people.
  271.  
  272. The Amiga binary is now always compiled with "big" features.  The "big" binary
  273. archive no longer exists.
  274.  
  275. The items "[RO]", "[+]", "[help]", "[Preview]" and "[filetype]" in
  276. 'statusline' no longer have a leading space.
  277.  
  278. Non-Unix systems: When expanding wildcards for the Vim arguments, don't use
  279. 'suffixes'.  It now works as if the shell had expanded the arguments.
  280.  
  281. The 'lisp', 'smartindent' and 'cindent' options are not switched off when
  282. 'paste' is set.  The auto-indenting is disabled when 'paste' is set, but
  283. manual indenting with "=" still works.
  284.  
  285. When formatting with "=" uses 'cindent' or 'indentexpr' indenting, and there
  286. is no change in indent, this is not counted as a change ('modified' isn't set
  287. and there is nothing to undo).
  288.  
  289. Report 'modified' as changed when 'fileencoding' or 'fileformat' was set.
  290. Thus it reflects the possibility to abandon the buffer without losing changes.
  291.  
  292. The "Save As" menu entry now edits the saved file.  Most people expect it to
  293. work like this.
  294.  
  295. A buffer for a directory is no longer added to the Buffers menu.
  296.  
  297. Renamed <Return> to <Enter>, since that's what it's called on most keyboards.
  298. Thus it's now the hit-enter prompt instead of the hit-return prompt.
  299. Can map <Enter> just like <CR> or <Return>.
  300.  
  301. The default for the 'viminfo' option is now '50,"50,h when 'compatible' isn't
  302. set.  Most people will want to use it, including beginners, but it required
  303. setting the option, which isn't that easy.
  304.  
  305. After using ":colder" the newer error lists are overwritten.  This makes it
  306. possible to use ":grep" to browse in a tree-like way.  Must use ":cnewer 99"
  307. to get the old behavior.
  308.  
  309. The patterns in 'errorformat' would sometimes ignore case (MS-Windows) and
  310. sometimes not (Unix).  Now case is always ignored.  Add "\C" to the pattern to
  311. match case.
  312.  
  313. The 16 bit MS-DOS version is now compiled without the +listcmds feature
  314. (buffer list manipulation commands).  They are not often needed and this
  315. executable needs to be smaller.
  316.  
  317. 'sessionoptions' now includes "curdir" by default.  This means that restoring
  318. a session will result in the current directory being restored, instead of
  319. going to the directory where the session file is located.
  320.  
  321. A session deleted all buffers, deleting all marks.  Now keep the buffer list,
  322. it shouldn't hurt for some existing buffers to remain present.
  323. When the argument list is empty ":argdel *" caused an error message.
  324.  
  325. No longer put the search pattern from a tag jump in the history.
  326.  
  327. Use "SpecialKey" highlighting for unprintable characters instead of "NonText".
  328. The idea is that unprintable text or any text that's displayed differently
  329. from the characters in the file is using "SpecialKey", and "NonText" is used
  330. for text that doesn't really exist in the file.
  331.  
  332. Motif now uses the system default colors for the menu and scrollbar.  Used to
  333. be grey.  It's still possible to set the colors with ":highlight" commands and
  334. resources.
  335.  
  336. Formatting text with "gq" breaks a paragraph at a non-empty blank line.
  337. Previously the line would be removed, which wasn't very useful.
  338.  
  339. ":normal" does no longer hang when the argument ends in half a command.
  340. Previously Vim would wait for more characters to be typed, without updating
  341. the screen.  Now it pretends an <Esc> was typed.
  342.  
  343. Bitmaps for the toolbar are no longer searched for in "$VIM/bitmaps" but in
  344. the "bitmaps" directories in 'runtimepath'.
  345.  
  346. Now use the Cmdline-mode menus for the hit-enter prompt instead of the Normal
  347. mode menus.  This generally works better and allows using the "Copy" menu to
  348. produce CTRL-Y to copy the modeless selection.
  349.  
  350. Moved the font selection from the Windows to the Edit menu, together with the
  351. other settings.
  352.  
  353. The default values for 'isfname' include more characters to make "gf" work
  354. better.
  355.  
  356. Changed the license for the documentation to the Open Publication License.
  357. This seemed fair, considering the inclusion of parts of the Vim book, which is
  358. also published under the OPL.  The downside is that we can't force someone who
  359. would sell copies of the manual to contribute to Uganda.
  360.  
  361. After  "ayy  don't let  ""yy  or  :let @" = val  overwrite the "a register.
  362. Use the unnamed register instead.
  363.  
  364. MSDOS: A pattern "*.*" previously also matched a file name without a dot.
  365. This was inconsistent with other versions.
  366.  
  367. In Insert mode, CTRL-O CTRL-\ CTRL-N {cmd} remains in Normal mode.  Previously
  368. it would go back to Insert mode, thus confusing the meaning of CTRL-\ CTRL-N,
  369. which is supposed to take us to Normal mode (especially in ":amenu").
  370.  
  371. Allow using ":" commands after an operator.  Could be used to implement a new
  372. movement command.  Thus it no longer aborts a pending operator.
  373.  
  374. For the Amiga the "-d {device}" argument was possible.  When compiled with the
  375. diff feature, this no longer works.  Use "-dev {device}" instead. |-dev|
  376.  
  377. Made the default mappings for <S-Insert> in Insert mode insert the text
  378. literally, avoids that special characters like BS cause side effects.
  379.  
  380. Using ":confirm" applied to the rest of the line.  Now it applies only to the
  381. command right after it.  Thus ":confirm if x | edit | endif" no longer works,
  382. use "if x | confirm edit | endif".  This was the original intention, that it
  383. worked differently was a bug.
  384.  
  385. ==============================================================================
  386. NEW FEATURES
  387.  
  388. Folding                            *new-folding*
  389. -------
  390.  
  391. Vim can now display a buffer with text folded.  This allows overviewing the
  392. structure of a file quickly.  It is also possible to yank, delete and put
  393. folded text, for example to move a function to another position.
  394.  
  395. There is a whole bunch of new commands and options related to folding.
  396. See |folding|.
  397.  
  398.  
  399. Vertically split windows                *new-vertsplit*
  400. ------------------------
  401.  
  402. Windows can also be split vertically.  This makes it possible to have windows
  403. side by side.  One nice use for this is to compare two similar files (see
  404. |new-diff-mode|).  The 'scrollbind' option can be used to synchronize
  405. scrolling.
  406.  
  407. A vertical split can be created with the commands:
  408.     :vsplit      or  CTRL-W v  or CTRL-W CTRL-V    |:vsplit|
  409.     :vnew                        |:vnew|
  410.     :vertical {cmd}                    |:vertical|
  411. The last one is a modifier, which has a meaning for any command that splits a
  412. window.  For example: >
  413.     :vertical stag main
  414. Will vertically split the window and jump to the tag "main" in the new window.
  415.  
  416. Moving from window to window horizontally can be done with the |CTRL-W_h| and
  417. |CTRL-W_l| commands.  The |CTRL-W_k| and |CTRL-W_j| commands have been changed
  418. to jump to the window above or below the cursor position.
  419.  
  420. The vertical and horizontal splits can be mixed as you like.  Resizing windows
  421. is easy when using the mouse, just position the pointer on a status line or
  422. vertical separator and drag it.  In the GUI a special mouse pointer shape
  423. indicates where you can drag a status or separator line.
  424.  
  425. To resize vertically split windows use the |CTRL-W_<| and |CTRL-W_>| commands.
  426. To make a window the maximum width use the CTRL-W | command |CTRL-W_bar|.
  427.  
  428. To force a new window to use the full width or height of the Vim window,
  429. these two modifiers are available:
  430.     :topleft {cmd}        New window appears at the top with full
  431.                 width or at the left with full height.
  432.     :botright {cmd}        New window appears at the bottom with full
  433.                 width or at the right with full height.
  434. This can be combined with ":vertical" to force a vertical split: >
  435.     :vert bot dsplit DEBUG
  436. This will open a window at the far right, occupying the full height of the Vim
  437. window, with the cursor on the first definition of "DEBUG".
  438. The help window is opened at the top, like ":topleft" was used, if the current
  439. window is fewer than 80 characters wide.
  440.  
  441. A few options can be used to set the preferences for vertically split windows.
  442. They work similar to their existing horizontal equivalents:
  443.     horizontal    vertical ~
  444.     'splitbelow'    'splitright'
  445.     'winheight'    'winwidth'
  446.     'winminheight'    'winminwidth'
  447. It's possible to set 'winminwidth' to zero, so that temporarily unused windows
  448. hardly take up space without closing them.
  449.  
  450. The new 'eadirection' option tells where 'equalalways' applies:
  451.     :set eadirection=both        both directions
  452.     :set eadirection=ver        equalize window heights
  453.     :set eadirection=hor        equalize windows widths
  454. This can be used to avoid changing window sizes when you want to keep them.
  455.  
  456. Since windows can become quite narrow with vertical splits, text lines will
  457. often not fit.  The 'sidescrolloff' has been added to keep some context left
  458. and right of the cursor.  The 'listchars' option has been extended with the
  459. "precedes" item, to show a "<" for example, when there is text left off the
  460. screen. (Utz-Uwe Haus)
  461.  
  462. "-O" command line argument: Like "-o" but split windows vertically. (Scott
  463. Urban)
  464.  
  465. Added commands to move the current window to the very top (CTRL-W K), bottom
  466. (CTRL-W J), left (CTRL-W H) and right (CTRL-W L).  In the new position the
  467. window uses the full width/height of the screen.
  468.  
  469. When there is not enough room in the status line for both the file name and
  470. the ruler, use up to half the width for the ruler.  Useful for narrow windows.
  471.  
  472.  
  473. Diff mode                        *new-diff-mode*
  474. ---------
  475.  
  476. In diff mode Vim shows the differences between two, three or four files.
  477. Folding is used to hide the parts of the file that are equal.
  478. Highlighting is used to show deleted and changed lines.
  479. See |diff-mode|.
  480.  
  481. An easy way to start in diff mode is to start Vim as "vimdiff file1 file2".
  482. Added the vimdiff manpage.
  483.  
  484. In a running Vim the |:diffsplit| command starts diff mode for the current
  485. file and another file.  The |:diffpatch| command starts diff mode using the
  486. current file and a patch file.  The |:diffthis| command starts diff mode for
  487. the current window.
  488.  
  489. Differences can be removed with the |:diffget| and |:diffput| commands.
  490.  
  491. - The 'diff' option switches diff mode on in a window.
  492. - The |:diffupdate| command refreshes the diffs.
  493. - The 'diffopt' option changes how diffs are displayed.
  494. - The 'diffexpr' option can be set how a diff is to be created.
  495. - The 'patchexpr' option can be set how patch is applied to a file.
  496. - Added the "diff" folding method.  When opening a window for diff-mode, set
  497.   'foldlevel' to zero and 'foldenable' on, to close the folds.
  498. - Added the DiffAdd, DiffChange, DiffDelete and DiffText highlight groups to
  499.   specify the highlighting for differences.  The defaults are ugly...
  500. - Unix: make a vimdiff symbolic link for "make install".
  501. - Removed the now obsolete "vimdiff.vim" script from the distribution.
  502. - Added the "[c" and "]c" commands to move to the next/previous change in diff
  503.   mode.
  504.  
  505.  
  506. Easy Vim: click-and-type                *new-evim*
  507. ------------------------
  508.  
  509. eVim stands for "Easy Vim".  This is a separate program, but can also be
  510. started as "vim -y".
  511.  
  512. This starts Vim with 'insertmode' set to allow click-and-type editing.  The
  513. $VIMRUNTIME/evim.vim script is used to add mappings and set options to be able
  514. to do most things like Notepad.  This is only for people who can't stand two
  515. modes.
  516.  
  517. eView does the same but in readonly mode.
  518.  
  519. In the GUI a CTRL-C now only interrupts when busy with something, not when
  520. waiting for a character.  Allows using CTRL-C to copy text to the clipboard.
  521.  
  522.  
  523. User manual                        *new-user-manual*
  524. -----------
  525.  
  526. The user manual has been added.  It is organised around editing tasks.  It
  527. reads like a book, from start to end.  It should allow beginners to start
  528. learning Vim.  It helps everybody to learn using the most useful Vim features.
  529. It is much easier to read than the reference manual, but omits details.  See
  530. |user-manual|.
  531.  
  532. The user manual includes parts of the Vim book by Steve Oualline |frombook|.
  533. It is published under the OPL |manual-copyright|.
  534.  
  535. When syntax highlighting is not enabled, the characters in the help file which
  536. mark examples ('>' and '<') and header lines ('~') are replaced with a space.
  537.  
  538. When closing the help window, the window layout is restored from before
  539. opening it, if the window layout didn't change since then.
  540. When opening the help window, put it at the top of the Vim window if the
  541. current window is fewer than 80 characters and not full width.
  542.  
  543.  
  544. Flexible indenting                    *new-indent-flex*
  545. ------------------
  546.  
  547. Automatic indenting is now possible for any language.  It works with a Vim
  548. script, which makes it very flexible to compute the indent.
  549.  
  550. The ":filetype indent on" command enables using the provided indent scripts.
  551. This is explained in the user manual:|30.3|.
  552.  
  553. The 'indentexpr' option is evaluated to get the indent for a line.  The
  554. 'indentkeys' option tells when to trigger re-indenting.  Normally these
  555. options are set from an indent script.  Like Syntax files, indent scripts will
  556. be created and maintained by many people.
  557.  
  558.  
  559. Extended search patterns                *new-searchpat*
  560. ------------------------
  561.  
  562. Added the possibility to match more than one line with a pattern. (partly by
  563. Loic Grenie)
  564. New items in a search pattern for multi-line matches:
  565. \n        match end-of-line, also in []
  566. \_[]        match characters in range and end-of-line
  567. \_x        match character class and end-of-line
  568. \_.        match any character or end-of-line
  569. \_^        match start-of-line, can be used anywhere in the regexp
  570. \_$        match end-of-line, can be used anywhere in the regexp
  571.  
  572. Various other new items in search patterns:
  573. \c        ignore case for the whole pattern
  574. \C        match case for the whole pattern
  575. \m        magic on for the following
  576. \M        magic off for the following
  577. \v        make following characters "very magic"
  578. \V        make following characters "very nomagic"
  579.  
  580. \@!        don't match atom before this.
  581.         Example: "foo\(bar\)\@!" matches "foo " but not "foobar".
  582. \@=        match atom, resulting in  zero-width match
  583.         Example: "foo\(bar\)\@=" matches "foo" in "foobar".
  584. \@<!        don't match preceding atom before the current position
  585. \@<=        match preceding atom before the current position
  586. \@>        match preceding atom as a subexpression
  587.  
  588. \&        match only when branch before and after it match
  589.  
  590. \%[]        optionally match a list of atoms; "end\%[if]" matches "end",
  591.         "endi" and "endif"
  592. \%(\)        like \(\), but without creating a back-reference; there can be
  593.         any number of these, overcomes the limit of nine \( \) pairs
  594. \%^        match start-of-file (Chase Tingley)
  595. \%$        match end-of-file (Chase Tingley)
  596. \%#        Match with the cursor position. (Chase Tingley)
  597. \?        Just like "\=" but can't be used in a "?" command.
  598.  
  599. \%23l        match in line 23
  600. \%<23l        match before line 23
  601. \%>23l        match after line 23
  602. \%23c, \%<23c, \%>23c   match in/before/after column 23
  603. \%23v, \%<23v, \%>23v    match in/before/after virtual column 23
  604.  
  605.  
  606. For syntax items:
  607. \z(...\)    external reference match set (in region start pattern)
  608. \z1 - \z9    external reference match use (in region skip or end pattern)
  609.     (Scott Bigham)
  610.  
  611. \zs        use position as start of match
  612. \ze        use position as end of match
  613.  
  614. Removed limit of matching only up to 32767 times with *, \+, etc.
  615.  
  616. Added support to match multi-byte characters. (partly by Muraoka Taro)
  617. Made "\<" and "\>" work for UTF-8. (Muraoka Taro)
  618.  
  619.  
  620. UTF-8 support                        *new-utf-8*
  621. -------------
  622.  
  623. Vim can now edit files in UTF-8 encoding.  Up to 31 bit characters can be
  624. used, but only 16 bit characters are displayed.  Up to two combining
  625. characters are supported, they overprint the preceding character.
  626. Double-wide characters are also supported.  See |UTF-8|.
  627.  
  628. UCS-2, UCS-4 and UTF-16 encodings are supported too, they are converted to
  629. UTF-8 internally.  There is also support for editing Unicode files in a Latin1
  630. environment.  Other encodings are converted with iconv() or an external
  631. converter specified with 'charconvert'.
  632.  
  633. Many new items for Multi-byte support:
  634. - Added 'encoding' option: specifies character encoding used inside Vim.  It
  635.   can be any 8-bit encoding, some double-byte encodings or Unicode.
  636.   It is initialized from the environment when a supported value is found.
  637. - Added 'fileencoding' and 'fileencodings': specify character coding in a
  638.   file, similar to 'fileformat' and 'fileformats'.
  639.   When 'encoding' is "utf-8" and 'fileencodings' is "utf-8,latin1" this will
  640.   automatically switch to latin1 if a file does not contain valid UTF-8.
  641. - Added 'bomb' option and detection of a BOM at the start of a file.  Can be
  642.   used with "ucs-bom" in 'fileencodings' to automatically detect a Unicode
  643.   file if it starts with a BOM.  Especially useful on MS-Windows (NT and
  644.   2000), which uses ucs-2le files with a BOM (e.g., when exporting the
  645.   registry).
  646. - Added the 'termencoding' option: Specifies the encoding used for the
  647.   terminal.  Useful to put Vim in utf-8 mode while in a non-Unicode locale: >
  648.     :let &termencoding = &encoding
  649.     :set encoding=utf-8
  650. - When 'viminfo' contains the 'c' flag, the viminfo file is converted from the
  651.   'encoding' it was written with to the current 'encoding'.
  652. - Added ":scriptencoding" command: convert lines in a sourced script to
  653.   'encoding'.  Useful for menu files.
  654. - Added 'guifontwide' to specify a font for double-wide characters.
  655. - Added Korean support for character class detection.  Also fix cls() in
  656.   search.c. (Chong-Dae Park)
  657. - Win32: Typing multi-byte characters without IME. (Alexander Smishlajev)
  658. - Win32 with Mingw: compile with iconv library. (Ron Aaron)
  659. - Win32 with MSVC: dynamically load iconv.dll library. (Muraoka Taro)
  660. - Make it possible to build a version with multi-byte and iconv support with
  661.   Borland 5.5.  (Yasuhiro Matsumoto)
  662. - Added 'delcombine' option: Delete combining character separately. (Ron
  663.   Aaron)
  664. - The "xfontset" feature isn't required for "xim".  These are now two
  665.   independent features.
  666. - XIM: enable XIM when typing a language character (Insert mode, Search
  667.   pattern, "f" or "r" command).  Disable XIM when typing a Normal mode
  668.   command.
  669. - When the XIM is active, show "XIM" in the 'showmode' message. (Nam SungHyun)
  670. - Support "CursorIM" for XIM.  (Nam SungHyun)
  671. - Added 'm' flag to 'formatoptions': When wrapping words, allow splitting at
  672.   each multibyte character, not only at a space.
  673. - Made ":syntax keyword" work with multi-byte characters.
  674. - Added support for Unicode upper/lowercase flipping and comparing. (based on
  675.   patch by Raphael Finkel)
  676.   Let "~" on multi-byte characters that have a third case ("title case")
  677.   switch between the three cases. (Raphael Finkel)
  678.  
  679. Allow defining digraphs for multi-byte characters.
  680. Added RFC1345 digraphs for Unicode.
  681. Most Normal mode commands that accept a character argument, like "r", "t" and
  682. "f" now accept a digraph.  The 'D' flag in 'cpoptions' disables this to remain
  683. Vi compatible.
  684.  
  685. Added Language mapping and 'keymap' to be able to type multi-byte characters:
  686. - Added the ":lmap" command and friends: Define mappings that are used when
  687.   typing characters in the language of the text.  Also for "r", "t", etc.  In
  688.   Insert and Command-line mode CTRL-^ switches the use of the mappings on/off.
  689.   CTRL-^ also toggles the use of an input method when no language mappings are
  690.   present.  Allows switching the IM back on halfway typing.
  691. - "<char-123>" argument to ":map", allows to specify the decimal, octal or
  692.   hexadecimal value of a character.
  693. - Implemented the 'keymap' option: Load a keymap file.  Uses ":lnoremap" to
  694.   define mappings for the keymap.  The new ":loadkeymap" command is used in
  695.   the keymap file.
  696. - Added 'k' flag in 'statusline': Value of "b:keymap_name" or 'keymap' when
  697.   it's being used.  Uses "<lang>" when no keymap is loaded and ":lmap"s are
  698.   active.  Show this text in the default statusline too.
  699. - Added the 'iminsert' and 'imsearch' options: Specify use of langmap mappings
  700.   and Input Method with an option. (Muraoka Taro)
  701.   Added 'imcmdline' option: When set the input method is always enabled when
  702.   starting to edit a command line.  Useful for a XIM that uses dead keys to
  703.   type accented characters.
  704.   Added 'imactivatekey' option to better control XIM.  (Muraoka Taro)
  705. - When typing a mapping that's not finished yet, display the last character
  706.   under the cursor in Insert mode and Command-line mode.  Looks good for dead
  707.   characters.
  708. - Made the 'langmap' option recognize multi-byte characters.  But mapping only
  709.   works for 8-bit characters.  Helps when using UTF-8.
  710. - Use a different cursor for when ":lmap" mappings are active.  Can specify
  711.   two highlight groups for an item in 'guicursor'.  By default "lCursor" and
  712.   "Cursor" are equal, the user must set a color he likes.
  713.   Use the cursor color for hangul input as well. (Sung-Hyun Nam)
  714. - Show "(lang)" for 'showmode' when language mapping is enabled.
  715. - UTF-8: Made "r" work with a ":lmap" that includes a composing character.
  716.   Also works for "f", which now works to find a character that includes a
  717.   composing character.
  718.  
  719. Other multi-byte character additions:
  720. - Support double-byte single-width characters for euc-jp: Characters starting
  721.   with 0x8E.  Added ScreenLines2[] to store the second byte.
  722.  
  723.  
  724. Multi-language support                    *new-multi-lang*
  725. ----------------------
  726.  
  727. The messages used in Vim can be translated.  Several translations are
  728. available.  This uses the gettext mechanism.  It allows adding a translation
  729. without recompiling Vim.  |multi-lang| (partly by Marcin Dalecki)
  730.  
  731. The translation files are in the src/po directory.  The src/po/README.txt file
  732. explains a few things about doing a translation.
  733.  
  734. Menu translations are available as well.  This uses the new |:menutranslate|
  735. command.  The translations are found in the runtime directory "lang".  This
  736. allows a user to add a translation.
  737.  
  738. Added |:language| command to set the language (locale) for messages, time and
  739. character type.  This allows switching languages in Vim without changing the
  740. locale outside of Vim.
  741.  
  742. Made it possible to have vimtutor use different languages.  (Eduardo Fernandez)
  743. Spanish (Eduardo Fernandez), Italian (Antonio Colombo), Japanese (Yasuhiro
  744. Matsumoto) and French (Adrien Beau) translations are included.
  745. Added "vimtutor.bat": script to start Vim on a copy of the tutor file for
  746. MS-Windows. (Dan Sharp)
  747.  
  748. - Added v:lang variable to be able to get current language setting.
  749.   (Marcin Dalecki)  Also v:lc_time and v:ctype
  750. - Make it possible to translate the dialogs used by the menus.  Uses global
  751.   "menutrans_" variables.  ":menutrans clear" deletes them.
  752. - removed "broken locale" (Marcin Dalecki).
  753. - Don't use color names in icons, use RGB values.  The names could be
  754.   translated.
  755. - Win32: Added global IME support (Muraoka)
  756. - Win32: Added dynamic loading of IME support.
  757. - ":messages" prints a message about who maintains the messages or the
  758.   translations.  Useful to find out where to make a remark about a wrong
  759.   translation.
  760. - --disable-nls argument for configure: Disable use of gettext(). (Sung-Hyun
  761.   Nam)
  762. - Added NLS support for Win32 with the MingW compiler. (Eduardo Fernandez)
  763. - When available, call bind_textdomain_codeset() to have gettext() translate
  764.   messages to 'encoding'.  This requires GNU gettext 0.10.36 or later.
  765. - Added gettext support for Win32.  This means messages will be translated
  766.   when the locale is set and libintl.dll can be found.  (Muraoka Taro)
  767.   Also made it work with MingW compiler.  (Eduardo Fernandez)
  768.   Detect the language and set $LANG to get the appropriate translated messages
  769.   (if supported).  Also use $LANG to select a language, v:lang is a very
  770.   different kind of name.
  771. - Made gvimext.dll use translated messages, if possible. (Yasuhiro Matsumoto)
  772.  
  773.  
  774. Plugin support                    *new-plugins*
  775. --------------
  776.  
  777. To make it really easy to load a Vim script when starting Vim, the "plugin"
  778. runtime directory can be used.  All "*.vim" files in it will be automatically
  779. loaded.  For Unix, the directory "~/.vim/plugin" is used by default.  The
  780. 'runtimepath' option can be set to look in other directories for plugins.
  781. |load-plugins| |add-plugin|
  782.  
  783. The |:runtime| command has been added to load one or more files in
  784. 'runtimepath'.
  785.  
  786. Standard plugins:
  787. netrw.vim - Edit files over a network |new-network-files|
  788. gzip.vim - Edit compressed files
  789. explorer.vim - Browse directories |new-file-browser|
  790.  
  791. Added support for local help files. |add-local-help|.
  792. When searching for help tags, all "doc/tags" files in 'runtimepath' are used.
  793. Added the ":helptags" command: Generate a tags file for a help directory.
  794. The first line of each help file is automagically added to the "LOCAL
  795. ADDITIONS" section in doc/help.txt.
  796.  
  797. Added the <unique> argument to ":map": only add a mapping when it wasn't
  798. defined before.
  799.  
  800. When displaying an option value with 'verbose' set will give a message about
  801. where the option was last set.  Very useful to find out which script did set
  802. the value.
  803.  
  804. The new |:scriptnames| command displays a list of all scripts that have been
  805. sourced.
  806.  
  807. GUI: For Athena, Motif and GTK look for a toolbar bitmap in the "bitmaps"
  808. directories in 'runtimepath'.  Allows adding your own bitmaps.
  809.  
  810.  
  811. Filetype plugins                *new-filetype-plugins*
  812. -----------------
  813.  
  814. A new group of files has been added to do settings for specific file types.
  815. These can be options and mappings which are specifically used for one value of
  816. 'filetype'.
  817.  
  818. The files are located in "$VIMRUNTIME/ftplugin".  The 'runtimepath' option
  819. makes it possible to use several sets of plugins: Your own, system-wide,
  820. included in the Vim distribution, etc.
  821.  
  822. To be able to make this work, several features were added:
  823. - Added the "s:" variables, local to a script.  Avoids name conflicts with
  824.   global variables.  They can be used in the script and in functions,
  825.   autocommands and user commands defined in the script.  They are kept between
  826.   invocations of the same script.  |s:var|
  827. - Added the global value for local options.  This value is used when opening
  828.   a new buffer or editing another file.  The option value specified in a
  829.   modeline or filetype setting is not carried over to another buffer.
  830.   ":set" sets both the local and the global value.
  831.   ":setlocal" sets the local option value only.
  832.   ":setglobal" sets or displays the global value for a local option.
  833.   ":setlocal name<" sets a local option to its global value.
  834. - Added the buffer-local value for some global options: 'equalprg', 'makeprg',
  835.   'errorformat', 'grepprg', 'path', 'dictionary', 'thesaurus', 'tags',
  836.   'include' and 'define'.  This allows setting a local value for these global
  837.   options, without making it incompatible.
  838. - Added mappings and abbreviations local to a buffer: ":map <buffer>".
  839. - In a mapping "<Leader>" can be used to get the value of the "mapleader"
  840.   variable.  This simplifies mappings that use "mapleader".  "<Leader>"
  841.   defaults to "\".  "<LocalLeader>" does the same with "maplocalleader".  This
  842.   is to be used for mappings local to a buffer.
  843. - Added <SID> Script ID to define functions and mappings local to a script.
  844. - Added <script> argument to ":noremap" and ":noremenu": Only remap
  845.   script-local mappings.  Avoids that mappings from other scripts get in the
  846.   way, but does allow using mappings defined in the script.
  847. - User commands can be local to a buffer: ":command -buffer".
  848.  
  849. The new ":setfiletype" command is used in the filetype detection autocommands,
  850. to avoid that 'filetype' is set twice.
  851.  
  852.  
  853. File browser                        *new-file-browser*
  854. ------------
  855.  
  856. When editing a directory, the explorer plugin will list the files in the
  857. directory.  Pressing <Enter> on a file name edits that file.  Pressing <Enter>
  858. on a directory moves the browser to that directory.
  859.  
  860. There are several other possibilities, such as opening a file in the preview
  861. window, renaming files and deleting files.
  862.  
  863. See |file-explorer|.
  864.  
  865.  
  866. Editing files over a network                *new-network-files*
  867. ----------------------------
  868.  
  869. Files starting with scp://, rcp://, ftp:// and http:// are recognized as
  870. remote files.  An attempt is made to access these files with the indicated
  871. method.  For http:// only reading is possible, for the others writing is also
  872. supported.  Uses the netrw.vim script as a standard "plugin". |netrw|
  873.  
  874. Made "gf" work on a URL.  It no longer assumes the file is local on the
  875. computer (mostly didn't work anyway, because the full path was required).
  876. Adjusted test2 for this.
  877.  
  878. Allow using a URL in 'path'.  Makes ":find index.html" work.
  879.  
  880. GTK: Allow dropping a http:// and ftp:// URL on Vim.  The netrw plugin takes
  881. care of downloading the file. (MiKael Berthe)
  882.  
  883.  
  884. Window for command-line editing                *new-cmdwin*
  885. -------------------------------
  886.  
  887. The Command-line window can be used to edit a command-line with Normal and
  888. Insert mode commands.  When it is opened it contains the history.  This allows
  889. copying parts of previous command lines. |cmdwin|
  890.  
  891. The command-line window can be opened from the command-line with the key
  892. specified by the 'cedit' option (like Nvi).  It can also be opened directly
  893. from Normal mode with "q:", "q/" and "q?".
  894.  
  895. The 'cmdwinheight' is used to specify the initial height of the window.
  896.  
  897. In Insert mode CTRL-X CTRL-V can be used to complete an Ex command line, like
  898. it's done on the command-line.  This is also useful for writing Vim scripts!
  899.  
  900. Additionally, there is "improved Ex mode".  Entered when Vim is started as
  901. "exim" or "vim -E", and with the "gQ" command.  Works like repeated use of
  902. ":", with full command-line editing and completion. (Ulf Carlsson)
  903.  
  904.  
  905. Debugging mode                        *new-debug-mode*
  906. --------------
  907.  
  908. In debugging mode sourced scripts and user functions can be executed line by
  909. line.  There are commands to step over a command or step into it. |debug-mode|
  910.  
  911. Breakpoints can be set to run until a certain line in a script or user
  912. function is executed. |:breakadd|
  913.  
  914. Debugging can be started with ":debug {cmd}" to debug what happens when a
  915. command executes.  The |-D| argument can be used to debug while starting up.
  916.  
  917.  
  918. Cursor in virtual position                *new-virtedit*
  919. --------------------------
  920.  
  921. Added the 'virtualedit' option: Allow positioning the cursor where there is no
  922. actual character in Insert mode, Visual mode or allways. (Matthias Kramm)
  923. This is especially useful in Visual-block mode.  It allows positioning a
  924. corner of the area where there is no text character.  (Many improvements by
  925. Chase Tingley)
  926.  
  927.  
  928. Debugger interface                    *new-debug-itf*
  929. ------------------
  930.  
  931. This was originally made to work with Sun Visual Workshop. (Gordon Prieur)
  932. See |debugger.txt|, |sign.txt| and |workshop.txt|.
  933.  
  934. Added the ":sign" command to define and place signs.  They can be displayed
  935. with two ASCII characters or an icon.  The line after it can be highlighted.
  936. Useful to display breakpoints and the current PC position.
  937.  
  938. Added the |:wsverb| command to execute debugger commands.
  939.  
  940. Added balloon stuff: 'balloondelay' and 'ballooneval' options.
  941.  
  942. Added "icon=" argument for ":menu".  Allows defining a specific icon for a
  943. ToolBar item.
  944.  
  945.  
  946. Communication between Vims                *new-vim-server*
  947. --------------------------
  948.  
  949. Added communication between two Vims.  Makes it possible to send commands from
  950. one Vim to another.  Works for X-Windows and MS-Windows |clientserver|.
  951.  
  952. Use "--remote" to have files be edited in an already running Vim.
  953. Use "--remote-wait" to do the same and wait for the editing to finish.
  954. Use "--remote-send" to send commands from one Vim to another.
  955. Use "--remote-expr" to have an expression evaluated in another Vim.
  956. Use "--serverlist" to list the currently available Vim servers. (X only)
  957. There are also functions to communicate between the server and the client.
  958. |remote_send()| |remote_expr()|
  959.  
  960. (X-windows version implemented by Flemming Madsen, MS-Windows version by Paul
  961. Moore)
  962.  
  963. Added the command server name to the window title, so you can see which server
  964. name belongs to which Vim.
  965.  
  966. Removed the OleVim directory and SendToVim.exe and EditWithVim.exe from the
  967. distribution.  Can now use "gvim --remote" and "gvim --remote-send", which is
  968. portable.
  969.  
  970. GTK: Support running Vim inside another window.  Uses the --socketid argument
  971. (Neil Bird)
  972.  
  973.  
  974. Buffer type options                    *new-buftype*
  975. -------------------
  976.  
  977. The 'buftype' and 'bufhidden' options have been added.  They can be set to
  978. have different kinds of buffers.  For example:
  979. - 'buftype' = "quickfix": buffer with error list
  980. - 'buftype' = "nofile" and 'bufhidden' = "delete": scratch buffer that will be
  981.   deleted as soon as there is no window displaying it.
  982.  
  983. 'bufhidden' can be used to overrule the 'hidden' option for one buffer.
  984.  
  985. In combination with 'buflisted' and 'swapfile' this offers the possibility to
  986. use various kinds of special buffers.  See |special-buffers|.
  987.  
  988.  
  989. Printing                        *new-printing*
  990. --------
  991.  
  992. Included first implementation of the ":hardcopy" command for printing
  993. to paper.  For MS-Windows any installed printer can be used.  For other
  994. systems a PostScript file is generated, which can be printed with the
  995. 'printexpr' option.
  996. (MS-Windows part by Vince Negri, Vipin Aravind, PostScript by Vince Negri and
  997. Mike Williams)
  998.  
  999. Made ":hardcopy" work with multi-byte characters. (Muraoka Taro, Yasuhiro
  1000. Matsumoto)
  1001.  
  1002. Added options to tune the way printing works: (Vince Negri)
  1003. - 'printoptions' defines various things.
  1004. - 'printheader' specifies the header format.  Added "N" field to 'statusline'
  1005.   for the page number.
  1006. - 'printfont' specifies the font name and attributes.
  1007. - 'printdevice' defines the default printer for ":hardcopy!".
  1008.  
  1009.  
  1010. Ports                            *ports-6*
  1011. -----
  1012.  
  1013. Port to OS/390 Unix (Ralf Schandl)
  1014. - A lot of changes to handle EBCDIC encoding.
  1015. - Changed Ctrl('x') to Ctrl_x define.
  1016.  
  1017. Included jsbmouse support. (Darren Garth)
  1018. Support for dec mouse in Unix. (Steve Wall)
  1019.  
  1020. Port to 16-bit MS Windows (Windows 3.1x) (Vince Negri)
  1021.  
  1022. Port to QNX.  Supports the Photon GUI, mouse, etc. (Julian Kinraid)
  1023.  
  1024. Allow cross-compiling the Win32 version with Make_ming.mak. (Ron Aaron)
  1025. Added Python support for compiling with Mingw. (Ron Aaron)
  1026.  
  1027. Dos 32 bit: Added support the Windows clipboard. (David Kotchan)
  1028.  
  1029. Win32: Dynamically load Perl and Python.  Allows compiling Vim with these
  1030. interfaces and will try to find the DLLs at runtime. (Muraoka Taro)
  1031.  
  1032. Compiling the Win32 GUI with Cygwin.  Also compile vimrun, dosinst and
  1033. uninstall.  (Gerfried)
  1034.  
  1035. Mac: Make Vim compile with the free MPW compiler supplied by Apple.  And
  1036. updates for CodeWarrior. (Axel Kielhorn)
  1037.  
  1038. Added typecasts and ifdefs as a start to make Vim work on Win64 (George
  1039. Reilly)
  1040.  
  1041.  
  1042. Quickfix extended                    *quickfix-6*
  1043. -----------------
  1044.  
  1045. Added the "error window".  It contains all the errors of the current error
  1046. list.  Pressing <Enter> in a line makes Vim jump to that line (in another
  1047. window).  This makes it easy to navigate through the error list.
  1048. |quickfix-window|.
  1049.  
  1050. - |:copen| opens the quickfix window.
  1051. - |:cclose| closes the quickfix window.
  1052. - |:cwindow| takes care that there is a quickfix window only when there are
  1053.   recognized errors. (Dan Sharp)
  1054.  
  1055. - Quickfix also knows "info", next to "warning" and "error" types. "%I" can be
  1056.   used for the start of a multi-line informational message. (Tony Leneis)
  1057. - The "%p" argument can be used in 'errorformat' to get the column number from
  1058.   a line where "^" points to the column. (Stefan Roemer)
  1059. - When using "%f" in 'errorformat' on a DOS/Windows system, also include "c:"
  1060.   in the filename, even when using "%f:".
  1061.  
  1062.  
  1063. Operator modifiers                    *new-operator-mod*
  1064. ------------------
  1065.  
  1066. Insert "v", "V" or CTRL-V between an operator and a motion command to force
  1067. the operator to work characterwise, linewise or blockwise. |o_v|
  1068.  
  1069.  
  1070. Search Path                        *new-search-path*
  1071. -----------
  1072.  
  1073. Vim can search in a directory tree not only in downwards but also upwards.
  1074. Works for the 'path', 'cdpath' and 'tags' options. (Ralf Schandl)
  1075.  
  1076. Also use "**" for 'tags' option. (Ralf Schandl)
  1077.  
  1078. Added 'includeexpr', can be used to modify file name found by 'include'
  1079. option.
  1080. Also use 'includeexpr' for "gf" and "<cfile>" when the file can't be found
  1081. without modification.  Useful for doing "gf" on the name after an include or
  1082. import statement.
  1083.  
  1084. Added the 'cdpath' option: Locations to find a ":cd" argument. (Raf)
  1085.  
  1086. Added the 'suffixesadd' option: Suffixes to be added to a file name when
  1087. searching for a file for the "gf", "[I", etc. commands.
  1088.  
  1089.  
  1090. Writing files improved                    *new-file-writing*
  1091. ----------------------
  1092.  
  1093. Added the 'backupcopy' option: Select whether a file is to be copied or
  1094. renamed to make a backup file.  Useful on Unix to speed up writing an ordinary
  1095. file.  Useful on other systems to preserve file attributes and when editing a
  1096. file on a Unix filesystem.
  1097.  
  1098. Added the 'autowriteall' option.  Works like 'autowrite' but for more
  1099. commands.
  1100.  
  1101. Added the 'backupskip' option: A list of file patterns to skip making a backup
  1102. file when it matches.  The default for Unix includes "/tmp/*", this makes
  1103. "crontab -e" work.
  1104.  
  1105. Added support for Access Control Lists (ACL) for FreeBSD and Win32.  The ACL
  1106. is copied from the original file to the new file (or the backup if it's
  1107. copied).
  1108. ACL is also supported for AIX, Solaris and generic POSIX. (Tomas Ogren)
  1109. And on SGI.
  1110.  
  1111.  
  1112. Argument list                        *new-argument-list*
  1113. -------------
  1114.  
  1115. The support for the argument list has been extended.  It can now be
  1116. manipulated to contain the files you want it to contain.
  1117.  
  1118. The argument list can now be local to a window.  It is created with the
  1119. |:arglocal| command.  The |:argglobal| command can be used to go back to the
  1120. global argument list.
  1121.  
  1122. The |:argdo| command executes a command on all files in the argument list.
  1123.  
  1124. File names can be added to the argument list with |:argadd|.  File names can
  1125. be removed with |:argdelete|.
  1126.  
  1127. "##" can be used like "#", it is replaced by all the names in the argument
  1128. list concatenated.  Useful for ":grep foo ##".
  1129.  
  1130. The |:argedit| adds a file to the argument list and edits it.  Like ":argadd"
  1131. and then ":edit".
  1132.  
  1133.  
  1134. Restore a View                        *new-View*
  1135. --------------
  1136.  
  1137. The ":mkview" command writes a Vim script with the settings and mappings for
  1138. one window.  When the created file is sourced, the view of the window is
  1139. restored.  It's like ":mksession" for one window.
  1140. The View also contains the local argument list and manually created, opened
  1141. and closed folds.
  1142.  
  1143. Added the ":loadview" command and the 'viewdir' option: Allows for saving and
  1144. restoring views of a file with simple commands. ":mkview 1" saves view 1 for
  1145. the current file, ":loadview 1" loads it again.  Also allows quickly switching
  1146. between two views on one file.  And saving and restoring manual folds and the
  1147. folding state.
  1148.  
  1149. Added 'viewoptions' to specify how ":mkview" works.
  1150.  
  1151. ":mksession" now also works fine with vertical splits.  It has been further
  1152. improved and restores the view of each window.  It also works properly with
  1153. preview and quickfix windows.
  1154.  
  1155. 'sessionoptions' is used for ":mkview" as well.
  1156. Added "curdir" and "sesdir" to 'sessionoptions'.  Allows selection of what
  1157. the current directory will be restored to.
  1158.  
  1159. The session file now also contains the argument list(s).
  1160.  
  1161.  
  1162. Color schemes                        *new-color-schemes*
  1163. -------------
  1164.  
  1165. Support for loading a color scheme.  Added the ":colorscheme" command.
  1166. Automatically add menu entries for available schemes.
  1167. Should now properly reset the colors when 'background' or 't_Co' is changed.
  1168. ":highlight clear" sets the default colors again.
  1169. ":syntax reset" sets the syntax highlight colors back to the defaults.
  1170. For ":set bg&" guess the value.  This allows a color scheme to switch back to
  1171. the default colors.
  1172. When syntax highlighting is switched on and a color scheme was defined, reload
  1173. the color scheme to define the colors.
  1174.  
  1175.  
  1176. Various new items                    *new-items-6*
  1177. -----------------
  1178.  
  1179. Normal mode commands: ~
  1180.  
  1181. "gi"        Jump to the ^ mark and start Insert mode.  Also works when the
  1182.         mark is just after the line. |gi|
  1183.  
  1184. "g'm" and "g`m"
  1185.         Jump to a mark without changing the jumplist.  Now you can use
  1186.         g`" to jump to the last known position in a file without side
  1187.         effects.  Also useful in mappings.
  1188.  
  1189. [', [`, ]' and ]`
  1190.         move the cursor to the next/previous lowercase mark.
  1191.  
  1192. g_        Go to last non-blank in line. (Steve Wall)
  1193.  
  1194.  
  1195. Options: ~
  1196.  
  1197. 'autoread'    When detected that a file changed outside of Vim,
  1198.         automatically read a buffer again when it's not changed.
  1199.         It has a global and a local value.  Use ":setlocal autoread<"
  1200.         to go back to using the global value for 'autoread'.
  1201.  
  1202. 'debug'        When set to "msg" it will print error messages that would
  1203.         otherwise be omitted.  Useful for debugging 'indentexpr' and
  1204.         'foldexpr'.
  1205.  
  1206. 'lispwords'    List of words used for lisp indenting.  It was previously hard
  1207.         coded.  Added a number of Lisp names to the default.
  1208.  
  1209. 'fold...'    Many new options for folding.
  1210.  
  1211. 'modifiable'    When off, it is impossible to make changes to a buffer.
  1212.         The %m and %M items in 'statusline' show a '-'.
  1213.  
  1214. 'previewwindow' Set in the preview window.  Used in a session file to mark a
  1215.         window as the preview window.
  1216.  
  1217. 'printfont'
  1218. 'printexpr'
  1219. 'printheader'
  1220. 'printdevice'
  1221. 'printoptions'    for ":hardcopy".
  1222.  
  1223. 'buflisted'    Makes a buffer appear in the buffer list or not.
  1224.  
  1225. Use "vim{version}:" for modelines, only to be executed when the version is
  1226. >= {version}.  Also "vim>{version}", "vim<{version}" and "vim={version}".
  1227.  
  1228.  
  1229. Ex commands: ~
  1230.  
  1231. :sav[eas][!] {file}
  1232.         Works like ":w file" and ":e #", but without loading the file
  1233.         again and avoiding other side effects. |:saveas|
  1234.  
  1235. :silent[!] {cmd}
  1236.         Execute a command silently.  Also don't use a delay that would
  1237.         come after the message.  And don't do 'showmatch'.
  1238.         RISCOS: Removed that "!~cmd" didn't output anything, and
  1239.         didn't wait for <Enter> afterwards.  Can use ":silent !cmd"
  1240.         now.
  1241. :menu <silent>  Add a menu that won't echo Ex commands.
  1242. :map <silent>   Add a mapping that won't echo Ex commands.
  1243.  
  1244. :checktime    Check for changed buffers.
  1245.  
  1246. :verbose {cmd}  Set 'verbose' for one command.
  1247.  
  1248. :echomsg {expr}
  1249. :echoerr {expr} Like ":echo" but store the message in the history. (Mark
  1250.         Waggoner)
  1251.  
  1252. :grepadd    Works just like ":grep" but adds to the current error list
  1253.         instead of defining a new list. |:grepadd|
  1254.  
  1255. :finish        Finish sourcing a file.  Can be used to skip the rest of a Vim
  1256.         script. |:finish|
  1257.  
  1258. :leftabove
  1259. :aboveleft    Split left/above current window.
  1260.  
  1261. :rightbelow
  1262. :belowright    Split right/below current window.
  1263.  
  1264. :first, :bfirst, :ptfirst, etc.
  1265.         Alias for ":rewind".  It's more logical compared to ":last".
  1266.  
  1267. :enew        Edit a new, unnamed buffer.  This is needed, because ":edit"
  1268.         re-edits the same file. (Wall)
  1269.  
  1270. :quitall    Same as ":qall".
  1271.  
  1272. :match        Define match highlighting local to a window.  Allows
  1273.         highlighting an item in the current window without interfering
  1274.         with syntax highlighting.
  1275.  
  1276. :menu enable
  1277. :menu disable    Commands to enable/disable menu entries without removing them.
  1278.         (Monish Shah)
  1279.  
  1280. :windo        Execute a command in all windows.
  1281. :bufdo        Execute a command in all buffers.
  1282.  
  1283. :wincmd        Window (CTRL-W) command.  Useful when a Normal mode command
  1284.         can't be used (e.g., for a CursorHold autocommand).  See
  1285.         |CursorHold-example| for a nice application with it.
  1286.  
  1287. :lcd and :lchdir
  1288.         Set local directory for a window. (Benjie Chen)
  1289.  
  1290. :hide {command}
  1291.         Execute {command} with 'hidden' set.
  1292.  
  1293. :emenu        in Visual mode to execute a ":vmenu" entry.
  1294.  
  1295. :popup        Pop up a popup menu.
  1296.  
  1297. :redraw        Redraw the screen even when busy with a script or function.
  1298.  
  1299. :hardcopy    Print to paper.
  1300.  
  1301. :compiler    Load a Vim script to do settings for a specific compiler.
  1302.  
  1303. :z#        List numbered lines. (Bohdan Vlasyuk)
  1304.  
  1305.  
  1306. New marks: ~
  1307.  
  1308. '( and ')    Begin or end of current sentence.  Useful in Ex commands.
  1309. '{ and '}    Begin or end of current paragraph.  Useful in Ex commands.
  1310. '.        Position of the last change in the current buffer.
  1311. '^        Position where Insert mode was stopped.
  1312.  
  1313. Store the ^ and . marks in the viminfo file.  Makes it possible to jump to the
  1314. last insert position or changed text.
  1315.  
  1316.  
  1317. New functions: ~
  1318. argidx()    Current index in argument list.
  1319. buflisted()    Checks if the buffer exists and has 'buflisted' set.
  1320. cindent()    Get indent according to 'cindent'.
  1321. eventhandler()    Returns 1 when inside an event handler and interactive
  1322.         commands can't be used.
  1323. executable()    Checks if a program or batch script can be executed.
  1324. filewritable()    Checks if a file can be written. (Ron Aaron)
  1325. foldclosed()    Find out if there is a closed fold. (Johannes Zellner).
  1326. foldcloseend()    Find the end of a closed fold.
  1327. foldlevel()    Find out the foldlevel. (Johannes Zellner)
  1328. foreground()    Move the GUI window to the foreground.
  1329. getchar()    Get one character from the user.  Can be used to define a
  1330.         mapping that takes an argument.
  1331. getcharmod()    Get last used key modifier.
  1332. getbufvar()    gets the value of an option or local variable in a buffer (Ron
  1333.         Aaron)
  1334. getfsize()    Return the size of a file.
  1335. getwinvar()    gets the value of an option or local variable in a window (Ron
  1336.         Aaron)
  1337. globpath()    Find matching files in a list of directories.
  1338. hasmapto()    Detect if a mapping to a string is already present.
  1339. iconv()        Convert a string from one encoding to another.
  1340. indent()    gets the indent of a line (Ron Aaron)
  1341. inputdialog()    Like input() but use a GUI dialog when possible.  Currently
  1342.         only works for Win32, Motif, Athena and GTK.
  1343.         Use inputdialog() for the Edit/Settings/Text Width menu.  Also
  1344.         for the Help/Find.. and Toolbar FindHelp items.
  1345.         (Win32 support by Thore B. Karlsen)
  1346.         (Win16 support by Vince Negri)
  1347. inputsecret()    Ask the user to type a string without showing the typed keys.
  1348.         (Charles Campbell)
  1349. libcall()    for Unix (Neil Bird, Johannes Zellner, Stephen Wall)
  1350. libcallnr()    for Win32 and Unix
  1351. lispindent()    Get indent according to 'lisp'.
  1352. mode()        Return a string that indicates the current mode.
  1353. nextnonblank()    Skip blank lines forwards.
  1354. prevnonblank()    Skip blank lines backwards.  Useful to for indent scripts.
  1355. resolve()    MS-Windows: resolve a shortcut to the file it points to.
  1356.         Unix: resolve a symbolic link.
  1357. search()    Search for a pattern.
  1358. searchpair()    Search for matching pair.  Can be used in indent files to find
  1359.         the "if" matching an endif.
  1360. setbufvar()    sets an option or variable local to a buffer (Ron Aaron)
  1361. setwinvar()    sets an option or variable local to a window (Ron Aaron)
  1362. stridx()    Search for first occurrence of one string in another.
  1363. strridx()    Search for last occurrence of one string in another.
  1364. tolower()    Convert string to all-lowercase.
  1365. toupper()    Convert string to all-uppercase.
  1366. type()        Check the type of an expression.
  1367. wincol()    window column of the cursor
  1368. winwidth()    Width of a window. (Johannes Zellner)
  1369. winline()    window line of the cursor
  1370.  
  1371.  
  1372. Added expansion of curly braces in variable and function names.  This can be
  1373. used for variable names that include the value of an option.  Or a primitive
  1374. form of arrays. (Vince Negri)
  1375.  
  1376.  
  1377. New autocommand events: ~
  1378. BufWinEnter    Triggered when a buffer is displayed in a window, after using
  1379.         the modelines.  Can be used to load a view.
  1380. BufWinLeave    Triggered when a buffer is no longer in a window.  Also
  1381.         triggered when exiting Vim.  Can be used to save views.
  1382. FileChangedRO    Triggered before making the first change to a read-only file.
  1383.         Can be used to check-out the file. (Scott Graham)
  1384. TermResponse    Triggered when the terminal replies to the version-request.
  1385.         The v:termresponse internal variable holds the result.  Can be
  1386.         used to react to the version of the terminal.  (Ronald Schild)
  1387. FileReadCmd    Triggered before reading a file.
  1388. BufReadCmd    Triggered before reading a file into a buffer.
  1389. FileWriteCmd    Triggered before writing a file.
  1390. BufWriteCmd    Triggered before writing a buffer into a file.
  1391. FileAppendCmd    Triggered before appending to a file.
  1392. FuncUndefined    Triggered when a user function is not defined. (Ron Aaron)
  1393.  
  1394. The autocommands for the *Cmd events read or write the file instead of normal
  1395. file read/write.  Use this in netrw.vim to be able to edit files on a remote
  1396. system. (Charles Campbell)
  1397.  
  1398.  
  1399. New Syntax files: ~
  1400.  
  1401. bdf        BDF font definition (Nikolai Weibull)
  1402. catalog        SGML catalog (Johannes Zellner)
  1403. debchangelog    Debian Changelog (Wichert Akkerman)
  1404. debcontrol    Debian Control (Wichert Akkerman)
  1405. dot        dot (Markus Mottl)
  1406. dsl        DSSSL syntax (Johannes Zellner)
  1407. eterm        Eterm configuration (Nikolai Weibull)
  1408. indent        Indent profile (Nikolai Weibull)
  1409. lftp        LFTP (Nikolai Weibull)
  1410. lynx        Lynx config (Doug Kearns)
  1411. mush        mush sourcecode (Bek Oberin)
  1412. natural        Natural (Marko Leipert)
  1413. pilrc        Pal resource compiler (Brian Schau)
  1414. plm        PL/M (Philippe Coulonges)
  1415. povini        Povray configuration (David Necas)
  1416. ratpoison    Ratpoison config/command (Doug Kearns)
  1417. readline    readline config (Nikolai Weibull)
  1418. screen        Screen RC (Nikolai Weibull)
  1419. specman        Specman (Or Freund)
  1420. sqlforms    SQL*Forms (Austin Ziegler)
  1421. terminfo    terminfo (Nikolai Weibull)
  1422. tidy        Tidy configuration (Doug Kearns)
  1423. wget        Wget configuration (Doug Kearns)
  1424.  
  1425.  
  1426. Updated many syntax files to work both with Vim 5.7 and 6.0.
  1427.  
  1428. Interface to Ruby. (Shugo Maeda)
  1429. Support dynamic loading of the Ruby interface on MS-Windows. (Muraoka Taro)
  1430. Support this for Mingw too. (Benoit Cerrina)
  1431.  
  1432. Win32: Added possibility to load TCL dynamically. (Muraoka Taro)
  1433. Also for Borland 5.5. (Dan Sharp)
  1434.  
  1435. Win32: When editing a file that is a shortcut (*.lnk file), edit the file it
  1436. links to.  Unless 'binary' is set, then edit the shortcut file itself.
  1437. (Yasuhiro Matsumoto)
  1438.  
  1439. The ":command" command now accepts a "-bar" argument.  This allows the user
  1440. command to be followed by "| command".
  1441.  
  1442. The preview window is now also used by these commands:
  1443. - |:pedit| edits the specified file in the preview window
  1444. - |:psearch| searches for a word in included files, like |:ijump|, and
  1445.   displays the found text in the preview window.
  1446. Added the CTRL-W P command: go to preview window.
  1447.  
  1448. MS-DOS and MS-Windows also read the system-wide vimrc file $VIM/vimrc.  Mostly
  1449. for NT systems with multiple users.
  1450.  
  1451. A double-click of the mouse on a character that has a "%" match selects from
  1452. that character to the match.  Similar to "v%".
  1453.  
  1454. "-S session.vim" argument: Source a script file when starting up.  Convenient
  1455. way to start Vim with a session file.
  1456.  
  1457. Added "--cmd {command}" Vim argument to execute a command before a vimrc file
  1458. is loaded. (Vince Negri)
  1459.  
  1460. Added the "-M" Vim argument: reset 'modifiable' and 'write', thus disallow
  1461. making changes and writing files.
  1462.  
  1463. Added runtime/delmenu.vim.  Source this to remove all menus and prepare for
  1464. loading new menus.  Useful when changing 'langmenu'.
  1465.  
  1466. Perl script to filter Perl error messages to quickfix usable format. (Joerg
  1467. Ziefle)
  1468.  
  1469. Added runtime/macros/less.vim: Vim script to simulate less, but with syntax
  1470. highlighting.
  1471.  
  1472. MS-Windows install program: (Jon Merz)
  1473. - The Win32 program can now create shortcuts on the desktop and install Vim in
  1474.   the Start menu.
  1475. - Possibly remove old "Edit with Vim" entries.
  1476. - The Vim executable is never moved or $PATH changed.  A small batch file is
  1477.   created in a directory in $PATH.  Fewer choices to be made.
  1478. - Detect already installed Vim versions and offer to uninstall them first.
  1479.  
  1480. Improved the MS-Windows uninstal program.  It now also deletes the entries in
  1481. the Start menu, icons from the desktop and the created batch files. (Jon Merz)
  1482. Also made it possible to delete only some of these.  Also unregister gvim for
  1483. OLE.
  1484.  
  1485. Generate a self-installing Vim package for MS-Windows.  This uses NSIS. (Jon
  1486. Merz et al.)
  1487.  
  1488. Added ":filetype detect".  Try detecting the filetype again.  Helps when
  1489. writing a new shell script, after adding "#!/bin/csh".
  1490.  
  1491. Added ":augroup! name" to delete an autocommand group.  Needed for the
  1492. client-server "--remote-wait".
  1493.  
  1494. Add the Vim version number to the viminfo file, useful for debugging.
  1495.  
  1496. ==============================================================================
  1497. IMPROVEMENTS                        *improvements-6*
  1498.  
  1499. Added the 'n' flag in 'cpoptions': When omitted text of wrapped lines is not
  1500. put between line numbers from 'number' option.  Makes it a lot easier to read
  1501. wrapped lines.
  1502.  
  1503. When there is a format error in a tags file, the byte position is reported so
  1504. that the error can be located.
  1505.  
  1506. "gf" works in Visual mode: Use the selected text as the file name. (Chase
  1507. Tingley)
  1508.  
  1509. Allow ambiguous mappings.  Thus "aa" and "aaa" can both be mapped, the longest
  1510. matching one is used.  Especially useful for ":lmap" and 'keymap'.
  1511.  
  1512. Encryption: Ask the key to be typed twice when crypting the first time.
  1513. Otherwise a typo might cause the text to be lost forever. (Chase Tingley)
  1514.  
  1515. The window title now has "VIM" on the end.  The file name comes first, useful
  1516. in the taskbar.  A "+" is added when the file is modified.  "=" is added for
  1517. a read-only file.  "-" is added for a file with 'modifiable' off.
  1518.  
  1519. In Visual mode, mention the size of the selected area in the 'showcmd'
  1520. position.
  1521.  
  1522. Added the "b:changedtick" variable.  Incremented at each change, also for
  1523. undo.  Can be used to take action only if the buffer has been changed.
  1524.  
  1525. In the replacement string of a ":s" command "\=" can be used to replace with
  1526. the result of an expression.  From this expression the submatch() function can
  1527. be used to access submatches.
  1528.  
  1529. When doing ":qall" and there is a change in a buffer that is being edited in
  1530. another window, jump to that window, instead of editing that buffer in the
  1531. current window.
  1532.  
  1533. Added the "++enc=" and "++ff=" arguments to file read/write commands to force
  1534. using the given 'encoding' or 'fileformat'.  And added the "v:cmdarg"
  1535. variable, to be used for FileReadCmd autocommands that read/write the file
  1536. themselves.
  1537.  
  1538. When reading stdin, first read the text in binary mode and then re-read it
  1539. with automatic selection of 'fileformat' and 'fileencoding'.  This avoids
  1540. problems with not being able to rewind the file (e.g., when a line near the
  1541. end of the file ends in LF instead of CR-LF).
  1542. When reading text from stdin and the buffer is empty, don't mark it changed.
  1543. Allows exiting without trouble.
  1544.  
  1545. Added an ID to many error messages.  This will make it easier to find help for
  1546. a message.
  1547.  
  1548. Insert mode:
  1549. - "CTRL-G j" and "CTRL-G k" can be used to insert in another line in the same
  1550.   column.  Useful for editing a table.
  1551. - Added Thesaurus completion with CTRL-X CTRL-T. (Vince Negri)
  1552. - Added the 'thesaurus' option, to use instead of 'dictionary' for thesaurus
  1553.   completion.  Added the 's' flag in 'complete'.
  1554. - Made CTRL-X CTRL-L in Insert mode use the 'complete' option.  It now also
  1555.   scans other loaded buffers for matching lines.
  1556. - CTRL-R now also works in Insert mode while doing completion with CTRL-X or
  1557.   CTRL-N. (Neil Bird)
  1558. - When doing Insert mode completion, when completion is finished check for a
  1559.   match with words from 'cinkeys' or 'indentkeys'.
  1560.  
  1561. Performance:
  1562. - Made display updating more efficient.  Insert/delete lines may be used for
  1563.   all changes, also for undo/redo.
  1564. - The display is not redrawn when there is typeahead in Insert mode.  Speeds
  1565.   up CTRL-R a lot.
  1566. - Improved speed of screen output for 32 bit DOS version. (Vince Negri)
  1567. - When dragging with the mouse, there is a lookahead to skip mouse codes when
  1568.   there is another one next.  Makes dragging with the mouse a lot faster.
  1569. - Also a memory usage improvement: When calling u_save with a single line,
  1570.   don't save it if the line was recently saved for the same undo already.
  1571. - When using a script that appends one character at a time, the amount of
  1572.   allocated memory was growing steadily.  Also when 'undolevels' is -1.
  1573.   Caused by the line saved for "U" never to be freed.  Now free an undo block
  1574.   when it becomes empty.
  1575. - GUI and Dos32: Use a vertical scroll region, to make scrolling in a
  1576.   vertically split window faster.  No need to redraw the whole window.
  1577. - When scrolling isn't possible with terminal codes (e.g., for a vertically
  1578.   split window) redraw from ScreenLines[].  That should be faster than going
  1579.   through the lines with win_line(), especially when using syntax
  1580.   highlighting.
  1581. - The Syntax menu is now pre-generated by a separate script.  Makes loading
  1582.   the menu 70% faster.  This can halve the startup time of gvim.
  1583. - When doing ":help tag", don't open help.txt first, jump directly to the help
  1584.   tag.  It's faster and avoids an extra message.
  1585. - Win32: When a file name doesn't end in ".lnk" don't try resolving a
  1586.   shortcut, it takes quite a bit of time.
  1587. - Don't update the mouse pointer shape while there are typeahead characters.
  1588. - Change META[] from a string into an array, avoids using strchr() on it.
  1589. - Don't clear the command line when adding characters, avoids that screen_fill
  1590.   is called but doesn't do anything.
  1591.  
  1592. Robustness:
  1593. - Unix: Check for running out of stack space when executing a regexp.  Avoids
  1594.   a nasty crash.  Only works when the system supports running the signal
  1595.   function on another stack.
  1596. - Disallow ":source <dirname>".  On unix it's possible to read a directory,
  1597.   does not make sense to use it as Vim commands.
  1598.  
  1599. Security:
  1600. - When reading from or writing to a temporary file, check that it isn't a
  1601.   symbolic link.  Gives some protection against symlink attacks.
  1602. - When creating a backup file copy or a swap file, check for it already
  1603.   existing to avoid a symlink attack. (Colin Phipps)
  1604. - Evaluating options which are an expression is done in a |sandbox|.  If the
  1605.   option was set by a modeline, it cannot cause damage.
  1606. - Use a secure way to generate temp file names: Create a private directory for
  1607.   temp files.  Used for Unix, MS-DOS and OS/2.
  1608. - 'makeef' can be empty, which means that an internally generated file name is
  1609.   used.  The old default was "/tmp/file", which is a security risk.
  1610.   Writing 'makeef' in the current directory fails in a read-only directory and
  1611.   causes trouble when using ":grep" on all files.  Made the default empty for
  1612.   all systems, so that a temp file is used.
  1613. - The command from a tags file is executed in the sandbox for better security.
  1614. - The Ruby, Tcl and Python interfaces cannot be used from the sandbox.  They
  1615.   might do dangerous things.  Perl is still possible, but limited to the Safe
  1616.   environment. (Donnie Smith)
  1617.  
  1618. Syntax highlighting:
  1619. - Optimized the speed by caching the state stack all over the file, not just
  1620.   the part being displayed.  Required for folding.
  1621. - Added ":syntax sync fromstart": Always parse from the start of the file.
  1622. - Added the "display" argument for syntax items: use the item only when
  1623.   displaying the result.  Can make parsing faster for text that isn't going to
  1624.   be displayed.
  1625. - When using CTRL-L, the cached states are deleted, to force parsing the text
  1626.   again.
  1627. - Use elfhash algorithm for table of keywords.  This should give a better
  1628.   distribution and speedup keyword lookup. (Campbell)
  1629. - Also allow the "lc" leading context for skip and end patterns. (Scott
  1630.   Bigham)
  1631. - Syntax items can have the "extend" argument to undo the effect of a
  1632.   "keepend" argument of an item it is contained in.  Makes it possible to have
  1633.   some contained items extend a region while others don't.
  1634. - ":syntax clear" now deletes the b:current_syntax variable.  That's logical,
  1635.   since no syntax is defined after this command.
  1636. - Added ":syntax enable": switch on syntax highlighting without changing the
  1637.   colors.  This allows specifying the colors in the .vimrc file without the
  1638.   need for a mysyntaxfile.
  1639. - Added ":syntax reset": reset the colors to their defaults.
  1640. - Added the "contains=TOP" and "contains=CONTAINED" arguments.  Makes it
  1641.   possible to define a transparent item that doesn't contain itself.
  1642. - Added a "containedin" argument to syntax items.  Allows adding a contained
  1643.   item to an existing item (e.g., to highlight a name in a comment).
  1644.  
  1645. Modeless selection:
  1646. - When in the command-line window, use modeless selection in the other
  1647.   windows.  Makes it possible to copy visible text to the command-line window.
  1648. - Support modeless selection on the cmdline in a terminal.  Previously it was
  1649.   only possible for the GUI.
  1650. - Make double-right-click in modeless selection select a whole word.  Single
  1651.   right click doesn't use the word selection started by a double-left-click.
  1652.   Makes it work like in Visual mode.
  1653. - The modeless selection no longer has an implied automatic copy to the
  1654.   clipboard.  It now obeys the 'a' and 'A' flags in 'guioptions' or
  1655.   "autoselect" and "autoselectml" in 'clipboard'.
  1656. - Added the CTRL-Y command in Cmdline-mode to copy the modeless selection to
  1657.   the clipboard.  Also works at the hit-enter prompt and the more prompt.
  1658.   Removed the mappings in runtime/mswin.vim for CTRL-Y and CTRL-Z in
  1659.   cmdline-mode to be able to use CTRL-Y in the new way.
  1660.  
  1661. Reduced the amount of stack space used by regmatch() to allow it to handle
  1662. complicated patterns on a longer text.
  1663.  
  1664. 'isfname' now includes '%' and '#'.  Makes "vim dir\#file" work for MS-DOS.
  1665.  
  1666. Added keypad special keys <kEnter>, <k0> - <k9>.  When not mapped they behave
  1667. like the ASCII equivalent. (Ivan Wellesz and Vince Negri)
  1668. Recognize a few more xterm keys: <C-Right>, <C-Left>, <C-End>, <C-Home>
  1669.  
  1670. Also trigger the BufUnload event when Vim is going to exit.  Perhaps a script
  1671. needs to do some cleaning up.
  1672.  
  1673. Expand expression in backticks: `={expr}`.  Can be used where backtick
  1674. expansion is done. (Vince Negri)
  1675.  
  1676. GUI:
  1677. - Added 'L' and 'R' flags in 'guioptions': Add a left or right scrollbar only
  1678.   when there is a vertically split window.
  1679. - X11: When a color can't be allocated, use the nearest match from the
  1680.   colormap.  This avoids that black is used for many things. (Monish Shah)
  1681.   Also do this for the menu and scrollbar, to avoid that they become black.
  1682. - Win32 and X11: Added 'mouseshape' option: Adjust the mouse pointer shape to
  1683.   the current mode. (Vince Negri)
  1684. - Added the 'linespace' option: Insert a pixel line between lines. (Nam)
  1685. - Allow modeless selection (without moving the cursor) by keeping CTRL and
  1686.   SHIFT pressed. (Ivan Wellesz)
  1687. - Motif: added toolbar. (Gordon Prieur)  Also added tooltips.
  1688. - Athena: added toolbar and tooltips. (David Harrison -- based on Gordon
  1689.   Prieur's work)
  1690. - Made the 'toolbar' option work for Athena and Motif.  Can now switch between
  1691.   text and icons on the fly.  (David Harrison)
  1692. - Support menu separator lines for Athena.  (David Harrison)
  1693. - Athena: Adjust the arrow pixmap used in a pullright menu to the size of the
  1694.   font. (David Harrison)
  1695. - Win32: Added "c" flag to 'guifont' to be able to specify the charset. (Artem
  1696.   Khodush)
  1697. - When no --enable-xim argument is given, automatically enable it when a X GUI
  1698.   is used.  Required for dead key support (and multi-byte input).
  1699. - After a file selection dialog, check that the edited files were not changed
  1700.   or deleted.  The Win32 dialog allows deleting and renaming files.
  1701. - Motif and Athena: Added support for "editres". (Martin Dalecki)
  1702. - Motif and Athena: Added "menuFont" to be able to specify a font or fontset
  1703.   for the menus.  Can also be set with the "Menu" highlight group.  Useful
  1704.   when the locale is different from 'encoding'. (David Harrison)
  1705.   When FONTSET_ALWAYS is defined, always use a fontset for the menus.  Should
  1706.   avoid trouble with changing from a font to a fontset.  (David Harrison)
  1707. - Highlighting and font for the tooltips can be specified with the "Tooltip"
  1708.   highlight group. (David Harrison)
  1709. - The Cmdline-mode menus can be used at the more-prompt.  This mostly works
  1710.   fine, because they start with a CTRL-C.  The "Copy" menu works to copy the
  1711.   modeless selection.  Allows copying the output of ":set all" or ":intro"
  1712.   without auto-selection.
  1713. - When starting the GUI when there is no terminal connected to stdout and
  1714.   stderr, display error messages in a dialog.  Previously they wouldn't be
  1715.   displayed at all.
  1716. - Allow setting 'browsedir' to the name of a directory, to be used for the
  1717.   file dialog. (Dan Sharp)
  1718. - b:browsefilter and g:browsefilter can be set to the filters used for the
  1719.   file dialog.  Supported for Win32 and Motif GUI. (Dan Sharp)
  1720.  
  1721. X11:
  1722. - Support for the clipboard selection as register "+.  When exiting or
  1723.   suspending copy the selection to cut buffer 0.  Should allow copy/paste with
  1724.   more applications in a X11-standard way.  (Neil Bird)
  1725. - Use the X clipboard in any terminal, not just in an xterm.
  1726.   Added "exclude:" in 'clipboard': Specify a pattern to match against terminal
  1727.   names for which no connection should be made to the X server.  The default
  1728.   currently work for FreeBSD and Linux consoles.
  1729. - Added a few messages for when 'verbose' is non-zero to show what happens
  1730.   when trying to connect to the X server.  Should help when trying to find out
  1731.   why startup is slow.
  1732.  
  1733. GTK GUI: (partly by Marcin Dalecki)
  1734. - With some fonts the characters can be taller than ascent + descent.  E.g.,
  1735.   "-misc-fixed-*-*-*-*-18-*-*-*-*-*-iso10646-1".  Add one to the character
  1736.   cell height.
  1737. - Implement "no" value for 'winaltkeys': don't use Alt-Key as a menu shortcut,
  1738.   when 'wak' changed after creating the menus.
  1739. - Setting 'wak' after the GUI started works.
  1740. - recycle text GC's to reduce communication.
  1741. - Adjust icon size to window manager.
  1742. - Cleanup in font handling.
  1743. - Replace XQueryColor with GDK calls.
  1744. - Gnome support.  Detects Gnome in configure and uses different widgets.
  1745.   Otherwise it's much like GTK. (Andy Kahn)
  1746.   It is disabled by default, because it causes a few problems.
  1747. - Removed the special code to fork first and then start the GUI.  Now use
  1748.   _exit() instead of exit(), this works fine without special tricks.
  1749. - Dialogs sometimes appeared a bit far away.  Position the dialogs inside
  1750.   the gvim window. (Brent Verner)
  1751. - When dropping a file on Vim, remove extra slashes from the start of the
  1752.   path.  Also shorten the file name if possible.
  1753.  
  1754. Motif: (Martin Dalecki)
  1755. - Made the dialog layout better.
  1756. - Added find and find/replace dialogs.
  1757. - For the menus, change "iso-8859" to "iso_8859", Linux appears to need this.
  1758. - Added icon to dialogs, like for GTK.
  1759. - Use XPM bitmaps for the icon when possible.  Use the Solaris XpmP.h include
  1760.   file when it's available.
  1761. - Change the shadow of the toolbar items to get a visual feedback of it being
  1762.   pressed on non-LessTiff.
  1763. - Use gadgets instead of windows for some items for speed.
  1764.  
  1765. Command line completion:
  1766. - Complete environment variable names. (Mike Steed)
  1767. - For ":command", added a few completion methods: "mapping", "function",
  1768.   "expression" and "environment".
  1769. - When a function doesn't take arguments, let completion add () instead of (.
  1770.  
  1771. For MS-DOS, MS-Windows and OS/2: Expand %VAR% environment variables like $VAR.
  1772. (Walter Briscoe)
  1773.  
  1774. Redirect messages to the clipboard ":redir @*" and to the unnamed register
  1775. ":redir @"". (Wall)
  1776.  
  1777. ":let @/ = ''" clears the search pattern, instead of setting it to an empty
  1778. string.
  1779.  
  1780. Expression evaluation:
  1781. - "? :" can be used like in C.
  1782. - col("$") returns the length of the cursor line plus one. (Stephen P. Wall)
  1783. - Optional extra argument for match(), matchend() and matchstr(): Offset to
  1784.   start looking for a match.
  1785. - Made third argument to strpart() optional.  (Paul Moore, Zdenek Sekera)
  1786. - exists() can also be used to check for Ex commands and defined autocommands.
  1787. - Added extra argument to input(): Default text.
  1788. - Also set "v:errmsg" when using ":silent! cmd".
  1789. - Added the v:prevcount variable: v:count for the previous command.
  1790. - Added "v:progname", name with which Vim was started. (Vince Negri)
  1791. - In the verbose message about returning from a function, also show the return
  1792.   value.
  1793.  
  1794. Cscope:
  1795. - Added the cscope_connection() function. (Andy Kahn)
  1796. - ":cscope kill -1" kills all cscope connections. (Andy Kahn)
  1797. - Added the 'cscopepathcomp' option. (Scott Hauck)
  1798. - Added ":scscope" command, split window and execute Cscope command. (Jason
  1799.   Duell)
  1800.  
  1801. VMS:
  1802. - Command line arguments are always uppercase.  Interpret a "-X" argument as
  1803.   "-x" and "-/X" as "-X".
  1804. - Set 'makeprg' and 'grepprg' to meaningful defaults. (Zoltan Arpadffy)
  1805. - Use the X-clipboard feature and the X command server. (Zoltan Arpadffy)
  1806.  
  1807. Macintosh: (Dany St-Amant)
  1808. - Allow a tags file to have CR, CR-LF or LF line separator.
  1809. - Carbonized (while keeping non Carbon code)
  1810.   (Some work "stolen" from Ammon Skidmore)
  1811. - Improved the menu item index handling (should be faster)
  1812. - Runtime commands now handle / in file name (MacOS 9 version)
  1813. - Added ":winpos" support.
  1814. - Also accept tags files in DOS format. (Axel Kielhorn)
  1815. - Support using "~" in file names for home directory.
  1816.  
  1817. Options:
  1818. - When using set += or ^= , check for items used twice.  Duplicates are
  1819.   removed.  (Vince Negri)
  1820. - When setting an option that is a list of flags, remove duplicate flags.
  1821. - If possible, use getrlimit() to set 'maxmemtot' and 'maxmem'. (Pina)
  1822. - Added "alpha" to 'nrformats': increment or decrement an alphabetic character
  1823.   with CTRL-A and CTRL-X.
  1824. - ":set opt&vi" sets an option to its Vi default, ":set opt&vim" to its Vim
  1825.   default.  Useful to set 'cpo' to its Vim default without knowing what flags
  1826.   that includes.
  1827. - 'scrolloff' now also applies to a long, wrapped line that doesn't fit in the
  1828.   window.
  1829. - Added more option settings to the default menus.
  1830. - Updated the option window with new options.  Made it a bit easier to read.
  1831.  
  1832. Internal changes:
  1833. - Split line pointers in text part and attributes part.  Allows for future
  1834.   change to make attribute more than one byte.
  1835. - Provide a qsort() function for systems that don't have it.
  1836. - Changed the big switch for Normal mode commands into a table.  This cleans
  1837.   up the code considerably and avoids trouble for some optimizing compilers.
  1838. - Assigned a negative value to special keys, to avoid them being mixed up with
  1839.   Unicode characters.
  1840. - Global variables expand_context and expand_pattern were not supposed to be
  1841.   global.  Pass them to ExpandOne() and all functions called by it.
  1842. - No longer use the global reg_ic flag.  It caused trouble and in a few places
  1843.   it was not set.
  1844. - Removed the use of the stuff buffer for "*", "K", CTRL-], etc.  Avoids
  1845.   problem with autocommands.
  1846. - Moved some code from ex_docmd.c to ex_cmds2.c.  The file was getting too
  1847.   big.  Also moved some code from screen.c to move.c.
  1848. - Don't include the CRC table for encryption, generate it.  Saves quite a bit
  1849.   of space in the source code. (Matthias Kramm)
  1850. - Renamed multibyte.c to mbyte.c to avoid a problem with 8.3 filesystems.
  1851. - Removed the GTK implementation of ":findhelp", it now uses the
  1852.   ToolBar.FindHelp  menu entry.
  1853. - Renamed mch_windexit() to mch_exit(), mch_init() to mch_early_init() and
  1854.   mch_shellinit() to mch_init().
  1855.  
  1856. Highlighting:
  1857. - In a ":highlight" listing, show "xxx" with the highlight color.
  1858. - Added support for xterm with 88 or 256 colors.  The right color numbers will
  1859.   be used for the name used in a ":highlight" command. (Steve Wall)
  1860. - Added "default" argument for ":highlight".  When included, the command is
  1861.   ignored if highlighting for the group was already defined.
  1862.   All syntax files now use ":hi default ..." to allow the user to specify
  1863.   colors in his vimrc file.  Also, the "if did_xxx_syntax_inits" is not needed
  1864.   anymore.  This greatly simplifies using non-default colors for a specific
  1865.   language.
  1866. - Adjusted colortest.vim: Included colors on normal background and reduced the
  1867.   size by using a while loop. (Rafael Garcia-Suarez)
  1868. - Added the "DarkYellow" color name.  Just to make the list of standard colors
  1869.   consistent, it's not really a nice color to use.
  1870.  
  1871. When an xterm is in 8-bit mode this is detected by the code returned for
  1872. |t_RV|.  All key codes are automatically converted to their 8-bit versions.
  1873.  
  1874. The OPT_TCAP_QUERY in xterm patch level 141 and later is used to obtain the
  1875. actual key codes used and the number of colors for t_Co.  Only when |t_RV| is
  1876. also used.
  1877.  
  1878. ":browse set" now also works in the console mode.  ":browse edit" will give an
  1879. error message.
  1880.  
  1881. ":bdelete" and ":bunload" only report the number of deleted/unloaded buffers
  1882. when more than 'report'.  The message was annoying when deleting a buffer in a
  1883. script.
  1884.  
  1885. Jump list:
  1886. - The number of marks kept in the jumplist has been increased from 50 to 100.
  1887. - The jumplist is now stored in the viminfo file.  CTRL-O can be used to jump
  1888.   to positions from a previous edit session.
  1889. - When doing ":split" copy the jumplist to the new window.
  1890.  
  1891. Also set the '[ and '] marks for the "~" and "r" commands.  These marks are
  1892. now always set when making a change with a Normal mode command.
  1893.  
  1894. Python interface: Allow setting the width of a vertically split window. (John
  1895. Cook)
  1896.  
  1897. Added "=word" and "=~word" to 'cinkeys' (also used in 'indentkeys').
  1898.  
  1899. Added "j1" argument in 'cinoptions': indent {} inside () for Java. (Johannes
  1900. Zellner)
  1901. Added the "l" flag in 'cinoptions'. (Anduin Withers)
  1902. Added 'C', 'U', 'w' and 'm' flags to 'cinoptions'. (Servatius Brandt)
  1903.  
  1904. When doing ":wall" or ":wqall" and a modified buffer doesn't have a name,
  1905. mention its buffer number in the error message.
  1906.  
  1907. ":function Name" lists the function with line numbers.  Makes it easier to
  1908. find out where an error happened.
  1909.  
  1910. In non-blockwise Visual mode, "r" replaces all selected characters with the
  1911. typed one, like in blockwise Visual mode.
  1912.  
  1913. When editing the last file in the argument list in any way, allow exiting.
  1914. Previously this was only possible when getting to that file with ":next" or
  1915. ":last".
  1916.  
  1917. Added the '1' flag to 'formatoptions'. (Vit Stradal)
  1918. Added 'n' flag in 'formatoptions': format a numbered list.
  1919.  
  1920. Swap file:
  1921. - When a swap file already exists, and the user selects "Delete" at the
  1922.   ATTENTION prompt, use the same ".swp" swapfile, to avoid creating a ".swo"
  1923.   file which won't always be found.
  1924. - When giving the ATTENTION message and the date of the file is newer than the
  1925.   date of swap file, give a warning about this.
  1926. - Made the info for an existing swap file a bit shorter, so that it still fits
  1927.   on a 24 line screen.
  1928. - It was possible to make a symlink with the name of a swap file, linking to a
  1929.   file that doesn't exist.  Vim would then silently use another file (if open
  1930.   with O_EXCL refuses a symlink).  Now check for a symlink to exist.  Also do
  1931.   another check for an existing swap file just before creating it to catch a
  1932.   symlink attack.
  1933.  
  1934. The g CTRL-G command also works in Visual mode and counts the number of words.
  1935. (Chase Tingley)
  1936.  
  1937. Give an error message when using 'shell' and it's empty.
  1938.  
  1939. Added the possibility to include "%s" in 'shellpipe'.
  1940.  
  1941. Added "uhex" value for 'display': show non-printable characters as <xx>.
  1942. Show unprintable characters with NonText highlighting, also in the command
  1943. line.
  1944.  
  1945. When asked to display the value of a hidden option, tell it's not supported.
  1946.  
  1947. Win32:
  1948. - When dropping a shortcut on gvim (.lnk file) edit the target, not the
  1949.   shortcut itself.  (Yasuhiro Matsumoto)
  1950. - Added C versions of the OpenWithVim and SendToVim programs. (Walter Briscoe)
  1951. - When 'shell' is "cmd" or "cmd.exe", set 'shellredir' to redirect stderr too.
  1952.   Also check for the Unix shell names.
  1953. - When $HOMEDRIVE and $HOMEPATH are defined, use them to define $HOME.  (Craig
  1954.   Barkhouse)
  1955.  
  1956. Win32 console version:
  1957. - Includes the user and system name in the ":version" message, when available.
  1958.   It generates a pathdef.c file for this.  (Jon Miner)
  1959. - Set the window icon to Vim's icon (only for Windows 2000).  While executing
  1960.   a shell command, modify the window title to show this.  When exiting,
  1961.   restore the cursor position too.  (Craig Barkhouse)
  1962. - The Win32 console version can be compiled with OLE support.  It can only
  1963.   function as a client, not as an OLE server.
  1964.  
  1965. Errorformat:
  1966. - Let "%p" in 'errorformat' (column of error indicated by a row of characters)
  1967.   also accept a line of dots.
  1968. - Added "%v" item in 'errorformat': Virtual column number. (Dan Sharp)
  1969. - Added a default 'errorformat' value for VMS. (Jim Bush)
  1970.  
  1971. The "p" command can now be used in Visual mode.  It overwrites the selected
  1972. text with the contents of a register.
  1973.  
  1974. Highlight the <> items in the intro message to make clear they are special.
  1975.  
  1976. When using the "c" flag for ":substitute", allow typing "l" for replacing this
  1977. item and then stop: "last".
  1978.  
  1979. When printing a verbose message about sourcing another file, print the line
  1980. number.
  1981.  
  1982. When resizing the Vim window, don't use 'equalalways'.  Avoids that making the
  1983. Vim window smaller makes split windows bigger.  And it's what the docs say.
  1984.  
  1985. When typing CTRL-D in Insert mode, just after an autoindent, then hitting CR
  1986. kept the remaining white space.  Now made it work like BS: delete the
  1987. autoindent to avoid a blank non-empty line results.
  1988.  
  1989. Added a GetHwnd() call to the OLE interface.  (Vince Negri)
  1990.  
  1991. Made ":normal" work in an event handler.  Useful when dropping a file on Vim
  1992. and for CursorHold autocommands.
  1993.  
  1994. For the MS-Windows version, don't change to the directory of the file when a
  1995. slash is used instead of a backslash.  Explorer should always use a backslash,
  1996. the user can use a slash when typing the command.
  1997.  
  1998. Timestamps:
  1999. - When a buffer was changed outside of Vim and regaining focus, give a dialog
  2000.   to allow the user to reload the file.  Now also for other GUIs than
  2001.   MS-Windows.  And also used in the console, when compiled with dialog
  2002.   support.
  2003. - Inspect the file contents to find out if it really changed, ignore
  2004.   situations where only the time stamp changed (e.g., checking the file out
  2005.   from CVS).
  2006. - When checking the timestamp, first check if the file size changed, to avoid
  2007.   a file compare then.  Makes it quicker for large (log) files that are
  2008.   appended to.
  2009. - Don't give a warning for a changed or deleted file when 'buftype' is set.
  2010. - No longer warn for a changed directory.  This avoids that the file explorer
  2011.   produces warnings.
  2012. - Checking timestamps is only done for buffers that are not hidden.  These
  2013.   will be checked when they become unhidden.
  2014. - When checking for a file being changed outside of Vim, also check if the
  2015.   file permissions changed.  When the file contents didn't change but the
  2016.   permissions did, give a warning.
  2017. - Avoid checking too often, otherwise the dialog keeps popping up for a log
  2018.   file that steadily grows.
  2019.  
  2020. Mapping <M-A> when 'encoding' is "latin1" and then setting 'encoding' to
  2021. "utf-8" causes the first byte of a multi-byte to be mapped.  Can cause very
  2022. hard to find problems.  Disallow mapping part of a multi-byte character.
  2023.  
  2024. For ":python" and ":tcl" accept an in-line script. (Johannes Zellner)
  2025. Also for ":ruby" and ":perl". (Benoit Cerrina)
  2026.  
  2027. Made ":syn include" use 'runtimepath' when the file name is not a full path.
  2028.  
  2029. When 'switchbuf' contains "split" and the current window is empty, don't split
  2030. the window.
  2031.  
  2032. Unix: Catch SIGPWR to preserve files when the power is about to go down.
  2033.  
  2034. Sniff interface: (Anton Leherbauer)
  2035. - fixed windows code, esp. the event handling stuff
  2036. - adaptations for sniff 4.x ($SNIFF_DIR4)
  2037. - support for adding sniff requests at runtime
  2038.  
  2039. Support the notation <A-x> as an alias for <M-x>.  This logical, since the Alt
  2040. key is used.
  2041.  
  2042. ":find" accepts a count, which means that the count'th match in 'path' is
  2043. used.
  2044.  
  2045. ":ls" and ":buffers" output shows modified/readonly/modifiable flag.  When a
  2046. buffer is active show "a" instead of nothing.  When a buffer isn't loaded
  2047. show nothing instead of "-".
  2048.  
  2049. Unix install:
  2050. - When installing the tools, set absolute paths in tools scripts efm_perl.pl
  2051.   and mve.awk.  Avoids that the user has to edit these files.
  2052. - Install Icons for KDE when the directories exist and the icons do not exist
  2053.   yet.
  2054.  
  2055. Added has("win95"), to be able to distinguish between MS-Windows 95/98/ME and
  2056. NT/2000/XP in a Vim script.
  2057.  
  2058. When a ":cd" command was typed, echo the new current directory. (Dan Sharp)
  2059.  
  2060. When using ":winpos" before the GUI window has been opened, remember the
  2061. values until it is opened.
  2062.  
  2063. In the ":version" output, add "/dyn" for features that are dynamically loaded.
  2064. This indicates the feature may not always work.
  2065.  
  2066. On Windows NT it is possible that a directory is read-only, but a file can be
  2067. deleted.  When making a backup by renaming the file and 'backupdir' doesn't
  2068. use the current directory, this causes the original file to be deleted,
  2069. without the possibility to create a new file.  Give an extra error message
  2070. then to warn to user about this.
  2071.  
  2072. Made CTRL-R CTRL-O at the command line work like CTRL-R CTRL-R, so that it's
  2073. consistent with Insert mode.
  2074.  
  2075. ==============================================================================
  2076. COMPILE TIME CHANGES                    *compile-changes-6*
  2077.  
  2078. All generated files have been moved out of the "src" directory.  This makes it
  2079. easy to see which files are not edited by hand.  The files generated by
  2080. configure are now in the "src/auto" directory.  For Unix, compiled object
  2081. files go in the objects directory.
  2082.  
  2083. The source archive was over the 1.4M floppy limit.  The archives are now split
  2084. up into two runtime and two source archives.  Also provide a bzip2 compressed
  2085. archive that contains all the sources and runtime files.
  2086.  
  2087. Added "reconfig" as a target for make.  Useful when changing some of the
  2088. arguments that require flushing the cache, such as switching from GTK to
  2089. Motif.  Adjusted the meaning of GUI_INC_LOC and GUI_LIB_LOC to be consistent
  2090. over different GUIs.
  2091.  
  2092. Added src/README.txt to give an overview of the main parts of the source code.
  2093.  
  2094. The Unix Makefile now fully supports using $(DESTDIR) to install to a specific
  2095. location.  Replaces the manual setting of *ENDLOC variables.
  2096.  
  2097. Added the possibility for a maintainer of a binary version to include his
  2098. e-mail address with the --with-compiledby configure argument.
  2099.  
  2100. Included features are now grouped in "tiny", "small", "normal", "big" and
  2101. "huge".  This replaces "min-features" and "max-features".  Using "tiny"
  2102. disables multiple windows for a really small Vim.
  2103.  
  2104. For the tiny version or when FEAT_WINDOWS is not defined: Firstwin and lastwin
  2105. are equal to curwin and don't use w_next and w_prev.
  2106.  
  2107. Added the +listcmds feature.  Can be used to compile without the Vim commands
  2108. that manipulate the buffer list and argument list (the buffer list itself is
  2109. still there, can't do without it).
  2110.  
  2111. Added the +vreplace feature.  It is disabled in the "small" version to avoid
  2112. that the 16 bit DOS version runs out of memory.
  2113.  
  2114. Removed GTK+ support for versions older than 1.1.16.
  2115.  
  2116. The configure checks for using PTYs have been improved.  Code taken from a
  2117. recent version of screen.
  2118.  
  2119. Added configure options to install Vim, Ex and View under another name (e.g.,
  2120. vim6, ex6 and view6).
  2121.  
  2122. Added "--with-global-runtime" configure argument.  Allows specifying the
  2123. global directory used in the 'runtimepath' default.
  2124.  
  2125. Made enabling the SNiFF+ interface possible with a configure argument.
  2126.  
  2127. Configure now always checks /usr/local/lib for libraries and
  2128. /usr/local/include for include files.  Helps finding the stuff for iconv() and
  2129. gettext().
  2130.  
  2131. Moved the command line history stuff into the +cmdline_hist feature, to
  2132. exclude the command line history from the tiny version.
  2133.  
  2134. MS-Windows: Moved common functions from Win16 and Win32 to os_mswin.c.  Avoids
  2135. having to change two files for one problem.  (Vince Negri)
  2136.  
  2137. Moved common code from gui_w16.c and gui_w32.c to gui_w48.c (Vince Negri)
  2138.  
  2139. The jumplist is now a separate feature.  It is disabled for the "small"
  2140. version (16 bit MS-DOS).
  2141.  
  2142. Renamed all types ending in _t to end in _T.  Avoids potential problems with
  2143. system types.
  2144.  
  2145. Added a configure check for X11 header files that implicitly define the return
  2146. type to int. (Steve Wall)
  2147.  
  2148. "make doslang" in the top directory makes an archive with the menu and .mo
  2149. files for Windows.  This uses the files generated on Unix, these should work
  2150. on MS-Windows as well.
  2151.  
  2152. Merged a large part of os_vms.c with os_unix.c.  The code was duplicated in
  2153. the past which made maintenance more work.  (Zoltan Arpadffy)
  2154.  
  2155. Updated the Borland C version 5 Makefile: (Dan Sharp)
  2156. - Fixed the Perl build
  2157. - Added python and tcl builds
  2158. - Added dynamic perl and dynamic python builds
  2159. - Added uninstal.exe build
  2160. - Use "yes" and "no" for the options, like in Make_mvc.mak.
  2161.  
  2162. Win32: Merged Make_gvc.mak and Make_ovc.mak into one file: Make_ivc.mak.  It's
  2163. much smaller, many unnecessary text has been removed. (Walter Briscoe)
  2164. Added Make_dvc.mak to be able to debug exe generated with Make_mvc.mak in
  2165. MS-Devstudio. (Walter Briscoe)
  2166.  
  2167. MS-Windows: The big gvim.exe, which includes OLE, now also includes
  2168. dynamically loaded Tcl, Perl and Python.  This uses ActivePerl 5.6.1,
  2169. ActivePython 2.1.1 and ActiveTCL 8.3.3
  2170.  
  2171. Added AC_EXEEXT to configure.in, to check if the executable needs ".exe" for
  2172. Cygwin or MingW.  Renamed SUFFIX to EXEEXT in Makefile.
  2173.  
  2174. Win32: Load comdlg32.dll delayed for faster startup.  Only when using VC 6.
  2175. (Vipin Aravind)
  2176.  
  2177. Win32: When compiling with Borland, allow using IME. (Yasuhiro Matsumoto)
  2178.  
  2179. Win32: Added Makefile for Borland 5 to compile gvimext.dll. (Yasuhiro
  2180. Matsumoto)
  2181.  
  2182. ==============================================================================
  2183. BUG FIXES                        *bug-fixes-6*
  2184.  
  2185. When checking the command name for "gvim", "ex", etc. ignore case.  Required
  2186. for systems where case is ignored in command names.
  2187.  
  2188. Search pattern "[a-c-e]" also matched a 'd' and didn't match a '-'.
  2189.  
  2190. When double-clicking in another window, wasn't recognized as double click,
  2191. because topline is different.  Added set_mouse_topline().
  2192.  
  2193. The BROKEN_LOCALE check was broken.  (Marcin Dalecki)
  2194.  
  2195. When "t_Co" is set, the default colors remain the same, thus wrong.  Reset the
  2196. colors after changing "t_Co". (Steve Wall)
  2197.  
  2198. When exiting with ":wqall" the messages about writing files could overwrite
  2199. each other and be lost forever.
  2200.  
  2201. When starting Vim with an extremely long file name (around 1024 characters) it
  2202. would crash.  Added a few checks to avoid buffer overflows.
  2203.  
  2204. CTRL-E could get stuck in a file with very long lines.
  2205.  
  2206. ":au syntax<Tab>" expanded event names while it should expand groups starting
  2207. with "syntax".
  2208.  
  2209. When expanding a file name caused an error (e.g., for <amatch>) it was
  2210. produced even when inside an "if 0".
  2211.  
  2212. 'cindent' formatted C comments differently from what the 'comments' option
  2213. specified. (Steve Wall)
  2214.  
  2215. Default for 'grepprg' didn't include the file name when only grepping in one
  2216. file.  Now /dev/null has been added for Unix.
  2217.  
  2218. Opening the option window twice caused trouble.  Now the cursor goes to the
  2219. existing option window.
  2220.  
  2221. ":sview" and ":view" didn't set 'readonly' for an existing buffer.  Now do set
  2222. 'readonly', unless the buffer is also edited in another window.
  2223.  
  2224. GTK GUI: When 'guioptions' excluded 'g', the more prompt caused the toolbar
  2225. and menubar to disappear and resize the window (which clears the text).
  2226. Now always grey-out the toplevel menus to avoid that the menubar changes size
  2227. or disappears.
  2228.  
  2229. When re-using the current buffer for a new buffer, buffer-local variables were
  2230. not deleted.
  2231.  
  2232. GUI: when 'scrolloff' is 0 dragging the mouse above the window didn't cause a
  2233. down scroll.  Now pass on a mouse event with mouse_row set to -1.
  2234.  
  2235. Win32: Console version didn't work on telnet, because of switching between two
  2236. console screens.  Now use one console screen and save/restore the contents
  2237. when needed.  (Craig Barkhouse)
  2238.  
  2239. When reading a file the magic number for encryption was included in the file
  2240. length. (Antonio Colombo)
  2241.  
  2242. The quickfix window contained leading whitespace and NULs for multi-line
  2243. messages. (David Harrison)
  2244.  
  2245. When using cscope, redundant tags were removed.  This caused a numbering
  2246. problem, because they were all listed.  Don't remove redundant cscope tags.
  2247. (David Bustos).
  2248.  
  2249. Cscope: Test for which matches are in the current buffer sometimes failed,
  2250. causing a jump to another match than selected. (David Bustos)
  2251.  
  2252. Win32: Buffer overflow when adding a charset name in a font.
  2253.  
  2254. 'titlestring' and 'iconstring' were evaluating an expression in the current
  2255. context, which could be a user function, which is a problem for local
  2256. variables vs global variables.
  2257.  
  2258. Win32 GUI: Mapping <M-F> didn't work.  Now handle SHIFT and CTRL in
  2259. _OnSysChar().
  2260.  
  2261. Win32 GUI: (on no file), :vs<CR>:q<CR> left a trail of pixels down the middle.
  2262. Could also happen for the ruler.  screen_puts() didn't clear the right char in
  2263. ScreenLines[] for the bold trick.
  2264.  
  2265. Win32: ":%!sort|uniq" didn't work, because the input file name touches the
  2266. "|".  Insert a space before the "|".
  2267.  
  2268. OS/2: Expanding wildcards included non-existing files.  Caused ":runtime" to
  2269. fail, which caused syntax highlighting to fail.
  2270.  
  2271. Pasting a register containing CTRL-R on the command line could cause an
  2272. endless loop that can't be interrupted.  Now it can be stopped with CTRL-C.
  2273.  
  2274. When 'verbose' is set, a message for file read/write could overwrite the
  2275. previous message.
  2276. When 'verbose' is set, the header from ":select" was put after the last
  2277. message.  Now start a new line.
  2278.  
  2279. The hit-enter prompt reacted to the response of the t_RV string, causing
  2280. messages at startup to disappear.
  2281.  
  2282. When t_Co was set to 1, colors were still used.  Now only use color when t_Co
  2283. > 1.
  2284.  
  2285. Listing functions with ":function" didn't quit when 'q' or ':' was typed at
  2286. the more prompt.
  2287.  
  2288. Use mkstemp() instead of mktemp() when it's available, avoids a warning for
  2289. linking on FreeBSD.
  2290.  
  2291. When doing Insert mode completion it's possible that b_sfname is NULL.  Don't
  2292. give it to printf() for the "Scanning" message.
  2293.  
  2294. ":set runtimepath-=$VIMRUNTIME" didn't work, because expansion of wildcards
  2295. was done after trying to remove the string.  Now for ":set opt+=val" and ":set
  2296. opt-=val" the expansion of wildcards is done before adding or removing "val".
  2297.  
  2298. Using CTRL-V with the "r" command with a blockwise Visual selection inserted a
  2299. CTRL-V instead of getting a special character.
  2300.  
  2301. Unix: Changed the order of libraries: Put -lXdmcp after -lX11 and -lSM -lICE
  2302. after -lXdmcp.  Should fix link problem on HP-UX 10.20.
  2303.  
  2304. Don't remove the last "-lm" from the link line.  Vim may link but fail later
  2305. when the GUI starts.
  2306.  
  2307. When the shell returns with an error when trying to expand wildcards, do
  2308. include the pattern when the "EW_NOTFOUND" flag was set.
  2309. When expanding wildcards with the shell fails, give a clear error message
  2310. instead of just "1 returned".
  2311.  
  2312. Selecting a Visual block, with the start partly on a Tab, deleting it leaves
  2313. the cursor too far to the left.  Causes "s" to work in the wrong position.
  2314.  
  2315. Pound sign in normal.c caused trouble on some compilers.  Use 0xA3 instead.
  2316.  
  2317. Warning for changing a read-only file wasn't given when 'insertmode' was set.
  2318.  
  2319. Win32: When 'shellxquote' is set to a double quote (e.g., using csh), ":!start
  2320. notepad file" doesn't work.  Remove the double quotes added by 'shellxquote'
  2321. when using ":!start". (Pavol Juhas)
  2322.  
  2323. The "<f-args>" argument of ":command" didn't accept Tabs for white space.
  2324. Also, don't add an empty argument when there are trailing blanks.
  2325.  
  2326. ":e test\\je" edited "test\je", but ":next test\\je" edited "testje".
  2327. Backslashes were removed one time too many for ":next".
  2328.  
  2329. VMS: "gf" didn't work properly.  Use vms_fixfilename() to translate the file
  2330. name. (Zoltan Arpadffy)
  2331.  
  2332. After ":hi Normal ctermbg=black ctermfg=white" and suspending Vim not all
  2333. characters are redrawn with the right background.
  2334.  
  2335. When doing "make test" without +eval or +windows feature, many tests failed.
  2336. Now have test1 generate a script to copy the correct output, so that a test
  2337. that doesn't work is skipped.
  2338.  
  2339. On FreeBSD the Perl interface added "-lc" to the link command and Python added
  2340. "-pthread".  These two don't work together, because the libc_r library should
  2341. be used.  Removed "-lc" from Perl, it should not be needed.
  2342. Also: Add "-pthread" to $LIBS, so that the checks for functions is done with
  2343. libc_r.  Sigaltstack() appears to be missing from libc_r.
  2344.  
  2345. The Syntax sub-menus were getting too long, reorganized them and added another
  2346. level for some languages.
  2347.  
  2348. Visual block "r"eplace didn't work well when a Tab is partly included.
  2349. (Matthias Kramm)
  2350.  
  2351. When yanking a Visual block, where some lines end halfway the block, putting
  2352. the text somewhere else doesn't insert a block.  Padd with spaces for missing
  2353. characters.  Added "y_width" to struct yankreg. (Matthias Kramm)
  2354.  
  2355. If a substitute string has a multibyte character after a backslash only the
  2356. first byte of it was skipped. (Muraoka Taro)
  2357.  
  2358. Win32: Numeric keypad keys were missing from the builtin termcap entry.
  2359.  
  2360. When a file was read-only ":wa!" didn't force it to be written. (Vince Negri)
  2361.  
  2362. Amiga: A file name starting with a colon was considered absolute but it isn't.
  2363. Amiga: ":pwd" added a slash when in the root of a drive.
  2364.  
  2365. Don't let 'ttymouse' default to "dec" when compiled with dec mouse support.
  2366. It breaks the gpm mouse (Linux console).
  2367.  
  2368. The prototypes for the Perl interface didn't work for threaded Perl.  Added a
  2369. sed command to remove the prototypes from proto/if_perl.pro and added them
  2370. manually to if_perl.xs.
  2371.  
  2372. When ":w!" resets the 'readonly' option the title and status lines were not
  2373. updated.
  2374.  
  2375. ":args" showed the current file when the argument list was empty.  Made this
  2376. work like Vi: display nothing.
  2377.  
  2378. "99:<C-U>echo v:count" echoed "99" in Normal mode, but 0 in Visual mode.
  2379. Don't set v:count when executing a stuffed command.
  2380.  
  2381. Amiga: Got a requester for "home:" because it's in the default runtime path.
  2382. Don't bring up a requester when searching for a file in 'path', sourcing the
  2383. .vimrc file or using ":runtime".
  2384.  
  2385. Win16 and Win32: Considered a file "\path\file" absolute.  Can cause the same
  2386. file to appear as two different buffers.
  2387.  
  2388. Win32: Renaming a file to an empty string crashed Vim.  Happened when using
  2389. explorer.vim and hitting ESC at the rename prompt.
  2390.  
  2391. Win32: strftime() crashed when called with a "-1" value for the time.
  2392.  
  2393. Win32 with Borland compiler: mch_FullName() didn't work, caused tag file not
  2394. to be found.
  2395.  
  2396. Cscope sometimes jumped to the wrong tag. (David Bustos)
  2397.  
  2398. OS/2: Could not find the tags file.  mch_expand_wildcards() added another
  2399. slash to a directory name.
  2400.  
  2401. When using ">>" the `] mark was not in the last column.
  2402.  
  2403. When Vim was compiled without menu support, filetype.vim was still trying to
  2404. source the menu.vim script. (Rafael Garcia-Suarez)
  2405.  
  2406. ":ptag" added an item to the tag stack.
  2407.  
  2408. Win32 IME: "gr" didn't use IME mode.
  2409.  
  2410. In the "vim --help" message the term "options" was used for arguments.  That's
  2411. confusing, call them "arguments".
  2412.  
  2413. When there are two windows, and a BufUnload autocommand for closing window #1
  2414. closed window #2, Vim would crash.
  2415.  
  2416. When there is a preview window and only one other window, ":q" wouldn't exit.
  2417.  
  2418. In Insert mode, when cancelling a digraph with ESC, the '?' wasn't removed.
  2419.  
  2420. On Unix glob(".*") returned "." and "..", on Windows it didn't.  On Windows
  2421. glob("*") also returned files starting with a dot.  Made this work like Unix
  2422. on all systems.
  2423.  
  2424. Win32: Removed old code to open a console.  Vimrun is now used and works fine.
  2425.  
  2426. Compute the room needed by the intro message accurately, so that it also fits
  2427. on a 25 line console. (Craig Barkhouse)
  2428.  
  2429. ":ptnext" was broken.  Now remember the last tag used in the preview window
  2430. separately from the tagstack.
  2431.  
  2432. Didn't check for "-display" being the last argument. (Wichert Akkerman)
  2433.  
  2434. GTK GUI: When starting "gvim" under some conditions there would be an X error.
  2435. Don't replace the error handler when creating the xterm clipboard. (Wichert
  2436. Akkerman)
  2437.  
  2438. Adding a space after a help tag caused the tag not to be found.  E.g., ":he
  2439. autoindent ".
  2440.  
  2441. Was trying to expand a URL into a full path name.  On Windows this resulted in
  2442. the current directory to be prepended to the URL.  Added vim_isAbsName() and
  2443. vim_FullName() to avoid that various machine specific functions do it
  2444. differently.
  2445.  
  2446. ":n *.c" ":cd .." ":n" didn't use the original directory of the file.  Vi only
  2447. does it for the current file (looks like a bug).  Now remember the buffer used
  2448. for the entry in the argument list and use it's name (adjusted when doing
  2449. ":cd"), unless it's deleted.
  2450.  
  2451. When inserting a special key as its name ("<F8>" as four characters) after
  2452. moving around in Insert mode, undo didn't work properly.
  2453.  
  2454. Motif GUI: When using the right mouse button, for some people gvim freezed for
  2455. a couple of seconds (Motif 1.2?).  This doesn't happen when there is no Popup
  2456. menu.  Solved by only creating a popup menu when 'mousemodel' is "popup" or
  2457. "popup_setpos". (David Harrison)
  2458.  
  2459. Motif: When adding many menu items, the "Help" menu disappeared but the
  2460. menubar didn't wrap.  Now manually set the menubar height.
  2461.  
  2462. When using <BS> in Insert mode to remove a line break, or using "J" to join
  2463. lines, the cursor could end up halfway a multi-byte character. (Muraoka Taro)
  2464.  
  2465. Removed defining SVR4 in configure.  It causes problems for some X header
  2466. files and doesn't appear to be used anywhere.
  2467.  
  2468. When 'wildignore' is used, 'ignorecase' for a tag match was not working.
  2469.  
  2470. When 'wildignore' contains "*~" it was impossible to edit a file ending in a
  2471. "~".  Now don't recognize a file ending in "~" as containing wildcards.
  2472.  
  2473. Disabled the mouse code for OS/2.  It was not really used.
  2474.  
  2475. ":mksession" always used the full path name for a buffer, also when the short
  2476. name could be used.
  2477. ":mkvimrc" and ":mksession" didn't save 'wildchar' and 'pastetoggle' in such a
  2478. way that they would be restored.  Now use the key name if possible, this is
  2479. portable.
  2480.  
  2481. After recovering a file and abandoning it, an ":edit" command didn't give the
  2482. ATTENTION prompt again.  Would be useful to be able to delete the file in an
  2483. easy way.  Reset the BF_RECOVERED flag when unloading the buffer.
  2484.  
  2485. histdel() could match or ignore case, depending on what happened before it.
  2486. Now always match case.
  2487.  
  2488. When a window size was specified when splitting a window, it would still get
  2489. the size from 'winheight' or 'winwidth' if it's larger.
  2490.  
  2491. When using "append" or "insert" inside a function definition, a line starting
  2492. with "function" or "endfunction" caused confusion.  Now recognize the commands
  2493. and skip lines until a ".".
  2494.  
  2495. At the end of any function or sourced file need_wait_return could be reset,
  2496. causing messages to disappear when redrawing.
  2497.  
  2498. When in a while loop the line number for error messages stayed fixed.  Now the
  2499. line number is remembered in the while loop.
  2500.  
  2501. "cd c:/" didn't work on MS-DOS.  mch_isdir() removed a trailing slash.
  2502.  
  2503. MS-Windows: getftime() didn't work when a directory had a trailing slash or
  2504. backslash.  Didn't show the time in the explorer because of this.
  2505.  
  2506. When doing wildcard completion, a directory "a/" sorted after "a-b".  Now
  2507. recognize path separators when sorting files.
  2508.  
  2509. Non-Unix systems: When editing "c:/dir/../file" and "c:/file" they were
  2510. created as different buffers, although it's the same file.  Expand to a full
  2511. file name also when an absolute name contains "..".
  2512.  
  2513. "g&" didn't repeat the last substitute properly.
  2514.  
  2515. When 'clipboard' was set to "unnamed", a "Y" command would not write to "0.
  2516. Now make a copy of register 0 to the clipboard register.
  2517.  
  2518. When the search pattern matches in many ways, it could not always be
  2519. interrupted with a CTRL-C.  And CTRL-C would have to be hit once for every
  2520. line when 'hlsearch' is on.
  2521. When 'incsearch' is on and interrupting the search for a match, don't abandon
  2522. the command line.
  2523.  
  2524. When turning a directory name into a full path, e.g., with fnamemodify(),
  2525. sometimes a slash was added.  Make this consistent: Don't add a slash.
  2526.  
  2527. When a file name contains a "!", using it in a shell command will cause
  2528. trouble: ":!cat %".  Escape the "!" to avoid that.  Escape it another time
  2529. when 'shell' contains "sh".
  2530.  
  2531. Completing a file name that has a tail that starts with a "~" didn't work:
  2532. ":e view/~<Tab>".
  2533.  
  2534. Using a ":command" argument that contains < and > but not for a special
  2535. argument was not skipped properly.
  2536.  
  2537. The DOS install program: On Win2000 the check for a vim.exe or gvim.exe in
  2538. $PATH didn't work, it always found it in the current directory.
  2539. Rename the vim.exe in the current dir to avoid this. (Walter Briscoe)
  2540.  
  2541. In the MS-DOS/Windows install program, use %VIM% instead of an absolute path,
  2542. so that moving Vim requires only one change in the batch file.
  2543.  
  2544. Mac: mch_FullName() changed the "fname" argument and didn't always initialize
  2545. the buffer.
  2546.  
  2547. MS-DOS: mch_FullName() didn't fix forward/backward slashes in an absolute file
  2548. name.
  2549.  
  2550. "echo expand("%:p:h")" with an empty file name removed one directory name on
  2551. MS-DOS.  For Unix, when the file name is a directory, the directory name was
  2552. removed.  Now make it consistent: "%:p" adds a path separator for all systems,
  2553. but no path separator is added in other situations.
  2554.  
  2555. Unix: When checking for a CTRL-C (could happen any time) and there is an X
  2556. event (e.g., clipboard updated) and there is typeahead, Vim would hang until a
  2557. character was typed.
  2558.  
  2559. MS-DOS, MS-Windows and Amiga: expanding "$ENV/foo" when $ENV ends in a colon,
  2560. had the slash removed.
  2561.  
  2562. ":he \^=" gave an error for using \_.  ":he ^=" didn't find tag :set^=.  Even
  2563. "he :set^=" didn't find it.
  2564.  
  2565. A tags file name "D:/tags" was used as file "tags" in "D:".  That doesn't work
  2566. when the current path for D: isn't the root of the drive.
  2567.  
  2568. Removed calls to XtInitializeWidgetClass(), they shouldn't be necessary.
  2569.  
  2570. When using a dtterm or various other color terminals, and the Normal group has
  2571. been set to use a different background color, the background wouldn't always
  2572. be displayed with that color.  Added check for "ut" termcap entry: If it's
  2573. missing, clearing the screen won't give us the current background color.  Need
  2574. to draw each character instead.  Vim now also works when the "cl" (clear
  2575. screen) termcap entry is missing.
  2576.  
  2577. When repeating a "/" search command with a line offset, the "n" did use the
  2578. offset but didn't make the motion linewise.  Made "d/pat/+2" and "dn" do the
  2579. same.
  2580.  
  2581. Win32: Trying to use ":tearoff" for a menu that doesn't exist caused a crash.
  2582.  
  2583. OpenPTY() didn't work on Sequent.  Add a configure check for getpseudotty().
  2584.  
  2585. C-indenting: Indented a line starting with ")" with the matching "(", but not
  2586. a line starting with "x)" looks strange.  Also compute the indent for aligning
  2587. with items inside the () and use the lowest indent.
  2588.  
  2589. MS-DOS and Windows: ":n *.vim" also matched files ending in "~".
  2590. Moved mch_expandpath() from os_win16.c and os_msdos.c to misc1.c, they are
  2591. equal.
  2592.  
  2593. Macintosh: (Dany St-Amant)
  2594. - In Vi-compatible mode didn't read files with CR line separators.
  2595. - Fixed a bug in the handling of Activate/Deactivate Event
  2596. - Fixed a bug in gui_mch_dialog (using wrong pointer)
  2597.  
  2598. Multibyte GDK XIM: While composing a multibyte-word, if user presses a
  2599. mouse button, then the word is removed.  It should remain and composing end.
  2600. (Sung-Hyun Nam)
  2601.  
  2602. MS-DOS, MS-Windows and OS/2: When reading from stdin, automatic CR-LF
  2603. conversion by the C library got in the way of detecting a "dos" 'fileformat'.
  2604.  
  2605. When 'smartcase' is set, patterns with "\S" would also make 'ignorecase'
  2606. reset.
  2607.  
  2608. When clicking the mouse in a column larger than 222, it moved to the first
  2609. column.  Can't encode a larger number in a character.  Now limit the number to
  2610. 222, don't jump back to the first column.
  2611.  
  2612. GUI: In some versions CSI would cause trouble, either when typed directly or
  2613. when part of a multi-byte sequence.
  2614.  
  2615. When using multibyte characters in a ":normal" command, a trailing byte that
  2616. is CSI or K_SPECIAL caused problems.
  2617.  
  2618. Wildmenu didn't handle multi-byte characters.
  2619.  
  2620. ":sleep 10" could not be interrupted on Windows, while "gs" could.  Made them
  2621. both work the same.
  2622.  
  2623. Unix: When waiting for a character is interrupted by an X-windows event (e.g.,
  2624. to obtain the contents of the selection), the wait time would not be honored.
  2625. A message could be overwritten quickly.  Now compute the remaining waiting
  2626. time.
  2627.  
  2628. Windows: Completing "\\share\c$\S" inserted a backslash before the $ and then
  2629. the name is invalid.  Don't insert the backslash.
  2630.  
  2631. When doing an auto-write before ":make", IObuff was overwritten and the wrong
  2632. text displayed later.
  2633.  
  2634. On the Mac the directories "c:/tmp" and "c:/temp" were used in the defaults
  2635. for 'backupdir' and 'directory, they don't exist.
  2636.  
  2637. The check for a new file not to be on an MS-DOS filesystem created the file
  2638. temporarily, which can be slow.  Don't do this if there is another check for
  2639. the swap file being on an MS-DOS filesystem.
  2640.  
  2641. Don't give the "Changing a readonly file" warning when reading from stdin.
  2642.  
  2643. When using the "Save As" menu entry and not entering a file name, would get an
  2644. error message for the trailing ":edit #".  Now only do that when the
  2645. alternate file name was changed.
  2646.  
  2647. When Vim owns the X11 selection and is being suspended, an application that
  2648. tries to use the selection hangs.  When Vim continues it could no longer
  2649. obtain the selection.  Now give up the selection when suspending.
  2650.  
  2651. option.h and globals.h were included in some files, while they were already
  2652. included in vim.h.  Moved the definition of EXTERN to vim.h to avoid doing it
  2653. twice.
  2654.  
  2655. When repeating an operator that used a search pattern and the search pattern
  2656. contained characters that have a special meaning on the cmdline (e.g., CTRL-U)
  2657. it didn't work.
  2658.  
  2659. Fixed various problems with using K_SPECIAL (0x80) and CSI (0x9b) as a byte in
  2660. a (multibyte) character.  For example, the "r" command could not be repeated.
  2661.  
  2662. The DOS/Windows install program didn't always work from a directory with a
  2663. long filename, because $VIM and the executable name would not have the same
  2664. path.
  2665.  
  2666. Multi-byte:
  2667. - Using an any-but character range [^x] in a regexp didn't work for UTF-8.
  2668.   (Muraoka Taro)
  2669. - When backspacing over inserted characters in Replace mode multi-byte
  2670.   characters were not handled correctly. (Muraoka Taro)
  2671. - Search commands "#" and "*" didn't work with multibyte characters. (Muraoka
  2672.   Taro)
  2673. - Word completion in Insert mode didn't work with multibyte characters.
  2674.   (Muraoka Taro)
  2675. - Athena/Motif GUI: when 'linespace' is non-zero the cursor would be drawn too
  2676.   wide (number of bytes instead of cell width).
  2677. - When changing 'encoding' to "euc-jp" and inserting a character Vim would
  2678.   crash.
  2679. - For euc-jp characters positioning the cursor would sometimes be wrong.
  2680.   Also, with two characters with 0x8e leading byte only the first one would be
  2681.   displayed.
  2682. - When using DYNAMIC_ICONV on Win32 conversion might fail because of using the
  2683.   wrong error number. (Muraoka Taro)
  2684. - Using Alt-x in the GUI while 'encoding' was set to "utf-8" didn't produce
  2685.   the right character.
  2686. - When using Visual block selection and only the left halve of a double-wide
  2687.   character is selected, the highlighting continued to the end of the line.
  2688. - Visual-block delete didn't work properly when deleting the right halve of a
  2689.   double-wide character.
  2690. - Overstrike mode for the cmdline replaced only the first byte of a multibyte
  2691.   character.
  2692. - The cursor in Replace mode (also in the cmdline) was to small on a
  2693.   double-wide character.
  2694. - When a multibyte character contained a 0x80 byte, it didn't work (was using
  2695.   a CSI byte instead). (Muraoka Taro)
  2696. - Wordwise selection with the mouse didn't work.
  2697. - Yanking a modeless selection of multi-byte characters didn't work.
  2698. - When 'selection' is "exclusive", selecting a word that ends in a multi-byte
  2699.   character used wrong highlighting for the following character.
  2700.  
  2701. Win32 with Make_mvc.mak: Didn't compile for debugging. (Craig Barkhouse)
  2702.  
  2703. Win32 GUI: When "vimrun.exe" is used to execute an external command, don't
  2704. give a message box with the return value, it was already printed by vimrun.
  2705. Also avoid printing the return value of the shell when ":silent!" is used.
  2706.  
  2707. Win32: selecting a lot of text and using the "find/replace" dialog caused a
  2708. crash.
  2709.  
  2710. X11 GUI: When typing a character with the 8th bit set and the Meta/Alt
  2711. modifier, the modifier was removed without changing the character.
  2712.  
  2713. Truncating a message to make it fit on the command line, using "..." for the
  2714. middle, didn't always compute the space correctly.
  2715.  
  2716. Could not imap <C-@>.  Now it works like <Nul>.
  2717.  
  2718. VMS:
  2719. - Fixed a few things for VAXC.  os_vms_fix.com had some strange CTRL-M
  2720.   characters. (Zoltan Arpadffy and John W. Hamill)
  2721. - Added VMS-specific defaults for the 'isfname' and 'isprint' options.
  2722.   (Zoltan Arpadffy)
  2723. - Removed os_vms_osdef.h, it's no longer used.
  2724.  
  2725. The gzip plugin used a ":normal" command, this doesn't work when dropping a
  2726. compressed file on Vim.
  2727.  
  2728. In very rare situations a binary search for a tag would fail, because an
  2729. uninitialized value happens to be half the size of the tag file. (Narendran)
  2730.  
  2731. When using BufEnter and BufLeave autocommands to enable/disable a menu, it
  2732. wasn't updated right away.
  2733.  
  2734. When doing a replace with the "c"onfirm flag, the cursor was positioned after
  2735. the ruler, instead of after the question.  With a long replacement string the
  2736. screen could scroll up and cause a "more" prompt.  Now the message is
  2737. truncated to make it fit.
  2738.  
  2739. Motif: The autoconf check for the Xp library didn't work.
  2740.  
  2741. When 'verbose' is set to list lines of a sourced file, defining a function
  2742. would reset the counter used for the "more" prompt.
  2743.  
  2744. In the Win32 find/replace dialog, a '/' character caused problems.  Escape it
  2745. with a backslash.
  2746.  
  2747. Starting a shell with ":sh" was different from starting a shell for CTRL-Z
  2748. when suspending doesn't work.  They now work the same way.
  2749.  
  2750. Jumping to a file mark while in a changed buffer gave a "mark not set" error.
  2751.  
  2752. ":execute histget("cmd")" causes an endless loop and crashed Vim.  Now catch
  2753. all commands that cause too much recursiveness.
  2754.  
  2755. Removed "Failed to open input method" error message, too many people got this
  2756. when they didn't want to use a XIM.
  2757.  
  2758. GUI: When compiled without the +windows feature, the scrollbar would start
  2759. below line one.
  2760.  
  2761. Removed the trick with redefining character class functions from regexp.c.
  2762.  
  2763. Win32 GUI: Find dialog gives focus back to main window, when typing a
  2764. character mouse pointer is blanked, it didn't reappear when moving it in the
  2765. dialog window. (Vince Negri)
  2766.  
  2767. When recording and typing a CTRL-C, no character was recorded.  When in Insert
  2768. mode or cancelling half a command, playing back the recorded sequence wouldn't
  2769. work.  Now record the CTRL-C.
  2770.  
  2771. When the GUI was started, mouse codes for DEC and netterm were still checked
  2772. for.
  2773.  
  2774. GUI: When scrolling and 'writedelay' is non-zero, the character under the
  2775. cursor was displayed in the wrong position (one line above/below with
  2776. CTRL-E/CTRL-Y).
  2777.  
  2778. A ":normal" command would reset the 'scrollbind' info.  Causes problems when
  2779. using a ":normal" command in an autocommand for opening a file.
  2780.  
  2781. Windows GUI: a point size with a dot, like "7.5", wasn't recognized. (Muraoka
  2782. Taro)
  2783.  
  2784. When 'scrollbind' wasn't set would still remember the current position,
  2785. wasting time.
  2786.  
  2787. GTK: Crash when 'shell' doesn't exist and doing":!ls".  Use _exit() instead of
  2788. exit() when the child couldn't execute the shell.
  2789.  
  2790. Multi-byte:
  2791. - GUI with double-byte encoding: a mouse click in left halve of double-wide
  2792.   character put the cursor in previous char.
  2793. - Using double-byte encoding and 'selection' is "exclusive": "vey" and "^Vey"
  2794.   included the character after the word.
  2795. - When using a double-byte encoding and there is a lead byte at the end of the
  2796.   line, the preceding line would be displayed.  "ga" also showed wrong info.
  2797. - "gf" didn't include multi-byte characters before the cursor properly.
  2798.   (Muraoka Taro)
  2799.  
  2800. GUI: The cursor was sometimes not removed when scrolling.  Changed the policy
  2801. from redrawing the cursor after each call to gui_write() to only update it at
  2802. the end of update_screen() or when setting the cursor position.  Also only
  2803. update the scrollbars at the end of update_screen(), that's the only place
  2804. where the window text may have been scrolled.
  2805.  
  2806. Formatting "/*<Tab>long text", produced "* <Tab>" in the next line.  Now
  2807. remove the space before the Tab.
  2808. Formatting "/*<Tab>  long text", produced "* <Tab> long text" in the next
  2809. line.  Now keep the space after the Tab.
  2810.  
  2811. In some places non-ASCII alphabetical characters were accepted, which could
  2812. cause problems.  For example, ":X" (X being such a character).
  2813.  
  2814. When a pattern matches the end of the line, the last character in the line was
  2815. highlighted for 'hlsearch'.  That looks wrong for "/\%3c".  Now highlight the
  2816. character just after the line.
  2817.  
  2818. Motif: If a dialog was closed by clicking on the "X" of the window frame Vim
  2819. would no longer respond.
  2820.  
  2821. When using CTRL-X or CTRL-A on a number with many leading zeros, Vim would
  2822. crash. (Matsumoto)
  2823.  
  2824. When 'insertmode' is set, the mapping in mswin.vim for CTRL-V didn't work in
  2825. Select mode.  Insert mode wasn't restarted after overwriting the text.
  2826. Now allow nesting Insert mode with insert and change commands.  CTRL-O
  2827. cwfoo<Esc> now also works.
  2828.  
  2829. Clicking with the right mouse button in another window started Visual mode,
  2830. but used the start position of the current window.  Caused ml_get errors when
  2831. the line number was invalid.  Now stay in the same window.
  2832.  
  2833. When 'selection' is "exclusive", "gv" sometimes selected one character fewer.
  2834.  
  2835. When 'comments' contains more than one start/middle/end triplet, the optional
  2836. flags could be mixed up.  Also didn't align the end with the middle part.
  2837.  
  2838. Double-right-click in Visual mode didn't update the shown mode.
  2839.  
  2840. When the Normal group has a font name, it was never used when starting up.
  2841. Now use it when 'guifont' and 'guifontset' are empty.
  2842. Setting a font name to a highlight group before the GUI was started didn't
  2843. work.
  2844.  
  2845. "make test" didn't use the name of the generated Vim executable.
  2846.  
  2847. 'cindent' problems:
  2848. - Aligned with an "else" inside a do-while loop for a line below that loop.
  2849.   (Meikel Brandmeyer)
  2850. - A line before a function would be indented even when terminated with a
  2851.   semicolon. (Meikel Brandmeyer)
  2852. - 'cindent' gave too much indent to a line after a "};" that ends an array
  2853.   init.
  2854. - Support declaration lines ending in "," and "\".  (Meikel Brandmeyer)
  2855. - A case statement inside a do-while loop was used for indenting a line after
  2856.   the do-while loop. (Meikel Brandmeyer)
  2857. - When skipping a string in a line with one double quote it could continue in
  2858.   the previous line. (Meikel Brandmeyer)
  2859.  
  2860. When 'list' is set, 'hlsearch' didn't highlight a match at the end of the
  2861. line.  Now highlight the '$'.
  2862.  
  2863. The Paste menu item in the menu bar, the popup menu and the toolbar were all
  2864. different.  Now made them all equal to how it was done in mswin.vim.
  2865.  
  2866. st_dev can be smaller than "unsigned".  The compiler may give an overflow
  2867. warning.  Added a configure check for dev_t.
  2868.  
  2869. Athena: closing a confirm() dialog killed Vim.
  2870.  
  2871. Various typos in the documentation. (Matt Dunford)
  2872.  
  2873. Python interface: The definition of _DEBUG could cause trouble, undefine it.
  2874. The error message for not being able to load the shared library wasn't
  2875. translated.  (Muraoka Taro)
  2876.  
  2877. Mac: (Dany St-Amant and Axel Kielhorn)
  2878. - Several fixes.
  2879. - Vim was eating 80% of the CPU time.
  2880. - The project os_mac.pbxproj didn't work,  Moved it to a subdirectory.
  2881. - Made the menu priority work for the menubar.
  2882. - Fixed a problem with dragging the scrollbar.
  2883. - Cleaned up the various #ifdefs.
  2884.  
  2885. Unix: When catching a deadly signal and we keep getting one use _exit() to
  2886. exit in a quick and dirty way.
  2887.  
  2888. Athena menu ordering didn't work correctly. (David Harrison)
  2889.  
  2890. A ":make" or ":grep" command with a long argument could cause a crash.
  2891.  
  2892. Doing ":new file" and using "Quit" for the ATTENTION dialog still opened a new
  2893. window.
  2894.  
  2895. GTK: When starting the GUI and there is an error in the .vimrc file, don't
  2896. present the wait-return prompt, since the message was given in the terminal.
  2897.  
  2898. When there was an error in a .vimrc file the terminal where gvim was started
  2899. could be cleared.  Set msg_row in main.c before writing any messages.
  2900.  
  2901. GTK and X11 GUI: When trying to read characters from the user (e.g. with
  2902. input()) before the Vim window was opened caused Vim to hang when it was
  2903. started from the desktop.
  2904.  
  2905. OS/390 uses 31 bit pointers.  That broke some computations with MAX_COL.
  2906. Reduce MAX_COL by one bit for OS/390. (Ralf Schandl)
  2907.  
  2908. When defining a function and it already exists, Vim didn't say it existed
  2909. until after typing it.  Now do this right away when typing it.
  2910.  
  2911. The message remembered for displaying later (keep_msg) was sometimes pointing
  2912. into a generic buffer, which might be changed by the time the message is
  2913. displayed.  Now make a copy of the message.
  2914.  
  2915. When using multi-byte characters in a menu and a trailing byte is a backslash,
  2916. the menu would not be created correctly.  (Muraoka Taro)
  2917. Using a multibyte character in the substitute string where a trail byte is a
  2918. backslash didn't work.  (Muraoka Taro)
  2919.  
  2920. When setting "t_Co" in a vimrc file, then setting it automatically from an
  2921. xterm termresponse and then setting it again manually caused a crash.
  2922.  
  2923. When getting the value of a string option that is not supported, the number
  2924. zero was returned.  This breaks a check like "&enc == "asdf".  Now an empty
  2925. string is returned for string options.
  2926.  
  2927. Crashed when starting the GTK GUI while using 'notitle' in the vimrc, setting
  2928. 'title' in the gvimrc and starting the GUI with ":gui".  Closed the connection
  2929. to the X server accidentally.
  2930.  
  2931. Had to hit return after selecting an entry for ":ts".
  2932.  
  2933. The message from ":cn" message was sometimes cleared.  Now display it after
  2934. redrawing if it doesn't cause a scroll (truncated when necessary).
  2935.  
  2936. hangulin.c didn't compile when the GUI was disabled.  Disable it when it won't
  2937. work.
  2938.  
  2939. When setting a termcap option like "t_CO", the value could be displayed as
  2940. being for a normal key with a modifier, like "<M-=>".
  2941.  
  2942. When expanding the argument list, entries which are a directory name did not
  2943. get included.  This stopped "vim c:/" from opening the file explorer.
  2944.  
  2945. ":syn match sd "^" nextgroup=asdf" skipped the first column and matched the
  2946. nextgroup in the second column.
  2947.  
  2948. GUI: When 'lazyredraw' is set, 'showmatch' didn't work.  Required flushing
  2949. the output.
  2950.  
  2951. Don't define the <NetMouse> termcode in an xterm, reduces the problem when
  2952. someone types <Esc> } in Insert mode.
  2953.  
  2954. Made slash_adjust() work correctly for multi-byte characters. (Yasuhiro
  2955. Matsumoto)
  2956. Using a filename in Big5 encoding for autocommands didn't work (backslash in
  2957. trailbyte).  (Yasuhiro Matsumoto)
  2958.  
  2959. DOS and Windows: Expanding *.vim also matched file.vimfoo.  Expand path like
  2960. Unix to avoid problems with Windows dir functions.  Merged the DOS and Win32
  2961. functions.
  2962.  
  2963. Win32: Gvimext could not edit more than a few files at once, the length of the
  2964. argument was fixed.
  2965.  
  2966. "ls -1 * | xargs vim" worked, but the input was in cooked mode.  Now switch to
  2967. raw mode when needed.  Use dup() to copy the stderr file descriptor to stdin
  2968. to make shell commands work.  No longer requires an external program to do
  2969. this.
  2970.  
  2971. When using ":filetype off", ftplugin and indent usage would be switched off at
  2972. the same time.  Don't do this, setting 'filetype' manually can still use them.
  2973.  
  2974. GUI: When writing a double-byte character, it could be split up in two calls
  2975. to gui_write(), which doesn't work.  Now flush before the output buffer
  2976. becomes full.
  2977.  
  2978. When 'laststatus' is set and 'cmdheight' is two or bigger, the intro message
  2979. would be written over the status line.
  2980. The ":intro" command didn't work when there wasn't enough room.
  2981.  
  2982. Configuring for Ruby failed with a recent version of Ruby. (Akinori Musha)
  2983.  
  2984. Athena: When deleting the directory in which Vim was started, using the file
  2985. browser made Vim exit.  Removed the use of XtAppError().
  2986.  
  2987. When using autoconf 2.50, UNIX was not defined.  Moved the comment for "#undef
  2988. UNIX" to a separate line.
  2989.  
  2990. Win32: Disabled _OnWindowPosChanging() to make maximize work better.
  2991.  
  2992. Win32: Compiling with VC 4.0 didn't work. (Walter Briscoe)
  2993.  
  2994. Athena:
  2995. - Finally fixed the problems with deleting a menu. (David Harrison)
  2996. - Athena: When closing the confirm() dialog, worked like OK was pressed,
  2997.   instead of Cancel.
  2998.  
  2999. The file explorer didn't work in compatible mode, because of line
  3000. continuation.
  3001.  
  3002. Didn't give an error message for ":digraph a".
  3003.  
  3004. When using Ex mode in the GUI and typing a special key, <BS> didn't delete it
  3005. correctly.  Now display '?' for a special key.
  3006.  
  3007. When an operator is pending, clicking in another window made it apply to that
  3008. window, even though the line numbers could be beyond the end of the buffer.
  3009.  
  3010. When a function call doesn't have a terminating ")" Vim could crash.
  3011.  
  3012. Perl interface: could crash on exit with perl 5.6.1. (Anduin Withers)
  3013.  
  3014. Using %P in 'errorformat' wasn't handled correctly. (Tomas Zellerin)
  3015.  
  3016. Using a syntax cluster that includes itself made Vim crash.
  3017.  
  3018. GUI: With 'ls' set to 2, dragging the status line all the way up, then making
  3019. the Vim window smaller: Could not the drag status line anymore.
  3020.  
  3021. "vim -c startinsert! file" placed cursor on last char of a line, instead of
  3022. after it.  A ":set" command in the buffer menu set w_set_curswant.  Now don't
  3023. do this when w_curswant is MAXCOL.
  3024.  
  3025. Win32: When the gvim window was maximized and selecting another font, the
  3026. window would no longer fill the screen.
  3027.  
  3028. The line with 'pastetoggle' in ":options" didn't show the right value when it
  3029. is a special key.  Hitting <CR> didn't work either.
  3030.  
  3031. Formatting text, resulting in a % landing in the first line, repeated the % in
  3032. the following lines, like it's the start of a comment.
  3033.  
  3034. GTK: When adding a toolbar item while gvim is already running, it wasn't
  3035. possible to use the tooltip.  Now it works by adding the tooltip first.
  3036.  
  3037. The output of "g CTRL-G" mentioned "Char" but it's actually bytes.
  3038.  
  3039. Searching for the end of a oneline region didn't work correctly when there is
  3040. an offset for the highlighting.
  3041.  
  3042. Syntax highlighting: When synchronizing on C-comments, //*/ was seen as the
  3043. start of a comment.
  3044.  
  3045. Win32: Without scrollbars present, the MS mouse scroll wheel didn't work.
  3046. Also handle the scrollbars when they are not visible.
  3047.  
  3048. Motif: When there is no right scrollbar, the bottom scrollbar would still
  3049. leave room for it.  (Martin Dalecki)
  3050.  
  3051. When changing 'guicursor' and the value is invalid, some of the effects would
  3052. still take place.  Now first check for errors and only make the new value
  3053. effective when it's OK.
  3054.  
  3055. Using "A" In Visual block mode, appending to lines that don't extend into the
  3056. block, padding was wrong.
  3057.  
  3058. When pasting a block of text, a character that occupies more than one screen
  3059. column could be deleted and spaces inserted instead.  Now only do that with a
  3060. tab.
  3061.  
  3062. Fixed conversion of documentation to HTML using Perl. (Dan Sharp)
  3063.  
  3064. Give an error message when a menu name starts with a dot.
  3065.  
  3066. Avoid a hang when executing a shell from the GUI on HP-UX by pushing "ptem"
  3067. even when sys/ptem.h isn't present.
  3068.  
  3069. When creating the temp directory, make sure umask is 077, otherwise the
  3070. directory is not accessible when it was set to 0177.
  3071.  
  3072. Unix: When resizing the window and a redraw is a bit slow, could get a window
  3073. resize event while redrawing, resulting in a messed up window.  Any input
  3074. (e.g., a mouse click) would redraw.
  3075.  
  3076. The "%B" item in the status line became zero in Insert mode (that's normal)
  3077. for another than the current window.
  3078.  
  3079. The menu entries to convert to xxd and back didn't work in Insert mode.
  3080.  
  3081. When ":vglobal" didn't find a line where the pattern doesn't match, the error
  3082. message would be the wrong way around.
  3083.  
  3084. When ignoring a multi-line error message with "%-A", the continuation lines
  3085. would be used anyway. (Servatius Brandt)
  3086.  
  3087. "grx" on a double-wide character inserted "x", instead of replacing the
  3088. character with "x ".  "gR" on <xx> ('display' set the "uhex") didn't replace
  3089. at all.  When doing "gRxx" on a control character the first "x" would be
  3090. inserted, breaking the alignment.
  3091.  
  3092. Added "0)" to 'cinkeys', so that when typing a ) it is put in the same place
  3093. as where "==" would put it.
  3094.  
  3095. Win32: When maximized, adding/removing toolbar didn't resize the text area.
  3096.  
  3097. When using <C-RightMouse> a count was discarded.
  3098.  
  3099. When typing CTRL-V and <RightMouse> in the command line, would insert
  3100. <LeftMouse>.
  3101.  
  3102. Using "vis" or "vas" when 'selection' is exclusive didn't include the last
  3103. character.
  3104.  
  3105. When adding to an option like 'grepprg', leading space would be lost.  Don't
  3106. expand environment variables when there is no comma separating the items.
  3107.  
  3108. GUI: When using a bold-italic font, would still use the bold trick and
  3109. underlining.
  3110.  
  3111. Motif: The default button didn't work in dialogs, the first one was always
  3112. used.  Had to give input focus to the default button.
  3113.  
  3114. When using CTRL-T to jump within the same file, the '' mark wasn't set.
  3115.  
  3116. Undo wasn't Vi compatible when using the 'c' flag for ":s".  Now it undoes the
  3117. whole ":s" command instead of each confirmed replacement.
  3118.  
  3119. The Buffers menu, when torn-off, disappeared when being refreshed.  Add a
  3120. dummy item to avoid this.
  3121.  
  3122. Removed calling msg_start() in main(), it should not be needed.
  3123.  
  3124. vim_strpbrk() did not support multibyte characters. (Muraoka Taro)
  3125.  
  3126. The Amiga version didn't compile, the code was too big for relative jumps.
  3127. Moved a few files from ex_docmd.c to ex_cmds2.c
  3128.  
  3129. When evaluating the "= register resulted in the "= register being changed, Vim
  3130. would crash.
  3131.  
  3132. When doing ":view file" and it fails, the current buffer was made read-only.
  3133.  
  3134. Motif: For some people the separators in the toolbar disappeared when resizing
  3135. the Vim window. (Martin Dalecki)
  3136.  
  3137. Win32 GUI: when setting 'lines' to a huge number, would not compute the
  3138. available space correctly.  Was counting the menu height twice.
  3139.  
  3140. Conversion of the docs to HTML didn't handle the line with the +quickfix tag
  3141. correctly. (Antonio Colombo)
  3142.  
  3143. Win32: fname_case() didn't handle multi-byte characters correctly. (Yasuhiro
  3144. Matsumoto)
  3145.  
  3146. The Cygwin version had trouble with fchdir().  Don't use that function for
  3147. Cygwin.
  3148.  
  3149. The generic check in scripts.vim for "conf" syntax was done before some checks
  3150. in filetype.vim, resulting in "conf" syntax too often.
  3151.  
  3152. Dos32: Typing lagged behind.  Would wait for one biostick when checking if a
  3153. character is available.
  3154.  
  3155. GTK: When setting 'columns' while starting up "gvim", would set the width of
  3156. the terminal it was started in.
  3157.  
  3158. When using ESC in Insert mode, an autoindent that wraps to the next line
  3159. caused the cursor to move to the end of the line temporarily.  When the
  3160. character before the cursor was a double-wide multi-byte character the cursor
  3161. would be on the right halve, which causes problems with some terminals.
  3162.  
  3163. Didn't handle multi-byte characters correctly when expanding a file name.
  3164. (Yasuhiro Matsumoto)
  3165.  
  3166. Win32 GUI: Errors generated before the GUI is decided to start were not
  3167. reported.
  3168.  
  3169. globpath() didn't reserve enough room for concatenated results. (Anduin
  3170. Withers)
  3171.  
  3172. When expanding an option that is very long already, don't do the expansion, it
  3173. would be truncated to MAXPATHL. (Anduin Withers)
  3174.  
  3175. When 'selection' is "exclusive", using "Fx" in Visual mode only moved until
  3176. just after the character.
  3177.  
  3178. When using IME on the console to enter a file name, the screen may scroll up.
  3179. Redraw the screen then. (Yasuhiro Matsumoto)
  3180.  
  3181. Motif: In the find/replace dialog the "Replace" button didn't work first time,
  3182. second time it replaced all matches.  Removed the use of ":s///c".
  3183. GTK: Similar problems with the find/replace dialog, moved the code to a common
  3184. function.
  3185.  
  3186. X11: Use shared GC's for text. (Martin Dalecki)
  3187.  
  3188. "]i" found the match under the cursor, instead of the first one below it.
  3189. Same for "]I", "] CTRL-I", "]d", "]D" and "] CTRL-D".
  3190.  
  3191. Win16: When maximized and the font is changed, don't change the window size.
  3192. (Vince Negri)
  3193.  
  3194. When 'lbr' is set, deleting a block of text could leave the cursor in the
  3195. wrong position.
  3196.  
  3197. Win32: When opening a file with the "Edit with Vim" popup menu entry,
  3198. wildcards would cause trouble.  Added the "--literal" argument to avoid
  3199. expanding file names.
  3200.  
  3201. When using "gv", it didn't restore that "$" was used in Visual block mode.
  3202.  
  3203. Win32 GUI: While waiting for a shell command to finish, the window wasn't
  3204. redrawn at all. (Yasuhiro Matsumoto)
  3205.  
  3206. Syntax highlighting: A match that continues on a next line because of a
  3207. contained region didn't end when that region ended.
  3208.  
  3209. The ":s" command didn't allow flags like 'e' and 'i' right after it.
  3210.  
  3211. When using ":s" to split a line, marks were moved to the next line.  Vi keeps
  3212. them in the first line.
  3213.  
  3214. When using ":n" ":rew", the previous context mark was at the top of the file,
  3215. while Vi puts it in the same place as the cursor.  Made it Vi compatible.
  3216.  
  3217. Fixed Vi incompatibility: Text was not put in register 1 when using "c" and
  3218. "d" with a motion character, when deleting within one line with one of the
  3219. commands: % ( ) `<character> / ? N n { }
  3220.  
  3221. Win32 GUI: The tooltip for tear-off items remained when the tear-off item was
  3222. no longer selected.
  3223.  
  3224. GUI: When typing ":" at the more prompt, would return to Normal mode and not
  3225. redraw the screen.
  3226.  
  3227. When starting Vim with an argument "-c g/at/p" the printed lines would
  3228. overwrite each other.
  3229.  
  3230. BeOS: Didn't compile.  Configure didn't add the os_beos files, the QNX check
  3231. removed them.  Various changes to os_beos.cc. (Joshua Haberman)
  3232. Removed the check for the hardware platform, the BeBox has not been produced
  3233. for a long time now.
  3234.  
  3235. Win32 GUI: don't use a message box when the shell returns an error code,
  3236. display the message in the Vim window.
  3237.  
  3238. Make_mvc.mak always included "/debug" for linking.  "GUI=no" argument didn't
  3239. work.  Use "DEBUG=yes" instead of "DEBUG=1" to make it consistent. (Dan Sharp)
  3240.  
  3241. When a line in the tags file ended in ;" (no TAB following) the command would
  3242. not be recognized as a search command.
  3243.  
  3244. X11: The inputMethod resource never worked.  Don't use the "none" input method
  3245. for SGI, it apparently makes the first character in Input method dropped.
  3246.  
  3247. Fixed incorrect tests in os_mac.h. (Axel Kielhorn)
  3248.  
  3249. Win32 console: When the console where Vim runs in is closed, Vim could hang in
  3250. trying to restore the window icon. (Yasuhiro Matsumoto)
  3251.  
  3252. When using ":3call func()" or ":3,3call func() the line number was ignored.
  3253.  
  3254. When 'showbreak' and 'linebreak' were both set, Visual highlighting sometimes
  3255. continued until the end of the line.
  3256.  
  3257. GTK GUI: Tearoff items were added even when 'guioptions' didn't contain 't'
  3258. when starting up.
  3259.  
  3260. MS-Windows: When the current directory includes a "~", searching files with
  3261. "gf" or ":find" didn't work.  A "$" in the directory had the same problem.
  3262. Added mch_has_exp_wildcard() functions.
  3263.  
  3264. When reducing the Vim window height while starting up, would get an
  3265. out-of-memory error message.
  3266.  
  3267. When editing a very long search pattern, 'incsearch' caused the redraw of the
  3268. command line to fail.
  3269.  
  3270. Motif GUI: On some systems the "Help" menu would not be on the far right, as
  3271. it should be.  On some other systems (esp. IRIX) the command line would not
  3272. completely show.  Solution is to only resize the menubar for Lesstif.
  3273.  
  3274. Using "%" in a line that contains "\\" twice didn't take care of the quotes
  3275. properly.  Now make a difference between \" and \\".
  3276.  
  3277. For non-Unix systems a dummy file is created when finding a swap name to
  3278. detect a 8.3 filesystem.  When there is an existing swap file, would get a
  3279. warning for the file being created outside of Vim.  Also, when closing the Vim
  3280. window the file would remain.
  3281.  
  3282. Motif: The menu height was always computed, using a "-menuheight" argument
  3283. was setting the room for the command line.  Now make clear the argument is not
  3284. supported.
  3285.  
  3286. For some (EBCDIC) systems, POUND was equal to '#'.  Added an #if for that to
  3287. avoid a duplicate case in a switch.
  3288.  
  3289. The GUI may have problems when forking.  Always call _exit() instead of exit()
  3290. in the parent, the child will call exit().
  3291.  
  3292. Win32 GUI: Accented characters were often wrong in dialogs and tearoff menus.
  3293. Now use CP_ACP instead of CP_OEMCP. (Vince Negri)
  3294.  
  3295. When displaying text with syntax highlighting causes an error (e.g., running
  3296. out of stack) the syntax highlighting is disabled to avoid further messages.
  3297.  
  3298. When a command in a .vimrc or .gvimrc causes an ATTENTION prompt, and Vim was
  3299. started from the desktop (no place to display messages) it would hang.  Now
  3300. open the GUI window early to be able to display the messages and pop up the
  3301. dialog.
  3302.  
  3303. "r<CR>" on a multi-byte character deleted only the first byte of the
  3304. character. "3r<CR>" deleted three bytes instead of three characters.
  3305.  
  3306. When interrupting reading a file, Vi considers the buffer modified.  Added the
  3307. 'i' flag in 'cpoptions' flag for this (we don't want it modified to be able to
  3308. do ":q").
  3309.  
  3310. When using an item in 'guicursor' that starts with a colon, Vim would get
  3311. stuck or crash.
  3312.  
  3313. When putting a file mark in a help file and later jumping back to it, the
  3314. options would not be set.  Extended the modeline in all help files to make
  3315. this work better.
  3316.  
  3317. When a modeline contained "::" the local option values would be printed.  Now
  3318. ignore it.
  3319.  
  3320. Some help files did not use a 8.3 names, which causes problems when using
  3321. MS-DOS unzip.  Renamed "multibyte.txt" to "mbyte.txt", "rightleft.txt" to
  3322. "rileft.txt", "tagsearch.txt" to "tagsrch.txt", "os_riscos.txt" to
  3323. "os_risc.txt".
  3324.  
  3325. When Visual mode is blockwise, using "iw" or "aw" made it characterwise.  That
  3326. doesn't seem right, only do this when in linewise mode.  But then do it
  3327. always, not only when start and end of Visual mode are equal.
  3328.  
  3329. When using "viw" on a single-letter word and 'selection' is exclusive, would
  3330. not include the word.
  3331.  
  3332. When formatting text from Insert mode, using CTRL-O, could mess up undo
  3333. information.
  3334.  
  3335. While writing a file (also for the backup file) there was no check for an
  3336. interrupt (hitting CTRL-C).  Vim could hang when writing a large file over a
  3337. slow network, and moving the mouse didn't make it appear (when 'mousehide' is
  3338. set) and the screen wasn't updated in the GUI.  Also allow interrupting when
  3339. syncing the swap file, it can take a long time.
  3340.  
  3341. When using ":mksession" while there is help window, it would later be restored
  3342. to the right file but not marked as a help buffer.  ":help" would then open
  3343. another window.  Now use the value "help" for 'buftype' to mark a help buffer.
  3344.  
  3345. The session file contained absolute path names in option values, that doesn't
  3346. work when the home directory depends on the situation.  Replace the home
  3347. directory with ~/ when possible.
  3348.  
  3349. When using 'showbreak' a TAB just after the shown break would not be counted
  3350. correctly, the cursor would be positioned wrong.
  3351.  
  3352. With 'showbreak' set to "--->" or "------->" and 'sts' set to 4, inserting
  3353. tabs did not work right.  Could cause a crash.  Backspacing was also wrong,
  3354. could get stuck at a line break.
  3355.  
  3356. Win32: crashed when tearing off a menu with over 300 items.
  3357.  
  3358. GUI: A menu or toolbar item would appear when only a tooltip was defined for
  3359. it.
  3360.  
  3361. When 'scrolloff' is non-zero and "$" is in 'cpoptions', using "s" while the
  3362. last line of the file is the first line on screen, the text wasn't displayed.
  3363.  
  3364. When running "autoconf", delete the configure cache to force starting cleanly
  3365. when configure is run again.
  3366.  
  3367. When changing the Normal colors for cterm, the value of 'background' was
  3368. changed even when the GUI was used.
  3369.  
  3370. The warning for a missing vimrun.exe was always given on startup, but some
  3371. people just editing a file don't need to be bothered by it.  Only show it when
  3372. vimrun would be used.
  3373.  
  3374. When using "%" in a multibyte text it could get confused by trailbytes that
  3375. match. (Muraoka Taro)
  3376.  
  3377. Termcap entry for RiscOS was wrong, using 7 and 8 in octal codes.
  3378.  
  3379. Athena: The title of a dialog window and the file selector window were not
  3380. set. (David Harrison)
  3381.  
  3382. The "htmlLink" highlight group specified colors, which gives problems when
  3383. using a color scheme.  Added the "Underlined" highlight group for this.
  3384.  
  3385. After using ":insert" or ":change" the '[ mark would be one line too low.
  3386.  
  3387. When looking for the file name after a match with 'include' one character was
  3388. skipped.  Same for 'define'.
  3389.  
  3390. Win32 and DJGPP: When editing a file with a short name in a directory, and
  3391. editing the same file but using the long name, would end up with two buffers
  3392. on the same file.
  3393.  
  3394. "gf" on a filename that starts with "../" only worked when the file being
  3395. edited is in the current directory.  An include file search didn't work
  3396. properly for files starting with "../" or ".".  Now search both relative to
  3397. the file and to the current directory.
  3398.  
  3399. When 'printheader', 'titlestring', 'iconstring', 'rulerformat' or 'statusline'
  3400. contained "%{" but no following "}" memory was corrupted and a crash could
  3401. happen.
  3402.  
  3403. ":0append" and then inserting two lines did not redraw the blank lines that
  3404. were scrolled back down.
  3405.  
  3406. When using insert mode completion in a narrow window, the message caused a
  3407. scroll up.  Now shorten the message if it doesn't fit and avoid writing the
  3408. ruler over the message.
  3409.  
  3410. XIM still didn't work correctly on some systems, especially SGI/IRIX.  Added
  3411. the 'imdisable' option, which is set by default for that system.
  3412.  
  3413. Patch 6.0aw.008
  3414. Problem:    When the first character of a file name is over 127, the Buffers
  3415.         menu entry would get a negative priority and cause problems.
  3416. Solution:   Reduce the multiplier for the first character when computing
  3417.         the hash value for a Buffers menu entry.
  3418. Files:        runtime/menu.vim
  3419.  
  3420. Patch 6.0aw.010
  3421. Problem:    Win32: ":browse edit dir/dir" didn't work. (Vikas)
  3422. Solution:   Change slashes to backslashes in the directory passed to the file
  3423.         browser.
  3424. Files:        src/gui_w48.c
  3425.  
  3426. Athena file browser: On some systems wcstombs() can't be used to get the
  3427. length of a multi-byte string.  Use the maximum length then. (Yasuhiro
  3428. Matsumoto)
  3429.  
  3430. Patch 6.0ax.001
  3431. Problem:    When 'patchmode' is set, appending to a file gives an empty
  3432.         original file. (Ed Ralston)
  3433. Solution:   Also make a backup copy when appending and 'patchmode' is set.
  3434. Files:        src/fileio.c
  3435.  
  3436. Patch 6.0ax.002
  3437. Problem:    When 'patchmode' is set, appending to a compressed file gives an
  3438.         uncompressed original file. (Ed Ralston)
  3439. Solution:   Create the original file before decompressing.
  3440. Files:        runtime/plugin/gzip.vim
  3441.  
  3442. Patch 6.0ax.005
  3443. Problem:    Athena file selector keeps the title of the first invocation.
  3444. Solution:   Set the title each time the file selector is opened. (David
  3445.         Harrison)
  3446. Files:        src/gui_at_fs.c
  3447.  
  3448. Patch 6.0ax.007
  3449. Problem:    When using GPM (mouse driver in a Linux console) a double click is
  3450.         interpreted as a scroll wheel click.
  3451. Solution:   Check if GPM is being used when deciding if a mouse event is for
  3452.         the scroll wheel.
  3453. Files:        src/term.c
  3454.  
  3455. Patch 6.0ax.010
  3456. Problem:    The Edit.Save menu and the Save toolbar button didn't work when
  3457.         the buffer has no file name.
  3458. Solution:   Use a file browser to ask for a file name.  Also fix the toolbar
  3459.         Find item in Visual mode.
  3460. Files:        runtime/menu.vim
  3461.  
  3462. Patch 6.0ax.012
  3463. Problem:    When 'cpoptions' contains "$", breaking a line for 'textwidth'
  3464.         doesn't redraw properly. (Stefan Schulze)
  3465. Solution:   Remove the dollar before breaking the line.
  3466. Files:        src/edit.c
  3467.  
  3468. Patch 6.0ax.014
  3469. Problem:    Win32: On Windows 98 ":make -f file" doesn't work when 'shell' is
  3470.         "command.com" and 'makeprg' is "nmake".  The environment isn't
  3471.         passed on to "nmake".
  3472. Solution:   Also use vimrun.exe when redirecting the output of a command.
  3473. Files:        src/os_win32.c
  3474.  
  3475. Patch 6.0ax.016
  3476. Problem:    The version number was reported wrong in the intro screen.
  3477. Solution:   Check for a version number with two additional letters.
  3478. Files:        src/version.c
  3479.  
  3480. Patch 6.0ax.019
  3481. Problem:    When scrolling a window with folds upwards, switching to another
  3482.         vertically split window and back may not update the scrollbar.
  3483. Solution:   Limit w_botline to the number of lines in the buffer plus one.
  3484. Files:        src/move.c
  3485.  
  3486.  
  3487. ==============================================================================
  3488. VERSION 6.1                        *version-6.1*
  3489.  
  3490. This section is about improvements made between version 6.0 and 6.1.
  3491.  
  3492. This is a bug-fix release, there are not really any new features.
  3493.  
  3494.  
  3495. Changed                            *changed-6.1*
  3496. -------
  3497.  
  3498. 'iminsert' and 'imsearch' are no longer set as a side effect of defining a
  3499. language-mapping using ":lmap".
  3500.  
  3501.  
  3502. Added                            *added-6.1*
  3503. -----
  3504.  
  3505. Syntax files:
  3506. ampl        AMPL (David Krief)
  3507. ant        Ant (Johannes Zellner)
  3508. baan        Baan (Her van de Vliert)
  3509. cs        C# (Johannes Zellner)
  3510. lifelines    Lifelines (Patrick Texier)
  3511. lscript        LotusScript (Taryn East)
  3512. moo        MOO (Timo Frenay)
  3513. nsis        NSIS (Alex Jakushev)
  3514. ppd        Postscript Printer Description (Bjoern Jacke)
  3515. rpl        RPL/2 (Joel Bertrand)
  3516. scilab        Scilab (Benoit Hamelin)
  3517. splint        Splint (Ralf Wildenhues)
  3518. sqlj        SQLJ (Andreas Fischbach)
  3519. wvdial        WvDial (Prahlad Vaidyanathan)
  3520. xf86conf    XFree86 config (Nikolai Weibull)
  3521. xmodmap        Xmodmap (Nikolai Weibull)
  3522. xslt        Xslt (Johannes Zellner)
  3523. monk        Monk (Mike Litherland)
  3524. xsd        Xsd (Johannes Zellner)
  3525. cdl        CDL (Raul Segura Acevedo)
  3526. sendpr        Send-pr (Hendrik Scholz)
  3527.  
  3528. Added indent file for Scheme. (Dorai Sitaram)
  3529. Added indent file for Prolog. (Kontra Gergely)
  3530. Added indent file for Povray (David Necas)
  3531. Added indent file for IDL (Aleksandar Jelenak)
  3532. Added C# indent and ftplugin scripts.
  3533.  
  3534. Added Ukrainian menu translations. (Bohdan Vlasyuk)
  3535. Added ASCII version of the Czech menus. (Jiri Brezina)
  3536.  
  3537. Added Simplified Chinese translation of the tutor. (Mendel L Chan)
  3538.  
  3539. Added Russian keymap for yawerty keyboard.
  3540.  
  3541. Added an explanation of using the vimrc file in the tutor.
  3542. Changed tutor.vim to get the right encoding for the Taiwainese tutor.
  3543.  
  3544. Added Russian tutor. (Andrey Kiselev)
  3545. Added Polish tutor. (Mikolaj Machowski)
  3546.  
  3547. Added darkblue color scheme. (Bohdan Vlasyuk)
  3548.  
  3549. When packing the dos language archive automatically generate the .mo files
  3550. that are required.
  3551.  
  3552. Improved NSIS script to support NSIS 180.  Added icons for the
  3553. enabled/disabled status. (Mirek Pruchnik)
  3554.  
  3555. cp1250 version of the Slovak message translations.
  3556.  
  3557. Compiler plugins for IRIX compilers. (David Harrison)
  3558.  
  3559.  
  3560. Fixed                            *fixed-6.1*
  3561. -----
  3562.  
  3563. The license text was updated to make the meaning clearer and make it
  3564. compatible with the GNU GPL.  Otherwise distributors have a problem when
  3565. linking Vim with a GPL'ed library.
  3566.  
  3567. When installing the "less.sh" script it was not made executable. (Chuck Berg)
  3568.  
  3569. Win32: The "9" key on the numpad wasn't working. (Julian Kinraid)
  3570.  
  3571. The NSIS install script didn't work with NSIS 1.80 or later.  Also add
  3572. Vim-specific icons. (Pruchnik)
  3573.  
  3574. The script for conversion to HTML contained an "if" in the wrong place.
  3575. (Michael Geddes)
  3576.  
  3577. Allow using ":ascii" in the sandbox, it's harmless.
  3578.  
  3579. Removed creat() from osdef2.h.in, it wasn't used and may cause a problem when
  3580. it's redefined to creat64().
  3581.  
  3582. The text files in the VisVim directory were in "dos" format.  This caused
  3583. problems when applying a patch.  Now keep them in "unix" format and convert
  3584. them to "dos" format only for the PC archives.
  3585.  
  3586. Add ruby files to the dos source archive, they can be used by Make_mvc.mak.
  3587. (Mirek Pruchnik)
  3588.  
  3589. "cp -f" doesn't work on all systems.  Change "cp -f" in the Makefile to "rm
  3590. -f" and "cp".
  3591.  
  3592. Didn't compile on a Compaq Tandem Himalaya OSS. (Michael A. Benzinger)
  3593.  
  3594. The GTK file selection dialog didn't include the "Create Dir", "Delete File"
  3595. and "Rename File" buttons.
  3596.  
  3597. When doing ":browse source" the dialog has the title "Run Macro".  Better
  3598. would be "Source Vim script". (Yegappan Lakshmanan)
  3599.  
  3600. Win32: Don't use the printer font as default for the font dialog.
  3601.  
  3602. "make doslang" didn't work when configure didn't run (yet).  Set $MAKEMO to
  3603. "yes". (Mirek Pruchnik)
  3604.  
  3605. The ToolBar TagJump item used "g]", which prompts for a selection even when
  3606. there is only one matching tag.  Use "g<C-]>" instead.
  3607.  
  3608. The ming makefile for message translations didn't have the right list of
  3609. files.
  3610.  
  3611. The MS-Windows 3.1 version complains about LIBINTL.DLL not found.  Compile
  3612. this version without message translations.
  3613.  
  3614. The Borland 5 makefile contained a check for Ruby which is no longer needed.
  3615. The URLs for the TCL library was outdated. (Dan Sharp)
  3616.  
  3617. The eviso.ps file was missing from the DOS runtime archive, it's needed for
  3618. printing PostScript in the 32bit DOS version.
  3619.  
  3620. In menu files ":scriptencoding" was used in a wrong way after patch 6.1a.032
  3621. Now use ":scriptencoding" in the file where the translations are given.  Do
  3622. the same for all menus in latin1 encoding.
  3623.  
  3624. Included a lot of fixes for the Macintosh, mostly to make it work with Carbon.
  3625. (Dany StAmant, Axel Kielhorn, Benji Fisher)
  3626.  
  3627. Improved the vimtutor shell script to use $TMPDIR when it exists, and delete
  3628. the copied file when exiting in an abnormal way. (Max Ischenko)
  3629.  
  3630. When "iconv.dll" can't be found, try using "libiconv.dll".
  3631.  
  3632. When encryption is used, filtering with a shell command wasn't possible.
  3633.  
  3634. DJGPP: ":cd c:" always failed, can't get permissions for "c:".
  3635. Win32: ":cd c:/" failed if the previous current directory on c: had become
  3636. invalid.
  3637.  
  3638. DJGPP: Shift-Del and Del both produce \316\123.  Default mapping for Del is
  3639. wrong.  Disabled it.
  3640.  
  3641. Dependencies on header files in MingW makefile was wrong.
  3642.  
  3643. Win32: Don't use ACL stuff for MSVC 4.2, it's not supported. (Walter Briscoe)
  3644.  
  3645. Win32 with Borland: bcc.cfg was caching the value for $(BOR), but providing a
  3646. different argument to make didn't regenerate it.
  3647.  
  3648. Win32 with MSVC: Make_ivc.mak generates a new if_ole.h in a different
  3649. directory, the if_ole.h in the src directory may be used instead.  Delete the
  3650. distributed file.
  3651.  
  3652. When a window is vertically split and then ":ball" is used, the window layout
  3653. is messed up, can cause a crash. (Muraoka Taro)
  3654.  
  3655. When 'insertmode' is set, using File/New menu and then double clicking, "i" is
  3656. soon inserted. (Merlin Hansen)
  3657.  
  3658. When Select mode is active and using the Buffers menu to switch to another
  3659. buffer, an old selection comes back.  Reset VIsual_reselect for a ":buffer"
  3660. command.
  3661.  
  3662. When Select mode is active and 'insertmode' is set, using the Buffers menu to
  3663. switch to another buffer, did not return to Insert mode.  Make sure
  3664. "restart_edit" is set.
  3665.  
  3666. When double clicking on the first character of a word while 'selection' is
  3667. "exclusive" didn't select that word.
  3668.  
  3669.  
  3670. Patch 6.0.001
  3671. Problem:    Loading the sh.vim syntax file causes error messages . (Corinna
  3672.         Vinschen)
  3673. Solution:   Add an "if". (Charles Campbell)
  3674. Files:        runtime/syntax/sh.vim
  3675.  
  3676. Patch 6.0.002
  3677. Problem:    Using a '@' item in 'viminfo' doesn't work. (Marko Leipert)
  3678. Solution:   Add '@' to the list of accepted items.
  3679. Files:        src/option.c
  3680.  
  3681. Patch 6.0.003
  3682. Problem:    The configure check for ACLs on AIX doesn't work.
  3683. Solution:   Fix the test program so that it compiles. (Tomas Ogren)
  3684. Files:        src/configure.in, src/auto/configure
  3685.  
  3686. Patch 6.0.004
  3687. Problem:    The find/replace dialog doesn't reuse a previous argument
  3688.         properly.
  3689. Solution:   After removing a "\V" terminate the string. (Zwane Mwaikambo)
  3690. Files:        src/gui.c
  3691.  
  3692. Patch 6.0.005
  3693. Problem:    In Insert mode, "CTRL-O :ls" has a delay before redrawing.
  3694. Solution:   Don't delay just after wait_return() was called.  Added the
  3695.         did_wait_return flag.
  3696. Files:        src/globals.h, src/messsage.c, src/normal.c, src/screen.c
  3697.  
  3698. Patch 6.0.006
  3699. Problem:    With a vertical split, 'number' set and 'scrolloff' non-zero,
  3700.         making the window width very small causes a crash. (Niklas
  3701.         Lindstrom)
  3702. Solution:   Check for a zero width.
  3703. Files:        src/move.c
  3704.  
  3705. Patch 6.0.007
  3706. Problem:    When setting 'filetype' while there is no FileType autocommand, a
  3707.         following ":setfiletype" would set 'filetype' again. (Kobus
  3708.         Retief)
  3709. Solution:   Set did_filetype always when 'filetype' has been set.
  3710. Files:        src/option.c
  3711.  
  3712. Patch 6.0.008
  3713. Problem:    'imdisable' is missing from the options window. (Michael Naumann)
  3714. Solution:   Add an entry for it.
  3715. Files:        runtime/optwin.vim
  3716.  
  3717. Patch 6.0.009
  3718. Problem:    Nextstep doesn't have S_ISBLK. (John Beppu)
  3719. Solution:   Define S_ISBLK using S_IFBLK.
  3720. Files:        src/os_unix.h
  3721.  
  3722. Patch 6.0.010
  3723. Problem:    Using "gf" on a file name starting with "./" or "../" in a buffer
  3724.         without a name causes a crash. (Roy Lewis)
  3725. Solution:   Check for a NULL file name.
  3726. Files:        src/misc2.c
  3727.  
  3728. Patch 6.0.011
  3729. Problem:    Python: After replacing or deleting lines get an ml_get error.
  3730.         (Leo Lipelis)
  3731. Solution:   Adjust the cursor position for deleted or added lines.
  3732. Files:        src/if_python.c
  3733.  
  3734. Patch 6.0.012
  3735. Problem:    Polish translations contain printf format errors, this can result
  3736.         in a crash when using one of them.
  3737. Solution:   Fix for translated messages. (Michal Politowski)
  3738. Files:        src/po/pl.po
  3739.  
  3740. Patch 6.0.013
  3741. Problem:    Using ":silent! cmd" still gives some error messages, like for an
  3742.         invalid range. (Salman Halim)
  3743. Solution:   Reset emsg_silent after calling emsg() in do_one_cmd().
  3744. Files:        src/ex_docmd.c
  3745.  
  3746. Patch 6.0.014
  3747. Problem:    When 'modifiable' is off and 'virtualedit' is "all", "rx" on a TAB
  3748.         still changes the buffer. (Muraoka Taro)
  3749. Solution:   Check if saving the line for undo fails.
  3750. Files:        src/normal.c
  3751.  
  3752. Patch 6.0.015
  3753. Problem:    When 'cpoptions' includes "S" and "filetype plugin on" has been
  3754.         used, can get an error for deleting the b:did_ftplugin variable.
  3755.         (Ralph Henderson)
  3756. Solution:   Only delete the variable when it exists.
  3757. Files:        runtime/ftplugin.vim
  3758.  
  3759. Patch 6.0.016
  3760. Problem:    bufnr(), bufname() and bufwinnr() don't find unlisted buffers when
  3761.         the argument is a string. (Hari Krishna Dara)
  3762.         Also for setbufvar() and getbufvar().
  3763. Solution:   Also find unlisted buffers.
  3764. Files:        src/eval.c
  3765.  
  3766. Patch 6.0.017
  3767. Problem:    When 'ttybuiltin' is set and a builtin termcap entry defines t_Co
  3768.         and the external one doesn't, it gets reset to empty. (David
  3769.         Harrison)
  3770. Solution:   Only set t_Co when it wasn't set yet.
  3771. Files:        src/term.c
  3772.  
  3773. Patch 6.0.018
  3774. Problem:    Initializing 'encoding' may cause a crash when setlocale() is not
  3775.         used. (Dany St-Amant)
  3776. Solution:   Check for a NULL pointer.
  3777. Files:        src/mbyte.c
  3778.  
  3779. Patch 6.0.019
  3780. Problem:    Converting a string with multi-byte characters to a printable
  3781.         string, e.g., with strtrans(), may cause a crash. (Tomas Zellerin)
  3782. Solution:   Correctly compute the length of the result in transstr().
  3783. Files:        src/charset.c
  3784.  
  3785. Patch 6.0.020
  3786. Problem:    When obtaining the value of a global variable internally, could
  3787.         get the function-local value instead.  Applies to using <Leader>
  3788.         and <LocalLeader> and resetting highlighting in a function.
  3789. Solution:   Prepend "g:" to the variable name. (Aric Blumer)
  3790. Files:        src/syntax.c, src/term.c
  3791.  
  3792. Patch 6.0.021
  3793. Problem:    The 'cscopepathcomp' option didn't work.
  3794. Solution:   Change USE_CSCOPE to FEAT_CSCOPE. (Mark Feng)
  3795. Files:        src/option.c
  3796.  
  3797. Patch 6.0.022
  3798. Problem:    When using the 'langmap' option, the second character of a command
  3799.         starting with "g" isn't adjusted.
  3800. Solution:   Apply 'langmap' to the second character. (Alex Kapranoff)
  3801. Files:        src/normal.c
  3802.  
  3803. Patch 6.0.023
  3804. Problem:    Loading the lhaskell syntax doesn't work. (Thore B. Karlsen)
  3805. Solution:   Use ":runtime" instead of "source" to load haskell.vim.
  3806. Files:        runtime/syntax/lhaskell.vim
  3807.  
  3808. Patch 6.0.024
  3809. Problem:    Using "CTRL-V u 9900" in Insert mode may cause a crash. (Noah
  3810.         Levitt)
  3811. Solution:   Don't insert a NUL byte in the text, use a newline.
  3812. Files:        src/misc1.c
  3813.  
  3814. Patch 6.0.025
  3815. Problem:    The pattern "\vx(.|$)" doesn't match "x" at the end of a line.
  3816.         (Preben Peppe Guldberg)
  3817. Solution:   Always see a "$" as end-of-line after "\v".  Do the same for "^".
  3818. Files:        src/regexp.c
  3819.  
  3820. Patch 6.0.026
  3821. Problem:    GTK: When using arrow keys to navigate through the menus, the
  3822.         separators are selected.
  3823. Solution:   Set the separators "insensitive". (Pavel Kankovsky)
  3824. Files:        src/gui_gtk.c, src/gui_gtk_x11.c
  3825.  
  3826. Patch 6.0.027
  3827. Problem:    VMS: Printing doesn't work, the file is deleted too quickly.
  3828.         No longer need the VMS specific printing menu.
  3829.         gethostname() is not available with VAXC.
  3830.         The makefile was lacking selection of the tiny-huge feature set.
  3831. Solution:   Adjust the 'printexpr' option default. Fix the other problems and
  3832.         update the documentation.  (Zoltan Arpadffy)
  3833. Files:        runtime/doc/os_vms.txt, runtime/menu.vim, src/INSTALLvms.txt,
  3834.         src/Make_vms.mms, src/option.c, src/os_unix.c, src/os_vms_conf.h
  3835.  
  3836. Patch 6.0.028
  3837. Problem:    Can't compile without +virtualedit and with +visualextra. (Geza
  3838.         Lakner)
  3839. Solution:   Add an #ifdef for +virtualedit.
  3840. Files:        src/ops.c
  3841.  
  3842. Patch 6.0.029
  3843. Problem:    When making a change in line 1, then in line 2 and then deleting
  3844.         line 1, undo info could be wrong. Only when the changes are undone
  3845.         at once. (Gerhard Hochholzer)
  3846. Solution:   When not saving a line for undo because it was already done
  3847.         before, remember for which entry the last line must be computed.
  3848.         Added ue_getbot_entry pointer for this.  When the number of lines
  3849.         changes, adjust the position of newer undo entries.
  3850. Files:        src/structs.h, src/undo.c
  3851.  
  3852. Patch 6.0.030
  3853. Problem:    Using ":source! file" doesn't work inside a loop or after
  3854.         ":argdo". (Pavol Juhas)
  3855. Solution:   Execute the commands in the file right away, do not let the main
  3856.         loop do it.
  3857. Files:        src/ex_cmds2.c, src/ex_docmd.c, src/getchar.c, src/globals.h,
  3858.         src/proto/ex_docmd.pro, src/proto/getchar.pro
  3859.  
  3860. Patch 6.0.031
  3861. Problem:    Nextstep doesn't have setenv() or putenv().  (John Beppu)
  3862. Solution:   Move putenv() from pty.c to misc2.c
  3863. Files:        src/misc2.c, src/pty.c
  3864.  
  3865. Patch 6.0.032
  3866. Problem:    When changing a setting that affects all folds, they are not
  3867.         displayed immediately.
  3868. Solution:   Set the redraw flag in foldUpdateAll().
  3869. Files:        src/fold.c
  3870.  
  3871. Patch 6.0.033
  3872. Problem:    Using 'wildmenu' on MS-Windows, file names that include a space
  3873.         are only displayed starting with that space. (Xie Yuheng)
  3874. Solution:   Don't recognize a backslash before a space as a path separator.
  3875. Files:        src/screen.c
  3876.  
  3877. Patch 6.0.034
  3878. Problem:    Calling searchpair() with three arguments could result in a crash
  3879.         or strange error message. (Kalle Bjorklid)
  3880. Solution:   Don't use the fifth argument when there is no fourth argument.
  3881. Files:        src/eval.c
  3882.  
  3883. Patch 6.0.035
  3884. Problem:    The menu item Edit/Global_Settings/Toggle_Toolbar doesn't work
  3885.         when 'ignorecase' is set. (Allen Castaban)
  3886. Solution:   Always match case when checking if a flag is already present in
  3887.         'guioptions'.
  3888. Files:        runtime/menu.vim
  3889.  
  3890. Patch 6.0.036
  3891. Problem:    OS/2, MS-DOS and MS-Windows: Using a path that starts with a
  3892.         slash in 'tags' doesn't work as expected. (Mathias Koehrer
  3893. Solution:   Only use the drive, not the whole path to the current directory.
  3894.         Also make it work for "c:dir/file".
  3895. Files:        src/misc2.c
  3896.  
  3897. Patch 6.0.037
  3898. Problem:    When the user has set "did_install_syntax_menu" to avoid the
  3899.         default Syntax menu it still appears. (Virgilio)
  3900. Solution:   Don't add the three default items when "did_install_syntax_menu"
  3901.         is set.
  3902. Files:        runtime/menu.vim
  3903.  
  3904. Patch 6.0.038
  3905. Problem:    When 'selection' is "exclusive", deleting a block of text at the
  3906.         end of a line can leave the cursor beyond the end of the line.
  3907. Solution:   Correct the cursor position.
  3908. Files:        src/ops.c
  3909.  
  3910. Patch 6.0.039
  3911. Problem:    "gP" leaves the cursor in the wrong position when 'virtualedit' is
  3912.         used.  Using "c" in blockwise Visual mode leaves the cursor in a
  3913.         strange position.
  3914. Solution:   For "gP" reset the "coladd" field for the '] mark.  For "c" leave
  3915.         the cursor on the last inserted character.
  3916. Files:        src/ops.c
  3917.  
  3918. Patch 6.0.040
  3919. Problem:    When 'fileencoding' is invalid and writing fails because of
  3920.         this, the original file is gone. (Eric Carlier)
  3921. Solution:   Restore the original file from the backup.
  3922. Files:        src/fileio.c
  3923.  
  3924. Patch 6.0.041
  3925. Problem:    Using ":language messages en" when LC_MESSAGES is undefined
  3926.         results in setting LC_CTYPE. (Eric Carlier)
  3927. Solution:   Set $LC_MESSAGES instead.
  3928. Files:        src/ex_cmds2.c
  3929.  
  3930. Patch 6.0.042
  3931. Problem:    ":mksession" can't handle file names with a space.
  3932. Solution:   Escape special characters in file names with a backslash.
  3933. Files:        src/ex_docmd.c
  3934.  
  3935. Patch 6.0.043
  3936. Problem:    Patch 6.0.041 was wrong.
  3937. Solution:   Use mch_getenv() instead of vim_getenv().
  3938. Files:        src/ex_cmds2.c
  3939.  
  3940. Patch 6.0.044
  3941. Problem:    Using a "containedin" list for a syntax item doesn't work for an
  3942.         item that doesn't have a "contains" argument.  Also, "containedin"
  3943.         doesn't ignore a transparent item. (Timo Frenay)
  3944. Solution:   When there is a "containedin" argument somewhere, always check for
  3945.         contained items.  Don't check for the transparent item but the
  3946.         item it's contained in.
  3947. Files:        src/structs.h, src/syntax.c
  3948.  
  3949. Patch 6.0.045
  3950. Problem:    After creating a fold with a Visual selection, another window
  3951.         with the same buffer still has inverted text. (Sami Salonen)
  3952. Solution:   Redraw the inverted text.
  3953. Files:        src/normal.c
  3954.  
  3955. Patch 6.0.046
  3956. Problem:    When getrlimit() returns an 8 byte number the check for running
  3957.         out of stack may fail. (Anthony Meijer)
  3958. Solution:   Skip the stack check if the limit doesn't fit in a long.
  3959. Files:        src/auto/configure, src/config.h.in, src/configure.in,
  3960.         src/os_unix.c
  3961.  
  3962. Patch 6.0.047
  3963. Problem:    Using a regexp with "\(\)" inside a "\%[]" item causes a crash.
  3964.         (Samuel Lacas)
  3965. Solution:   Don't allow nested atoms inside "\%[]".
  3966. Files:        src/regexp.c
  3967.  
  3968. Patch 6.0.048
  3969. Problem:    Win32: In the console the mouse doesn't always work correctly.
  3970.         Sometimes after getting focus a mouse movement is interpreted like
  3971.         a button click.
  3972. Solution:   Use a different function to obtain the number of mouse buttons.
  3973.         Avoid recognizing a button press from undefined bits. (Vince Negri)
  3974. Files:        src/os_win32.c
  3975.  
  3976. Patch 6.0.049
  3977. Problem:    When using evim the intro screen is misleading. (Adrian Nagle)
  3978. Solution:   Mention whether 'insertmode' is set and the menus to be used.
  3979. Files:        runtime/menu.vim, src/version.c
  3980.  
  3981. Patch 6.0.050
  3982. Problem:    UTF-8: "viw" doesn't include non-ASCII characters before the
  3983.         cursor. (Bertilo Wennergren)
  3984. Solution:   Use dec_cursor() instead of decrementing the column number.
  3985. Files:        src/search.c
  3986.  
  3987. Patch 6.0.051
  3988. Problem:    UTF-8: Using CTRL-R on the command line doesn't insert composing
  3989.         characters. (Ron Aaron)
  3990. Solution:   Also include the composing characters and fix redrawing them.
  3991. Files:        src/ex_getln.c, src/ops.c
  3992.  
  3993. Patch 6.0.052
  3994. Problem:    The check for rlim_t in patch 6.0.046 does not work on some
  3995.         systems. (Zdenek Sekera)
  3996. Solution:   Also look in sys/resource.h for rlim_t.
  3997. Files:        src/auto/configure, src/configure.in
  3998.  
  3999. Patch 6.0.053 (extra)
  4000. Problem:    Various problems with QNX.
  4001. Solution:   Minor fix for configure.  Switch on terminal clipboard support in
  4002.         main.c.  Fix "pterm" mouse support.  os_qnx.c didn't build without
  4003.         photon. (Julian Kinraid)
  4004. Files:        src/auto/configure, src/configure.in, src/gui_photon.c,
  4005.         src/main.c, src/misc2.c, src/option.h, src/os_qnx.c, src/os_qnx.h,
  4006.         src/syntax.c
  4007.  
  4008. Patch 6.0.054
  4009. Problem:    When using mswin.vim, CTRL-V pastes a block of text like it is
  4010.         normal text.  Using CTRL-V in blockwise Visual mode leaves "x"
  4011.         characters behind.
  4012. Solution:   Make CTRL-V work as it should.  Do the same for the Paste menu
  4013.         entries.
  4014. Files:        runtime/menu.vim, runtime/mswin.vim
  4015.  
  4016. Patch 6.0.055
  4017. Problem:    GTK: The selection isn't copied the first time.
  4018. Solution:   Own the selection at the right moment.
  4019. Files:        src/gui_gtk_x11.c
  4020.  
  4021. Patch 6.0.056
  4022. Problem:    Using "CTRL-O cw" in Insert mode results in a nested Insert mode.
  4023.         <Esc> doesn't leave Insert mode then.
  4024. Solution:   Only use nested Insert mode when 'insertmode' is set or when a
  4025.         mapping is used.
  4026. Files:        src/normal.c
  4027.  
  4028. Patch 6.0.057
  4029. Problem:    Using ":wincmd g}" in a function doesn't work.  (Gary Holloway)
  4030. Solution:   Execute the command directly, instead of putting it in the
  4031.         typeahead buffer.
  4032. Files:        src/normal.c, src/proto/normal.pro, src/window.c
  4033.  
  4034. Patch 6.0.058
  4035. Problem:    When a Cursorhold autocommand moved the cursor, the ruler wasn't
  4036.         updated. (Bohdan Vlasyuk)
  4037. Solution:   Update the ruler after executing the autocommands.
  4038. Files:        src/gui.c
  4039.  
  4040. Patch 6.0.059
  4041. Problem:    Highlighting for 'hlsearch' isn't visible in lines that are
  4042.         highlighted for diff highlighting.  (Gary Holloway)
  4043. Solution:   Let 'hlsearch' highlighting overrule diff highlighting.
  4044. Files:        src/screen.c
  4045.  
  4046. Patch 6.0.060
  4047. Problem:    Motif: When the tooltip is to be popped up, Vim crashes.
  4048.         (Gary Holloway)
  4049. Solution:   Check for a NULL return value from gui_motif_fontset2fontlist().
  4050. Files:        src/gui_beval.c
  4051.  
  4052. Patch 6.0.061
  4053. Problem:    The toolbar buttons to load and save a session do not correctly
  4054.         use v:this_session.
  4055. Solution:   Check for v:this_session to be empty instead of existing.
  4056. Files:        runtime/menu.vim
  4057.  
  4058. Patch 6.0.062
  4059. Problem:    Crash when 'verbose' is > 3 and using ":shell". (Yegappan
  4060.         Lakshmanan)
  4061. Solution:   Avoid giving a NULL pointer to printf().  Also output a newline
  4062.         and switch the cursor on.
  4063. Files:        src/misc2.c
  4064.  
  4065. Patch 6.0.063
  4066. Problem:    When 'cpoptions' includes "$", using "cw" to type a ')' on top of
  4067.         the "$" doesn't update syntax highlighting after it.
  4068. Solution:   Stop displaying the "$" when typing a ')' in its position.
  4069. Files:        src/search.c
  4070.  
  4071. Patch 6.0.064 (extra)
  4072. Problem:    The NSIS install script doesn't work with newer versions of NSIS.
  4073.         The diff feature doesn't work when there isn't a good diff.exe on
  4074.         the system.
  4075. Solution:   Replace the GetParentDir instruction by a user function.
  4076.         Fix a few cosmetic problems.  Use defined constants for the
  4077.         version number, so that it's defined in one place only.
  4078.         Only accept the install directory when it ends in "vim".
  4079.         (Eduardo Fernandez)
  4080.         Add a diff.exe and use it from the default _vimrc.
  4081. Files:        nsis/gvim.nsi, nsis/README.txt, src/dosinst.c
  4082.  
  4083. Patch 6.0.065
  4084. Problem:    When using ":normal" in 'indentexpr' it may use redo characters
  4085.         before its argument.  (Neil Bird)
  4086. Solution:   Save and restore the stuff buffer in ex_normal().
  4087. Files:        src/ex_docmd.c, src/getchar.c, src/globals.h, src/structs.h
  4088.  
  4089. Patch 6.0.066
  4090. Problem:    Sometimes undo for one command is split into two undo actions.
  4091.         (Halim Salman)
  4092. Solution:   Don't set the undo-synced flag when reusing a line that was
  4093.         already saved for undo.
  4094. Files:        src/undo.c
  4095.  
  4096. Patch 6.0.067
  4097. Problem:    if_xcmdsrv.c doesn't compile on systems where fd_set isn't defined
  4098.         in the usual header file (e.g., AIX). (Mark Waggoner)
  4099. Solution:   Include sys/select.h in if_xcmdsrv.c for systems that have it.
  4100. Files:        src/if_xcmdsrv.c
  4101.  
  4102. Patch 6.0.068
  4103. Problem:    When formatting a Visually selected area with "gq" and the number
  4104.         of lines increases the last line may not be redrawn correctly.
  4105.         (Yegappan Lakshmanan)
  4106. Solution:   Correct the area to be redrawn for inserted/deleted lines.
  4107. Files:        src/ops.c
  4108.  
  4109. Patch 6.0.069
  4110. Problem:    Using "K" on a word that includes a "!" causes a "No previous
  4111.         command" error, because the "!" is expanded. (Craig Jeffries)
  4112. Solution:   Put a backslash before the "!".
  4113. Files:        src/normal.c
  4114.  
  4115. Patch 6.0.070
  4116. Problem:    Win32: The error message for a failed dynamic linking of a Perl,
  4117.         Ruby, Tcl and Python library is unclear about what went wrong.
  4118. Solution:   Give the name of the library or function that could not be loaded.
  4119.         Also for the iconv and gettext libraries when 'verbose' is set.
  4120. Files:        src/eval.c, src/if_perl.xs, src/if_python.c, src/if_ruby.c,
  4121.         src/if_tcl.c, src/mbyte.c, src/os_win32.c, src/proto/if_perl.pro,
  4122.         src/proto/if_python.pro, src/proto/if_ruby.pro,
  4123.         src/proto/if_tcl.pro, src/proto/mbyte.pro
  4124.  
  4125. Patch 6.0.071
  4126. Problem:    The "iris-ansi" builtin termcap isn't very good.
  4127. Solution:   Fix the wrong entries. (David Harrison)
  4128. Files:        src/term.c
  4129.  
  4130. Patch 6.0.072
  4131. Problem:    When 'lazyredraw' is set, a mapping that stops Visual mode, moves
  4132.         the cursor and starts Visual mode again causes a redraw problem.
  4133.         (Brian Silverman)
  4134. Solution:   Redraw both the old and the new Visual area when necessary.
  4135. Files:        src/normal.c, src/screen.c
  4136.  
  4137. Patch 6.0.073 (extra)
  4138. Problem:    DJGPP: When using CTRL-Z to start a shell, the prompt is halfway
  4139.         the text. (Volker Kiefel)
  4140. Solution:   Position the system cursor before starting the shell.
  4141. Files:        src/os_msdos.c
  4142.  
  4143. Patch 6.0.074
  4144. Problem:    When using "&" in a substitute string a multi-byte character with
  4145.         a trailbyte 0x5c is not handled correctly.
  4146. Solution:   Recognize multi-byte characters inside the "&" part. (Muraoka Taro)
  4147. Files:        src/regexp.c
  4148.  
  4149. Patch 6.0.075
  4150. Problem:    When closing a horizontally split window while 'eadirection' is
  4151.         "hor" another horizontally split window is still resized. (Aron
  4152.         Griffis)
  4153. Solution:   Only resize windows in the same top frame as the window that is
  4154.         split or closed.
  4155. Files:        src/main.c, src/proto/window.pro, src/window.c
  4156.  
  4157. Patch 6.0.076
  4158. Problem:    Warning for wrong pointer type when compiling.
  4159. Solution:   Use char instead of char_u pointer.
  4160. Files:        src/version.c
  4161.  
  4162. Patch 6.0.077
  4163. Problem:    Patch 6.0.075 was incomplete.
  4164. Solution:   Fix another call to win_equal().
  4165. Files:        src/option.c
  4166.  
  4167. Patch 6.0.078
  4168. Problem:    Using "daw" at the end of a line on a single-character word didn't
  4169.         include the white space before it.  At the end of the file it
  4170.         didn't work at all.  (Gavin Sinclair)
  4171. Solution:   Include the white space before the word.
  4172. Files:        src/search.c
  4173.  
  4174. Patch 6.0.079
  4175. Problem:    When "W" is in 'cpoptions' and 'backupcopy' is "no" or "auto", can
  4176.         still overwrite a read-only file, because it's renamed. (Gary
  4177.         Holloway)
  4178. Solution:   Add a check for a read-only file before renaming the file to
  4179.         become the backup.
  4180. Files:        src/fileio.c
  4181.  
  4182. Patch 6.0.080
  4183. Problem:    When using a session file that has the same file in two windows,
  4184.         the fileinfo() call in do_ecmd() causes a scroll and a hit-enter
  4185.         prompt. (Robert Webb)
  4186. Solution:   Don't scroll this message when 'shortmess' contains 'O'.
  4187. Files:        src/ex_cmds.c
  4188.  
  4189. Patch 6.0.081
  4190. Problem:    After using ":saveas" the new buffer name is added to the Buffers
  4191.         menu with a wrong number. (Chauk-Mean Proum)
  4192. Solution:   Trigger BufFilePre and BufFilePost events for the renamed buffer
  4193.         and BufAdd for the old name (which is with a new buffer).
  4194. Files:        src/ex_cmds.c
  4195.  
  4196. Patch 6.0.082
  4197. Problem:    When swapping screens in an xterm and there is an (error) message
  4198.         from the vimrc script, the shell prompt is after the message.
  4199. Solution:   Output a newline when there was output on the alternate screen.
  4200.         Also when starting the GUI.
  4201. Files:        src/main.c
  4202.  
  4203. Patch 6.0.083
  4204. Problem:    GTK: When compiled without menu support the buttons in a dialog
  4205.         don't have any text. (Erik Edelmann)
  4206. Solution:   Add the text also when GTK_USE_ACCEL isn't defined.  And define
  4207.         GTK_USE_ACCEL also when not using menus.
  4208. Files:        src/gui_gtk.c
  4209.  
  4210. Patch 6.0.084
  4211. Problem:    UTF-8: a "r" command with an argument that is a keymap for a
  4212.         character with a composing character can't be repeated with ".".
  4213.         (Raphael Finkel)
  4214. Solution:   Add the composing characters to the redo buffer.
  4215. Files:        src/normal.c
  4216.  
  4217. Patch 6.0.085
  4218. Problem:    When 'mousefocus' is set, using "s" to go to Insert mode and then
  4219.         moving the mouse pointer to another window stops Insert mode,
  4220.         while this doesn't happen with "a" or "i". (Robert Webb)
  4221. Solution:   Reset finish_op before calling edit().
  4222. Files:        src/normal.c
  4223.  
  4224. Patch 6.0.086
  4225. Problem:    When using "gu" the message says "~ed".
  4226. Solution:   Make the message say "changed".
  4227. Files:        src/ops.c
  4228.  
  4229. Patch 6.0.087 (lang)
  4230. Problem:    Message translations are incorrect, which may cause a crash.
  4231.         (Peter Figura)
  4232.         The Turkish translations needed more work and the maintainer
  4233.         didn't have time.
  4234. Solution:   Fix order of printf arguments.  Remove %2$d constructs.
  4235.         Add "-v" to msgfmt to get a warning for wrong translations.
  4236.         Don't install the Turkish translations for now.
  4237.         Update a few more translations.
  4238. Files:        src/po/Makefile, src/po/af.po, src/po/cs.po, src/po/cs.cp1250.po,
  4239.         src/po/de.po, src/po/es.po, src/po/fr.po, src/po/it.po,
  4240.         src/po/ja.po, src/po/ja.sjis.po, src/po/ko.po, src/po/pl.po,
  4241.         src/po/sk.po, src/po/uk.po, src/po/zh_CN.UTF-8.po,
  4242.         src/po/zh_CN.cp936.po, src/po/zh_CN.po, src/po/zh_TW.po
  4243.  
  4244. Patch 6.0.088
  4245. Problem:    "." doesn't work after using "rx" in Visual mode.  (Charles
  4246.         Campbell)
  4247. Solution:   Also store the replacement character in the redo buffer.
  4248. Files:        src/normal.c
  4249.  
  4250. Patch 6.0.089
  4251. Problem:    In a C file, using "==" to align a line starting with "*  " after
  4252.         a line with "* -" indents one space too few.  (Piet Delport)
  4253. Solution:   Align with the previous line if the comment-start-string matches
  4254.         there.
  4255. Files:        src/misc1.c
  4256.  
  4257. Patch 6.0.090
  4258. Problem:    When a wrapping line does not fit in a window and 'scrolloff' is
  4259.         bigger than half the window height, moving the cursor left or
  4260.         right causes the screen to flash badly. (Lubomir Host)
  4261. Solution:   When there is not enough room to show 'scrolloff' screen lines and
  4262.         near the end of the line, show the end of the line.
  4263. Files:        src/move.c
  4264.  
  4265. Patch 6.0.091
  4266. Problem:    Using CTRL-O in Insert mode, while 'virtualedit' is "all" and the
  4267.         cursor is after the end-of-line, moves the cursor left. (Yegappan
  4268.         Lakshmanan)
  4269. Solution:   Keep the cursor in the same position.
  4270. Files:        src/edit.c
  4271.  
  4272. Patch 6.0.092
  4273. Problem:    The explorer plugin doesn't ignore case of 'suffixes' on
  4274.         MS-Windows. (Mike Williams)
  4275. Solution:   Match or ignore case as appropriate for the OS.
  4276. Files:        runtime/plugin/explorer.vim
  4277.  
  4278. Patch 6.0.093
  4279. Problem:    When the Tcl library couldn't be loaded dynamically, get an error
  4280.         message when closing a buffer or window. (Muraoka Taro)
  4281. Solution:   Only free structures if already using the Tcl interpreter.
  4282. Files:        src/if_tcl.c
  4283.  
  4284. Patch 6.0.094
  4285. Problem:    Athena: When clicking in the horizontal scrollbar Vim crashes.
  4286.         (Paul Ackersviller)
  4287. Solution:   Use the thumb size instead of the window pointer of the scrollbar
  4288.         (which is NULL). (David Harrison)
  4289.         Also avoid that scolling goes the wrong way in a narrow window.
  4290. Files:        src/gui_athena.c
  4291.  
  4292. Patch 6.0.095
  4293. Problem:    Perl: Deleting lines may leave the cursor beyond the end of the
  4294.         file.
  4295. Solution:   Check the cursor position after deleting a line. (Serguei)
  4296. Files:        src/if_perl.xs
  4297.  
  4298. Patch 6.0.096
  4299. Problem:    When ":saveas fname" fails because the file already exists, the
  4300.         file name is changed anyway and a following ":w" will overwrite
  4301.         the file. (Eric Carlier)
  4302. Solution:   Don't change the file name if the file already exists.
  4303. Files:        src/ex_cmds.c
  4304.  
  4305. Patch 6.0.097
  4306. Problem:    Re-indenting in Insert mode with CTRL-F may cause a crash with a
  4307.         multi-byte encoding.
  4308. Solution:   Avoid using a character before the start of a line. (Sergey
  4309.         Vlasov)
  4310. Files:        src/edit.c
  4311.  
  4312. Patch 6.0.098
  4313. Problem:    GTK: When using Gnome the "Search" and "Search and Replace" dialog
  4314.         boxes are not translated.
  4315. Solution:   Define ENABLE_NLS before including gnome.h. (Eduardo Fernandez)
  4316. Files:        src/gui_gtk.c, src/gui_gtk_x11.c
  4317.  
  4318. Patch 6.0.099
  4319. Problem:    Cygwin: When running Vi compatible MS-DOS line endings cause
  4320.         trouble.
  4321. Solution:   Make the default for 'fileformats' "unix,dos" in Vi compatible
  4322.         mode.  (Michael Schaap)
  4323. Files:        src/option.h
  4324.  
  4325. Patch 6.0.100
  4326. Problem:    ":badd +0 test%file" causes a crash.
  4327. Solution:   Take into account that the "+0" is NUL terminated when allocating
  4328.         room for replacing the "%".
  4329. Files:        src/ex_docmd.c
  4330.  
  4331. Patch 6.0.101
  4332. Problem:    ":mksession" doesn't restore editing a file that has a '#' or '%'
  4333.         in its name.  (Wolfgang Blankenburg)
  4334. Solution:   Put a backslash before the '#' and '%'.
  4335. Files:        src/ex_docmd.c
  4336.  
  4337. Patch 6.0.102
  4338. Problem:    When changing folds the cursor may appear halfway a closed fold.
  4339.         (Nam SungHyun)
  4340. Solution:   Set w_cline_folded correctly. (Yasuhiro Matsumoto)
  4341. Files:        src/move.c
  4342.  
  4343. Patch 6.0.103
  4344. Problem:    When using 'scrollbind' a large value of 'scrolloff' will make the
  4345.         scroll binding stop near the end of the file. (Coen Engelbarts)
  4346. Solution:   Don't use 'scrolloff' when limiting the topline for scroll
  4347.         binding. (Dany StAmant)
  4348. Files:        src/normal.c
  4349.  
  4350. Patch 6.0.104
  4351. Problem:    Multi-byte: When '$' is in 'cpoptions', typing a double-wide
  4352.         character that overwrites the left halve of an old double-wide
  4353.         character causes a redraw problem and the cursor stops blinking.
  4354. Solution:   Clear the right half of the old character. (Yasuhiro Matsumoto)
  4355. Files:        src/edit.c, src/screen.c
  4356.  
  4357. Patch 6.0.105
  4358. Problem:    Multi-byte: In a window of one column wide, with syntax
  4359.         highlighting enabled a crash might happen.
  4360. Solution:   Skip getting the syntax attribute when the character doesn't fit
  4361.         anyway.  (Yasuhiro Matsumoto)
  4362. Files:        src/screen.c
  4363.  
  4364. Patch 6.0.106 (extra)
  4365. Problem:    Win32: When the printer font is wrong, there is no error message.
  4366. Solution:   Give an appropriate error message. (Yasuhiro Matsumoto)
  4367. Files:        src/os_mswin.c
  4368.  
  4369. Patch 6.0.107 (extra)
  4370. Problem:    VisVim: When editing another file, a modified file may be written
  4371.         unexpectedly and without warning.
  4372. Solution:   Split the window if a file was modified.
  4373. Files:        VisVim/Commands.cpp
  4374.  
  4375. Patch 6.0.108
  4376. Problem:    When using folding could try displaying line zero, resulting in an
  4377.         error for a NULL pointer.
  4378. Solution:   Stop decrementing w_topline when the first line of a window is in
  4379.         a closed fold.
  4380. Files:        src/window.c
  4381.  
  4382. Patch 6.0.109
  4383. Problem:    XIM: When the input method is enabled, repeating an insertion with
  4384.         "." disables it. (Marcel Svitalsky)
  4385. Solution:   Don't store the input method status when a command comes from the
  4386.         stuff buffer.
  4387. Files:        src/ui.c
  4388.  
  4389. Patch 6.0.110
  4390. Problem:    Using undo after executing "OxjAxkdd" from a register in
  4391.         an empty buffer gives an error message.  (Gerhard Hochholzer)
  4392. Solution:   Don't adjust the bottom line number of an undo block when it's
  4393.         zero.  Add a test for this problem.
  4394. Files:        src/undo.c, src/testdir/test20.in, src/testdir/test20.ok
  4395.  
  4396. Patch 6.0.111
  4397. Problem:    The virtcol() function doesn't take care of 'virtualedit'.
  4398. Solution:   Add the column offset when needed. (Yegappan Lakshmanan)
  4399. Files:        src/eval.c
  4400.  
  4401. Patch 6.0.112
  4402. Problem:    The explorer plugin doesn't sort directories with a space or
  4403.         special character after a directory with a shorter name.
  4404. Solution:   Ignore the trailing slash when comparing directory names.  (Mike
  4405.         Williams)
  4406. Files:        runtime/plugin/explorer.vim
  4407.  
  4408. Patch 6.0.113
  4409. Problem:    ":edit ~/fname" doesn't work if $HOME includes a space.  Also,
  4410.         expanding wildcards with the shell may fail. (John Daniel)
  4411. Solution:   Escape spaces with a backslash when needed.
  4412. Files:        src/ex_docmd.c, src/misc1.c, src/proto/misc1.pro, src/os_unix.c
  4413.  
  4414. Patch 6.0.114
  4415. Problem:    Using ":p" with fnamemodify() didn't expand "~/" or "~user/" to a
  4416.         full path.  For Win32 the current directory was prepended.
  4417.         (Michael Geddes)
  4418. Solution:   Expand the home directory.
  4419. Files:        src/eval.c
  4420.  
  4421. Patch 6.0.115 (extra)
  4422. Problem:    Win32: When using a dialog with a textfield it cannot scroll the
  4423.         text.
  4424. Solution:   Add ES_AUTOHSCROLL to the textfield style. (Pedro Gomes)
  4425. Files:        src/gui_w32.c
  4426.  
  4427. Patch 6.0.116 (extra)
  4428. Problem:    MS-Windows NT/2000/XP: filewritable() doesn't work correctly for
  4429.         filesystems that use ACLs.
  4430. Solution:   Use ACL functions to check if a file is writable. (Mike Williams)
  4431. Files:        src/eval.c, src/macros.h, src/os_win32.c, src/proto/os_win32.pro
  4432.  
  4433. Patch 6.0.117 (extra)
  4434. Problem:    Win32: when disabling the menu, "set lines=999" doesn't use all
  4435.         the available screen space.
  4436. Solution:   Don't subtract the fixed caption height but the real menu height
  4437.         from the available screen space.  Also: Avoid recursion in
  4438.         gui_mswin_get_menu_height().
  4439. Files:        src/gui_w32.c, src/gui_w48.c
  4440.  
  4441. Patch 6.0.118
  4442. Problem:    When $TMPDIR is a relative path, the temp directory is missing a
  4443.         trailing slash and isn't deleted when Vim exits. (Peter Holm)
  4444. Solution:   Add the slash after expanding the directory to an absolute path.
  4445. Files:        src/fileio.c
  4446.  
  4447. Patch 6.0.119 (depends on patch 6.0.116)
  4448. Problem:    VMS: filewritable() doesn't work properly.
  4449. Solution:   Use the same method as for Unix. (Zoltan Arpadffy)
  4450. Files:        src/eval.c
  4451.  
  4452. Patch 6.0.120
  4453. Problem:    The conversion to html isn't compatible with XHTML.
  4454. Solution:   Quote the values. (Jess Thrysoee)
  4455. Files:        runtime/syntax/2html.vim
  4456.  
  4457. Patch 6.0.121 (extra) (depends on patch 6.0.116)
  4458. Problem:    Win32: After patch 6.0.116 Vim doesn't compile with mingw32.
  4459. Solution:   Add an #ifdef HAVE_ACL.
  4460. Files:        src/os_win32.c
  4461.  
  4462. Patch 6.0.122 (extra)
  4463. Problem:    Win16: Same resize problems as patch 6.0.117 fixed for Win32.  And
  4464.         dialog textfield problem from patch 6.0.115.
  4465. Solution:   Set old_menu_height only when used.  Add ES_AUTOHSCROLL flag.
  4466.         (Vince Negri)
  4467. Files:        src/gui_w16.c
  4468.  
  4469. Patch 6.0.123 (depends on patch 6.0.119)
  4470. Problem:    Win16: Compilation problems.
  4471. Solution:   Move "&&" to other lines. (Vince Negri)
  4472. Files:        src/eval.c
  4473.  
  4474. Patch 6.0.124
  4475. Problem:    When using a ":substitute" command that starts with "\="
  4476.         (evaluated as an expression), "~" was still replaced with the
  4477.         previous substitute string.
  4478. Solution:   Skip the replacement when the substitute string starts with "\=".
  4479.         Also adjust the documentation about doubling backslashes.
  4480. Files:        src/ex_cmds.c, runtime/doc/change.txt
  4481.  
  4482. Patch 6.0.125 (extra)
  4483. Problem:    Win32: When using the multi_byte_ime feature pressing the shift
  4484.         key would be handled as if a character was entered, thus mappings
  4485.         with a shifted key didn't work. (Charles Campbell)
  4486. Solution:   Ignore pressing the shift, control and alt keys.
  4487. Files:        src/os_win32.c
  4488.  
  4489. Patch 6.0.126
  4490. Problem:    The python library was always statically linked.
  4491. Solution:   Link the python library dynamically. (Matthias Klose)
  4492. Files:        src/auto/configure, src/configure.in
  4493.  
  4494. Patch 6.0.127
  4495. Problem:    When using a terminal that swaps screens and the Normal background
  4496.         color has a different background, using an external command may
  4497.         cause the color of the wrong screen to be changed. (Mark Waggoner)
  4498. Solution:   Don't call screen_stop_highlight() in stoptermcap().
  4499. Files:        src/term.c
  4500.  
  4501. Patch 6.0.128
  4502. Problem:    When moving a vertically split window to the far left or right,
  4503.         the scrollbars are not adjusted. (Scott E Lee)  When 'mousefocus'
  4504.         is set the mouse pointer wasn't adjusted.
  4505. Solution:   Adjust the scrollbars and the mouse pointer.
  4506. Files:        src/window.c
  4507.  
  4508. Patch 6.0.129
  4509. Problem:    When using a very long file name, ":ls" (repeated a few times)
  4510.         causes a crash.  Test with "vim `perl -e 'print "A"x1000'`".
  4511.         (Tejeda)
  4512. Solution:   Terminate a string before getting its length in buflist_list().
  4513. Files:        src/buffer.c
  4514.  
  4515. Patch 6.0.130
  4516. Problem:    When using ":cprev" while the error window is open, and the new
  4517.         line at the top wraps, the window isn't correctly drawn.
  4518.         (Yegappan Lakshmanan)
  4519. Solution:   When redrawing the topline don't scroll twice.
  4520. Files:        src/screen.c
  4521.  
  4522. Patch 6.0.131
  4523. Problem:    When using bufname() and there are two matches for listed buffers
  4524.         and one match for an unlisted buffer, the unlisted buffer is used.
  4525.         (Aric Blumer)
  4526. Solution:   When there is a match with a listed buffer, don't check for
  4527.         unlisted buffers.
  4528. Files:        src/buffer.c
  4529.  
  4530. Patch 6.0.132
  4531. Problem:    When setting 'iminsert' in the vimrc and using an xterm with two
  4532.         screens the ruler is drawn in the wrong screen. (Igor Goldenberg)
  4533. Solution:   Only draw the ruler when using the right screen.
  4534. Files:        src/option.c
  4535.  
  4536. Patch 6.0.133
  4537. Problem:    When opening another buffer while 'keymap' is set and 'iminsert'
  4538.         is zero, 'iminsert' is set to one unexpectedly. (Igor Goldenberg)
  4539. Solution:   Don't set 'iminsert' as a side effect of defining a ":lmap"
  4540.         mapping.  Only do that when 'keymap' is set.
  4541. Files:        src/getchar.c, src/option.c
  4542.  
  4543. Patch 6.0.134
  4544. Problem:    When completing ":set tags=" a path with an embedded space causes
  4545.         the completion to stop. (Sektor van Skijlen)
  4546. Solution:   Escape spaces with backslashes, like for ":set path=".  Also take
  4547.         backslashes into account when searching for the start of the path
  4548.         to complete (e.g., for 'backupdir' and 'cscopeprg').
  4549. Files:        src/ex_docmd.c, src/ex_getln.c, src/option.c, src/structs.h
  4550.  
  4551. Patch 6.0.135
  4552. Problem:    Menus that are not supposed to do anything used "<Nul>", which
  4553.         still produced an error beep.
  4554.         When CTRL-O is mapped for Insert mode, ":amenu" commands didn't
  4555.         work in Insert mode.
  4556.         Menu language falls back to English when $LANG ends in "@euro".
  4557. Solution:   Use "<Nop>" for a menu item that doesn't do anything, just like
  4558.         mappings.
  4559.         Use ":anoremenu" instead of ":amenu".
  4560.         Ignore "@euro" in the locale name.
  4561. Files:        runtime/makemenu.vim, runtime/menu.vim, src/menu.c
  4562.  
  4563. Patch 6.0.136
  4564. Problem:    When completing in Insert mode, a mapping could be unexpectedly
  4565.         applied.
  4566. Solution:   Don't use mappings when checking for a typed character.
  4567. Files:        src/edit.c
  4568.  
  4569. Patch 6.0.137
  4570. Problem:    GUI: When using the find or find/replace dialog from Insert mode,
  4571.         the input mode is stopped.
  4572. Solution:   Don't use the input method status when the main window doesn't
  4573.         have focus.
  4574. Files:        src/ui.c
  4575.  
  4576. Patch 6.0.138
  4577. Problem:    GUI: When using the find or find/replace dialog from Insert mode,
  4578.         the text is inserted when CTRL-O is mapped. (Andre Pang)
  4579.         When opening the dialog again, a whole word search isn't
  4580.         recognized.
  4581.         When doing "replace all" a whole word search was never done.
  4582. Solution:   Don't put a search or replace command in the input buffer,
  4583.         execute it directly.
  4584.         Recognize "\<" and "\>" after removing "\V".
  4585.         Add "\<" and "\>" also for "replace all".
  4586. Files:        src/gui.c
  4587.  
  4588. Patch 6.0.139
  4589. Problem:    When stopping 'wildmenu' completion, the statusline of the
  4590.         bottom-left vertically split window isn't redrawn. (Yegappan
  4591.         Lakshmanan)
  4592. Solution:   Redraw all the bottom statuslines.
  4593. Files:        src/ex_getln.c, src/proto/screen.pro, src/screen.c
  4594.  
  4595. Patch 6.0.140
  4596. Problem:    Memory allocated for local mappings and abbreviations is leaked
  4597.         when the buffer is wiped out.
  4598. Solution:   Clear the local mappings when deleting a buffer.
  4599. Files:        src/buffer.c, src/getchar.c, src/proto/getchar.pro, src/vim.h
  4600.  
  4601. Patch 6.0.141
  4602. Problem:    When using ":enew" in an empty buffer, some buffer-local things
  4603.         are not cleared.  b:keymap_name is not set.
  4604. Solution:   Clear user commands and mappings local to the buffer when re-using
  4605.         the current buffer.  Reload the keymap.
  4606. Files:        src/buffer.c
  4607.  
  4608. Patch 6.0.142
  4609. Problem:    When Python is linked statically, loading dynamic extensions might
  4610.         fail.
  4611. Solution:   Add an extra linking flag when needed. (Andrew Rodionoff)
  4612. Files:        src/configure.in, src/auto/configure
  4613.  
  4614. Patch 6.0.143
  4615. Problem:    When a syntax item includes a line break in a pattern, the syntax
  4616.         may not be updated properly when making a change.
  4617. Solution:   Add the "linebreaks" argument to ":syn sync".
  4618. Files:        runtime/doc/syntax.txt, src/screen.c, src/structs.h, src/syntax.c
  4619.  
  4620. Patch 6.0.144
  4621. Problem:    After patch 6.0.088 redoing "veU" doesn't work.
  4622. Solution:   Don't add the "U" to the redo buffer, it will be used as an undo
  4623.         command.
  4624. Files:        src/normal.c
  4625.  
  4626. Patch 6.0.145
  4627. Problem:    When Vim can't read any input it might get stuck.  When
  4628.         redirecting stdin and stderr Vim would not read commands from a
  4629.         file.  (Servatius Brandt)
  4630. Solution:   When repeatedly trying to read a character when it's not possible,
  4631.         exit Vim.  When stdin and stderr are not a tty, still try reading
  4632.         from them, but don't do a blocking wait.
  4633. Files:        src/ui.c
  4634.  
  4635. Patch 6.0.146
  4636. Problem:    When 'statusline' contains "%{'-'}" this results in a zero.
  4637.         (Milan Vancura)
  4638. Solution:   Don't handle numbers with a minus as a number, they were not
  4639.         displayed anyway.
  4640. Files:        src/buffer.c
  4641.  
  4642. Patch 6.0.147
  4643. Problem:    It's not easy to mark a Vim version as being modified.  The new
  4644.         license requires this.
  4645. Solution:   Add the --modified-by argument to configure and the MODIFIED_BY
  4646.         define.  I's used in the intro screen and the ":version" output.
  4647. Files:        src/auto/configure, src/configure.in, src/config.h.in,
  4648.         src/feature.h, src/version.c
  4649.  
  4650. Patch 6.0.148
  4651. Problem:    After "p" in an empty line, `[ goes to the second character.
  4652.         (Kontra Gergely)
  4653. Solution:   Don't increment the column number in an empty line.
  4654. Files:        src/ops.c
  4655.  
  4656. Patch 6.0.149
  4657. Problem:    The pattern "\(.\{-}\)*" causes a hang.  When using a search
  4658.         pattern that causes a stack overflow to be detected Vim could
  4659.         still hang.
  4660. Solution:   Correctly report "operand could be empty" when using "\{-}".
  4661.         Check for "out_of_stack" inside loops to avoid a hang.
  4662. Files:        src/regexp.c
  4663.  
  4664. Patch 6.0.150
  4665. Problem:    When using a multi-byte encoding, patch 6.0.148 causes "p" to work
  4666.         like "P". (Sung-Hyun Nam)
  4667. Solution:   Compute the byte length of a multi-byte character.
  4668. Files:        src/ops.c
  4669.  
  4670. Patch 6.0.151
  4671. Problem:    Redrawing the status line and ruler can be wrong when it contains
  4672.         multi-byte characters.
  4673. Solution:   Use character width and byte length correctly. (Yasuhiro Matsumoto)
  4674. Files:        src/screen.c
  4675.  
  4676. Patch 6.0.152
  4677. Problem:    strtrans() could hang on an illegal UTF-8 byte sequence.
  4678. Solution:   Skip over illegal bytes. (Yasuhiro Matsumoto)
  4679. Files:        src/charset.c
  4680.  
  4681. Patch 6.0.153
  4682. Problem:    When using (illegal) double-byte characters and Vim syntax
  4683.         highlighting Vim can crash. (Yasuhiro Matsumoto)
  4684. Solution:   Increase a pointer over a character instead of a byte.
  4685. Files:        src/regexp.c
  4686.  
  4687. Patch 6.0.154
  4688. Problem:    MS-DOS and MS-Windows: The menu entries for xxd don't work when
  4689.         there is no xxd in the path.
  4690.         When converting back from Hex the filetype may remain "xxd" if it
  4691.         is not detected.
  4692. Solution:   When xxd is not in the path use the one in the runtime directory,
  4693.         where the install program has put it.
  4694.         Clear the 'filetype' option before detecting the new value.
  4695. Files:        runtime/menu.vim
  4696.  
  4697. Patch 6.0.155
  4698. Problem:    Mac: compilation problems in ui.c after patch 6.0.145. (Axel
  4699.         Kielhorn)
  4700. Solution:   Don't call mch_inchar() when NO_CONSOLE is defined.
  4701. Files:        src/ui.c
  4702.  
  4703. Patch 6.0.156
  4704. Problem:    Starting Vim with the -b argument and two files, ":next" doesn't
  4705.         set 'binary' in the second file, like Vim 5.7. (Norman Diamond)
  4706. Solution:   Set the global value for 'binary'.
  4707. Files:        src/option.c
  4708.  
  4709. Patch 6.0.157
  4710. Problem:    When defining a user command with "-complete=dir" files will also
  4711.         be expanded.  Also, "-complete=mapping" doesn't appear to work.
  4712.         (Michael Naumann)
  4713. Solution:   Use the expansion flags defined with the user command.
  4714.         Handle expanding mappings specifically.
  4715. Files:        src/ex_docmd.c
  4716.  
  4717. Patch 6.0.158
  4718. Problem:    When getting the warning for a file being changed outside of Vim
  4719.         and reloading the file, the 'readonly' option is reset, even when
  4720.         the permissions didn't change. (Marcel Svitalsky)
  4721. Solution:   Keep 'readonly' set when reloading a file and the permissions
  4722.         didn't change.
  4723. Files:        src/fileio.c
  4724.  
  4725. Patch 6.0.159
  4726. Problem:    Wildcard expansion for ":emenu" also shows separators.
  4727. Solution:   Skip menu separators for ":emenu", ":popup" and ":tearoff".
  4728.         Also, don't handle ":tmenu" as if it was ":tearoff".  And leave
  4729.         out the alternatives with "&" included.
  4730. Files:        src/menu.c
  4731.  
  4732. Patch 6.0.160
  4733. Problem:    When compiling with GCC 3.0.2 and using the "-O2" argument, the
  4734.         optimizer causes a problem that makes Vim crash.
  4735. Solution:   Add a configure check to avoid "-O2" for this version of gcc.
  4736. Files:        src/configure.in, src/auto/configure
  4737.  
  4738. Patch 6.0.161 (extra)
  4739. Problem:    Win32: Bitmaps don't work with signs.
  4740. Solution:   Make it possible to use bitmaps with signs. (Muraoka Taro)
  4741. Files:        src/ex_cmds.c, src/feature.h, src/gui_w32.c, src/gui_x11.c,
  4742.         src/proto/gui_w32.pro, src/proto/gui_x11.pro
  4743.  
  4744. Patch 6.0.162
  4745. Problem:    Client-server: An error message for a wrong expression appears in
  4746.         the server instead of the cient.
  4747. Solution:   Pass the error message from the server to the client.  Also
  4748.         adjust the example code. (Flemming Madsen)
  4749. Files:        src/globals.h, src/if_xcmdsrv.c, src/main.c, src/os_mswin.c,
  4750.         src/proto/if_xcmdsrv.pro, src/proto/os_mswin.pro,
  4751.         runtime/doc/eval.txt, runtime/tools/xcmdsrv_client.c
  4752.  
  4753. Patch 6.0.163
  4754. Problem:    When using a GUI dialog, a file name is sometimes used like it was
  4755.         a directory.
  4756. Solution:   Separate path and file name properly.
  4757.         For GTK, Motif and Athena concatenate directory and file name for
  4758.         the default selection.
  4759. Files:        src/diff.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c,
  4760.         src/gui_athena.c, src/gui_gtk.c, src/gui_motif.c, src/message.c
  4761.  
  4762. Patch 6.0.164
  4763. Problem:    After patch 6.0.135 the menu entries for pasting don't work in
  4764.         Insert and Visual mode. (Muraoka Taro)
  4765. Solution:   Add <script> to allow script-local mappings.
  4766. Files:        runtime/menu.vim
  4767.  
  4768. Patch 6.0.165
  4769. Problem:    Using --remote and executing locally gives unavoidable error
  4770.         messages.
  4771. Solution:   Add --remote-silent and --remote-wait-silent to silently execute
  4772.         locally.
  4773.         For Win32 there was no error message when a server didn't exist.
  4774. Files:        src/eval.c, src/if_xcmdsrv.c, src/main.c, src/os_mswin.c,
  4775.         src/proto/if_xcmdsrv.pro, src/proto/os_mswin.pro
  4776.  
  4777. Patch 6.0.166
  4778. Problem:    GUI: There is no way to avoid dialogs to pop up.
  4779. Solution:   Add the 'c' flag to 'guioptions': Use console dialogs.  (Yegappan
  4780.         Lakshmanan)
  4781. Files:        runtime/doc/options.txt, src/option.h, src/message.c
  4782.  
  4783. Patch 6.0.167
  4784. Problem:    When 'fileencodings' is "latin2" some characters in the help files
  4785.         are displayed wrong.
  4786. Solution:   Force the 'fileencoding' for the help files to be "latin1".
  4787. Files:        src/fileio.c
  4788.  
  4789. Patch 6.0.168
  4790. Problem:    ":%s/\n/#/" doesn't replace at an empty line. (Bruce DeVisser)
  4791. Solution:   Don't skip matches after joining two lines.
  4792. Files:        src/ex_cmds.c
  4793.  
  4794. Patch 6.0.169
  4795. Problem:    When run as evim and the GUI can't be started we get stuck in a
  4796.         terminal without menus in Insert mode.
  4797. Solution:   Exit when using "evim" and "gvim -y" when the GUI can't be
  4798.         started.
  4799. Files:        src/main.c
  4800.  
  4801. Patch 6.0.170
  4802. Problem:    When printing double-width characters the size of tabs after them
  4803.         is wrong.  (Muraoka Taro)
  4804. Solution:   Correctly compute the column after a double-width character.
  4805. Files:        src/ex_cmds2.c
  4806.  
  4807. Patch 6.0.171
  4808. Problem:    With 'keymodel' including "startsel", in Insert mode after the end
  4809.         of a line, shift-Left does not move the cursor. (Steve Hall)
  4810. Solution:   CTRL-O doesn't move the cursor left, need to do that explicitly.
  4811. Files:        src/edit.c
  4812.  
  4813. Patch 6.0.172
  4814. Problem:    CTRL-Q doesn't replace CTRL-V after CTRL-X in Insert mode while it
  4815.         does in most other situations.
  4816. Solution:   Make CTRL-X CTRL-Q work like CTRL-X CTRL-V in Insert mode.
  4817. Files:        src/edit.c
  4818.  
  4819. Patch 6.0.173
  4820. Problem:    When using "P" to insert a line break the cursor remains past the
  4821.         end of the line.
  4822. Solution:   Check for the cursor being beyond the end of the line.
  4823. Files:        src/ops.c
  4824.  
  4825. Patch 6.0.174
  4826. Problem:    After using "gd" or "gD" the search direction for "n" may still be
  4827.         backwards. (Servatius Brandt)
  4828. Solution:   Reset the search direction to forward.
  4829. Files:        src/normal.c, src/search.c, src/proto/search.pro
  4830.  
  4831. Patch 6.0.175
  4832. Problem:    ":help /\z(\)" doesn't work. (Thomas Koehler)
  4833. Solution:   Double the backslashes.
  4834. Files:        src/ex_cmds.c
  4835.  
  4836. Patch 6.0.176
  4837. Problem:    When killed by a signal autocommands are still triggered as if
  4838.         nothing happened.
  4839. Solution:   Add the v:dying variable to allow autocommands to work differently
  4840.         when a deadly signal has been trapped.
  4841. Files:        src/eval.c, src/os_unix.c, src/vim.h
  4842.  
  4843. Patch 6.0.177
  4844. Problem:    When 'commentstring' is empty and 'foldmethod' is "marker", "zf"
  4845.         doesn't work. (Thomas S. Urban)
  4846. Solution:   Add the marker even when 'commentstring' is empty.
  4847. Files:        src/fold.c, src/normal.c
  4848.  
  4849. Patch 6.0.178
  4850. Problem:    Uninitialized memory read from xp_backslash field.
  4851. Solution:   Initialize xp_backslash field properly.
  4852. Files:        src/eval.c, src/ex_docmd.c, src/ex_getln.c, src/misc1.c, src/tag.c
  4853.  
  4854. Patch 6.0.179
  4855. Problem:    Win32: When displaying UTF-8 characters may read uninitialized
  4856.         memory.
  4857. Solution:   Add utfc_ptr2len_check_len() to avoid reading past the end of a
  4858.         string.
  4859. Files:        src/mbyte.c, src/proto/mbyte.pro, src/gui_w32.c
  4860.  
  4861. Patch 6.0.180
  4862. Problem:    Expanding environment variables in a string that ends in a
  4863.         backslash could go past the end of the string.
  4864. Solution:   Detect the trailing backslash.
  4865. Files:        src/misc1.c
  4866.  
  4867. Patch 6.0.181
  4868. Problem:    When using ":cd dir" memory was leaked.
  4869. Solution:   Free the allocated memory.  Also avoid an uninitialized memory
  4870.         read.
  4871. Files:        src/misc2.c
  4872.  
  4873. Patch 6.0.182
  4874. Problem:    When using a regexp on multi-byte characters, could try to read a
  4875.         character before the start of the line.
  4876. Solution:   Don't decrement a pointer to before the start of the line.
  4877. Files:        src/regexp.c
  4878.  
  4879. Patch 6.0.183
  4880. Problem:    Leaking memory when ":func!" redefines a function.
  4881. Solution:   Free the function name when it's not used.
  4882. Files:        src/eval.c
  4883.  
  4884. Patch 6.0.184
  4885. Problem:    Leaking memory when expanding option values.
  4886. Solution:   Don't always copy the expanded option into allocated memory.
  4887. Files:        src/option.c
  4888.  
  4889. Patch 6.0.185
  4890. Problem:    Crash in Vim when pasting a selection in another application, on a
  4891.         64 bit machine.
  4892. Solution:   Fix the format for an Atom to 32 bits. (Peter Derr)
  4893. Files:        src/ui.c
  4894.  
  4895. Patch 6.0.186
  4896. Problem:    X11: Three warnings when compiling the client-server code.
  4897. Solution:   Add a typecast to unsigned char.
  4898. Files:        src/if_xcmdsrv.c
  4899.  
  4900. Patch 6.0.187
  4901. Problem:    "I" in Visual mode and then "u" reports too many changes. (Andrew
  4902.         Stryker)
  4903.         "I" in Visual linewise mode adjusts the indent for no apparent
  4904.         reason.
  4905. Solution:   Only save those lines for undo that are changed.
  4906.         Don't change the indent after inserting in Visual linewise mode.
  4907. Files:        src/ops.c
  4908.  
  4909. Patch 6.0.188
  4910. Problem:    Win32: After patch 6.0.161 signs defined in the vimrc file don't
  4911.         work.
  4912. Solution:   Initialize the sign icons after initializing the GUI. (Vince
  4913.         Negri)
  4914. Files:        src/gui.c, src/gui_x11.c
  4915.  
  4916. Patch 6.0.189
  4917. Problem:    The size of the Visual area isn't always displayed when scrolling
  4918.         ('ruler' off, 'showcmd' on).  Also not when using a search
  4919.         command. (Sylvain Hitier)
  4920. Solution:   Redisplay the size of the selection after showing the mode.
  4921. Files:        src/screen.c
  4922.  
  4923. Patch 6.0.190
  4924. Problem:    GUI: when 'mouse' is empty a click with the middle button still
  4925.         moves the cursor.
  4926. Solution:   Paste at the cursor position instead of the mouse position.
  4927. Files:        src/normal.c
  4928.  
  4929. Patch 6.0.191
  4930. Problem:    When no servers are available serverlist() gives an error instead
  4931.         of returning an empty string. (Hari Krishna)
  4932. Solution:   Don't give an error message.
  4933. Files:        src/eval.c
  4934.  
  4935. Patch 6.0.192
  4936. Problem:    When 'virtualedit' is set, "ylj" goes to the wrong column. (Andrew
  4937.         Nikitin)
  4938. Solution:   Reset the flag that w_virtcol is valid when moving the cursor back
  4939.         to the start of the operated area.
  4940. Files:        src/normal.c
  4941.  
  4942. Patch 6.0.193
  4943. Problem:    When 'virtualedit' is set, col(".") after the end of the line
  4944.         should return one extra.
  4945. Solution:   Add one to the column.
  4946. Files:        src/eval.c
  4947.  
  4948. Patch 6.0.194
  4949. Problem:    "--remote-silent" tries to send a reply to the client, like it was
  4950.         "--remote-wait".
  4951. Solution:   Properly check for the argument.
  4952. Files:        src/main.c
  4953.  
  4954. Patch 6.0.195
  4955. Problem:    When 'virtualedit' is set and a search starts in virtual space
  4956.         ":call search('x')" goes to the wrong position. (Eric Long)
  4957. Solution:   Reset coladd when finding a match.
  4958. Files:        src/search.c
  4959.  
  4960. Patch 6.0.196
  4961. Problem:    When 'virtualedit' is set, 'selection' is "exclusive" and visually
  4962.         selecting part of a tab at the start of a line, "x" joins it with
  4963.         the previous line.  Also, when the selection spans more than one
  4964.         line the whole tab is deleted.
  4965. Solution:   Take coladd into account when adjusting for 'selection' being
  4966.         "exclusive".  Also expand a tab into spaces when deleting more
  4967.         than one line.
  4968. Files:        src/normal.c, src/ops.c
  4969.  
  4970. Patch 6.0.197
  4971. Problem:    When 'virtualedit' is set and 'selection' is "exclusive", "v$x"
  4972.         doesn't delete the last character in the line. (Eric Long)
  4973. Solution:   Don't reset the inclusive flag. (Helmut Stiegler)
  4974. Files:        src/normal.c
  4975.  
  4976. Patch 6.0.198
  4977. Problem:    When 'virtualedit' is set and 'showbreak' is not empty, moving the
  4978.         cursor over the line break doesn't work properly. (Eric Long)
  4979. Solution:   Make getviscol() and getviscol2() use getvvcol() to obtain the
  4980.         virtual cursor position.  Adjust coladvance() and oneleft() to
  4981.         skip over the 'showbreak' characters.
  4982. Files:        src/edit.c, src/misc2.c
  4983.  
  4984. Patch 6.0.199
  4985. Problem:    Multi-byte: could use iconv() after calling iconv_end().
  4986.         (Yasuhiro Matsumoto)
  4987. Solution:   Stop converting input and output stream after calling iconv_end().
  4988. Files:        src/mbyte.c
  4989.  
  4990. Patch 6.0.200
  4991. Problem:    A script that starts with "#!perl" isn't recognized as a Perl
  4992.         filetype.
  4993. Solution:   Ignore a missing path in a script header.  Also, speed up
  4994.         recognizing scripts by simplifying the patterns used.
  4995. Files:        runtime/scripts.vim
  4996.  
  4997. Patch 6.0.201
  4998. Problem:    When scrollbinding and doing a long jump, switching windows jumps
  4999.         to another position in the file.  Scrolling a few lines at a time
  5000.         is OK. (Johannes Zellner)
  5001. Solution:   When setting w_topline reset the flag that indicates w_botline is
  5002.         valid.
  5003. Files:        src/diff.c
  5004.  
  5005. Patch 6.0.202
  5006. Problem:    The "icon=" argument for the menu command to define a toolbar icon
  5007.         with a file didn't work for GTK. (Christian J. Robinson)
  5008.         For Motif and Athena a full path was required.
  5009. Solution:   Search the icon file using the specified path.  Expand environment
  5010.         variables in the file name.
  5011. Files:        src/gui_gtk.c, src/gui_x11.c
  5012.  
  5013. Patch 6.0.203
  5014. Problem:    Can change 'fileformat' even though 'modifiable is off. (Servatius
  5015.         Brandt)
  5016. Solution:   Correct check for kind of set command.
  5017. Files:        src/option.c
  5018.  
  5019. Patch 6.0.204
  5020. Problem:    ":unlet" doesn't work for variables with curly braces. (Thomas
  5021.         Scott Urban)
  5022. Solution:   Handle variable names with curly braces properly. (Vince Negri)
  5023. Files:        src/eval.c
  5024.  
  5025. Patch 6.0.205 (extra)
  5026. Problem:    "gvim -f" still forks when using the batch script to start Vim.
  5027. Solution:   Add an argument to "start" to use a foreground session (Michael
  5028.         Geddes)
  5029. Files:        src/dosinst.c
  5030.  
  5031. Patch 6.0.206
  5032. Problem:    Unix: if expanding a wildcard in a file name results in a
  5033.         wildcard character and there are more parts in the path with a
  5034.         wildcard, it is expanded again.
  5035.         Windows: ":edit \[abc]" could never edit the file "[abc]".
  5036. Solution:   Don't expand wildcards in already expanded parts.
  5037.         Don't remove backslashes used to escape the special meaning of a
  5038.         wildcard; can edit "[abc]" if '[' is removed from 'isfname'.
  5039. Files:        src/misc1.c, src/os_unix.c
  5040.  
  5041. Patch 6.0.207 (extra)
  5042. Problem:    Win32: The shortcuts and start menu entries let Vim startup in the
  5043.         desktop directory, which is not very useful.
  5044. Solution:   Let shortcuts start Vim in $HOME or $HOMEDIR$HOMEPATH.
  5045. Files:        src/dosinst.c
  5046.  
  5047. Patch 6.0.208
  5048. Problem:    GUI: When using a keymap and the cursor is not blinking, CTRL-^ in
  5049.         Insert mode doesn't directly change the cursor color.  (Alex
  5050.         Solow)
  5051. Solution:   Force a redraw of the cursor after CTRL-^.
  5052. Files:        src/edit.c
  5053.  
  5054. Patch 6.0.209
  5055. Problem:    GUI GTK: After selecting a 'guifont' with the font dialog there
  5056.         are redraw problems for multi-byte characters.
  5057. Solution:   Separate the font dialog from setting the new font name to avoid
  5058.         that "*" is used to find wide and bold fonts.
  5059.         When redrawing extra characters for the bold trick, take care of
  5060.         UTF-8 characters.
  5061. Files:        src/gui.c, src/gui_gtk_x11.c, src/option.c, src/proto/gui.pro,
  5062.         src/proto/gui_gtk_x11.pro
  5063.  
  5064. Patch 6.0.210
  5065. Problem:    After patch 6.0.167 it's no longer possible to edit a help file in
  5066.         another encoding than latin1.
  5067. Solution:   Let the "++enc=" argument overrule the encoding.
  5068. Files:        src/fileio.c
  5069.  
  5070. Patch 6.0.211
  5071. Problem:    When reading a file fails, the buffer is empty, but it might still
  5072.         be possible to write it with ":w" later.  The original file is
  5073.         lost then. (Steve Amerige)
  5074. Solution:   Set the 'readonly' option for the buffer.
  5075. Files:        src/fileio.c
  5076.  
  5077. Patch 6.0.212
  5078. Problem:    GUI GTK: confirm("foo", "") causes a crash.
  5079. Solution:   Don't make a non-existing button the default.  Add a default "OK"
  5080.         button if none is specified.
  5081. Files:        src/eval.c, src/gui_gtk.c
  5082.  
  5083. Patch 6.0.213
  5084. Problem:    When a file name contains unprintable characters, CTRL-G and other
  5085.         commands don't work well.
  5086. Solution:   Turn unprintable into printable characters. (Yasuhiro Matsumoto)
  5087. Files:        src/buffer.c, src/charset.c
  5088.  
  5089. Patch 6.0.214
  5090. Problem:    When there is a buffer without a name, empty entries appear in the
  5091.         jumplist saved in the viminfo file.
  5092. Solution:   Don't write jumplist entries without a file name.
  5093. Files:        src/mark.c
  5094.  
  5095. Patch 6.0.215
  5096. Problem:    After using "/" from Visual mode the Paste menu and Toolbar
  5097.         entries don't work.  Pasting with the middle mouse doesn't work
  5098.         and modeless selection doesn't work.
  5099. Solution:   Use the command line mode menus and use the mouse like in the
  5100.         command line.
  5101. Files:        src/gui.c, src/menu.c, src/ui.c
  5102.  
  5103. Patch 6.0.216
  5104. Problem:    After reloading a file, displayed in another window than the
  5105.         current one, which was changed outside of Vim the part of the file
  5106.         around the cursor set by autocommands may be displayed, but
  5107.         jumping back to the original cursor position when entering the
  5108.         window again.
  5109. Solution:   Restore the topline of the window.
  5110. Files:        src/fileio.c
  5111.  
  5112. Patch 6.0.217
  5113. Problem:    When getting help from a help file that was used before, an empty
  5114.         unlisted buffer remains in the buffer list. (Eric Long)
  5115. Solution:   Wipe out the buffer used to do the tag jump from.
  5116. Files:        src/buffer.c, src/ex_cmds.c, src/proto/buffer.pro
  5117.  
  5118. Patch 6.0.218
  5119. Problem:    With explorer plugin: "vim -o filename dirname" doesn't load the
  5120.         explorer window until entering the window.
  5121. Solution:   Call s:EditDir() for each window after starting up.
  5122. Files:        runtime/plugin/explorer.vim
  5123.  
  5124. Patch 6.0.219
  5125. Problem:    ":setlocal" and ":setglobal", without arguments, display terminal
  5126.         options. (Zdenek Sekera)
  5127. Solution:   Skip terminal options for these two commands.
  5128. Files:        src/option.c
  5129.  
  5130. Patch 6.0.220
  5131. Problem:    After patch 6.0.218 get a beep on startup. (Muraoka Taro)
  5132. Solution:   Don't try going to another window when there isn't one.
  5133. Files:        runtime/plugin/explorer.vim
  5134.  
  5135. Patch 6.0.221
  5136. Problem:    When using ":bdel" and all other buffers are unloaded the lowest
  5137.         numbered buffer is jumped to instead of the most recent one. (Dave
  5138.         Cecil)
  5139. Solution:   Prefer an unloaded buffer from the jumplist.
  5140. Files:        src/buffer.c
  5141.  
  5142. Patch 6.0.222
  5143. Problem:    When 'virtualedit' is set and using autoindent, pressing Esc after
  5144.         starting a new line leaves behind part of the autoindent. (Helmut
  5145.         Stiegler)
  5146. Solution:   After deleting the last char in the line adjust the cursor
  5147.         position in del_bytes().
  5148. Files:        src/misc1.c, src/ops.c
  5149.  
  5150. Patch 6.0.223
  5151. Problem:    When splitting a window that contains the explorer, hitting CR on
  5152.         a file name gives error messages.
  5153. Solution:   Set the window variables after splitting the window.
  5154. Files:        runtime/plugin/explorer.vim
  5155.  
  5156. Patch 6.0.224
  5157. Problem:    When 'sidescroll' and 'sidescrolloff' are set in a narrow window
  5158.         the text may jump left-right and the cursor is displayed in the
  5159.         wrong position. (Aric Blumer)
  5160. Solution:   When there is not enough room, compute the left column for the
  5161.         window to put the cursor in the middle.
  5162. Files:        src/move.c
  5163.  
  5164. Patch 6.0.225
  5165. Problem:    In Visual mode "gk" gets stuck in a closed fold. (Srinath
  5166.         Avadhanula)
  5167. Solution:   Behave differently in a closed fold.
  5168. Files:        src/normal.c
  5169.  
  5170. Patch 6.0.226
  5171. Problem:    When doing ":recover file" get the ATTENTION prompt.
  5172.         After recovering the same file five times get a read error or a
  5173.         crash.  (Alex Davis)
  5174. Solution:   Set the recoverymode flag before setting the file name.
  5175.         Correct the amount of used memory for the size of block zero.
  5176. Files:        src/ex_docmd.c
  5177.  
  5178. Patch 6.0.227 (extra)
  5179. Problem:    The RISC OS port has several problems.
  5180. Solution:   Update the makefile and fix some of the problems. (Andy Wingate)
  5181. Files:        src/Make_ro.mak, src/os_riscos.c, src/os_riscos.h,
  5182.         src/proto/os_riscos.pro, src/search.c
  5183.  
  5184. Patch 6.0.228
  5185. Problem:    After putting text in Visual mode the '] mark is not at the end of
  5186.         the put text.
  5187.         Undo doesn't work properly when putting a word into a Visual
  5188.         selection that spans more than one line.
  5189. Solution:   Correct the '] mark for the deleting the Visually selected text.
  5190.         #ifdef code that depends on FEAT_VISUAL properly.
  5191.         Also fix that "d" crossing line boundary puts '[ just before
  5192.         deleted text.
  5193.         Fix undo by saving all deleted lines at once.
  5194. Files:        src/ex_docmd.c, src/globals.h, src/normal.c, src/ops.c,
  5195.         src/structs.h, src/vim.h
  5196.  
  5197. Patch 6.0.229
  5198. Problem:    Multi-byte: With 'm' in 'formatoptions', formatting doesn't break
  5199.         at a multi-byte char followed by an ASCII char, and the other way
  5200.         around. (Muraoka Taro)
  5201.         When joining lines a space is inserted between multi-byte
  5202.         characters, which is not always wanted.
  5203. Solution:   Check for multi-byte character before and after the breakpoint.
  5204.         Don't insert a space before or after a multi-byte character when
  5205.         joining lines and the 'M' flag is in 'formatoptions'.  Don't
  5206.         insert a space between multi-byte characters when the 'B' flag is
  5207.         in 'formatoptions'.
  5208. Files:        src/edit.c, src/ops.c, src/option.h
  5209.  
  5210. Patch 6.0.230
  5211. Problem:    The ":" used as a motion after an operator is exclusive, but
  5212.         sometimes it should be inclusive.
  5213. Solution:   Make the "v" in between an operator and motion toggle
  5214.         inclusive/exclusive. (Servatius Brandt)
  5215. Files:        runtime/doc/motion.txt, src/normal.c
  5216.  
  5217. Patch 6.0.231
  5218. Problem:    "gd" and "gD" don't work when the variable matches in a comment
  5219.         just above the match to be found. (Servatius Brandt)
  5220. Solution:   Continue searching in the first column below the comment.
  5221. Files:        src/normal.c
  5222.  
  5223. Patch 6.0.232
  5224. Problem:    "vim --version" prints on stderr while "vim --help" prints on
  5225.         stdout.
  5226. Solution:   Make "vim --version" use stdout.
  5227. Files:        runtime/doc/starting.txt, src/globals.h, src/main.c, src/message.c
  5228.  
  5229. Patch 6.0.233
  5230. Problem:    "\1\{,8}" in a regexp is not allowed, but it should work, because
  5231.         there is an upper limit.  (Jim Battle)
  5232. Solution:   Allow using "\{min,max}" after an atom that can be empty if there
  5233.         is an upper limit.
  5234. Files:        src/regexp.c
  5235.  
  5236. Patch 6.0.234
  5237. Problem:    It's not easy to set the cursor position without modifying marks.
  5238. Solution:   Add the cursor() function. (Yegappan Lakshmanan)
  5239. Files:        runtime/doc/eval.txt, src/eval.c
  5240.  
  5241. Patch 6.0.235
  5242. Problem:    When writing a file and renaming the original file to make the
  5243.         backup, permissions could change when setting the owner.
  5244. Solution:   Only set the owner when it's needed and set the permissions again
  5245.         afterwards.
  5246.         When 'backupcopy' is "auto" check that the owner and permissions
  5247.         of a newly created file can be set properly.
  5248. Files:        src/fileio.c
  5249.  
  5250. Patch 6.0.236
  5251. Problem:    ":edit" without argument should move cursor to line 1 in Vi
  5252.         compatible mode.
  5253. Solution:   Add 'g' flag to 'cpoptions'.
  5254. Files:        runtime/doc/options.txt, src/ex_docmd.c, src/option.h
  5255.  
  5256. Patch 6.0.237
  5257. Problem:    In a C file, using the filetype plugin, re-indenting a comment
  5258.         with two spaces after the middle "*" doesn't align properly.
  5259. Solution:   Don't use a middle entry from a start/middle/end to line up with
  5260.         the start of the comment when the start part doesn't match with
  5261.         the actual comment start.
  5262. Files:        src/misc1.c
  5263.  
  5264. Patch 6.0.238
  5265. Problem:    Using a ":subsitute" command with a substitute() call in the
  5266.         substitution expression causes errors. (Srinath Avadhanula)
  5267. Solution:   Save and restore pointers when doing substitution recursively.
  5268. Files:        src/regexp.c
  5269.  
  5270. Patch 6.0.239
  5271. Problem:    Using "A" to append after a Visually selected block which is after
  5272.         the end of the line, spaces are inserted in the wrong line and
  5273.         other unexpected effects. (Michael Naumann)
  5274. Solution:   Don't advance the cursor to the next line.
  5275. Files:        src/ops.c
  5276.  
  5277. Patch 6.0.240
  5278. Problem:    Win32: building with Python 2.2 doesn't work.
  5279. Solution:   Add support for Python 2.2 with dynamic linking. (Paul Moore)
  5280. Files:        src/if_python.c
  5281.  
  5282. Patch 6.0.241
  5283. Problem:    Win32: Expanding the old value of an option that is a path that
  5284.         starts with a backslash, an extra backslash is inserted.
  5285. Solution:   Only insert backslashes where needed.
  5286.         Also handle multi-byte characters properly when removing
  5287.         backslashes.
  5288. Files:        src/option.c
  5289.  
  5290. Patch 6.0.242
  5291. Problem:    GUI: On a system with an Exceed X server sometimes get a "Bad
  5292.         Window" error. (Tommi Maekitalo)
  5293. Solution:   When forking, use a pipe to wait in the parent for the child to
  5294.         have done the setsid() call.
  5295. Files:        src/gui.c
  5296.  
  5297. Patch 6.0.243
  5298. Problem:    Unix: "vim --version" outputs a NL before the last line instead of
  5299.         after it. (Charles Campbell)
  5300. Solution:   Send the NL to the same output stream as the text.
  5301. Files:        src/message.c, src/os_unix.c, src/proto/message.pro
  5302.  
  5303. Patch 6.0.244
  5304. Problem:    Multi-byte: Problems with (illegal) UTF-8 characters in menu and
  5305.         file name (e.g., icon text, status line).
  5306. Solution:   Correctly handle unprintable characters.  Catch illegal UTF-8
  5307.         characters and replace them with <xx>.  Truncating the status line
  5308.         wasn't done correctly at a multi-byte character. (Yasuhiro
  5309.         Matsumoto)
  5310.         Added correct_cmdspos() and transchar_byte().
  5311. Files:        src/buffer.c, src/charset.c, src/ex_getln.c, src/gui.c,
  5312.         src/message.c, src/screen.c, src/vim.h
  5313.  
  5314. Patch 6.0.245
  5315. Problem:    After using a color scheme, setting the 'background' option might
  5316.         not work. (Peter Horst)
  5317. Solution:   Disable the color scheme if it switches 'background' back to the
  5318.         wrong value.
  5319. Files:        src/option.c
  5320.  
  5321. Patch 6.0.246
  5322. Problem:    ":echomsg" didn't use the highlighting set by ":echohl". (Gary
  5323.         Holloway)
  5324. Solution:   Use the specified attributes for the message. (Yegappan
  5325.         Lakshmanan)
  5326. Files:        src/eval.c
  5327.  
  5328. Patch 6.0.247
  5329. Problem:    GTK GUI: Can't use gvim in a kpart widget.
  5330. Solution:   Add the "--echo-wid" argument to let Vim echo the window ID on
  5331.         stdout. (Philippe Fremy)
  5332. Files:        runtime/doc/starting.txt, src/globals.h, src/gui_gtk_x11.c,
  5333.         src/main.c
  5334.  
  5335. Patch 6.0.248
  5336. Problem:    When using compressed help files and 'encoding' isn't "latin1",
  5337.         Vim converts the help file before decompressing. (David Reviejo)
  5338. Solution:   Don't convert a help file when 'binary' is set.
  5339. Files:        src/fileio.c
  5340.  
  5341. Patch 6.0.249
  5342. Problem:    "vim -t edit -c 'sta ex_help'" doesn't move cursor to edit().
  5343. Solution:   Don't set the cursor on the first line for "-c" arguments when
  5344.         there also is a "-t" argument.
  5345. Files:        src/main.c
  5346.  
  5347. Patch 6.0.250 (extra)
  5348. Problem:    Macintosh: Various problems when compiling.
  5349. Solution:   Various fixes, mostly #ifdefs. (Dany St. Amant)
  5350. Files:        src/gui_mac.c, src/main.c, src/misc2.c, src/os_mac.h,
  5351.         src/os_mac.pbproj/project.pbxproj, src/os_unix.c
  5352.  
  5353. Patch 6.0.251 (extra)
  5354. Problem:    Macintosh: menu shortcuts are not very clear.
  5355. Solution:   Show the shortcut with the Mac clover symbol. (raindog)
  5356. Files:        src/gui_mac.c
  5357.  
  5358. Patch 6.0.252
  5359. Problem:    When a user function was defined with "abort", an error that is
  5360.         not inside if/endif or while/endwhile doesn't abort the function.
  5361.         (Servatius Brandt)
  5362. Solution:   Don't reset did_emsg when the function is to be aborted.
  5363. Files:        src/ex_docmd.c
  5364.  
  5365. Patch 6.0.253
  5366. Problem:    When 'insertmode' is set, after "<C-O>:edit file" the next <C-O>
  5367.         doesn't work. (Benji Fisher)  <C-L> has the same problem.
  5368. Solution:   Reset need_start_insertmode once in edit().
  5369. Files:        src/edit.c
  5370.  
  5371. Patch 6.0.254 (extra)
  5372. Problem:    Borland C++ 5.5: Checking for stack overflow doesn't work
  5373.         correctly.  Matters when using a complicated regexp.
  5374. Solution:   Remove -N- from Make_bc5.mak. (Yasuhiro Matsumoto)
  5375. Files:        src/Make_bc5.mak
  5376.  
  5377. Patch 6.0.255 (extra) (depends on patch 6.0.116 and 6.0.121)
  5378. Problem:    Win32: ACL support doesn't work well on Samba drives.
  5379. Solution:   Add a check for working ACL support. (Mike Williams)
  5380. Files:        src/os_win32.c
  5381.  
  5382. Patch 6.0.256 (extra)
  5383. Problem:    Win32: ":highlight Comment guifg=asdf" does not give an error
  5384.         message. (Randall W.  Morris)  Also for other systems.
  5385. Solution:   Add gui_get_color() to give one error message for all systems.
  5386. Files:        src/gui.c, src/gui_amiga.c, src/gui_athena.c, src/gui_motif.c,
  5387.         src/gui_riscos.c, src/gui_x11.c, src/gui_gtk_x11.c,
  5388.         src/proto/gui.pro, src/syntax.c
  5389.  
  5390. Patch 6.0.257
  5391. Problem:    Win32: When 'mousefocus' is set and there is a BufRead
  5392.         autocommand, after the dialog for permissions changed outside of
  5393.         Vim: 'mousefocus' stops working. (Robert Webb)
  5394. Solution:   Reset need_mouse_correct after checking timestamps.
  5395. Files:        src/fileio.c
  5396.  
  5397. Patch 6.0.258
  5398. Problem:    When 'scrolloff' is 999 and there are folds, the text can jump up
  5399.         and down when moving the cursor down near the end of the file.
  5400.         (Lubomir Host)
  5401. Solution:   When putting the cursor halfway the window start counting lines at
  5402.         the end of a fold.
  5403. Files:        src/move.c
  5404.  
  5405. Patch 6.0.259
  5406. Problem:    MS-DOS: after editing the command line the cursor shape may remain
  5407.         like in Insert mode. (Volker Kiefel)
  5408. Solution:   Reset the cursor shape after editing the command line.
  5409. Files:        src/ex_getln.c
  5410.  
  5411. Patch 6.0.260
  5412. Problem:    GUI: May crash while starting up when giving an error message for
  5413.         missing color. (Servatius Brandt)
  5414. Solution:   Don't call gui_write() when still starting up.  Don't give error
  5415.         message for empty color name.  Don't use 't_vb' while the GUI is
  5416.         still starting up.
  5417. Files:        src/fileio.c, src/gui.c, src/misc1.c, src/ui.c
  5418.  
  5419. Patch 6.0.261
  5420. Problem:    nr2char() and char2nr() don't work with multi-byte characters.
  5421. Solution:   Use 'encoding' for these functions. (Yasuhiro Matsumoto)
  5422. Files:        runtime/doc/eval.txt, src/eval.c
  5423.  
  5424. Patch 6.0.262 (extra)
  5425. Problem:    Win32: IME doesn't work properly.  OnImeComposition() isn't used
  5426.         at all.
  5427. Solution:   Adjust various things for IME.
  5428. Files:        src/globals.h, src/gui_w32.c, src/mbyte.c, src/proto/ui.pro,
  5429.         src/structs.h, src/ui.c
  5430.  
  5431. Patch 6.0.263
  5432. Problem:    GTK: When a dialog is closed by the window manager, Vim hangs.
  5433.         (Christian J. Robinson)
  5434. Solution:   Use GTK_WIDGET_DRAWABLE() instead of GTK_WIDGET_VISIBLE().
  5435. Files:        src/gui_gtk.c, src/gui_gtk_x11.c
  5436.  
  5437. Patch 6.0.264
  5438. Problem:    The amount of virtual memory is used to initialize 'maxmemtot',
  5439.         which may be much more than the amount of physical memory,
  5440.         resulting in a lot of swapping.
  5441. Solution:   Get the amount of physical memory with sysctl(), sysconf() or
  5442.         sysinfo() when possible.
  5443. Files:        src/auto/configure, src/configure.in, src/config.h.in,
  5444.         src/os_unix.c, src/os_unix.h
  5445.  
  5446. Patch 6.0.265
  5447. Problem:    Win32: Using backspace while 'fkmap' is set causes a crash.
  5448.         (Jamshid Oasjmoha)
  5449. Solution:   Don't try mapping special keys.
  5450. Files:        src/farsi.c
  5451.  
  5452. Patch 6.0.266
  5453. Problem:    The rename() function deletes the file if the old and the new name
  5454.         are the same. (Volker Kiefel)
  5455. Solution:   Don't do anything if the names are equal.
  5456. Files:        src/fileio.c
  5457.  
  5458. Patch 6.0.267
  5459. Problem:    UTF-8: Although 'isprint' says a character is printable,
  5460.         utf_char2cells() still considers it unprintable.
  5461. Solution:   Use vim_isprintc() for characters upto 0x100. (Yasuhiro Matsumoto)
  5462. Files:        src/mbyte.c
  5463.  
  5464. Patch 6.0.268 (extra) (depends on patch 6.0.255)
  5465. Problem:    Win32: ACL check crashes when using forward slash in file name.
  5466. Solution:   Improve the check for the path in the file name.
  5467. Files:        src/os_win32.c
  5468.  
  5469. Patch 6.0.269
  5470. Problem:    Unprintable characters in a file name may cause problems when
  5471.         using the 'statusline' option or when 'buftype' is "nofile".
  5472. Solution:   call trans_characters() for the resulting statusline. (Yasuhiro
  5473.         Matsumoto)
  5474. Files:        src/buffer.c, src/screen.c, src/charset.c
  5475.  
  5476. Patch 6.0.270 (depends on patch 6.0.267)
  5477. Problem:    A tab causes UTF-8 text to be displayed in the wrong position.
  5478.         (Ron Aaron)
  5479. Solution:   Correct utf_char2cells() again.
  5480. Files:        src/mbyte.c
  5481.  
  5482. Patch 6.1a.001 (extra)
  5483. Problem:    32bit DOS: copying text to the clipboard may cause a crash.
  5484.         (Jonathan D Johnston)
  5485. Solution:   Don't copy one byte too much in SetClipboardData().
  5486. Files:        src/os_msdos.c
  5487.  
  5488. Patch 6.1a.002
  5489. Problem:    GTK: On some configurations, when closing a dialog from the window
  5490.         manager, Vim hangs.
  5491. Solution:   Catch the "destroy" signal. (Aric Blumer)
  5492. Files:        src/gui_gtk.c
  5493.  
  5494. Patch 6.1a.003
  5495. Problem:    Multi-byte: With UTF-8 double-wide char and 'virtualedit' set:
  5496.         yanking in Visual mode doesn't include the last byte. (Eric Long)
  5497. Solution:   Don't add a space for a double-wide character.
  5498. Files:        src/ops.c
  5499.  
  5500. Patch 6.1a.004 (extra)
  5501. Problem:    MINGW: undefined type. (Ron Aaron)
  5502. Solution:   Make GetCompositionString_inUCS2() static.
  5503. Files:        src/gui_w32.c, src/gui_w48.c, src/proto/gui_w32.pro
  5504.  
  5505. Patch 6.1a.005 (extra)
  5506. Problem:    Win32: ":hardcopy" doesn't work after ":hardcopy!". (Jonathan
  5507.         Johnston)
  5508. Solution:   Don't keep the driver context when using ":hardcopy!". (Vince
  5509.         Negri)
  5510. Files:        src/os_mswin.c
  5511.  
  5512. Patch 6.1a.006
  5513. Problem:    multi-byte: after setting 'encoding' the window title might be
  5514.         wrong.
  5515. Solution:   Force resetting the title. (Yasuhiro Matsumoto)
  5516. Files:        src/option.c
  5517.  
  5518. Patch 6.1a.007
  5519. Problem:    Filetype detection for "*.inc" doesn't work.
  5520. Solution:   Use a ":let" command. (David Schweikert)
  5521. Files:        runtime/filetype.vim
  5522.  
  5523. Patch 6.1a.008 (extra)
  5524. Problem:    Win32: ACL detection for network shares doesn't work.
  5525. Solution:   Include the trailing (back)slash in the root path. (Mike Williams)
  5526. Files:        src/os_win32.c
  5527.  
  5528. Patch 6.1a.009
  5529. Problem:    When using "\@<=" or "\@<!" in a pattern, a "\1" may refer to a ()
  5530.         part that follows, but it generates an error message.
  5531. Solution:   Allow a forward reference when there is a following "\@<=" or
  5532.         "\@<!".
  5533. Files:        runtime/doc/pattern.txt, src/regexp.c
  5534.  
  5535. Patch 6.1a.010
  5536. Problem:    When using ":help" and opening a new window, the alternate file
  5537.         isn't set.
  5538. Solution:   Set the alternate file to the previously edited file.
  5539. Files:        src/ex_cmds.c
  5540.  
  5541. Patch 6.1a.011
  5542. Problem:    GTK: ":set co=77", change width with the mouse, ":set co=77"
  5543.         doesn't resize the window. (Darren Hiebert)
  5544. Solution:   Set the form size after handling a resize event.
  5545. Files:        src/gui_gtk_x11.c
  5546.  
  5547. Patch 6.1a.012
  5548. Problem:    GTK: The file browser always returns a full path. (Lohner)
  5549. Solution:   Shorten the file name if possible.
  5550. Files:        src/gui_gtk.c
  5551.  
  5552. Patch 6.1a.013
  5553. Problem:    When using "=~word" in 'cinkeys' or 'indentkeys', the case of the
  5554.         last character of the word isn't ignored. (Raul Segura Acevedo)
  5555. Solution:   Ignore case when checking the last typed character.
  5556. Files:        src/edit.c
  5557.  
  5558. Patch 6.1a.014
  5559. Problem:    After patch 6.1a.006 can't compile without the title feature.
  5560. Solution:   Add an #ifdef.
  5561. Files:        src/option.c
  5562.  
  5563. Patch 6.1a.015
  5564. Problem:    MS-Windows: When expanding a file name that contains a '[' or '{'
  5565.         an extra backslash is inserted. (Raul Segura Acevedo)
  5566. Solution:   Avoid adding the backslash.
  5567. Files:        src/ex_getln.c
  5568.  
  5569. Patch 6.1a.016
  5570. Problem:    Completion after ":language" doesn't include "time". (Raul Segura
  5571.         Acevedo)
  5572. Solution:   Add the alternative to the completions.
  5573. Files:        src/ex_cmds2.c
  5574.  
  5575. Patch 6.1a.017
  5576. Problem:    Clicking the mouse in the top row of a window where the first line
  5577.         doesn't fit moves the cursor to the wrong column.
  5578. Solution:   Add the skipcol also for the top row of a window.
  5579. Files:        src/ui.c
  5580.  
  5581. Patch 6.1a.018
  5582. Problem:    When 'scrolloff' is one and the window height is one, "gj" can put
  5583.         the cursor above the window. (Raul Segura Acevedo)
  5584. Solution:   Don't let skipcol become bigger than the cursor column.
  5585. Files:        src/move.c
  5586.  
  5587. Patch 6.1a.019
  5588. Problem:    When using a composing character on top of an ASCII character, the
  5589.         "l" command clears the composing character.  Only when 'ruler' and
  5590.         'showcmd' are off. (Raphael Finkel)
  5591. Solution:   Don't move the cursor by displaying characters when there are
  5592.         composing characters.
  5593. Files:        src/screen.c
  5594.  
  5595. Patch 6.1a.020
  5596. Problem:    GTK: after patch 6.1a.011 resizing with the mouse doesn't always
  5597.         work well for small sizes. (Adrien Beau)
  5598. Solution:   Use another way to avoid the problem with ":set co=77".
  5599. Files:        src/gui_gtk_x11.c
  5600.  
  5601. Patch 6.1a.021
  5602. Problem:    Several Syntax menu entries are wrong or confusing.
  5603. Solution:   Rephrase and correct the menu entries. (Adrien Beau)
  5604. Files:        runtime/makemenu.vim, runtime/menu.vim
  5605.  
  5606. Patch 6.1a.022
  5607. Problem:    A tags file might be used twice on case insensitive systems.
  5608.         (Rick Swanton)
  5609. Solution:   Don't use the same file name twice in the default for the 'tags'
  5610.         option.  Ignore case when comparing names of already visited
  5611.         files.
  5612. Files:        src/misc2.c, src/option.c
  5613.  
  5614. Patch 6.1a.023
  5615. Problem:    When starting the GUI get "C" characters echoed in the terminal.
  5616. Solution:   Don't try sending a clear-screen command while the GUI is starting
  5617.         up.
  5618. Files:        src/screen.c
  5619.  
  5620. Patch 6.1a.024
  5621. Problem:    In other editors CTRL-F is often used for a find dialog.
  5622. Solution:   In evim use CTRL-F for the find dialog.
  5623. Files:        runtime/evim.vim
  5624.  
  5625. Patch 6.1a.025
  5626. Problem:    The choices for the fileformat dialog can't be translated.
  5627. Solution:   Add g:menutrans_fileformat_choices. (Adrien Beau)
  5628. Files:        runtime/menu.vim
  5629.  
  5630. Patch 6.1a.026
  5631. Problem:    Indenting Java files is wrong with "throws", "extends" and
  5632.         "implements" clauses.
  5633. Solution:   Update the Java indent script.
  5634. Files:        runtime/indent/java.vim
  5635.  
  5636. Patch 6.1a.027
  5637. Problem:    A few Syntax menu entries missing or incorrect.
  5638. Solution:   Add and correct the menu entries. (Adrien Beau)
  5639.         Shorten a few menus to avoid they become too long.
  5640. Files:        runtime/makemenu.vim, runtime/menu.vim
  5641.  
  5642. Patch 6.1a.028
  5643. Problem:    XIM: problems with feedback and some input methods.
  5644. Solution:   Use iconv for calculating the cells.  Remove the queue for
  5645.         key_press_event only when text was changed. (Yasuhiro Matsumoto)
  5646. Files:        src/globals.h, src/mbyte.c, src/screen.c
  5647.  
  5648. Patch 6.1a.029
  5649. Problem:    After patch 6.1a.028 can't compile GTK version with XIM but
  5650.         without multi-byte chars.
  5651. Solution:   Add an #ifdef. (Aschwin Marsman)
  5652. Files:        src/mbyte.c
  5653.  
  5654. Patch 6.1a.030
  5655. Problem:    With double-byte encodings toupper() and tolower() may have wrong
  5656.         results.
  5657. Solution:   Skip double-byte characters. (Eric Long)
  5658. Files:        src/eval.c
  5659.  
  5660. Patch 6.1a.031
  5661. Problem:    Accessing the 'balloondelay' variable may cause a crash.
  5662. Solution:   Make the variable for 'balloondelay' a long. (Olaf Seibert)
  5663. Files:        src/option.h
  5664.  
  5665. Patch 6.1a.032 (extra)
  5666. Problem:    Some menu files used a wrong encoding name for "scriptencoding".
  5667. Solution:   Move the translations to a separate file, which is sourced after
  5668.         setting "scriptencoding".
  5669.         Also add Czech menu translations in ASCII and update the other
  5670.         encodings.
  5671. Files:        runtime/lang/menu_cs_cz.iso_8859-1.vim,
  5672.         runtime/lang/menu_cs_cz.iso_8859-2.vim,
  5673.         runtime/lang/menu_czech_czech_republic.1250.vim,
  5674.         runtime/lang/menu_czech_czech_republic.1252.vim,
  5675.         runtime/lang/menu_czech_czech_republic.ascii.vim,
  5676.         runtime/lang/menu_de_de.iso_8859-1.vim,
  5677.         runtime/lang/menu_de_de.latin1.vim,
  5678.         runtime/lang/menu_fr_fr.iso_8859-1.vim,
  5679.         runtime/lang/menu_fr_fr.latin1.vim,
  5680.         runtime/lang/menu_french_france.1252.vim,
  5681.         runtime/lang/menu_german_germany.1252.vim,
  5682.         runtime/lang/menu_ja_jp.euc-jp.vim,
  5683.         runtime/lang/menu_ja_jp.utf-8.vim,
  5684.         runtime/lang/menu_japanese_japan.932.vim
  5685.  
  5686. Patch 6.1a.033
  5687. Problem:    XIM: doesn't reset input context.
  5688. Solution:   call xim_reset() with im_set_active(FALSE). (Takuhiro Nishioka)
  5689. Files:        src/mbyte.c
  5690.  
  5691. Patch 6.1a.034 (extra)
  5692. Problem:    Win32: The ACL checks for a readonly file still don't work well.
  5693. Solution:   Remove the ACL checks, go back to how it worked in Vim 6.0.
  5694. Files:        src/os_win32.c
  5695.  
  5696. Patch 6.1a.035
  5697. Problem:    multi-byte: When using ":sh" in the GUI, typed and displayed
  5698.         multi-byte characters are not handled correctly.
  5699. Solution:   Deal with multi-byte characters to and from the shell. (Yasuhiro
  5700.         Matsumoto)  Also handle UTF-8 composing characters.
  5701. Files:        src/os_unix.c
  5702.  
  5703. Patch 6.1a.036
  5704. Problem:    GTK: the save-yourself event was not handled.
  5705. Solution:   Catch the save-yourself event and preserve swap files. (Neil Bird)
  5706. Files:        src/gui_gtk_x11.c
  5707.  
  5708. Patch 6.1a.037
  5709. Problem:    The MS-Windows key mapping doesn't include CTRL-S for saving.
  5710.         (Vlad Sandrini)
  5711. Solution:   Map CTRL-S to ":update".
  5712. Files:        runtime/mswin.vim
  5713.  
  5714. Patch 6.1a.038
  5715. Problem:    Solaris: Including both sys/sysctl.h and sys/sysinfo.h doesn't
  5716.         work. (Antonio Colombo)
  5717. Solution:   Don't include sys/sysinfo.h when not calling sysinfo().
  5718. Files:        src/os_unix.c
  5719.  
  5720. Patch 6.1a.039
  5721. Problem:    Not all visual basic files are recognized.
  5722. Solution:   Add checks to catch *.ctl files. (Raul Segura Acevedo)
  5723. Files:        runtime/filetype.vim
  5724.  
  5725. Patch 6.1a.040
  5726. Problem:    A *.pl file is recognized as Perl, but it could be a prolog file.
  5727. Solution:   Check the first non-empty line. (Kontra Gergely)
  5728. Files:        runtime/filetype.vim
  5729.  
  5730. Patch 6.1a.041
  5731. Problem:    When pressing the left mouse button in the command line and them
  5732.         moving the mouse upwards, nearly all the text is selected.
  5733. Solution:   Don't try extending a modeless selection when there isn't one.
  5734. Files:        src/ui.c
  5735.  
  5736. Patch 6.1a.042
  5737. Problem:    When merging files, ":diffput" and ":diffget" are used a lot, but
  5738.         they require a lot of typing.
  5739. Solution:   Add "dp" for ":diffput" and "do" for ":diffget".
  5740. Files:        runtime/doc/diff.txt, src/diff.c, src/normal.c, src/proto/diff.pro
  5741.  
  5742.  
  5743. Patch 6.1b.001 (extra)
  5744. Problem:    Checking for wildcards in a path does not handle multi-byte
  5745.         characters with a trail byte which is a wildcard.
  5746. Solution:   Handle multi-byte characters correctly. (Muraoka Taro)
  5747. Files:        src/os_amiga.c, src/os_mac.c, src/os_msdos.c, src/os_mswin.c,
  5748.         src/os_unix.c
  5749.  
  5750. Patch 6.1b.002
  5751. Problem:    A regexp that ends in "\{" is not flagged as an error.  May cause
  5752.         a stack overflow when 'incsearch' is set. (Gerhard Hochholzer)
  5753. Solution:   Handle a missing "}" as an error.
  5754. Files:        src/regexp.c
  5755.  
  5756. Patch 6.1b.003 (extra)
  5757. Problem:    The RISC OS GUI doesn't compile.
  5758. Solution:   Include changes since Vim 5.7. (Andy Wingate)
  5759. Files:        src/Make_ro.mak, src/gui_riscos.c, src/os_riscos.c,
  5760.         src/os_riscos.h, src/proto/gui_riscos.pro
  5761.  
  5762. Patch 6.1b.004
  5763. Problem:    col("'>") returns a negative number for linewise selection. (Neil
  5764.         Bird)
  5765. Solution:   Don't add one to MAXCOL.
  5766. Files:        src/eval.c
  5767.  
  5768. Patch 6.1b.005
  5769. Problem:    Using a search pattern that causes an out-of-stack error while
  5770.         'hlsearch' is set keeps giving the hit-Enter prompt.
  5771.         A search pattern that takes a long time delays typing when
  5772.         'incsearch' is set.
  5773. Solution:   Stop 'hlsearch' highlighting when the regexp causes an error.
  5774.         Stop searching for 'incsearch' when a character is typed.
  5775. Files:        src/globals.h, src/message.c, src/screen.c, src/search.c,
  5776.         src/vim.h
  5777.  
  5778. Patch 6.1b.006
  5779. Problem:    When entering a composing character on the command line with
  5780.         CTRL-V, the text isn't redrawn correctly.
  5781. Solution:   Redraw the text under and after the cursor.
  5782. Files:        src/ex_getln.c
  5783.  
  5784. Patch 6.1b.007
  5785. Problem:    When the cursor is in the white space between two sentences, "dis"
  5786.         deletes the first character of the following sentence, "das"
  5787.         deletes a space after the sentence.
  5788. Solution:   Backup the cursor one character in these situations.
  5789. Files:        src/search.c
  5790.  
  5791. Patch 6.1b.008
  5792. Problem:    *.xsl files are not recognized as xslt but xml.
  5793.         Monk files are not recognized.
  5794. Solution:   Delete the duplicate line for *.xsl. (Johannes Zellner)
  5795.         Recognize monk files.
  5796. Files:        runtime/filetype.vim
  5797.  
  5798. Patch 6.1b.009
  5799. Problem:    Can't always compile small features and then adding eval feature,
  5800.         "sandbox" is undefined. (Axel Kielhorn)
  5801. Solution:   Always define "sandbox" when the eval feature is used.
  5802. Files:        src/globals.h
  5803.  
  5804. Patch 6.1b.010 (extra)
  5805. Problem:    When compiling gvimext.cpp with MSVC 4.2 get a number of warnings.
  5806. Solution:   Change "true" to "TRUE". (Walter Briscoe)
  5807. Files:        GvimExt/gvimext.cpp
  5808.  
  5809. Patch 6.1b.011
  5810. Problem:    When using a very long string for confirm(), can't quit the
  5811.         displaying at the more prompt. (Hari Krishna Dara)
  5812. Solution:   Jump to the end of the message to show the choices.
  5813. Files:        src/message.c
  5814.  
  5815. Patch 6.1b.012
  5816. Problem:    Multi-byte: When 'showbreak' is set and a double-wide character
  5817.         doesn't fit at the right window edge the cursor gets stuck there.
  5818.         Using cursor-left gets stuck when 'virtualedit' is set.  (Eric
  5819.         Long)
  5820. Solution:   Fix the way the extra ">" character is counted when 'showbreak' is
  5821.         set.  Don't correct cursor for virtual editing on a double-wide
  5822.         character.
  5823. Files:        src/charset.c, src/edit.c
  5824.  
  5825. Patch 6.1b.013
  5826. Problem:    A user command that partly matches with a buffer-local user
  5827.         command and matches full with a global user command unecessarily
  5828.         gives an 'ambiguous command' error.
  5829. Solution:   Find the full global match even after a partly local match.
  5830. Files:        src/ex_docmd.c
  5831.  
  5832. Patch 6.1b.014
  5833. Problem:    EBCDIC: switching mouse events off causes garbage on screen.
  5834.         Positioning the cursor in the GUI causes garbage.
  5835. Solution:   Insert an ESC in the terminal code. (Ralf Schandl)
  5836.         Use "\b" instead of "\010" for KS_LE.
  5837. Files:        src/os_unix.c, src/term.c
  5838.  
  5839. Patch 6.1b.015
  5840. Problem:    Vimtutor has a typo.  Get a warning for "tempfile" if it
  5841.         doesn't exist.
  5842. Solution:   Move a quote to the end of a line. (Max Ischenko)
  5843.         Use "mktemp" first, more systems have it.
  5844. Files:        src/vimtutor
  5845.  
  5846. Patch 6.1b.016
  5847. Problem:    GTK: loading a fontset that works partly, Vim might hang or crash.
  5848. Solution:   Avoid that char_width becomes zero. (Yasuhiro Matsumoto)
  5849. Files:        src/gui_gtk_x11.c
  5850.  
  5851. Patch 6.1b.017
  5852. Problem:    GUI: When using ":shell" and there is a beep, nothing happens.
  5853. Solution:   Call vim_beep() to produce the beep from the shell. (Yasuhiro
  5854.         Matsumoto)
  5855. Files:        src/message.c
  5856.  
  5857. Patch 6.1b.018 (depends on 6.1b.006)
  5858. Problem:    When entering the encryption key, special keys may still reveal
  5859.         the typed characters.
  5860. Solution:   Make sure stars are used or nothing is shown in all cases.
  5861. Files:        src/digraph.c, src/getchar.c, src/ex_getln.c
  5862.  
  5863. Patch 6.1b.019 (depends on 6.1b.005)
  5864. Problem:    A search pattern that takes a long time slows down typing when
  5865.         'incsearch' is set.
  5866. Solution:   Pass SEARCH_PEEK to dosearch().
  5867. Files:        src/ex_getln.c
  5868.  
  5869. Patch 6.1b.020
  5870. Problem:    When using the matchit plugin, "%" finds a match on the "end" of a
  5871.         ":syntax region" command in Vim scripts.
  5872. Solution:   Skip over ":syntax region" commands by setting b:match_skip.
  5873. Files:        runtime/ftplugin/vim.vim
  5874.  
  5875. Patch 6.1b.021
  5876. Problem:    when 'mousefocus' is set, CTRL-W CTRL-] sometimes doesn't warp the
  5877.         pointer to the new window. (Robert Webb)
  5878. Solution:   Don't reset need_mouse_correct when checking the timestamp of a
  5879.         file.
  5880. Files:        src/fileio.c
  5881.  
  5882. Patch 6.1b.022
  5883. Problem:    With lots of folds "j" does not obey 'scrolloff' properly.
  5884.         (Srinath Avadhanula)
  5885. Solution:   Go to end of the fold before counting context lines.
  5886. Files:        src/move.c
  5887.  
  5888. Patch 6.1b.023
  5889. Problem:    On MS-Windows system() may cause checking timestamps, because Vim
  5890.         looses and gains input focus, while this doesn't happen on Unix.
  5891. Solution:   Don't check timestamps while system() is busy.
  5892. Files:        src/ex_cmds2.c, src/fileio.c, src/globals.h, src/misc1.c
  5893.  
  5894. Patch 6.1b.024 (extra)
  5895. Problem:    Gettext 0.11 complains that "sjis" is not a standard name.
  5896. Solution:   Use "cp932" instead.
  5897. Files:        src/po/sjiscorr.c
  5898.  
  5899. Patch 6.1b.025 (extra)
  5900. Problem:    Win32: When closing gvim while it is minimized  and has a changed
  5901.         file, the file-changed dialog pops up in a corner of the screen.
  5902. Solution:   Put the dialog in the middle of the screen.
  5903. Files:        src/gui_w48.c
  5904.  
  5905. Patch 6.1b.026
  5906. Problem:    When 'diffopt' contains 'iwhite' but not 'icase': differences in
  5907.         case are not highlighted properly. (Gerhard Hochholzer)
  5908. Solution:   Don't ignore case when ignoring white space differences.
  5909. Files:        src/diff.c
  5910.  
  5911. Patch 6.1b.027
  5912. Problem:    "vim --remote +" may cause a crash.
  5913. Solution:   Check for missing file name argument. (Martin Kahlert)
  5914. Files:        src/main.c
  5915.  
  5916. Patch 6.1b.028 (extra)
  5917. Problem:    Win16: Can't compile after patch 6.1b.025.
  5918. Solution:   Add code specifically for Win16. (Vince Negri)
  5919. Files:        src/gui_w48.c
  5920.  
  5921. Patch 6.1b.029
  5922. Problem:    Win32: When a directory on an NTFS partition is read/execute (no
  5923.         delete,modify,write) and the file has modify rights, trying to
  5924.         write the file deletes it.  Making the file read/write/execute
  5925.         (not delete) solves it. (Mark Canup)
  5926. Solution:   Use the Unix code to check for a writable directory.  If not, then
  5927.         make a backup copy and overwrite the file.
  5928. Files:        src/fileio.c
  5929.  
  5930. Patch 6.1b.030 (extra)
  5931. Problem:    Mac: small mistake in the build script and prototypes.
  5932. Solution:   Fix the build script and add the prototypes. (Axel Kielhorn)
  5933. Files:        src/os_mac.build, src/gui_mac.c
  5934.  
  5935. Patch 6.1b.031 (extra)
  5936. Problem:    Win32 GUI: ":set guifont=*" doesn't set 'guifont' to the resulting
  5937.         font name. (Vlad Sandrini)
  5938. Solution:   Put the code back in gui_mch_init_font() to form the font name out
  5939.         of the logfont.
  5940. Files:        src/gui_w48.c
  5941.  
  5942. Patch 6.1b.032
  5943. Problem:    Athena: Setting a color scheme before the GUI has started causes a
  5944.         crash. (Todd Blumer)
  5945. Solution:   Don't try using color names that haven't been set yet.
  5946. Files:        src/gui_athena.c
  5947.  
  5948. Patch 6.1b.033
  5949. Problem:    When using a count after a ":s" command may get ml_get errors.
  5950.         (Dietmar Lang)
  5951. Solution:   Check that the resulting range does not go past the end of the
  5952.         buffer.
  5953. Files:        src/ex_cmds.c
  5954.  
  5955. Patch 6.1b.034
  5956. Problem:    After sourcing mswin.vim, when using <C-S-Right> after
  5957.         auto-indenting and then <Del>, get warning for allocating
  5958.         rediculous amount of memory. (Dave Delgreco)
  5959. Solution:   Adjust the start of the Visual area when deleting the auto-indent.
  5960. Files:        src/edit.c
  5961.  
  5962. Patch 6.1b.035
  5963. Problem:    When using evim, dropping a file on Vim and then double clicking
  5964.         on a word, it is changed to "i". (Merlin Hansen)
  5965. Solution:   Reset need_start_insertmode after editing the file.
  5966. Files:        src/ex_docmd.c
  5967.  
  5968.  
  5969. ==============================================================================
  5970. VERSION 6.2                        *version-6.2*
  5971.  
  5972. This section is about improvements made between version 6.1 and 6.2.
  5973.  
  5974. This is mainly a bug-fix release.  There are also a few new features.
  5975.  
  5976. Main new features:
  5977. - Support for GTK 2. (Daniel Elstner)
  5978. - Support for editing Arabic text. (Nadim Shaikli & Isam Bayazidi)
  5979. - ":try" command and exception handling. (Servatius Brandt)
  5980. - Support for the neXtaw GUI toolkit (mostly like Athena). (Alexey Froloff)
  5981. - Cscope support for Win32. (Khorev Sergey)
  5982. - Support for PostScript printing in various 8-bit encodings. (Mike Williams)
  5983.  
  5984.  
  5985. Changed                            *changed-6.2*
  5986. -------
  5987.  
  5988. Removed the scheme indent file, the internal Lisp indenting works well now.
  5989.  
  5990. Moved the GvimEXt, OleVim and VisVim directories into the "src" directory.
  5991. This is more consistent with how xxd is handled.
  5992.  
  5993. The VisVim.dll file is installed in the top directory, next to gvimext.dll,
  5994. instead of in a subdirectory "VisVim".  Fixes that NSIS was uninstalling it
  5995. from the wrong directory.
  5996.  
  5997. Removed the art indent file, it didn't do anything.
  5998.  
  5999. submatch() returned line breaks with CR instead of LF.
  6000.  
  6001. Changed the Win32 Makefiles to become more uniform and compile gvimext.dll.
  6002. (Dan Sharp)
  6003.  
  6004. 'cindent': Align a "//" comment with a "//" comment in a previous line.
  6005. (Helmut Stiegler)
  6006.  
  6007. Previously only for xterm-like terminals parent widgets were followed to find
  6008. the title and icon label.  Now do this for all terminal emulators.
  6009.  
  6010. Made it possible to recognize backslashes for "%" matching.  The 'M' flag in
  6011. 'cpoptions' disables it. (Haakon Riiser)
  6012.  
  6013. Removed the Make_tcc.mak makefile for Turbo C.  It didn't work and we probably
  6014. can't make it work (the compiler runs out of memory).
  6015.  
  6016. Even though the documentation refers to keywords, "[ CTRL-D" was using
  6017. 'isident' to find matches.  Changed it to use 'iskeyword'.  Also applies to
  6018. other commands that search for defined words in included files such as
  6019. ":dsearch", "[D" and "[d".
  6020.  
  6021. Made 'keywordprg' global-local. (Christian Robinson)
  6022.  
  6023. Enabled the Netbeans interface by default.  Reversed the configure argument
  6024. from "--enable-netbeans" to "--disable-netbeans".
  6025.  
  6026.  
  6027. Added                            *added-6.2*
  6028. -----
  6029.  
  6030. New options:
  6031.     'arabic'
  6032.     'arabicshape'
  6033.     'ambiwidth'
  6034.     'autochdir'
  6035.     'casemap'
  6036.     'copyindent'
  6037.     'cscopequickfix'
  6038.     'preserveindent'
  6039.     'printencoding'
  6040.     'rightleftcmd'
  6041.     'termbidi'
  6042.     'toolbariconsize'
  6043.     'winfixheight'
  6044.  
  6045. New keymaps:
  6046.     Serbian (Aleksandar Veselinovic)
  6047.     Chinese Pinyin (Fredrik Roubert)
  6048.     Esperanto (Antoine J. Mechelynck)
  6049.  
  6050. New syntax files:
  6051.     Valgrind (Roger Luethi)
  6052.     Smarty template (Manfred Stienstra)
  6053.     MySQL (Kenneth Pronovici)
  6054.     RockLinux package description (Piotr Esden-Tempski)
  6055.     MMIX (Dirk Huesken)
  6056.     gkrellmrc (David Necas)
  6057.     Tilde (Tobias Rundtrom)
  6058.     Logtalk (Paulo Moura)
  6059.     PLP (Juerg Waalboer)
  6060.     fvwm2m4 (David Necas)
  6061.     IPfilter (Hendrik Scholz)
  6062.     fstab (Radu Dineiu)
  6063.     Quake (Nikolai Weibull)
  6064.     Occam (Mario Schweigler)
  6065.     lpc (Shizhu Pan)
  6066.     Exim conf (David Necas)
  6067.     EDIF (Artem Zankovich)
  6068.     .cvsrc (Nikolai Weibull)
  6069.     .fetchmailrc (Nikolai Weibull)
  6070.     GNU gpg (Nikolai Weibull)
  6071.     Grub (Nikolai Weibull)
  6072.     Modconf (Nikolai Weibull)
  6073.     RCS (Dmitry Vasiliev)
  6074.     Art (Dorai Sitaram)
  6075.     Renderman Interface Bytestream (Andrew J Bromage)
  6076.     Mailcap (Doug Kearns)
  6077.     Subversion commit file (Dmitry Vasiliev)
  6078.     Microsoft IDL (Vadim Zeitlin)
  6079.     WildPackets EtherPeek Decoder (Christopher Shinn)
  6080.     Spyce (Rimon Barr)
  6081.     Resolv.conf (Radu Dineiu)
  6082.     A65 (Clemens Kirchgatterer)
  6083.     sshconfig and sshdconfig (David Necas)
  6084.     Cheetah and HTMLCheetah (Max Ischenko)
  6085.     Packet filter (Camiel Dobbelaar)
  6086.  
  6087. New indent files:
  6088.     Eiffel (David Clarke)
  6089.     Tilde (Tobias Rundtrom)
  6090.     Occam (Mario Schweigler)
  6091.     Art (Dorai Sitaram)
  6092.     PHP (Miles Lott)
  6093.     Dylan (Brent Fulgham)
  6094.  
  6095. New tutor translations:
  6096.     Slovak (Lubos Celko)
  6097.     Greek (Christos Kontas)
  6098.     German (Joachim Hofmann)
  6099.     Norwegian (╪yvind Holm)
  6100.  
  6101. New filetype plugins:
  6102.     Occam (Mario Schweigler)
  6103.     Art (Dorai Sitaram)
  6104.     ant.vim, aspvbs.vim, config.vim, csc.vim, csh.vim, dtd.vim, html.vim,
  6105.     jsp.vim, pascal.vim, php.vim, sgml.vim, sh.vim, svg.vim, tcsh.vim,
  6106.     xhtml.vim, xml.vim, xsd.vim.  (Dan Sharp)
  6107.  
  6108. New compiler plugins:
  6109.     Checkstyle (Doug Kearns)
  6110.     g77 (Ralf Wildenhues)
  6111.     fortran (Johann-Guenter Simon)
  6112.     Xmllint (Doug Kearns)
  6113.     Ruby (Tim Hammerquist)
  6114.     Modelsim vcom (Paul Baleme)
  6115.  
  6116. New menu translations:
  6117.     Brazillian (JosΘ de Paula)
  6118.     British (Mike Williams)
  6119.     Korean in UTF-8. (Nam SungHyun)
  6120.     Norwegian (╪yvind Holm)
  6121.     Serbian (Aleksandar Jelenak)
  6122.  
  6123. New message translation for Norwegian. (╪yvind Holm)
  6124.  
  6125. New color scheme:
  6126.     desert (Hans Fugal)
  6127.  
  6128. Arabic specific features. 'arabicshape', 'termbidi', 'arabic' and
  6129. 'righleftcmd' options.  (Nadim Shaikli & Isam Bayazidi)
  6130.  
  6131. Support for neXtaw GUI toolkit, mostly like Athena. (Alexey Froloff)
  6132.  
  6133. Win32: cscope support. (Khorev Sergey)
  6134.  
  6135. VMS: various improvements to documentation and makefiles.  (Zoltan Arpadffy)
  6136.  
  6137. Added "x" key to the explorer plugin: execute the default action. (Yasuhiro
  6138. Matsumoto)
  6139.  
  6140. Compile gvimext.dll with MingW. (Rene de Zwart)
  6141.  
  6142. Add the "tohtml.vim" plugin.  It defines the ":TOhtml" user command, an easy
  6143. way to convert text to HTML.
  6144.  
  6145. Added ":try" / ":catch" / ":finally" / ":endtry" commands.  Add E999 numbers
  6146. to all error messages, so that they can be caught by the number.
  6147. (Servatius Brandt)
  6148. Moved part of ex_docmd.c to the new ex_eval.c source file.
  6149.  
  6150. Include support for GTK+ 2.2.x (Daniel Elstner)
  6151. Adds the "~" register: drag & drop text.
  6152. Adds the 'toolbariconsize' option.
  6153. Add -Dalloca when running lint to work around a problem with alloca()
  6154. prototype.
  6155.  
  6156. When selecting an item in the error window to jump to, take some effort to
  6157. find an ordinary window to show the file in (not a preview window).
  6158.  
  6159. Support for PostScript printing of various 8-bit encodings. (Mike Williams)
  6160.  
  6161. inputdialog() accepts a third argument that is used when the dialog is
  6162. cancelled.  Makes it possible to see a difference between cancelling and
  6163. entering nothing.
  6164.  
  6165. Included Aap recipes.  Can be used to update Vim to the latest version,
  6166. building and installing.
  6167.  
  6168. "/" option in 'cinoptions': extra indent for comment lines. (Helmut Stiegler)
  6169.  
  6170. Vim variable "v:register" and functions setreg(), getreg() and getregtype().
  6171. (Michael Geddes)
  6172.  
  6173. "v" flag in 'cpoptions': Leave text on screen with backspace in Insert mode.
  6174. (Phillip Vandry)
  6175.  
  6176. Dosinst.exe also finds gvimext.dll in the "GvimExt" directory.  Useful when
  6177. runing install in the "src" directory for testing.
  6178.  
  6179. Support tag files that were sorted with case ignored. (Flemming Madsen)
  6180.  
  6181. When completing a wildcard in a leading path element, as in "../*/Makefile",
  6182. only the last part ("Makefile") was listed.  Support custom defined
  6183. command line completion.  (Flemming Madsen)
  6184.  
  6185. Also recognize "rxvt" as an xterm-like terminal. (Tomas Styblo)
  6186.  
  6187. Proper X11 session management.  Fixes that the WM_SAVE_YOURSELF event was not
  6188. used by popular desktops.  (Neil Bird)
  6189. Not used for Gnome 2, it has its own handling.
  6190.  
  6191. Support BOR, DEBUG and SPAWNO arguments for the Borland 3 Makefile. (Walter
  6192. Briscoe)
  6193.  
  6194. Support page breaks for printing.  Adds the "formfeed" field in
  6195. 'printoptions'.  (Mike Williams)
  6196.  
  6197. Mac OSX: multi-language support: iconv and gettext. (Muraoka Taro, Axel
  6198. Kielhorn)
  6199.  
  6200. "\Z" flag in patterns: ignore differences in combining characters. (Ron Aaron)
  6201.  
  6202. Added 'preserveindent' and 'copyindent' options.  They use existing white
  6203. space characters instead of using Tabs as much as possible. (Chris Leishman)
  6204.  
  6205. Updated Unicode tables to Unicode 4.0. (Raphael Finkel)
  6206.  
  6207. Support for the mouse wheel in rxvt. (AIDA Shinra)
  6208.  
  6209. Win32: Added ":8" file modifier to get short filename.  Test50 tests the ":8"
  6210. expansion on Win32 systems. (Michael Geddes)
  6211.  
  6212. 'cscopequickfix' option: Open quickfix window for Cscope commands.  Also
  6213. cleanup the code for giving messages.  (Khorev Sergey)
  6214.  
  6215. GUI: Support more than 222 columns for mouse positions.
  6216.  
  6217. ":stopinsert" command: Don't return to Insert mode.
  6218.  
  6219. "interrupt" command for debug mode.  Useful for simulating CTRL-C. (Servatius
  6220. Brandt)
  6221.  
  6222.  
  6223. Fixed                            *fixed-6.2*
  6224. -----
  6225.  
  6226. Removed a few unused #defines from config.h.in, os_os2_cfg.h and os_vms_conf.h.
  6227.  
  6228. The Vim icons in PNG format didn't have a transparent background. (Greg
  6229. Roelofs)
  6230.  
  6231. Fixed a large number of spelling mistakes in the docs. (Adri Verhoef)
  6232.  
  6233. The #defines for prototype generation were causing trouble.  Changed them to
  6234. typedefs.
  6235.  
  6236. A new version of libintl.h uses __asm__, which confuses cproto.  Define a
  6237. dummy __asm__ macro.
  6238.  
  6239. When 'virtualedit' is set can't move to halfway an unprintable character.
  6240. Cripples CTRL-V selection. (Taro Muraoka)
  6241. Allow moving to halfway an unprintable character.  Don't let getvvcol() change
  6242. the pos->coladd argument.
  6243.  
  6244. When a tab wraps to the next line, 'listchars' is set and 'foldcolumn' is
  6245. non-zero, only one character of the foldcolumn is highlighted. (Muraoka Taro)
  6246.  
  6247. When using ":catch" without an argument Vim crashes. (Yasuhiro Matsumoto)
  6248. When no argument given use the ".*" pattern.
  6249.  
  6250. Win32: When gvim.exe is started from a shortcut with the window style property
  6251. set to maximize Vim doesn't start with a maximized window. (Yasuhiro
  6252. Matsumoto)  Open the window with the default size and don't call ShowWindow()
  6253. again when it's already visible. (Helmut Stiegler)
  6254.  
  6255. gui_gtk.c used MAX, but it's undefined to avoid a conflict with system header
  6256. files.
  6257.  
  6258. Win32: When closing a window from a mapping some pixels remain on the
  6259. statusline. (Yasuhiro Matsumoto)
  6260.  
  6261. A column number in an errorformat that goes beyond the end of the line may
  6262. cause a crash.
  6263.  
  6264. ":throw 'test'" crashes Vim. (Yasuhiro Matsumoto)
  6265.  
  6266. The file selector's scrollbar colors are not set after doing a ":hi Scrollbar
  6267. guifg=color".  And the file selector's colors are not changed by the
  6268. colorscheme command.  (David Harrison)
  6269.  
  6270. Motif: When compiling with FEAT_FOOTER defined, the text area gets a few
  6271. pixels extra space on the right.  Remove the special case in
  6272. gui_get_base_width(). (David Harrison)
  6273.  
  6274. Using CTRL-R CTRL-P in Insert mode puts the '] mark in the wrong position.
  6275. (Helmut Stiegler)
  6276.  
  6277. When 'formatoptions' includes "awct" a non-comment wasn't auto-formatted.
  6278.  
  6279. Using a "--cmd" argument more than 10 times caused a crash.
  6280.  
  6281. DEC style mouse support didn't work if the page field is not empty.
  6282. (Uribarri)
  6283.  
  6284. "vim -l one two" did only set 'lisp' in the first file.  Vi does it for every
  6285. file.
  6286.  
  6287. ":set tw<" didn't work.  Was checking for '^' instead of '<'.
  6288.  
  6289. In ":hardcopy > %.ps" the "%" was not expanded to the current filename.
  6290.  
  6291. Made ":redraw" also update the Visual area.
  6292.  
  6293. When a not implemented command, such as ":perl", has wrong arguments the less
  6294. important error was reported, giving the user the idea the command could work.
  6295.  
  6296. On non-Unix systems autocommands for writing did not attempt a match with the
  6297. short file name, causing a pattern like "a/b" to fail.
  6298.  
  6299. VMS: e_screenmode was not defined and a few other fixes for VMS. (Zoltan
  6300. Arpadffy)
  6301.  
  6302. redraw_msg() depended on FEAT_ARABIC instead of FEAT_RIGHTLEFT. (Walter
  6303. Briscoe)
  6304.  
  6305. Various changes for the PC Makefiles. (Walter Briscoe)
  6306.  
  6307. Use _truename() instead of our own code to expand a file name into a full
  6308. path. (Walter Briscoe)
  6309.  
  6310. Error in filetype check for /etc/modutils. (Lubomir Host)
  6311.  
  6312. Cscope interface: allocated a buffer too small.
  6313.  
  6314. Win16: remove a trailing backslash from a path when obtaining the permission
  6315. flags. (Vince Negri)
  6316.  
  6317. When searching for tags with case ignored Vim could hang.
  6318.  
  6319. When searching directories with a stopdir could get a crash.  Did not
  6320. re-allocate enough memory. (Vince Negri)
  6321.  
  6322. A user command may cause a crash.  Don't use the command index when it's
  6323. negative. (Vince Negri)
  6324.  
  6325. putenv() didn't work for MingW and Cygwin. (Dan Sharp)
  6326.  
  6327. Many functions were common between os_msdos.c and os_win16.c.  Use os_msdos.c
  6328. for compiling the Win16 version and remove the functions from os_win16.c.
  6329. (Vince Negri)
  6330.  
  6331. For terminals that behave like an xterm but didn't have a name that is
  6332. recognized, the window title would not always be set.
  6333.  
  6334. When syntax highlighting is off ":hardcopy" could still attempt printing
  6335. colors.
  6336.  
  6337. Crash when using ":catch" without an argument.  (Servatius Brandt)
  6338.  
  6339. Win32: ":n #" doubled the backslashes.
  6340.  
  6341. Fixed Arabic shaping for the command line. (Nadim Shaikli)
  6342.  
  6343. Avoid splitting up a string displayed on the command line into individual
  6344. characters, it breaks Arabic shaping.
  6345.  
  6346. Updated Cygwin and MingW makefiles to use more dependencies. (Dan Sharp)
  6347.  
  6348. 2html.vim didn't work with 'nomagic' set.
  6349.  
  6350. When a local argument list is used and doing ":only" Vim could crash later.
  6351. (Muraoka Taro)
  6352.  
  6353. When using "%P" in 'statusline' and the fillchar is "-", a percentage of 3%
  6354. could result in "-3%".  Also avoid changing a space inside a filename to the
  6355. fill character.
  6356.  
  6357. MSwin: Handling of backslashes and double quotes for command line arguments
  6358. was not like what other applications do.  (Walter Briscoe)
  6359.  
  6360. Test32 sometimes didn't work, because test11.out was written as TEST11.OUT.
  6361.  
  6362. Avoid pointer conversions warnings for Borland C 5.5 in dosinst.c and
  6363. uninstal.c.
  6364.  
  6365. More improvements for Make_bc3.mak file. (Walter Briscoe)
  6366.  
  6367. When ":syn sync linebreaks=1" is used, editing the first line caused a redraw
  6368. of the whole screen.
  6369.  
  6370. Making translated messages didn't work, if_perl.xs wasn't found. (Vlad
  6371. Sandrini)
  6372.  
  6373. Motif and Athena: moving Vim to the foreground didn't uniconify it.  Use
  6374. XMapRaised() instead of XRaiseWindow(). (Srikanth Sankaran)
  6375.  
  6376. When using ":ptag" in a window where 'scrollbind' is set the preview window
  6377. would also have 'scrollbind' set.  Also reset 'foldcolumn' and 'diff'.
  6378.  
  6379. Various commands that split a window took over 'scrollbind', which is hardly
  6380. ever desired.  Esp. for "q:" and ":copen".  Mostly reset 'scrollbind' when
  6381. splitting a window.
  6382.  
  6383. When 'shellslash' is set in the vimrc file the first entry of ":scriptnames"
  6384. would still have backslashes.  Entries in the quickfix list could also have
  6385. wrong (back)slashes.
  6386.  
  6387. Win32: printer dialog texts were not translated. (Yasuhiro Matsumoto)
  6388.  
  6389. When using a multi-byte character with a K_SPECIAL byte or a special key code
  6390. with "--remote-send" the received byte sequence was mangled.  Put it in the
  6391. typeahead buffer instead of the input buffer.
  6392.  
  6393. Win32: The cursor position was incorrect after changing cursor shape.
  6394. (Yasuhiro Matsumoto).
  6395.  
  6396. Win32: When 'encoding' is not the current codepage the title could not be set
  6397. to non-ascii characters.
  6398.  
  6399. "vim -d scp://machine/file1 scp://machine/file2" did not work, there was only
  6400. one window.  Fixed the netrw plugin not to wipe out the buffer if it is
  6401. displayed in other windows.
  6402.  
  6403. "/$" caused "e" in last column of screen to disappear, a highlighted blank was
  6404. displayed instead.
  6405.  
  6406. ":s/ *\ze\n//e" removed the line break and introduced arbitrary text.  Was
  6407. using the line count including what matched after the "\ze".
  6408.  
  6409. Using the "c" flag with ":s" changed the behavior when a line break is
  6410. replaced and "\@<=" is used.  Without "c" a following match was not found.
  6411.  
  6412. ":%s/\vA@<=\nB@=//gce" got stuck on "A\nB" when entering "n".
  6413.  
  6414. VMS: add HAVE_STRFTIME in the config file. (Zoltan Arpadffy)
  6415.  
  6416. When a delete prompts if a delete should continue when yanking is not
  6417. possible, restore msg_silent afterwards.
  6418.  
  6419. ":sign" did not complain about a missing argument.
  6420.  
  6421. When adding or deleting a sign 'hlsearch' highlighting could disappear.
  6422. Use the generic functions for updating signs.
  6423.  
  6424. On MS-Windows NT, 2K and XP don't use command.com but cmd.exe for testing.
  6425. Makes the tests work on more systems.
  6426.  
  6427. In the DOS tests don't create "/tmp" to avoid an error.
  6428.  
  6429. Mac classic: Problems with reading files with CR vs CR/LF.  Rely on the
  6430. library version of fgets() to work correctly for Metrowerks 2.2. (Axel
  6431. Kielhorn)
  6432.  
  6433. When typing a password a "*" was shown for each byte instead of for each
  6434. character.  Added multi-byte handling to displaying the stars. (Yasuhiro
  6435. Matsumoto)
  6436.  
  6437. When using Perl 5.6 accessing $curbuf doesn't work.  Add an #ifdef to use
  6438. different code for 5.6 and 5.8.  (Dan Sharp)
  6439.  
  6440. MingW and Cygwin: Don't strip the debug executable. (Dan Sharp)
  6441.  
  6442. An assignment to a variable with curlies that includes "==" doesn't work.
  6443. Skip over the curlies before searching for an "=". (Vince Negri)
  6444.  
  6445. When cancelling the selection of alternate matching tags the tag stack index
  6446. could be advanced too far, resulting in an error message when using CTRL-T.
  6447.  
  6448.  
  6449. Patch 6.1.001
  6450. Problem:    When formatting UTF-8 text it might be wrapped at a space that is
  6451.         followed by a composing character. (Raphael Finkel)
  6452.         Also correct a display error for removing a composing char on top
  6453.         of a space.
  6454. Solution:   Check for a composing character on a space.
  6455. Files:        src/edit.c, src/misc1.c, src/screen.c
  6456.  
  6457. Patch 6.1.002 (extra)
  6458. Problem:    Win32: after a ":popup" command the mouse pointer stays hidden.
  6459. Solution:   Unhide the mouse pointer before showing the menu.
  6460. Files:        src/gui_w48.c
  6461.  
  6462. Patch 6.1.003
  6463. Problem:    When 'laststatus' is zero and there is a vertical split, the
  6464.         vertical separator is drawn in the command line. (Srikant
  6465.         Sankaran)
  6466. Solution:   Don't draw the vertical separator where there is no statusline.
  6467. Files:        src/screen.c
  6468.  
  6469. Patch 6.1.004
  6470. Problem:    Unicode 3.2 changes width and composing of a few characters.
  6471.         (Markus Kuhn)
  6472. Solution:   Adjust the Unicode functions for the character width and composing
  6473.         characters.
  6474. Files:        src/mbyte.c
  6475.  
  6476. Patch 6.1.005
  6477. Problem:    When using more than 50 items in 'statusline' Vim might crash.
  6478.         (Steve Hall)
  6479. Solution:   Increment itemcnt in check_stl_option(). (Flemming Madsen)
  6480. Files:        src/option.c
  6481.  
  6482. Patch 6.1.006
  6483. Problem:    When using "P" in Visual mode to put linewise selected text, the
  6484.         wrong text is deleted. (Jakub Turski)
  6485. Solution:   Put the text before the Visual area and correct the text to be
  6486.         deleted for the inserted lines.
  6487.         Also fix that "p" of linewise text in Visual block mode doesn't
  6488.         work correctly.
  6489. Files:        src/normal.c, src/ops.c
  6490.  
  6491. Patch 6.1.007
  6492. Problem:    Using ":filetype plugin off" when filetype plugins were never
  6493.         enabled causes an error message. (Yiu Wing)
  6494. Solution:   Use ":silent!" to avoid the error message.
  6495. Files:        runtime/ftplugof.vim
  6496.  
  6497. Patch 6.1.008
  6498. Problem:    The "%" command doesn't ignore \" inside a string, it's seen as
  6499.         the end of the string. (Ken Clark)
  6500. Solution:   Skip a double quote preceded by an odd number of backslashes.
  6501. Files:        src/search.c
  6502.  
  6503. Patch 6.1.009
  6504. Problem:    Vim crashes when using a huge number for the maxwid value in a
  6505.         statusline. (Robert M. Nowotniak)
  6506. Solution:   Check for an overflow that makes maxwid negative.
  6507. Files:        src/buffer.c
  6508.  
  6509. Patch 6.1.010
  6510. Problem:    Searching backwards for a question mark with "?\?" doesn't work.
  6511.         (Alan Isaac)  Same problem in ":s?\??" and ":g?\??".
  6512. Solution:   Change the "\?" in a pattern to "?" when using "?" as delimiter.
  6513. Files:        src/ex_cmds.c, src/ex_docmd.c, src/proto/regexp.pro, src/regexp.c,
  6514.         src/search.c, src/syntax.c, src/tag.c
  6515.  
  6516. Patch 6.1.011
  6517. Problem:    XIM: doesn't work correctly when 'number' is set.  Also, a focus
  6518.         problem when selecting candidates.
  6519. Solution:   Fix the XIM problems. (Yasuhiro Matsumoto)
  6520. Files:        src/mbyte.c, src/screen.c
  6521.  
  6522. Patch 6.1.012
  6523. Problem:    A system() call might fail if fread() does CR-LF to LF
  6524.         translation.
  6525. Solution:   Open the output file in binary mode. (Pavol Huhas)
  6526. Files:        src/misc1.c
  6527.  
  6528. Patch 6.1.013
  6529. Problem:    Win32: The default for 'printexpr' doesn't work when there are
  6530.         special characters in 'printdevice'.
  6531. Solution:   Add double quotes around the device name. (Mike Williams)
  6532. Files:        runtime/doc/option.txt, src/option.c
  6533.  
  6534. Patch 6.1.014
  6535. Problem:    An operator like "r" used in Visual block mode doesn't use
  6536.         'virtualedit' when it's set to "block".
  6537. Solution:   Check for 'virtualedit' being active in Visual block mode when the
  6538.         operator was started.
  6539. Files:        src/ex_docmd.c, src/globals.h, src/misc2.c, src/normal.c,
  6540.         src/ops.c, src/undo.c
  6541.  
  6542. Patch 6.1.015
  6543. Problem:    After patch 6.1.014 can't compile with tiny features. (Christian
  6544.         J. Robinson)
  6545. Solution:   Add the missing define of virtual_op.
  6546. Files:        src/vim.h
  6547.  
  6548. Patch 6.1.016 (extra)
  6549. Problem:    Win32: Outputting Hebrew or Arabic text might have a problem with
  6550.         reversing.
  6551. Solution:   Replace the RevOut() function with ETO_IGNORELANGUAGE. (Ron Aaron)
  6552. Files:        src/gui_w32.c
  6553.  
  6554. Patch 6.1.017
  6555. Problem:    Cygwin: After patch 6.1.012 Still doesn't do binary file I/O.
  6556.         (Pavol Juhas)
  6557. Solution:   Define BINARY_FILE_IO for Cygwin.
  6558. Files:        src/os_unix.h
  6559.  
  6560. Patch 6.1.018
  6561. Problem:    Error message when using cterm highlighting. (Leonardo Di Lella)
  6562. Solution:   Remove a backslash before a question mark.
  6563. Files:        runtime/syntax/cterm.vim
  6564.  
  6565. Patch 6.1.019 (extra)
  6566. Problem:    Win32: File name is messed up when editing just a drive name.
  6567.         (Walter Briscoe)
  6568. Solution:   Append a NUL after the drive name. (Vince Negri)
  6569. Files:        src/os_win32.c
  6570.  
  6571. Patch 6.1.020
  6572. Problem:    col("'>") returns a huge number after using Visual line mode.
  6573. Solution:   Return the length of the line instead.
  6574. Files:        src/eval.c
  6575.  
  6576. Patch 6.1.021 (depends on patch 6.1.009)
  6577. Problem:    Vim crashes when using a huge number for the minwid value in a
  6578.         statusline. (Robert M. Nowotniak)
  6579. Solution:   Check for an overflow that makes minwid negative.
  6580. Files:        src/buffer.c
  6581.  
  6582. Patch 6.1.022
  6583. Problem:    Grabbing the status line above the command-line window works like
  6584.         the bottom status line was grabbed. (Jim Battle)
  6585. Solution:   Make it possible to grab the status line above the command-line
  6586.         window, so that it can be resized.
  6587. Files:        src/ui.c
  6588.  
  6589. Patch 6.1.023 (extra)
  6590. Problem:    VMS: running tests doesn't work properly.
  6591. Solution:   Adjust the makefile. (Zoltan Arpadffy)
  6592. Files:        src/testdir/Make_vms.mms
  6593.  
  6594. Patch 6.1.024
  6595. Problem:    When header files use a new syntax for declaring functions, Vim
  6596.         can't figure out missing prototypes properly.
  6597. Solution:   Accept braces around a function name. (M. Warner Losh)
  6598. Files:        src/osdef.sh
  6599.  
  6600. Patch 6.1.025
  6601. Problem:    Five messages for "vim --help" don't start with a capital. (Vlad
  6602.         Sandrini)
  6603. Solution:   Make the messages consistent.
  6604. Files:        src/main.c
  6605.  
  6606. Patch 6.1.026
  6607. Problem:    *.patch files are not recognized as diff files.  In a script a
  6608.         "VAR=val" argument after "env" isn't ignored.  PHP scripts are not
  6609.         recognized.
  6610. Solution:   Add *.patch for diff filetypes.  Ignore "VAR=val".  Recognize PHP
  6611.         scripts. (Roman Neuhauser)
  6612. Files:        runtime/filetype.vim, runtime/scripts.vim
  6613.  
  6614. Patch 6.1.027
  6615. Problem:    When 'foldcolumn' is non-zero, a special character that wraps to
  6616.         the next line disturbs the foldcolumn highlighting.  (Yasuhiro
  6617.         Matsumoto)
  6618. Solution:   Only use the special highlighting when drawing text characters.
  6619. Files:        src/screen.c
  6620.  
  6621. Patch 6.1.028
  6622. Problem:    Client-server: When a --remote-expr fails, Vim still exits with
  6623.         status zero.
  6624. Solution:   Exit Vim with a non-zero status to indicate the --remote-expr
  6625.         failed. (Thomas Scott Urban)
  6626. Files:        src/main.c
  6627.  
  6628. Patch 6.1.029
  6629. Problem:    When 'encoding' is an 8-bit encoding other than "latin1", editing
  6630.         a utf-8 or other Unicode file uses the wrong conversion. (Jan
  6631.         Fedak)
  6632. Solution:   Don't use Unicode to latin1 conversion for 8-bit encodings other
  6633.         than "latin1".
  6634. Files:        src/fileio.c
  6635.  
  6636. Patch 6.1.030
  6637. Problem:    When CTRL-N is mapped in Insert mode, it is also mapped after
  6638.         CTRL-X CTRL-N, while it is not mapped after CTRL-X CTRL-F.
  6639.         (Kontra Gergely)
  6640. Solution:   Don't map CTRL-N after CTRL-X CTRL-N.  Same for CTRL-P.
  6641. Files:        src/getchar.c
  6642.  
  6643. Patch 6.1.031
  6644. Problem:    Cygwin: Xxd could read a file in text mode intead of binary mode.
  6645. Solution:   Use "rb" or "rt" when needed. (Pavol Juhas)
  6646. Files:        src/xxd/xxd.c
  6647.  
  6648. Patch 6.1.032
  6649. Problem:    Can't specify a quickfix file without jumping to the first error.
  6650. Solution:   Add the ":cgetfile" command. (Yegappan Lakshmanan)
  6651. Files:        runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmds.h,
  6652.         src/quickfix.c
  6653.  
  6654. Patch 6.1.033
  6655. Problem:    GUI: When the selection is lost and the Visual highlighting is
  6656.         changed to underlining, the cursor is left in a different
  6657.         position. (Christian Michon)
  6658. Solution:   Update the cursor position after redrawing the selection.
  6659. Files:        src/ui.c
  6660.  
  6661. Patch 6.1.034
  6662. Problem:    A CVS diff file isn't recognized as diff filetype.
  6663. Solution:   Skip lines starting with "? " before checking for an "Index:" line.
  6664. Files:        runtime/scripts.vim
  6665.  
  6666. Patch 6.1.035 (extra, depends on 6.1.016)
  6667. Problem:    Win32: Outputting Hebrew or Arabic text might have a problem with
  6668.         reversing on MS-Windows 95/98/ME.
  6669. Solution:   Restore the RevOut() function and use it in specific situations
  6670.         only. (Ron Aaron)
  6671. Files:        src/gui_w32.c
  6672.  
  6673. Patch 6.1.036
  6674. Problem:    This command may cause a crash: ":v/./,//-j". (Ralf Arens)
  6675. Solution:   Compute the right length of the regexp when it's empty.
  6676. Files:        src/search.c
  6677.  
  6678. Patch 6.1.037
  6679. Problem:    When 'lazyredraw' is set, pressing "q" at the hit-enter prompt
  6680.         causes an incomplete redraw and the cursor isn't positioned.
  6681.         (Lubomir Host)
  6682. Solution:   Overrule 'lazyredraw' when do_redraw is set.
  6683. Files:        src/main.c, src/screen.c
  6684.  
  6685. Patch 6.1.038
  6686. Problem:    Multi-byte: When a ":s" command contains a multi-byte character
  6687.         where the trail byte is '~' the text is messed up.
  6688. Solution:   Properly skip multi-byte characters in regtilde() (Muraoka Taro)
  6689. Files:        src/regexp.c
  6690.  
  6691. Patch 6.1.039
  6692. Problem:    When folds are defined and the file is changed outside of Vim,
  6693.         reloading the file doesn't update the folds. (Anders
  6694.         Schack-Nielsen)
  6695. Solution:   Recompute the folds after reloading the file.
  6696. Files:        src/fileio.c
  6697.  
  6698. Patch 6.1.040
  6699. Problem:    When changing directory for expanding a file name fails there is
  6700.         no error message.
  6701. Solution:   Give an error message for this situation.  Don't change directory
  6702.         if we can't return to the original directory.
  6703. Files:        src/diff.c, src/ex_docmd.c, src/globals.h, src/misc1.c,
  6704.         src/os_unix.c
  6705.  
  6706. Patch 6.1.041
  6707. Problem:    ":mkvimrc" doesn't handle a mapping that has a leading space in
  6708.         the rhs. (Davyd Ondrejko)
  6709. Solution:   Insert a CTRL-V before the leading space.  Also display leading
  6710.         and trailing white space in <> form.
  6711. Files:        src/getchar.c, src/message.c
  6712.  
  6713. Patch 6.1.042
  6714. Problem:    "vim -r" doesn't show all matches when 'wildignore' removes swap
  6715.         files. (Steve Talley)
  6716. Solution:   Keep all matching swap file names.
  6717. Files:        src/memline.c
  6718.  
  6719. Patch 6.1.043
  6720. Problem:    After patch 6.1.040 a few warnings are produced.
  6721. Solution:   Add a type cast to "char *" for mch_chdir(). (Axel Kielhorn)
  6722. Files:        src/diff.c, src/ex_docmd.c.c, src/misc1.c, src/os_unix.c
  6723.  
  6724. Patch 6.1.044 (extra)
  6725. Problem:    GUI: When using the find/replace dialog with text that contains a
  6726.         slash, an invalid substitute command is generated.
  6727.         On Win32 a find doesn't work when 'insertmode' is set.
  6728. Solution:   Escape slashes with a backslash.
  6729.         Make the Win32, Motif and GTK gui use common code for the
  6730.         find/replace dialog.
  6731.         Add the "match case" option for Motif and GTK.
  6732. Files:        src/feature.h, src/proto/gui.pro, src/gui.c, src/gui.h,
  6733.         src/gui_motif.c, src/gui_gtk.c, src/gui_w48.c
  6734.  
  6735. Patch 6.1.045
  6736. Problem:    In Visual mode, with lots of folds and 'scrolloff' set to 999,
  6737.         moving the cursor down near the end of the file causes the text to
  6738.         jump up and down. (Lubomir Host)
  6739. Solution:   Take into account that the cursor may be on the last line of a
  6740.         closed fold.
  6741. Files:        src/move.c
  6742.  
  6743. Patch 6.1.046
  6744. Problem:    X11 GUI: ":set lsp=2 gcr=n-v-i:hor1-blinkon0" draws a black
  6745.         rectangle.  ":set lsp=2 gcr=n-v-i:hor10-blinkon0" makes the cursor
  6746.         disappear.  (Nam SungHyun)
  6747. Solution:   Correctly compute the height of the horizontal cursor.
  6748. Files:        src/gui_gtk_x11.c, src/gui_x11.c
  6749.  
  6750. Patch 6.1.047
  6751. Problem:    When skipping commands after an error was encountered, expressions
  6752.         for ":if", ";elseif" and ":while" are still evaluated.
  6753. Solution:   Skip the expression after an error. (Servatius Brandt)
  6754. Files:        src/ex_docmd.c
  6755.  
  6756. Patch 6.1.048
  6757. Problem:    Unicode 3.2 changes were missing a few Hangul Jamo characters.
  6758. Solution:   Recognize more characters as composing characters. (Jungshik Shin)
  6759. Files:        src/mbyte.c
  6760.  
  6761. Patch 6.1.049 (extra)
  6762. Problem:    On a 32 bit display a valid color may cause an error message,
  6763.         because its pixel value is negative. (Chris Paulson-Ellis)
  6764. Solution:   Check for -11111 instead of the color being negative.
  6765.         Don't add one to the pixel value, -1 may be used for white.
  6766. Files:        src/globals.h, src/gui.c, src/gui.h, src/gui_amiga.c,
  6767.         src/gui_athena.c, src/gui_beos.cc, src/gui_gtk_x11.c,
  6768.         src/gui_mac.c, src/gui_motif.c, src/gui_photon.c,
  6769.         src/gui_riscos.c, src/gui_w16.c, src/gui_w32.c, src/gui_w48.c,
  6770.         src/gui_x11.c, src/mbyte.c, src/syntax.c
  6771.  
  6772. Patch 6.1.050 (depends on 6.1.049)
  6773. Problem:    After patch 6.1.049 the non-GUI version doesn't compile.
  6774. Solution:   Add an #ifdef FEAT_GUI.  (Robert Stanton)
  6775. Files:        src/syntax.c
  6776.  
  6777. Patch 6.1.051 (depends on 6.1.044)
  6778. Problem:    Doesn't compile with GUI and small features.
  6779. Solution:   Adjust the #if for ga_append().
  6780. Files:        src/misc2.c
  6781.  
  6782. Patch 6.1.052
  6783. Problem:    Unix: The executable() function doesn't work when the "which"
  6784.         command isn't available.
  6785. Solution:   Go through $PATH manually.  Also makes it work for VMS.
  6786. Files:        src/os_unix.c
  6787.  
  6788. Patch 6.1.053
  6789. Problem:    When 'sessionoptions' contains "globals", or "localoptions" and an
  6790.         option value contains a line break, the resulting script is wrong.
  6791. Solution:   Use "\n" and "\r" for a line break. (Srinath Avadhanula)
  6792. Files:        src/eval.c
  6793.  
  6794. Patch 6.1.054
  6795. Problem:    GUI: A mouse click is not recognized at the more prompt, even when
  6796.         'mouse' includes 'r'.
  6797. Solution:   Recognize a mouse click at the more prompt.
  6798.         Also accept a mouse click in the last line in the GUI.
  6799.         Add "ml" entry in 'mouseshape'.
  6800. Files:        src/gui.c, src/message.c, src/misc1.c, src/misc2.c, src/option.c,
  6801.         src/structs.h
  6802.  
  6803. Patch 6.1.055
  6804. Problem:    When editing a compressed file, Vim will inspect the contents to
  6805.         guess the filetype.
  6806. Solution:   Don't source scripts.vim for .Z, .gz, .bz2, .zip and .tgz files.
  6807. Files:        runtime/filetype.vim, runtime/plugin/gzip.vim
  6808.  
  6809. Patch 6.1.056
  6810. Problem:    Loading the Syntax menu can take quite a bit of time.
  6811. Solution:   Add the "skip_syntax_sel_menu" variable.  When its defined the
  6812.         available syntax files are not in the Syntax menu.
  6813. Files:        runtime/doc/gui.txt, runtime/menu.vim
  6814.  
  6815. Patch 6.1.057
  6816. Problem:    An ESC inside a mapping doesn't work as documented when
  6817.         'insertmode' is set, it does go from Visual or Normal mode to
  6818.         Insert mode. (Benji Fisher)
  6819. Solution:   Make it work as documented.
  6820. Files:        src/normal.c
  6821.  
  6822. Patch 6.1.058
  6823. Problem:    When there is a closed fold just above the first line in the
  6824.         window, using CTRL-X CTRL-Y in Insert mode will show only one line
  6825.         of the fold. (Alexey Marinichev)
  6826. Solution:   Correct the topline by putting it at the start of the fold.
  6827. Files:        src/move.c
  6828.  
  6829. Patch 6.1.059
  6830. Problem:    ":redir > ~/file" doesn't work. (Stephen Rasku)
  6831. Solution:   Expand environment variables in the ":redir >" argument.
  6832. Files:        src/ex_docmd.c
  6833.  
  6834. Patch 6.1.060
  6835. Problem:    When 'virtualedit' is set and 'selection' is "exclusive", deleting
  6836.         a character just before a tab changes the tab into spaces.  Undo
  6837.         doesn't restore the tab. (Helmut Stiegler)
  6838. Solution:   Don't replace the tab by spaces when it's not needed.  Correcly
  6839.         save the line before it's changed.
  6840. Files:        src/ops.c
  6841.  
  6842. Patch 6.1.061
  6843. Problem:    When 'virtualedit' is set and 'selection' is "exclusive", a Visual
  6844.         selection that ends just after a tab doesn't include that tab in
  6845.         the highlighting.  (Helmut Stiegler)
  6846. Solution:   Use a different way to exclude the character under the cursor.
  6847. Files:        src/screen.c
  6848.  
  6849. Patch 6.1.062
  6850. Problem:    The "man" filetype plugin doesn't work properly on Solaris 5.
  6851. Solution:   Use a different way to detect that "man -s" should be used. (Hugh
  6852.         Sasse)
  6853. Files:        runtime/ftplugin/man.vim
  6854.  
  6855. Patch 6.1.063
  6856. Problem:    Java indenting doesn't work properly.
  6857. Solution:   Ignore comments when checking if the indent doesn't increase after
  6858.         a "}".
  6859. Files:        runtime/indent/java.vim
  6860.  
  6861. Patch 6.1.064
  6862. Problem:    The URLs that the netrw plugin recognized for ftp and rcp did not
  6863.         conform to the standard method://[user@]host[:port]/path.
  6864. Solution:   Use ftp://[user@]host[[:#]port]/path, which supports both the new
  6865.         and the previous style.  Also added a bit of dav/cadaver support.
  6866.         (Charles Campbell)
  6867. Files:        runtime/plugin/netrw.vim
  6868.  
  6869. Patch 6.1.065
  6870. Problem:    VMS: The colorscheme, keymap and compiler menus are not filled in.
  6871. Solution:   Ignore case when looking for ".vim" files. (Coen Engelbarts)
  6872. Files:        runtime/menu.vim
  6873.  
  6874. Patch 6.1.066 (extra)
  6875. Problem:    When calling system() in a plugin reading stdin hangs.
  6876. Solution:   Don't set the terminal to RAW mode when it wasn't in RAW mode
  6877.         before the system() call.
  6878. Files:        src/os_amiga.c, src/os_msdos.c, src/os_riscos.c, src/os_unix.c,
  6879.         src/os_win16.c, src/os_win32.c
  6880.  
  6881. Patch 6.1.067
  6882. Problem:    ":set viminfo+=f0" is not working. (Benji Fisher)
  6883. Solution:   Check the "f" flag instead of "'" in 'viminfo'.
  6884. Files:        src/mark.c
  6885.  
  6886. Patch 6.1.068
  6887. Problem:    When a file is reloaded after it was changed outside of Vim, diff
  6888.         mode isn't updated. (Michael Naumann)
  6889. Solution:   Invalidate the diff info so that it's updated when needed.
  6890. Files:        src/fileio.c
  6891.  
  6892. Patch 6.1.069
  6893. Problem:    When 'showmatch' is set and "$" is in 'cpoptions', using
  6894.         "C}<Esc>" may forget to remove the "$". (Preben Guldberg)
  6895. Solution:   Restore dollar_vcol after displaying the matching cursor position.
  6896. Files:        src/search.c
  6897.  
  6898. Patch 6.1.070 (depends on 6.1.060)
  6899. Problem:    Compiler warning for signed/unsigned mismatch. (Mike Williams)
  6900. Solution:   Add a typecast to int.
  6901. Files:        src/ops.c
  6902.  
  6903. Patch 6.1.071
  6904. Problem:    When 'selection' is exclusive, g CTRL-G in Visual mode counts one
  6905.         character too much. (David Necas)
  6906. Solution:   Subtract one from the end position.
  6907. Files:        src/ops.c
  6908.  
  6909. Patch 6.1.072
  6910. Problem:    When a file name in a tags file starts with http:// or something
  6911.         else for which there is a BufReadCmd autocommand, the file isn't
  6912.         opened anyway.
  6913. Solution:   Check if there is a matching BufReadCmd autocommand and try to
  6914.         open the file.
  6915. Files:        src/fileio.c, src/proto/fileio.pro, src/tag.c
  6916.  
  6917. Patch 6.1.073 (extra)
  6918. Problem:    BC5: Can't easily specify a tiny, small, normal, big or huge
  6919.         version.
  6920. Solution:   Allow selecting the version with the FEATURES variable. (Ajit
  6921.         Thakkar)
  6922. Files:        src/Make_bc5.mak
  6923.  
  6924. Patch 6.1.074
  6925. Problem:    When 'cdpath' includes "../..", changing to a directory in which
  6926.         we currently already are doesn't work.  ff_check_visited() adds
  6927.         the directory both when using it as the root for searching and for
  6928.         the actual matches. (Stephen Rasku)
  6929. Solution:   Use a separate list for the already searched directories.
  6930. Files:        src/misc2.c
  6931.  
  6932. Patch 6.1.075 (depends on 6.1.072)
  6933. Problem:    Can't compile fileio.c on MS-Windows.
  6934. Solution:   Add a declaration for the "p" pointer. (Madoka Machitani)
  6935. Files:        src/fileio.c
  6936.  
  6937. Patch 6.1.076 (extra)
  6938. Problem:    Macintosh: explorer plugin doesn't work on Mac Classic.
  6939.         IME doesn't work.  Dialog boxes don't work on Mac OS X
  6940. Solution:   Fix explorer plugin and key modifiers. (Axel Kielhorn)
  6941.         Fix IME support. (Muraoka Taro)
  6942.         Disable dialog boxes. (Benji Fisher)
  6943. Files:        src/edit.c, src/feature.h, src/gui_mac.c, src/os_mac.c
  6944.  
  6945. Patch 6.1.077
  6946. Problem:    On a Debian systEm wht ACL linking fails. (Lubomir Host)
  6947. Solution:   When the "acl" library is used, check if the "attr" library is
  6948.         present and use it.
  6949. Files:        src/auto/configure, src/configure.in, src/link.sh
  6950.  
  6951. Patch 6.1.078
  6952. Problem:    When using 'foldmethod' "marker" and the end marker appears before
  6953.         the start marker in the file, no fold is found. (Nazri Ramliy)
  6954. Solution:   Don't let the fold depth go negative.
  6955. Files:        src/fold.c
  6956.  
  6957. Patch 6.1.079
  6958. Problem:    When using "s" in Visual block mode with 'virtualedit' set, when
  6959.         the selected block is after the end of some lines the wrong text
  6960.         is inserted and some lines are skipped. (Servatius Brandt)
  6961. Solution:   Insert the right text and extend short lines.
  6962. Files:        src/ops.c
  6963.  
  6964. Patch 6.1.080
  6965. Problem:    When using gcc with /usr/local already in the search path, adding
  6966.         it again causes problems.
  6967. Solution:   Adjust configure.in to avoid adding /usr/local/include and
  6968.         /usr/local/lib when using GCC and they are already used. (Johannes
  6969.         Zellner)
  6970. Files:        src/auto/configure, src/configure.in
  6971.  
  6972. Patch 6.1.081
  6973. Problem:    ":help CTRL-\_CTRL-N" doesn't work.  (Christian J. Robinson)
  6974. Solution:   Double the backslash to avoid the special meaning of "\_".
  6975. Files:        src/ex_cmds.c
  6976.  
  6977. Patch 6.1.082
  6978. Problem:    On MS-Windows the vimrc_example.vim script is sourced and then
  6979.         mswin.vim.  This enables using select mode, but since "p" is
  6980.         mapped it doesn't replace the selection.
  6981. Solution:   Remove the mapping of "p" from vimrc_example.vim, it's obsolete.
  6982.         (Vlad Sandrini)
  6983. Files:        runtime/vimrc_example.vim
  6984.  
  6985. Patch 6.1.083
  6986. Problem:    When $LANG is "sk" or "sk_sk", the Slovak menu file isn't found.
  6987.         (Martin Lacko)
  6988. Solution:   Guess the right menu file based on the system.
  6989. Files:        runtime/lang/menu_sk_sk.vim
  6990.  
  6991. Patch 6.1.084 (depends on 6.1.080)
  6992. Problem:    "include" and "lib" are mixed up when checking the directories gcc
  6993.         already searches.
  6994. Solution:   Swap the variable names. (SunHo Kim)
  6995. Files:        src/auto/configure, src/configure.in
  6996.  
  6997. Patch 6.1.085
  6998. Problem:    When using CTRL-O CTRL-\ CTRL-N from Insert mode, the displayed
  6999.         mode "(insert)" isn't removed. (Benji Fisher)
  7000. Solution:   Clear the command line.
  7001. Files:        src/normal.c
  7002.  
  7003. Patch 6.1.086 (depends on 6.1.049)
  7004. Problem:    The guifg color for CursorIM doesn't take effect.
  7005. Solution:   Use the foreground color when it's defined. (Muraoka Taro)
  7006. Files:        src/gui.c
  7007.  
  7008. Patch 6.1.087
  7009. Problem:    A thesaurus with Japanese characters has problems with characters
  7010.         in different word classes.
  7011. Solution:   Only separate words with single-byte non-word characters.
  7012.         (Muraoka Taro)
  7013. Files:        src/edit.c
  7014.  
  7015. Patch 6.1.088 (extra)
  7016. Problem:    Win32: no debugging info is generated.  Tags file excludes .cpp
  7017.         files.
  7018. Solution:   Add "/map" to compiler flags.  Add "*.cpp" to ctags command.
  7019.         (Muraoka Taro)
  7020. Files:        src/Make_mvc.mak
  7021.  
  7022. Patch 6.1.089
  7023. Problem:    On BSDI systems there is no ss_sp field in stack_t. (Robert Jan)
  7024. Solution:   Use ss_base instead.
  7025. Files:        src/auto/configure, src/configure.in, src/config.h.in,
  7026.         src/os_unix.c
  7027.  
  7028. Patch 6.1.090
  7029. Problem:    CTRL-F gets stuck when 'scrolloff' is non-zero and there is a mix
  7030.         of long wrapping lines and a non-wrapping line.
  7031. Solution:   Check that CTRL-F scrolls at least one line.
  7032. Files:        src/move.c
  7033.  
  7034. Patch 6.1.091
  7035. Problem:    GTK: Can't change preeditstate without setting 'imactivatekey'.
  7036. Solution:   Add some code to change preeditstate for OnTheSpot. (Yasuhiro
  7037.         Matsumoto)
  7038. Files:        src/mbyte.c
  7039.  
  7040. Patch 6.1.092
  7041. Problem:    ":mapclear <buffer>" doesn't work. (Srikanth Adayapalam)
  7042. Solution:   Allow an argument for ":mapclear".
  7043. Files:        src/ex_cmds.h
  7044.  
  7045. Patch 6.1.093 (extra)
  7046. Problem:    Mac and MS-Windows GUI: when scrolling while ":s" is working the
  7047.         results can be messed up, because the cursor is moved.
  7048. Solution:   Disallow direct scrolling when not waiting for a character.
  7049. Files:        src/gui_mac.c, src/gui_w16.c, src/gui_w32.c, src/gui_w48.c
  7050.  
  7051. Patch 6.1.094
  7052. Problem:    Cygwin: Passing a file name that has backslashes isn't handled
  7053.         very well.
  7054. Solution:   Convert file name arguments to Posix.  (Chris Metcalf)
  7055. Files:        src/main.c
  7056.  
  7057. Patch 6.1.095
  7058. Problem:    When using signs can free an item on the stack.
  7059.         Overruling sign colors doesn't work. (Srikanth Sankaran)
  7060. Solution:   Don't free the item on the stack.  Use NULL instead of "none" for
  7061.         the value of the color.
  7062. Files:        src/gui_x11.c
  7063.  
  7064. Patch 6.1.096
  7065. Problem:    When erasing the right halve of a double-byte character, it may
  7066.         cause further characters to be erased. (Yasuhiro Matsumoto)
  7067. Solution:   Make sure only one character is erased.
  7068. Files:        src/screen.c
  7069.  
  7070. Patch 6.1.097 (depends on 6.1.090)
  7071. Problem:    When 'scrolloff' is set to a huge value, CTRL-F at the end of the
  7072.         file scrolls one line. (Lubomir Host)
  7073. Solution:   Don't scroll when CTRL-F detects the end-of-file.
  7074. Files:        src/move.c
  7075.  
  7076. Patch 6.1.098
  7077. Problem:    MS-Windows: When the xxd program is under "c:\program files" the
  7078.         "Convert to Hex" menu doesn't work. (Brian Mathis)
  7079. Solution:   Put the path to xxd in double quotes.
  7080. Files:        runtime/menu.vim
  7081.  
  7082. Patch 6.1.099
  7083. Problem:    Memory corrupted when closing a fold with more than 99999 lines.
  7084. Solution:   Allocate more space for the fold text. (Walter Briscoe)
  7085. Files:        src/eval.c
  7086.  
  7087. Patch 6.1.100 (extra, depends on 6.1.088)
  7088. Problem:    Win32: VC5 and earlier don't support the /mapinfo option.
  7089. Solution:   Add "/mapinfo" only when "MAP=lines" is specified. (Muraoka Taro)
  7090. Files:        src/Make_mvc.mak
  7091.  
  7092. Patch 6.1.101
  7093. Problem:    After using ":options" the tabstop of a new window is 15.  Entry
  7094.         in ":options" window for 'autowriteall' is wrong. (Antoine J
  7095.         Mechelynck)  Can't insert a space in an option value.
  7096. Solution:   Use ":setlocal" instead of ":set".  Change "aw" to "awa".
  7097.         Don't map space in Insert mode.
  7098. Files:        runtime/optwin.vim
  7099.  
  7100. Patch 6.1.102
  7101. Problem:    Unprintable and multi-byte characters in a statusline item are not
  7102.         truncated correctly. (Yasuhiro Matsumoto)
  7103. Solution:   Count the width of characters instead of the number of bytes.
  7104. Files:        src/buffer.c
  7105.  
  7106. Patch 6.1.103
  7107. Problem:    A function returning from a while loop, with 'verbose' set to 12
  7108.         or higher, doesn't mention the return value.  A function with the
  7109.         'abort' attribute may return -1 while the verbose message says
  7110.         something else.
  7111. Solution:   Move the verbose message about returning from a function to
  7112.         call_func(). (Servatius Brandt)
  7113. Files:        src/eval.c
  7114.  
  7115. Patch 6.1.104
  7116. Problem:    GCC 3.1 appears to have an optimizer problem that makes test 3
  7117.         crash.
  7118. Solution:   For GCC 3.1 add -fno-strength-reduce to avoid the optimizer bug.
  7119.         Filter out extra info from "gcc --version".
  7120. Files:        src/auto/configure, src/configure.in
  7121.  
  7122. Patch 6.1.105
  7123. Problem:    Win32: The default for 'shellpipe' doesn't redirect stderr. (Dion
  7124.         Nicolaas)
  7125. Solution:   Redirect stderr, depending on the shell (like for 'shellredir').
  7126. Files:        src/option.c
  7127.  
  7128. Patch 6.1.106
  7129. Problem:    The maze program crashes.
  7130. Solution:   Change "11" to "27" and it works. (Greg Roelofs)
  7131. Files:        runtime/macros/maze/mazeansi.c
  7132.  
  7133. Patch 6.1.107
  7134. Problem:    When 'list' is set the current line in the error window may be
  7135.         displayed wrong. (Muraoka Taro)
  7136. Solution:   Don't continue the line after the $ has been displayed and the
  7137.         rightmost column is reached.
  7138. Files:        src/screen.c
  7139.  
  7140. Patch 6.1.108
  7141. Problem:    When interrupting a filter command such as "!!sleep 20" the file
  7142.         becomes read-only. (Mark Brader)
  7143. Solution:   Only set the read-only flag when opening a buffer is interrupted.
  7144.         When the shell command was interrupted, read the output that was
  7145.         produced so far.
  7146. Files:        src/ex_cmds.c, src/fileio.c
  7147.  
  7148. Patch 6.1.109
  7149. Problem:    When 'eadirection' is "hor", using CTRL-W = doesn't equalize the
  7150.         window heights. (Roman Neuhauser)
  7151. Solution:   Ignore 'eadirection' for CTRL-W =
  7152. Files:        src/window.c
  7153.  
  7154. Patch 6.1.110
  7155. Problem:    When using ":badd file" when "file" is already present but not
  7156.         listed, it stays unlisted. (David Frey)
  7157. Solution:   Set 'buflisted'.
  7158. Files:        src/buffer.c
  7159.  
  7160. Patch 6.1.111
  7161. Problem:    It's not possible to detect using the Unix sources on Win32 or Mac.
  7162. Solution:   Add has("macunix") and has("win32unix").
  7163. Files:        runtime/doc/eval.txt, src/eval.c
  7164.  
  7165. Patch 6.1.112
  7166. Problem:    When using ":argdo", ":bufdo" or ":windo", CTRL-O doesn't go to
  7167.         the cursor position from before this command but every position
  7168.         where the argument was executed.
  7169. Solution:   Only remember the cursor position from before the ":argdo",
  7170.         ":bufdo" and ":windo".
  7171. Files:        src/ex_cmds2.c, src/mark.c
  7172.  
  7173. Patch 6.1.113
  7174. Problem:    ":bufdo bwipe" only wipes out half the buffers.  (Roman Neuhauser)
  7175. Solution:   Decide what buffer to go to next before executing the command.
  7176. Files:        src/ex_cmds2.c
  7177.  
  7178. Patch 6.1.114
  7179. Problem:    ":python import vim", ":python vim.current.buffer[0:0] = []" gives
  7180.         a lalloc(0) error. (Chris Southern)
  7181. Solution:   Don't allocate an array when it's size is zero.
  7182. Files:        src/if_python.c
  7183.  
  7184. Patch 6.1.115
  7185. Problem:    "das" on the white space at the end of a paragraph does not delete
  7186.         the "." the sentence ends with.
  7187. Solution:   Don't exclude the last character when it is not white space.
  7188. Files:        src/search.c
  7189.  
  7190. Patch 6.1.116
  7191. Problem:    When 'endofline' is changed while 'binary' is set a file should be
  7192.         considered modified. (Olaf Buddenhagen)
  7193. Solution:   Remember the 'eol' value when editing started and consider the
  7194.         file changed when the current value is different and 'binary' is
  7195.         set.  Also fix that the window title isn't updated when 'ff' or
  7196.         'bin' changes.
  7197. Files:        src/option.c, src/structs.h
  7198.  
  7199. Patch 6.1.117
  7200. Problem:    Small problem with editing a file over ftp: and with Cygwin.
  7201. Solution:   Remove a dot from a ":normal" command.  Use "cygdrive" where
  7202.         appropriate.  (Charles Campbell)
  7203. Files:        runtime/plugin/netrw.vim
  7204.  
  7205. Patch 6.1.118
  7206. Problem:    When a file in diff mode is reloaded because it changed outside
  7207.         of Vim, other windows in diff mode are not always updated.
  7208.         (Michael Naumann)
  7209. Solution:   After reloading a file in diff mode mark all windows in diff mode
  7210.         for redraw.
  7211. Files:        src/diff.c
  7212.  
  7213. Patch 6.1.119 (extra)
  7214. Problem:    With the Sniff interface, using Sniff 4.0.X on HP-UX, there may be
  7215.         a crash when connecting to Sniff.
  7216. Solution:   Initialize sniff_rq_sep such that its value can be changed.
  7217.         (Martin Egloff)
  7218. Files:        src/if_sniff.c
  7219.  
  7220. Patch 6.1.120 (depends on 6.1.097)
  7221. Problem:    When 'scrolloff' is non-zero and there are folds, CTRL-F at the
  7222.         end of the file scrolls part of a closed fold.  (Lubomir Host)
  7223. Solution:   Adjust the first line to the start of a fold.
  7224. Files:        src/move.c
  7225.  
  7226. Patch 6.1.121 (depends on 6.1.098)
  7227. Problem:    When starting Select mode from Insert mode, then using the Paste
  7228.         menu entry, the cursor is left before the laste pasted character.
  7229.         (Mario Schweigler)
  7230. Solution:   Set the cursor for Insert mode one character to the right.
  7231. Files:        runtime/menu.vim
  7232.  
  7233. Patch 6.1.122
  7234. Problem:    ":file name" creates a new buffer to hold the old buffer name,
  7235.         which becomes the alternate file.  This buffer is unexpectedly
  7236.         listed.
  7237. Solution:   Create the buffer for the alternate name unlisted.
  7238. Files:        src/ex_cmds.c
  7239.  
  7240. Patch 6.1.123
  7241. Problem:    A ":match" command with more than one argument doesn't report an
  7242.         error.
  7243. Solution:   Check for extra characters. (Servatius Brandt)
  7244. Files:        src/ex_docmd.c
  7245.  
  7246. Patch 6.1.124
  7247. Problem:    When trying to exit and there is a hidden buffer that had 'eol'
  7248.         off and 'bin' set exiting isn't possible. (John McGowan)
  7249. Solution:   Set b_start_eol when clearing the buffer.
  7250. Files:        src/buffer.c
  7251.  
  7252. Patch 6.1.125
  7253. Problem:    Explorer plugin asks for saving a modified buffer even when it's
  7254.         open in another window as well.
  7255. Solution:   Count the number of windows using the buffer.
  7256. Files:        runtime/plugin/explorer.vim
  7257.  
  7258. Patch 6.1.126
  7259. Problem:    Adding the choices in the syntax menu is consuming much of the
  7260.         startup time of the GUI while it's not often used.
  7261. Solution:   Only add the choices when the user wants to use them.
  7262. Files:        Makefile, runtime/makemenu.vim, runtime/menu.vim,
  7263.         runtime/synmenu.vim, src/Makefile
  7264.  
  7265. Patch 6.1.127
  7266. Problem:    When using "--remote file" and the server has 'insertmode' set,
  7267.         commands are inserted instead of being executed. (Niklas Volbers)
  7268. Solution:   Go to Normal mode again after the ":drop" command.
  7269. Files:        src/main.c
  7270.  
  7271. Patch 6.1.128
  7272. Problem:    The expression "input('very long prompt')" puts the cursor in the
  7273.         wrong line (column is OK).
  7274. Solution:   Add the wrapped lines to the indent. (Yasuhiro Matsumoto)
  7275. Files:        src/ex_getln.c
  7276.  
  7277. Patch 6.1.129
  7278. Problem:    On Solaris editing "file/" and then "file" results in using the
  7279.         same buffer.  (Jim Battle)
  7280. Solution:   Before using stat(), check that there is no illegal trailing
  7281.         slash.
  7282. Files:        src/auto/configure, src/config.h.in, src/configure.in,
  7283.         src/macros.h src/misc2.c, src/proto/misc2.pro
  7284.  
  7285. Patch 6.1.130
  7286. Problem:    The documentation for some of the 'errorformat' items is unclear.
  7287. Solution:   Add more examples and explain hard to understand items. (Stefan
  7288.         Roemer)
  7289. Files:        runtime/doc/quickfix.txt
  7290.  
  7291. Patch 6.1.131
  7292. Problem:    X11 GUI: when expanding a CSI byte in the input stream to K_CSI,
  7293.         the CSI byte itself isn't copied.
  7294. Solution:   Copy the CSI byte.
  7295. Files:        src/gui_x11.c
  7296.  
  7297. Patch 6.1.132
  7298. Problem:    Executing a register in Ex mode may cause commands to be skipped.
  7299.         (John McGowan)
  7300. Solution:   In Ex mode use an extra check if the register contents was
  7301.         consumed, to avoid input goes into the typeahead buffer.
  7302. Files:        src/ex_docmd.c
  7303.  
  7304. Patch 6.1.133
  7305. Problem:    When drawing double-wide characters in the statusline, may clear
  7306.         half of a character. (Yasuhiro Matsumoto)
  7307. Solution:   Force redraw of the next character by setting the attributes
  7308.         instead of putting a NUL in ScreenLines[].  Do put a NUL in
  7309.         ScreenLines[] when overwriting half of a double-wide character.
  7310. Files:        src/screen.c
  7311.  
  7312. Patch 6.1.134
  7313. Problem:    An error for a trailing argument of ":match" should not be given
  7314.         after ":if 0". (Servatius Brandt)
  7315. Solution:   Only do the check when executing commands.
  7316. Files:        src/ex_docmd.c
  7317.  
  7318. Patch 6.1.135
  7319. Problem:    Passing a command to the shell that includes a newline always has
  7320.         a backslash before the newline.
  7321. Solution:   Remove one backslash before the newline.  (Servatius Brandt)
  7322. Files:        src/ex_docmd.c
  7323.  
  7324. Patch 6.1.136
  7325. Problem:    When $TERM is "linux" the default for 'background' is "dark", even
  7326.         though the GUI uses a light background. (Hugh Allen)
  7327. Solution:   Don't mark the option as set when defaulting to "dark" for the
  7328.         linux console.  Also reset 'background' to "light" when the GUI
  7329.         has a light background.
  7330. Files:        src/option.c
  7331.  
  7332. Patch 6.1.137
  7333. Problem:    Converting to HTML has a clumsy way of dealing with tabs which may
  7334.         change the highlighting.
  7335. Solution:   Replace tabs with spaces after converting a line to HTML. (Preben
  7336.         Guldberg)
  7337. Files:        runtime/syntax/2html.vim
  7338.  
  7339. Patch 6.1.138 (depends on 6.1.126)
  7340. Problem:    Adding extra items to the Syntax menu can't be done when the "Show
  7341.         individual choices" menu is used.
  7342. Solution:   Use ":runtime!" instead of ":source", so that all synmenu.vim
  7343.         files in the runtime path are loaded. (Servatius Brandt)
  7344.         Also fix that a translated menu can't be removed.
  7345. Files:        runtime/menu.vim
  7346.  
  7347. Patch 6.1.139
  7348. Problem:    Cygwin: PATH_MAX is not defined.
  7349. Solution:   Include limits.h. (Dan Sharp)
  7350. Files:        src/main.c
  7351.  
  7352. Patch 6.1.140
  7353. Problem:    Cygwin: ":args `ls *.c`" does not work if the shell command
  7354.         produces CR NL line separators.
  7355. Solution:   Remove the CR characters ourselfs. (Pavol Juhas)
  7356. Files:        src/os_unix.c
  7357.  
  7358. Patch 6.1.141
  7359. Problem:    ":wincmd gx" may cause problems when mixed with other commands.
  7360.         ":wincmd c" doesn't close the window immediately. (Benji Fisher)
  7361. Solution:   Pass the extra command character directly instead of using the
  7362.         stuff buffer and call ex_close() directly.
  7363. Files:        src/ex_docmd.c, src/normal.c, src/proto/normal.pro,
  7364.         src/proto/window.pro, src/window.c
  7365.  
  7366. Patch 6.1.142
  7367. Problem:    Defining paragraphs without a separating blank line isn't
  7368.         possible.  Paragraphs can't be formatted automatically.
  7369. Solution:   Allow defining paragraphs with lines that end in white space.
  7370.         Added the 'w' and 'a' flags in 'formatoptions'.
  7371. Files:        runtime/doc/change.txt, src/edit.c, src/misc1.c, src/normal.c,
  7372.         src/option.h, src/ops.c, src/proto/edit.pro, src/proto/ops.pro,
  7373.         src/vim.h
  7374.  
  7375. Patch 6.1.143 (depends on 6.1.142)
  7376. Problem:    Auto formatting near the end of the file moves the cursor to a
  7377.         wrong position.  In Insert mode some lines are made one char too
  7378.         narrow.  When deleting a line undo might not always work properly.
  7379. Solution:   Don't always move to the end of the line in the last line.  Don't
  7380.         position the cursor past the end of the line in Insert mode.
  7381.         After deleting a line save the cursor line for undo.
  7382. Files:        src/edit.c, src/ops.c, src/normal.c
  7383.  
  7384. Patch 6.1.144
  7385. Problem:    Obtaining the size of a line in screen characters can be wrong.
  7386.         A pointer may wrap around zero.
  7387. Solution:   In win_linetabsize() check for a MAXCOL length argument. (Jim
  7388.         Dunleavy)
  7389. Files:        src/charset.c
  7390.  
  7391. Patch 6.1.145
  7392. Problem:    GTK: Drag&drop with more than 3 files may cause a crash. (Mickael
  7393.         Marchand)
  7394. Solution:   Rewrite the code that parses the received list of files to be more
  7395.         robust.
  7396. Files:        src/charset.c, src/gui_gtk_x11.c
  7397.  
  7398. Patch 6.1.146
  7399. Problem:    MS-Windows: When $HOME is constructed from $HOMEDRIVE and
  7400.         $HOMEPATH, it is not used for storing the _viminfo file.  (Normal
  7401.         Diamond)
  7402. Solution:   Set $HOME with the value obtained from $HOMEDRIVE and $HOMEPATH.
  7403. Files:        src/misc1.c
  7404.  
  7405. Patch 6.1.147 (extra)
  7406. Problem:    MS-Windows: When a dialog has no default button, pressing Enter
  7407.         ends it anyway and all buttons are selected.
  7408. Solution:   Don't end a dialog when there is no default button.  Don't select
  7409.         all button when there is no default. (Vince Negri)
  7410. Files:        src/gui_w32.c
  7411.  
  7412. Patch 6.1.148 (extra)
  7413. Problem:    MS-Windows: ACL is not properly supported.
  7414. Solution:   Add an access() replacement that also works for ACL. (Mike
  7415.         Williams)
  7416. Files:        runtime/doc/editing.txt, src/os_win32.c
  7417.  
  7418. Patch 6.1.149 (extra)
  7419. Problem:    MS-Windows: Can't use diff mode from the file explorer.
  7420. Solution:   Add a "diff with Vim" context menu entry. (Dan Sharp)
  7421. Files:        GvimExt/gvimext.cpp, GvimExt/gvimext.h
  7422.  
  7423. Patch 6.1.150
  7424. Problem:    OS/2, MS-Windows and MS-DOS: When 'shellslash' is set getcwd()
  7425.         still uses backslash. (Yegappan Lakshmanan)
  7426. Solution:   Adjust slashes in getcwd().
  7427. Files:        src/eval.c
  7428.  
  7429. Patch 6.1.151 (extra)
  7430. Problem:    Win32: The NTFS substream isn't copied.
  7431. Solution:   Copy the substream when making a backup copy. (Muraoka Taro)
  7432. Files:        src/fileio.c, src/os_win32.c, src/proto/os_win32.pro
  7433.  
  7434. Patch 6.1.152
  7435. Problem:    When $LANG is iso8859-1 translated menus are not used.
  7436. Solution:   Change iso8859 to iso_8859.
  7437. Files:        runtime/menu.vim
  7438.  
  7439. Patch 6.1.153
  7440. Problem:    Searching in included files may search recursively when the path
  7441.         starts with "../".  (Sven Berkvens-Matthijsse)
  7442. Solution:   Compare full file names, use inode/device when possible.
  7443. Files:        src/search.c
  7444.  
  7445. Patch 6.1.154 (extra)
  7446. Problem:    DJGPP: "vim -h" leaves the cursor in a wrong position.
  7447. Solution:   Don't position the cursor using uninitilized variables. (Jim
  7448.         Dunleavy)
  7449. Files:        src/os_msdos.c
  7450.  
  7451. Patch 6.1.155
  7452. Problem:    Win32: Cursor may sometimes disappear in Insert mode.
  7453. Solution:   Change "hor10" in 'guicursor' to "hor15". (Walter Briscoe)
  7454. Files:        src/option.c
  7455.  
  7456. Patch 6.1.156
  7457. Problem:    Conversion between DBCS and UCS-2 isn't implemented cleanly.
  7458. Solution:   Clean up a few things.
  7459. Files:        src/mbyte.c, src/structs.h
  7460.  
  7461. Patch 6.1.157
  7462. Problem:    'hlsearch' highlights only the second comma in ",,,,," with
  7463.         "/,\@<=[^,]*". (Preben Guldberg)
  7464. Solution:   Also check for an empty match to start just after a previous
  7465.         match.
  7466. Files:        src/screen.c
  7467.  
  7468. Patch 6.1.158
  7469. Problem:    "zs" and "ze" don't work correctly with ":set nowrap siso=1".
  7470.         (Preben Guldberg)
  7471. Solution:   Take 'siso' into account when computing the horizontal scroll
  7472.         position for "zs" and "ze".
  7473. Files:        src/normal.c
  7474.  
  7475. Patch 6.1.159
  7476. Problem:    When expanding an abbreviation that includes a multi-byte
  7477.         character too many characters are deleted. (Andrey Urazov)
  7478. Solution:   Delete the abbreviation counting characters instead of bytes.
  7479. Files:        src/getchar.c
  7480.  
  7481. Patch 6.1.160
  7482. Problem:    ":$read file.gz" doesn't work. (Preben Guldberg)
  7483. Solution:   Don't use the '[ mark after it has become invalid.
  7484. Files:        runtime/plugin/gzip.vim
  7485.  
  7486. Patch 6.1.161 (depends on 6.1.158)
  7487. Problem:    Warning for signed/unsigned compare.  Can set 'siso' to a negative
  7488.         value. (Mike Williams)
  7489. Solution:   Add a typecast.  Add a check for 'siso' being negative.
  7490. Files:        src/normal.c, src/option.c
  7491.  
  7492. Patch 6.1.162
  7493. Problem:    Python interface: Didn't initialize threads properly.
  7494. Solution:   Call PyEval_InitThreads() when starting up.
  7495. Files:        src/if_python.c
  7496.  
  7497. Patch 6.1.163
  7498. Problem:    Win32: Can't compile with Python after 6.1.162.
  7499. Solution:   Dynamically load  PyEval_InitThreads(). (Dan Sharp)
  7500. Files:        src/if_python.c
  7501.  
  7502. Patch 6.1.164
  7503. Problem:    If 'modifiable' is off, converting to xxd fails and 'filetype' is
  7504.         changed to "xxd" anyway.
  7505. Solution:   Don't change 'filetype' when conversion failed.
  7506. Files:        runtime/menu.vim
  7507.  
  7508. Patch 6.1.165
  7509. Problem:    Making changes in several lines and then a change in one of these
  7510.         lines that splits it in two or more lines, undo information was
  7511.         corrupted.  May cause a crash. (Dave Fishburn)
  7512. Solution:   When skipping to save a line for undo because it was already
  7513.         saved, move it to become the last saved line, so that when the
  7514.         command changes the line count other saved lines are not involved.
  7515. Files:        src/undo.c
  7516.  
  7517. Patch 6.1.166
  7518. Problem:    When 'autoindent' is set and mswin.vim has been sourced, pasting
  7519.         with CTRL-V just after auto-indenting removes the indent. (Shlomi
  7520.         Fish)
  7521. Solution:   First insert an "x" and delete it again, so that the auto-indent
  7522.         remains.
  7523. Files:        runtime/mswin.vim
  7524.  
  7525. Patch 6.1.167
  7526. Problem:    When giving a negative argument to ":retab" strange things start
  7527.         happening. (Hans Ginzel)
  7528. Solution:   Check for a negative value.
  7529. Files:        src/ex_cmds.c
  7530.  
  7531. Patch 6.1.168
  7532. Problem:    Pressing CTRL-C at the hit-enter prompt doesn't end the prompt.
  7533. Solution:   Make CTRL-C stop the hit-enter prompt.
  7534. Files:        src/message.c
  7535.  
  7536. Patch 6.1.169
  7537. Problem:    bufexists() finds a buffer by using the name of a symbolic link to
  7538.         it, but bufnr() doesn't. (Yegappan Lakshmanan)
  7539. Solution:   When bufnr() can't find a buffer, try using the same method as
  7540.         bufexists().
  7541. Files:        src/eval.c
  7542.  
  7543. Patch 6.1.170
  7544. Problem:    Using ":mksession" uses the default session file name, but "vim
  7545.         -S" doesn't. (Hans Ginzel)
  7546. Solution:   Use the default session file name if "-S" is the last command
  7547.         line argument or another option follows.
  7548. Files:        runtime/doc/starting.txt, src/main.c
  7549.  
  7550. Patch 6.1.171
  7551. Problem:    When opening a line just above a closed fold with "O" and the
  7552.         comment leader is automatically inserted, the cursor is displayed
  7553.         in the first column. (Sung-Hyun Nam)
  7554. Solution:   Update the flag that indicates the cursor is in a closed fold.
  7555. Files:        src/misc1.c
  7556.  
  7557. Patch 6.1.172
  7558. Problem:    Command line completion of ":tag /pat" does not show the same
  7559.         results as the tags the command actually finds. (Gilles Roy)
  7560. Solution:   Don't modify the pattern to make it a regexp.
  7561. Files:        src/ex_getln.c, src/tag.c
  7562.  
  7563. Patch 6.1.173
  7564. Problem:    When using remote control to edit a position in a file and this
  7565.         file is the current buffer and it's modified, the window is split
  7566.         and the ":drop" command fails.
  7567. Solution:   Don't split the window, keep editing the same buffer.
  7568.         Use the ":drop" command in VisVim to avoid the problem there.
  7569. Files:        src/ex_cmds.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro,
  7570.         VisVim/Commands.cpp
  7571.  
  7572. Patch 6.1.174
  7573. Problem:    It is difficult to know in a script whether an option not only
  7574.         exists but really works.
  7575. Solution:   Add "exists('+option')".
  7576. Files:        runtime/doc/eval.txt, src/eval.c
  7577.  
  7578. Patch 6.1.175
  7579. Problem:    When reading commands from a pipe and a CTRL-C is pressed, Vim
  7580.         will hang. (Piet Delport)
  7581. Solution:   Don't keep reading characters to clear typeahead when an interrupt
  7582.         was detected, stop when a single CTRL-C is read.
  7583. Files:        src/getchar.c, src/ui.c
  7584.  
  7585. Patch 6.1.176
  7586. Problem:    When the stack limit is very big a false out-of-stack error may
  7587.         be detected.
  7588. Solution:   Add a check for overflow of the stack limit computation. (Jim
  7589.         Dunleavy)
  7590. Files:        src/os_unix.c
  7591.  
  7592. Patch 6.1.177 (depends on 6.1.141)
  7593. Problem:    ":wincmd" does not allow a following command. (Gary Johnson)
  7594. Solution:   Check for a following " | cmd".  Also give an error for trailing
  7595.         characters.
  7596. Files:        src/ex_docmd.c
  7597.  
  7598. Patch 6.1.178
  7599. Problem:    When 'expandtab' is set "r<C-V><Tab>" still expands the Tab.
  7600.         (Bruce deVisser)
  7601. Solution:   Replace with a literal Tab.
  7602. Files:        src/normal.c
  7603.  
  7604. Patch 6.1.179 (depends on 6.1.091)
  7605. Problem:    When using X11R5 XIMPreserveState is undefined. (Albert Chin)
  7606. Solution:   Include the missing definitions.
  7607. Files:        src/mbyte.c
  7608.  
  7609. Patch 6.1.180
  7610. Problem:    Use of the GUI code for forking is inconsistent.
  7611. Solution:   Define MAY_FORK and use it for later #ifdefs. (Ben Fowlwer)
  7612. Files:        src/gui.c
  7613.  
  7614. Patch 6.1.181
  7615. Problem:    If the terminal doesn't wrap from the last char in a line to the
  7616.         next line, the last column is blanked out. (Peter Karp)
  7617. Solution:   Don't output a space to mark the wrap, but the same character
  7618.         again.
  7619. Files:        src/screen.c
  7620.  
  7621. Patch 6.1.182 (depends on 6.1.142)
  7622. Problem:    It is not possible to auto-format comments only. (Moshe Kaminsky)
  7623. Solution:   When the 'a' and 'c' flags are in 'formatoptions' only auto-format
  7624.         comments.
  7625. Files:        runtime/doc/change.txt, src/edit.c
  7626.  
  7627. Patch 6.1.183
  7628. Problem:    When 'fencs' is empty and 'enc' is utf-8, reading a file with
  7629.         illegal bytes gives "CONVERSION ERROR" even though no conversion
  7630.         is done.  'readonly' is set, even though writing the file results
  7631.         in an unmodified file.
  7632. Solution:   For this specific error use "ILLEGAL BYTE" and don't set
  7633.         'readonly'.
  7634. Files:        src/fileio.c
  7635.  
  7636. Patch 6.1.184 (extra)
  7637. Problem:    The extra mouse buttons found on some mice don't work.
  7638. Solution:   Support two extra buttons for MS-Windows. (Michael Geddes)
  7639. Files:        runtime/doc/term.txt, src/edit.c, src/ex_getln.c, src/gui.c,
  7640.         src/gui_w32.c, src/gui_w48.c, src/keymap.h, src/message.c,
  7641.         src/misc1.c, src/misc2.c, src/normal.c. src/vim.h
  7642.  
  7643. Patch 6.1.185 (depends on 6.1.182)
  7644. Problem:    Can't compile without +comments feature.
  7645. Solution:   Add #ifdef FEAT_COMMENTS. (Christian J. Robinson)
  7646. Files:        src/edit.c
  7647.  
  7648. Patch 6.1.186 (depends on 6.1.177)
  7649. Problem:    ":wincmd" does not allow a following comment. (Aric Blumer)
  7650. Solution:   Check for a following double quote.
  7651. Files:        src/ex_docmd.c
  7652.  
  7653. Patch 6.1.187
  7654. Problem:    Using ":doarg" with 'hidden' set and the current file is the only
  7655.         argument and was modified gives an error message. (Preben
  7656.         Guldberg)
  7657. Solution:   Don't try re-editing the same file.
  7658. Files:        src/ex_cmds2.c
  7659.  
  7660. Patch 6.1.188 (depends on 6.1.173)
  7661. Problem:    Unused variable in the small version.
  7662. Solution:   Move the declaration for "p" inside #ifdef FEAT_LISTCMDS.
  7663. Files:        src/ex_cmds2.c
  7664.  
  7665. Patch 6.1.189
  7666. Problem:    inputdialog() doesn't work when 'c' is in 'guioptions'. (Aric
  7667.         Blumer)
  7668. Solution:   Fall back to the input() function in this situation.
  7669. Files:        src/eval.c
  7670.  
  7671. Patch 6.1.190 (extra)
  7672. Problem:    VMS: doesn't build with GTK GUI.  Various other problems.
  7673. Solution:   Fix building for GTK.  Improved Perl, Python and TCL support.
  7674.         Improved VMS documentation. (Zoltan Arpadffy)
  7675.         Added Vimtutor for VMS (T. R. Wyant)
  7676. Files:        runtime/doc/os_vms.txt, src/INSTALLvms.txt, src/gui_gtk_f.h,
  7677.         src/if_tcl.c, src/main.c, src/gui_gtk_vms.h, src/Make_vms.mms,
  7678.         src/os_vms.opt, src/proto/if_tcl.pro, vimtutor.com,
  7679.         src/testdir/Make_vms.mms
  7680.  
  7681. Patch 6.1.191
  7682. Problem:    When using "vim -s script" and redirecting the output, the delay
  7683.         for the "Output is not to a terminal" warning slows Vim down too
  7684.         much.
  7685. Solution:   Don't delay when reading commands from a script.
  7686. Files:        src/main.c
  7687.  
  7688. Patch 6.1.192
  7689. Problem:    ":diffsplit" doesn't add "hor" to 'scrollopt'. (Gary Johnson)
  7690. Solution:   Add "hor" to 'scrollopt' each time ":diffsplit" is used.
  7691. Files:        src/diff.c, src/main.c
  7692.  
  7693. Patch 6.1.193
  7694. Problem:    Crash in in_id_list() for an item with a "containedin" list. (Dave
  7695.         Fishburn)
  7696. Solution:   Check for a negative syntax id, used for keywords.
  7697. Files:        src/syntax.c
  7698.  
  7699. Patch 6.1.194
  7700. Problem:    When "t_ti" is set but it doesn't cause swapping terminal pages,
  7701.         "ZZ" may cause the shell prompt to appear on top of the file-write
  7702.         message.
  7703. Solution:   Scroll the text up in the Vim page before swapping to the terminal
  7704.         page. (Michael Schroeder)
  7705. Files:        src/os_unix.c
  7706.  
  7707. Patch 6.1.195
  7708. Problem:    The quickfix and preview windows always keep their height, while
  7709.         other windows can't fix their height.
  7710. Solution:   Add the 'winfixheight' option, so that a fixed height can be
  7711.         specified for any window.  Also fix that the wildmenu may resize a
  7712.         one-line window to a two-line window if 'ls' is zero.
  7713. Files:        runtime/doc/options.txt, runtime/optwin.vim, src/ex_cmds.c,
  7714.         src/ex_getln.c, src/globals.h, src/option.c, src/quickfix.c,
  7715.         src/screen.c, src/structs.h, src/window.c
  7716.  
  7717. Patch 6.1.196  (depends on 6.1.084)
  7718. Problem:    On Mac OS X 10.2 generating osdef.h fails.
  7719. Solution:   Add -no-cpp-precomp to avoid using precompiled header files, which
  7720.         disables printing the search path. (Ben Fowler)
  7721. Files:        src/auto/configure, src/configure.in
  7722.  
  7723. Patch 6.1.197
  7724. Problem:    ":help <C-V><C-\><C-V><C-N>" (resulting in <1c><0e>) gives an
  7725.         error message. (Servatius Brandt)
  7726. Solution:   Double the backslash in "CTRL-\".
  7727. Files:        src/ex_cmds.c
  7728.  
  7729. Patch 6.1.198 (extra) (depends on 6.1.076)
  7730. Problem:    Mac OS X: Dialogues don't work.
  7731. Solution:   Fix a crashing problem for some GUI dialogues.  Fix a problem when
  7732.         saving to a new file from the GUI. (Peter Cucka)
  7733. Files:        src/feature.h, src/gui_mac.c
  7734.  
  7735. Patch 6.1.199
  7736. Problem:    'guifontwide' doesn't work on Win32.
  7737. Solution:   Output each wide character separately. (Michael Geddes)
  7738. Files:        src/gui.c
  7739.  
  7740. Patch 6.1.200
  7741. Problem:    ":syn sync fromstart" is not skipped after ":if 0".  This can make
  7742.         syntax highlighting very slow.
  7743. Solution:   Check "eap->skip" appropriately. (Rob West)
  7744. Files:        src/syntax.c
  7745.  
  7746. Patch 6.1.201 (depends on 6.1.192)
  7747. Problem:    Warning for illegal pointer combination. (Zoltan Arpadffy)
  7748. Solution:   Add a typecast.
  7749. Files:        src/diff.c
  7750.  
  7751. Patch 6.1.202  (extra)(depends on 6.1.148)
  7752. Problem:    Win32: filewritable() doesn't work properly on directories.
  7753. Solution:   fix filewritable(). (Mike Williams)
  7754. Files:        src/os_win32.c
  7755.  
  7756. Patch 6.1.203
  7757. Problem:    ":%s/~//" causes a crash after ":%s/x//". (Gary Holloway)
  7758. Solution:   Avoid reading past the end of a line when "~" is empty.
  7759. Files:        src/regexp.c
  7760.  
  7761. Patch 6.1.204 (depends on 6.1.129)
  7762. Problem:    Warning for an illegal pointer on Solaris.
  7763. Solution:   Add a typecast. (Derek Wyatt)
  7764. Files:        src/misc2.c
  7765.  
  7766. Patch 6.1.205
  7767. Problem:    The gzip plugin changes the alternate file when editing a
  7768.         compressed file. (Oliver Fuchs)
  7769. Solution:   Temporarily remove the 'a' and 'A' flags from 'cpo'.
  7770. Files:        runtime/plugin/gzip.vim
  7771.  
  7772. Patch 6.1.206
  7773. Problem:    The script generated with ":mksession" doesn't work properly when
  7774.         some commands are mapped.
  7775. Solution:   Use ":normal!" instead of ":normal".  And use ":wincmd" where
  7776.         possible. (Muraoka Taro)
  7777. Files:        src/ex_docmd.c, src/fold.c
  7778.  
  7779. Patch 6.1.207
  7780. Problem:    Indenting a Java file hangs below a line with a comment after a
  7781.         command.
  7782. Solution:   Break out of a loop. (Andre Pang)
  7783.         Also line up } with matching {.
  7784. Files:        runtime/indent/java.vim
  7785.  
  7786. Patch 6.1.208
  7787. Problem:    Can't use the buffer number from the Python interface.
  7788. Solution:   Add buffer.number. (Michal Vitecek)
  7789. Files:        src/if_python.c
  7790.  
  7791. Patch 6.1.209
  7792. Problem:    Printing doesn't work on Mac OS classic.
  7793. Solution:   Use a ":" for path separator when opening the resource file. (Axel
  7794.         Kielhorn)
  7795. Files:        src/ex_cmds2.c
  7796.  
  7797. Patch 6.1.210
  7798. Problem:    When there is an iconv() conversion error when reading a file
  7799.         there can be an error the next time iconv() is used.
  7800. Solution:   Reset the state of the iconv() descriptor. (Yasuhiro Matsumoto)
  7801. Files:        src/fileio.c
  7802.  
  7803. Patch 6.1.211
  7804. Problem:    The message "use ! to override" is confusing.
  7805. Solution:   Make it "add ! to override".
  7806. Files:        src/buffer.c, src/eval.c, src/ex_docmd.c, src/fileio.c,
  7807.         src/globals.h
  7808.  
  7809. Patch 6.1.212
  7810. Problem:    When Vim was started with "-R" ":new" creates a buffer
  7811.         'noreadonly' while ":enew" has 'readonly' set. (Preben Guldberg)
  7812. Solution:   Don't set 'readonly in a new empty buffer for ":enew".
  7813. Files:        src/ex_docmd.c
  7814.  
  7815. Patch 6.1.213
  7816. Problem:    Using CTRL-W H may cause a big gap to appear below the last
  7817.         window. (Aric Blumer)
  7818. Solution:   Don't set the window height when there is a vertical split.
  7819.         (Yasuhiro Matsumoto)
  7820. Files:        src/window.c
  7821.  
  7822. Patch 6.1.214
  7823. Problem:    When installing Vim and the runtime files were checked out from
  7824.         CVS the CVS directories will also be installed.
  7825. Solution:   Avoid installing the CVS dirs and their contents.
  7826. Files:        src/Makefile
  7827.  
  7828. Patch 6.1.215
  7829. Problem:    Win32: ":pwd" uses backslashes even when 'shellslash' is set.
  7830.         (Xiangjiang Ma)
  7831. Solution:   Adjust backslashes before printing the message.
  7832. Files:        src/ex_docmd.c
  7833.  
  7834. Patch 6.1.216
  7835. Problem:    When dynamically loading the iconv library, the error codes may be
  7836.         confused.
  7837. Solution:   Use specific error codes for iconv and redefine them for dynamic
  7838.         loading. (Yasuhiro Matsumoto)
  7839. Files:        src/fileio.c, src/mbyte.c, src/vim.h
  7840.  
  7841. Patch 6.1.217
  7842. Problem:    When sourcing the same Vim script using a different name (symbolic
  7843.         link or MS-Windows 8.3 name) it is listed twice with
  7844.         ":scriptnames".  (Tony Mechelynck)
  7845. Solution:   Turn the script name into a full path before using it.  On Unix
  7846.         compare inode/device numbers.
  7847. Files:        src/ex_cmds2.c
  7848.  
  7849. Patch 6.1.218
  7850. Problem:    No error message for using the function argument "5+".  (Servatius
  7851.         Brandt)
  7852. Solution:   Give an error message if a function or variable is expected but is
  7853.         not found.
  7854. Files:        src/eval.c
  7855.  
  7856. Patch 6.1.219
  7857. Problem:    When using ":amenu :b 1<CR>" with a Visual selection and
  7858.         'insertmode' is set, Vim does not return to Insert mode. (Mickael
  7859.         Marchand)
  7860. Solution:   Add the command CTRL-\ CTRL-G that goes to Insert mode if
  7861.         'insertmode' is set and to Normal mode otherwise.  Append this to
  7862.         menus defined with ":amenu".
  7863. Files:        src/edit.c, src/ex_getln.c, src/normal.c
  7864.  
  7865. Patch 6.1.220
  7866. Problem:    When using a BufReadPost autocommand that changes the line count,
  7867.         e.g., "$-1join", reloading a file that was changed outside Vim
  7868.         does not work properly. (Alan G Isaac)
  7869. Solution:   Make the buffer empty before reading the new version of the file.
  7870.         Save the lines in a dummy buffer, so that they can be put back
  7871.         when reading the file fails.
  7872. Files:        src/buffer.c, src/ex_cmds.c, src/fileio.c, src/globals.h,
  7873.         src/proto/buffer.pro
  7874.  
  7875. Patch 6.1.221
  7876. Problem:    Changing case may not work properly, depending on the current
  7877.         locale.
  7878. Solution:   Add the 'casemap' option to let the user chose how changing case
  7879.         is to be done.
  7880.         Also fix lowering case when an UTF-8 character doesn't keep the
  7881.         same byte length.
  7882. Files:        runtime/doc/options.txt, src/ascii.h, src/auto/configure,
  7883.         src/buffer.c, src/charset.c, src/config.h.in, src/configure.in,
  7884.         src/diff.c, src/edit.c, src/eval.c, src/ex_cmds2.c,
  7885.         src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/gui_amiga.c
  7886.         src/gui_mac.c, src/gui_photon.c, src/gui_w48.c, src/gui_beos.cc,
  7887.         src/macros.h, src/main.c, src/mbyte.c, src/menu.c, src/message.c,
  7888.         src/misc1.c, src/misc2.c, src/option.c, src/os_msdos.c,
  7889.         src/os_mswin.c, src/proto/charset.pro, src/regexp.c, src/option.h,
  7890.         src/syntax.c
  7891.  
  7892. Patch 6.1.222 (depends on 6.1.219)
  7893. Problem:    Patch 6.1.219 was incomplete.
  7894. Solution:   Add the changes for ":amenu".
  7895. Files:        src/menu.c
  7896.  
  7897. Patch 6.1.223 (extra)
  7898. Problem:    Win32: When IME is activated 'iminsert' is set, but it might never
  7899.         be reset when IME is disabled. (Muraoka Taro)
  7900.         All systems: 'iminsert' is set to 2 when leaving Insert mode, even
  7901.         when langmap is being used. (Peter Valach)
  7902. Solution:   Don't set "b_p_iminsert" in _OnImeNotify(). (Muraoka Taro)
  7903.         Don't store the status of the input method in 'iminsert' when
  7904.         'iminsert' is one.  Also for editing the command line and for
  7905.         arguments to Normal mode commands.
  7906. Files:        src/edit.c, src/ex_getln.c, src/gui_w32.c, src/normal.c
  7907.  
  7908. Patch 6.1.224
  7909. Problem:    "expand('$VAR')" returns an empty string when the expanded $VAR
  7910.         is not an existing file. (Aric Blumer)
  7911. Solution:   Included non-existing files, as documented.
  7912. Files:        src/eval.c
  7913.  
  7914. Patch 6.1.225
  7915. Problem:    Using <C-O><C-^> in Insert mode has a delay when starting "vim -u
  7916.         NONE" and ":set nocp hidden". (Emmanuel)  do_ecmd() uses
  7917.         fileinfo(), the redraw is done after a delay to give the user time
  7918.         to read the message.
  7919. Solution:   Put the message from fileio() in "keep_msg", so that the redraw is
  7920.         done before the delay (still needed to avoid the mode message
  7921.         overwrites the fileinfo() message).
  7922. Files:        src/buffer.c
  7923.  
  7924. Patch 6.1.226
  7925. Problem:    Using ":debug" with a ":normal" command may cause a hang.  (Colin
  7926.         Keith)
  7927. Solution:   Save the typeahead buffer when obtaining a debug command.
  7928. Files:        src/ex_cmds2.c, src/getchar.c, src/proto/getchar.pro
  7929.  
  7930. Patch 6.1.227
  7931. Problem:    It is possible to use a variable name "asdf:asdf" and ":let j:asdf
  7932.         = 5" does not give an error message. (Mikolaj Machowski)
  7933. Solution:   Check for a ":" inside the variable name.
  7934. Files:        src/eval.c
  7935.  
  7936. Patch 6.1.228 (extra)
  7937. Problem:    Win32: The special output function for Hangul is used too often,
  7938.         causing special handling for other situations to be skipped.
  7939.         bInComposition is always FALSE, causing ImeGetTempComposition()
  7940.         always to return NULL.
  7941. Solution:   Remove HanExtTextOut().  Delete the dead code around
  7942.         bInComposition and ImeGetTempComposition().
  7943. Files:        src/gui_w16.c, src/gui_w32.c, src/gui_w48.c
  7944.  
  7945. Patch 6.1.229
  7946. Problem:    Win32: Conversion to/from often used codepages requires the iconv
  7947.         library, which is not always available.
  7948. Solution:   Use standard MS-Windows functions for the conversion when
  7949.         possible. (mostly by Glenn Maynard)
  7950.         Also fixes missing declaration for patch 6.1.220.
  7951. Files:        src/fileio.c
  7952.  
  7953. Patch 6.1.230 (extra)
  7954. Problem:    Win16: building doesn't work.
  7955. Solution:   Exclude the XBUTTON handling. (Vince Negri)
  7956. Files:        src/gui_w48.c
  7957.  
  7958. Patch 6.1.231
  7959. Problem:    Double clicking with the mouse to select a word does not work for
  7960.         multi-byte characters.
  7961. Solution:   Use vim_iswordc() instead of vim_isIDc().  This means 'iskeyword'
  7962.         is used intead of 'isident'.  Also fix that mixing ASCII with
  7963.         multi-byte word characters doesn't work, the mouse class for
  7964.         punctuation and word characters was mixed up.
  7965. Files:        src/normal.c
  7966.  
  7967. Patch 6.1.232 (depends on 6.1.226)
  7968. Problem:    Using ex_normal_busy while it might not be available. (Axel
  7969.         Kielhorn)
  7970. Solution:   Only use ex_normal_busy when FEAT_EX_EXTRA is defined.
  7971. Files:        src/ex_cmds2.c
  7972.  
  7973. Patch 6.1.233
  7974. Problem:    ":help expr-||" does not work.
  7975. Solution:   Don't use the '|' as a command separator
  7976. Files:        src/ex_cmds.c
  7977.  
  7978. Patch 6.1.234 (depends on 6.1.217)
  7979. Problem:    Get a warning for using a negative value for st_dev.
  7980. Solution:   Don't assign a negative value to st_dev.
  7981. Files:        src/ex_cmds2.c
  7982.  
  7983. Patch 6.1.235 (depends on 6.1.223)
  7984. Problem:    'iminsert' is changed from 1 to 2 when leaving Insert mode. (Peter
  7985.         Valach)
  7986. Solution:   Check "State" before resetting it to NORMAL.
  7987. Files:        src/edit.c
  7988.  
  7989. Patch 6.1.236
  7990. Problem:    Memory leaks when appending lines for ":diffget" or ":diffput" and
  7991.         when reloading a changed buffer.
  7992. Solution:   Free a line after calling ml_append().
  7993. Files:        src/diff.c, src/fileio.c
  7994.  
  7995. Patch 6.1.237
  7996. Problem:    Putting in Visual block mode does not work correctly when "$" was
  7997.         used or when the first line is short.  (Christian Michon)
  7998. Solution:   First delete the selected text and then put the new text.  Save
  7999.         and restore registers as necessary.
  8000. Files:        src/globals.h, src/normal.c, src/ops.c, src/proto/ops.pro,
  8001.         src/vim.h
  8002.  
  8003. Patch 6.1.238 (extra)
  8004. Problem:    Win32: The "icon=" argument for the ":menu" command does not
  8005.         search for the bitmap file.
  8006. Solution:   Expand environment variables and search for the bitmap file.
  8007.         (Vince Negri)
  8008.         Make it consistent, use the same mechanism for X11 and GTK.
  8009. Files:        src/gui.c src/gui_gtk.c, src/gui_w32.c, src/gui_x11.c,
  8010.         src/proto/gui.pro
  8011.  
  8012. Patch 6.1.239
  8013. Problem:    Giving an error for missing :endif or :endwhile when being
  8014.         interrupted.
  8015. Solution:   Don't give these messages when interrupted.
  8016. Files:        src/ex_docmd.c, src/os_unix.c
  8017.  
  8018. Patch 6.1.240 (extra)
  8019. Problem:    Win32 with BCC 5: CPU may be defined in the environment, which
  8020.         causes a wrong argument for the compiler. (Walter Briscoe)
  8021. Solution:   Use CPUNR instead of CPU.
  8022. Files:        src/Make_bc5.mak
  8023.  
  8024. Patch 6.1.241
  8025. Problem:    Something goes wrong when drawing or undrawing the cursor.
  8026. Solution:   Remember when the cursor invalid in a better way.
  8027. Files:        src/gui.c
  8028.  
  8029. Patch 6.1.242
  8030. Problem:    When pasting a large number of lines on the command line it is not
  8031.         possible to interrupt. (Jean Jordaan)
  8032. Solution:   Check for an interrupt after each pasted line.
  8033. Files:        src/ops.c
  8034.  
  8035. Patch 6.1.243 (extra)
  8036. Problem:    Win32: When the OLE version is started and wasn't registered, a
  8037.         message pops up to suggest registering, even when this isn't
  8038.         possible (when the registry is not writable).
  8039. Solution:   Check if registering is possible before asking whether it should
  8040.         be done. (Walter Briscoe)
  8041.         Also avoid restarting Vim after registering.
  8042. Files:        src/if_ole.cpp
  8043.  
  8044. Patch 6.1.244
  8045. Problem:    Patch 6.1.237 was missing the diff for vim.h. (Igor Goldenberg)
  8046. Solution:   Include it here.
  8047. Files:        src/vim.h
  8048.  
  8049. Patch 6.1.245
  8050. Problem:    Comparing with ignored case does not work properly for Unicode
  8051.         with a locale where case folding an ASCII character results in a
  8052.         multi-byte character. (Glenn Maynard)
  8053. Solution:   Handle ignore-case compare for Unicode differently.
  8054. Files:        src/mbyte.c
  8055.  
  8056. Patch 6.1.246
  8057. Problem:    ":blast" goes to the first buffer if the last one is unlisted.
  8058.         (Andrew Stryker)
  8059. Solution:   From the last buffer search backwards for the first listed buffer
  8060.         instead of forwards.
  8061. Files:        src/ex_docmd.c
  8062.  
  8063. Patch 6.1.247
  8064. Problem:    ACL support doesn't always work properly.
  8065. Solution:   Add a configure argument to disable ACL "--disable-acl". (Thierry
  8066.         Vignaud)
  8067. Files:        src/auto/configure, src/configure.in
  8068.  
  8069. Patch 6.1.248
  8070. Problem:    Typing 'q' at the more-prompt for ":let" does not quit the
  8071.         listing. (Hari Krishna Dara)
  8072. Solution:   Quit the listing when got_int is set.
  8073. Files:        src/eval.c
  8074.  
  8075. Patch 6.1.249
  8076. Problem:    Can't expand a path on the command line if it includes a "|" as a
  8077.         trail byte of a multi-byte character.
  8078. Solution:   Check for multi-byte characters. (Yasuhiro Matsumoto)
  8079. Files:        src/ex_docmd.c
  8080.  
  8081. Patch 6.1.250
  8082. Problem:    When changing the value of 'lines' inside the expression set with
  8083.         'diffexpr' Vim might crash. (Dave Fishburn)
  8084. Solution:   Don't allow changing the screen size while updating the screen.
  8085. Files:        src/globals.h, src/option.c, src/screen.c
  8086.  
  8087. Patch 6.1.251
  8088. Problem:    Can't use completion for ":lcd" and ":lchdir" like ":cd".
  8089. Solution:   Expand directory names for these commands. (Servatius Brandt)
  8090. Files:        src/ex_docmd.c
  8091.  
  8092. Patch 6.1.252
  8093. Problem:    "vi}" does not include a line break when the "}" is at the start
  8094.         of a following line. (Kamil Burzynski)
  8095. Solution:   Include the line break.
  8096. Files:        src/search.c
  8097.  
  8098. Patch 6.1.253 (extra)
  8099. Problem:    Win32 with Cygwin: Changes the path of arguments in a wrong way.
  8100.         (Xiangjiang Ma)
  8101. Solution:   Don't use cygwin_conv_to_posix_path() for the Win32 version.
  8102.         Update the Cygwin makefile to support more features.  (Dan Sharp)
  8103. Files:        src/Make_cyg.mak, src/if_ole.cpp, src/main.c
  8104.  
  8105. Patch 6.1.254
  8106. Problem:    exists("foo{bar}") does not work.  ':unlet v{"a"}r' does not work.
  8107.         ":let v{a}r1 v{a}r2" does not work. ":func F{(1)}" does not work.
  8108.         ":delfunc F{" does not give an error message.  ':delfunc F{"F"}'
  8109.         does not work.
  8110. Solution:   Support magic braces for the exists() argument. (Vince Negri)
  8111.         Check for trailing comments explicitly for ":unlet".  Add support
  8112.         for magic braces in further arguments of ":let".  Look for a
  8113.         parenthesis only after the function name.  (Servatius Brandt)
  8114.         Also expand magic braces for "exists('*expr')".  Give an error
  8115.         message for an invalid ":delfunc" argument.  Allow quotes in the
  8116.         ":delfunc" argument.
  8117. Files:        src/eval.c, src/ex_cmds.h, src/ex_docmd.c
  8118.  
  8119. Patch 6.1.255 (depends on 6.1.254)
  8120. Problem:    Crash when loading menu.vim a second time. (Christian Robinson)
  8121.         ":unlet garbage foo" tries unletting "foo" after an error message.
  8122.         (Servatius Brandt)
  8123.         Very long function arguments cause very long messages when
  8124.         'verbose' is 14 or higher.
  8125. Solution:   Avoid reading from uninitialized memory.
  8126.         Break out of a loop after an invalid argument for ":unlet".
  8127.         Truncate long function arguments to 80 characters.
  8128. Files:        src/eval.c
  8129.  
  8130. Patch 6.1.256 (depends on 6.1.255)
  8131. Problem:    Defining a function after ":if 0" could still cause an error
  8132.         message for an existing function.
  8133.         Leaking memory when there are trailing characters for ":delfunc".
  8134. Solution:   Check the "skip" flag.  Free the memory. (Servatius Brandt)
  8135. Files:        src/eval.c
  8136.  
  8137. Patch 6.1.257
  8138. Problem:    ":cwindow" always sets the previous window to the last but one
  8139.         window.  (Benji Fisher)
  8140. Solution:   Set the previous window properly.
  8141. Files:        src/globals.c, src/quickfix.c, src/window.c
  8142.  
  8143. Patch 6.1.258
  8144. Problem:    Buffers menu doesn't work properly for multibyte buffer names.
  8145. Solution:   Use a pattern to get the left and right part of the name.
  8146.         (Yasuhiro Matsumoto)
  8147. Files:        runtime/menu.vim
  8148.  
  8149. Patch 6.1.259 (extra)
  8150. Problem:    Mac: with 'patchmode' is used filenames are truncated.
  8151. Solution:   Increase the BASENAMELEN for Mac OS X. (Ed Ralston)
  8152. Files:        src/os_mac.h
  8153.  
  8154. Patch 6.1.260 (depends on 6.1.104)
  8155. Problem:    GCC 3.2 still seems to have an optimizer problem. (Zvi Har'El)
  8156. Solution:   Use the same configure check as used for GCC 3.1.
  8157. Files:        src/auto/configure, src/configure.in
  8158.  
  8159. Patch 6.1.261
  8160. Problem:    When deleting a line in a buffer which is not the current buffer,
  8161.         using the Perl interface Delete(), the cursor in the current
  8162.         window may move. (Chris Houser)
  8163. Solution:   Don't adjust the cursor position when changing another buffer.
  8164. Files:        src/if_perl.xs
  8165.  
  8166. Patch 6.1.262
  8167. Problem:    When jumping over folds with "z[", "zj" and "zk" the previous
  8168.         position is not remembered. (Hari Krishna Dara)
  8169. Solution:   Set the previous context mark before jumping.
  8170. Files:        src/fold.c
  8171.  
  8172. Patch 6.1.263
  8173. Problem:    When typing a multi-byte character that triggers an abbreviation
  8174.         it is not inserted properly.
  8175. Solution:   Handle adding the typed multi-byte character. (Yasuhiro Matsumoto)
  8176. Files:        src/getchar.c
  8177.  
  8178. Patch 6.1.264 (depends on patch 6.1.254)
  8179. Problem:    exists() does not work for built-in functions. (Steve Wall)
  8180. Solution:   Don't check for the function name to start with a capital.
  8181. Files:        src/eval.c
  8182.  
  8183. Patch 6.1.265
  8184. Problem:    libcall() can be used in 'foldexpr' to call any system function.
  8185.         rename(), delete() and remote_send() can also be used in
  8186.         'foldexpr'.  These are security problems. (Georgi Guninski)
  8187. Solution:   Don't allow using libcall(), rename(), delete(), remote_send() and
  8188.         similar functions in the sandbox.
  8189. Files:        src/eval.c
  8190.  
  8191. Patch 6.1.266 (depends on 6.1.265)
  8192. Problem:    Win32: compile error in eval.c. (Bill McCarthy)
  8193. Solution:   Move a variable declaration.
  8194. Files:        src/eval.c
  8195.  
  8196. Patch 6.1.267
  8197. Problem:    Using "p" to paste into a Visual selected area may cause a crash.
  8198. Solution:   Allocate enough memory for saving the register contents. (Muraoka
  8199.         Taro)
  8200. Files:        src/ops.c
  8201.  
  8202. Patch 6.1.268
  8203. Problem:    When triggering an abbreviation with a multi-byte character, this
  8204.         character is not correctly inserted after expanding the
  8205.         abbreviation. (Taro Muraoka)
  8206. Solution:   Add ABBR_OFF to all characters above 0xff.
  8207. Files:        src/edit.c, src/ex_getln.c, src/getchar.c
  8208.  
  8209. Patch 6.1.269
  8210. Problem:    After using input() text written with ":redir" gets extra indent.
  8211.         (David Fishburn)
  8212. Solution:   Restore msg_col after using input().
  8213. Files:        src/ex_getln.c
  8214.  
  8215. Patch 6.1.270 (depends on 6.1.260)
  8216. Problem:    GCC 3.2.1 still seems to have an optimizer problem.
  8217. Solution:   Use the same configure check as used for GCC 3.1.
  8218. Files:        src/auto/configure, src/configure.in
  8219.  
  8220. Patch 6.1.271
  8221. Problem:    When compiling without the +syntax feature there are errors.
  8222. Solution:   Don't use some code for syntax highlighting. (Roger Cornelius)
  8223.         Make test 45 work without syntax highlighting.
  8224.         Also fix an error in a pattern matching: "\%(" was not supported.
  8225. Files:        src/ex_cmds2.c, src/regexp.c, src/testdir/test45.in
  8226.  
  8227. Patch 6.1.272
  8228. Problem:    After using ":set define<" a crash may happen. (Christian Robinson)
  8229. Solution:   Make a copy of the option value in allocated memory.
  8230. Files:        src/option.c
  8231.  
  8232. Patch 6.1.273
  8233. Problem:    When the cursor doesn't blink, redrawing an exposed area may hide
  8234.         the cursor.
  8235. Solution:   Always draw the cursor, also when it didn't move. (Muraoka Taro)
  8236. Files:        src/gui.c
  8237.  
  8238. Patch 6.1.274 (depends on 6.1.210)
  8239. Problem:    Resetting the iconv() state after each error is wrong for an
  8240.         incomplete sequence.
  8241. Solution:   Don't reset the iconv() state.
  8242. Files:        src/fileio.c
  8243.  
  8244. Patch 6.1.275
  8245. Problem:    When using "v" in a startup script, get warning message that
  8246.         terminal cannot highlight. (Charles Campbell)
  8247. Solution:   Only give the message after the terminal has been initialized.
  8248. Files:        src/normal.c
  8249.  
  8250. Patch 6.1.276
  8251. Problem:    "gvim --remote file" doesn't prompt for an encryption key.
  8252. Solution:   The further characters the client sends to the server are used.
  8253.         Added inputsave() and inputrestore() to allow prompting the
  8254.         user directly and not using typeahead.
  8255.         Also fix possible memory leak for ":normal".
  8256. Files:        src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/getchar.c,
  8257.         src/main.c, src/proto/getchar.pro, src/proto/ui.pro,
  8258.         src/runtime/doc/eval.txt, src/structs.h, src/ui.c, src/vim.h
  8259.  
  8260. Patch 6.1.277 (depends on 6.1.276)
  8261. Problem:    Compilation error when building with small features.
  8262. Solution:   Define trash_input_buf() when needed. (Kelvin Lee)
  8263. Files:        src/ui.c
  8264.  
  8265. Patch 6.1.278
  8266. Problem:    When using signs the line number of a closed fold doesn't line up
  8267.         with the other line numbers. (Kamil Burzynski)
  8268. Solution:   Insert two spaces for the sign column.
  8269. Files:        src/screen.c
  8270.  
  8271. Patch 6.1.279
  8272. Problem:    The prototype for smsg() and smsg_attr() do not match the function
  8273.         definition.  This may cause trouble for some compilers. (Nix)
  8274. Solution:   Use va_list for systems that have stdarg.h.  Use "int" instead of
  8275.         "void" for the return type.
  8276. Files:        src/auto/configure, src/config.h.in, src/configure.in,
  8277.         src/proto.h, src/message.c
  8278.  
  8279. Patch 6.1.280
  8280. Problem:    It's possible to use an argument "firstline" or "lastline" for a
  8281.         function but using "a:firstline" or "a:lastline" in the function
  8282.         won't work.  (Benji Fisher)
  8283. Solution:   Give an error message for these arguments.
  8284.         Also avoid that the following function body causes a whole row of
  8285.         errors, skip over it after an error in the first line.
  8286. Files:        src/eval.c
  8287.  
  8288. Patch 6.1.281
  8289. Problem:    In Insert mode CTRL-X CTRL-G leaves the cursor after the ruler.
  8290. Solution:   Set the cursor position before waiting for the argument of CTRL-G.
  8291.         (Yasuhiro Matsumoto)
  8292. Files:        src/edit.c
  8293.  
  8294. Patch 6.1.282
  8295. Problem:    Elvis uses "se" in a modeline, Vim doesn't recognize this.
  8296. Solution:   Also accept "se " where "set " is accepted in a modeline.
  8297.         (Yasuhiro Matsumoto)
  8298. Files:        src/buffer.c
  8299.  
  8300. Patch 6.1.283
  8301. Problem:    For ":sign" the icon file name cannot contain a space.
  8302. Solution:   Handle backslashes in the file name.  (Yasuhiro Matsumoto)
  8303. Files:        src/ex_cmds.c
  8304.  
  8305. Patch 6.1.284
  8306. Problem:    On Solaris there is a warning for "struct utimbuf".
  8307. Solution:   Move including "utime.h" to outside the function. (Derek Wyatt)
  8308. Files:        src/fileio.c
  8309.  
  8310. Patch 6.1.285
  8311. Problem:    Can't wipe out a buffer with 'bufhide' option.
  8312. Solution:   Add "wipe" value to 'bufhide'. (Yegappan Lakshmanan)
  8313. Files:        runtime/doc/options.txt, src/buffer.c, src/option.c,
  8314.         src/quickfix.c
  8315.  
  8316. Patch 6.1.286
  8317. Problem:    'showbreak' cannot contain multi-byte characters.
  8318. Solution:   Allow using all printable characters for 'showbreak'.
  8319. Files:        src/charset.c, src/move.c, src/option.c
  8320.  
  8321. Patch 6.1.287 (depends on 6.1.285)
  8322. Problem:    Effect of "delete" and "wipe" in 'bufhide' were mixed up.
  8323. Solution:   Wipe out when wiping out is asked for.
  8324. Files:        src/buffer.c
  8325.  
  8326. Patch 6.1.288
  8327. Problem:    ":silent function F" hangs. (Hari Krishna Dara)
  8328. Solution:   Don't use msg_col, it is not incremented when using ":silent".
  8329.         Also made the function output look a bit better.  Don't translate
  8330.         "function".
  8331. Files:        src/eval.c
  8332.  
  8333. Patch 6.1.289 (depends on 6.1.278)
  8334. Problem:    Compiler warning for pointer. (Axel Kielhorn)
  8335. Solution:   Add a typecast for "  ".
  8336. Files:        src/screen.c
  8337.  
  8338. Patch 6.1.290 (extra)
  8339. Problem:    Truncating long text for message box may break multi-byte
  8340.         character.
  8341. Solution:   Adjust to start of multi-byte character. (Yasuhiro Matsumoto)
  8342. Files:        src/os_mswin.c
  8343.  
  8344. Patch 6.1.291 (extra)
  8345. Problem:    Win32: CTRL-@ doesn't work.  Don't even get a message for it.
  8346. Solution:   Recognize the keycode for CTRL-@. (Yasuhiro Matsumoto)
  8347. Files:        src/gui_w48.c
  8348.  
  8349. Patch 6.1.292 (extra, depends on 6.1.253)
  8350. Problem:    Win32: Can't compile with new MingW compiler.
  8351.         Borland 5 makefile doesn't generate pathdef.c.
  8352. Solution:   Remove -wwide-multiply argument. (Rene de Zwart)
  8353.         Various fixes for other problems in Win32 makefiles. (Dan Sharp)
  8354. Files:        src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ming.mak,
  8355.         src/Make_mvc.mak
  8356.  
  8357. Patch 6.1.293
  8358. Problem:    byte2line() returns a wrong result for some values.
  8359. Solution:   Change ">=" to ">" in ml_find_line_or_offset(). (Bradford C Smith)
  8360.         Add one to the line number when at the end of a block.
  8361. Files:        src/memline.c
  8362.  
  8363. Patch 6.1.294
  8364. Problem:    Can't include a multi-byte character in a string by its hex value.
  8365.         (Benji Fisher)
  8366. Solution:   Add "\u....": a character specified with up to four hex numbers
  8367.         and stored according to the value of 'encoding'.
  8368. Files:        src/eval.c
  8369.  
  8370. Patch 6.1.295 (extra)
  8371. Problem:    Processing the cs.po file generates an error. (Rahul Agrawal)
  8372. Solution:   Fix the printf format characters in the translation.
  8373. Files:        src/po/cs.po
  8374.  
  8375. Patch 6.1.296
  8376. Problem:    Win32: When cancelling the font dialog 'guifont' remains set to
  8377.         "*".
  8378. Solution:   Restore the old value of 'guifont' (Yasuhiro Matsumoto)
  8379. Files:        src/option.c
  8380.  
  8381. Patch 6.1.297
  8382. Problem:    "make test" fails in test6 in an UTF-8 environment. (Benji Fisher)
  8383. Solution:   Before executing the BufReadPost autocommands save the current
  8384.         fileencoding, so that the file isn't marked changed.
  8385. Files:        src/fileio.c
  8386.  
  8387. Patch 6.1.298
  8388. Problem:    When using signs and the first line of a closed fold has a sign
  8389.         it can be redrawn as if the fold was open.  (Kamil Burzynski)
  8390. Solution:   Don't redraw a sign inside a closed fold.
  8391. Files:        src/screen.c
  8392.  
  8393. Patch 6.1.299
  8394. Problem:    ":edit +set\ ro file" doesn't work.
  8395. Solution:   Halve the number of backslashes in the "+cmd" argument.
  8396. Files:        src/ex_docmd.c
  8397.  
  8398. Patch 6.1.300 (extra)
  8399. Problem:    Handling of ETO_IGNORELANGUAGE is confusing.
  8400. Solution:   Clean up the handling of ETO_IGNORELANGUAGE. (Glenn Maynard)
  8401. Files:        src/gui_w32.c
  8402.  
  8403. Patch 6.1.301 (extra)
  8404. Problem:    French translation of file-save dialog doesn't show file name.
  8405. Solution:   Insert a star in the printf string. (Francois Terrot)
  8406. Files:        src/po/fr.po
  8407.  
  8408. Patch 6.1.302
  8409. Problem:    Counting lines of the Visual area is incorrect for closed folds.
  8410.         (Mikolaj Machowski)
  8411. Solution:   Correct the start and end for the closed fold.
  8412. Files:        src/normal.c
  8413.  
  8414. Patch 6.1.303 (extra)
  8415. Problem:    The Top/Bottom/All text does not always fit in the ruler when
  8416.         translated to Japanese.  Problem with a character being wider when
  8417.         in a bold font.
  8418. Solution:   Use ETO_PDY to specify the width of each character. (Yasuhiro
  8419.         Matsumoto)
  8420. Files:        src/gui_w32.c
  8421.  
  8422. Patch 6.1.304 (extra, depends on 6.1.292)
  8423. Problem:    Win32: Postscript is always enabled in the MingW Makefile.
  8424.         Pathdef.c isn't generated properly with Make_bc5.mak. (Yasuhiro
  8425.         Matsumoto)
  8426. Solution:   Change an ifdef to an ifeq. (Madoka Machitani)
  8427.         Use the Borland make redirection to generate pathdef.c. (Maurice
  8428.         Barnum)
  8429. Files:        src/Make_bc5.mak, src/Make_ming.mak
  8430.  
  8431. Patch 6.1.305
  8432. Problem:    When 'verbose' is 14 or higher, a function call may cause reading
  8433.         uninitialized data. (Walter Briscoe)
  8434. Solution:   Check for end-of-string in trunc_string().
  8435. Files:        src/message.c
  8436.  
  8437. Patch 6.1.306
  8438. Problem:    The AIX VisualAge cc compiler doesn't define __STDC__.
  8439. Solution:   Use __EXTENDED__ like __STDC__. (Jess Thrysoee)
  8440. Files:        src/os_unix.h
  8441.  
  8442. Patch 6.1.307
  8443. Problem:    When a double-byte character has an illegal tail byte the display
  8444.         is messed up. (Yasuhiro Matsumoto)
  8445. Solution:   Draw "XX" instead of the wrong character.
  8446. Files:        src/screen.c
  8447.  
  8448. Patch 6.1.308
  8449. Problem:    Can't reset the Visual mode returned by visualmode().
  8450. Solution:   Use an optional argument to visualmode(). (Charles Campbell)
  8451. Files:        runtime/doc/eval.txt, src/eval.c, src/normal.c,
  8452.         src/structs.h
  8453.  
  8454. Patch 6.1.309
  8455. Problem:    The tutor doesn't select German if the locale name is
  8456.         "German_Germany.1252". (Joachim Hofmann)
  8457. Solution:   Check for "German" in the locale name.  Also check for
  8458.         ".ge".  And include the German and Greek tutors.
  8459. Files:        runtime/tutor/tutor.de, runtime/tutor/tutor.vim,
  8460.         runtime/tutor/tutor.gr, runtime/tutor/tutor.gr.cp737
  8461.  
  8462. Patch 6.1.310 (depends on 6.1.307)
  8463. Problem:    All double-byte characters are displayed as "XX".
  8464. Solution:   Use ">= 32" instead of "< 32".  (Yasuhiro Matsumoto)
  8465. Files:        src/screen.c
  8466.  
  8467. Patch 6.1.311 (extra)
  8468. Problem:    VMS: path in window title doesn't include necessary separator.
  8469.         file version doesn't always work properly with Unix.
  8470.         Crashes because of memory overwrite in GUI.
  8471.         Didn't always handle files with lowercase and correct path.
  8472. Solution:   Fix the problems.  Remove unnessary file name translations.
  8473.         (Zoltan Arpadffy)
  8474. Files:        src/buffer.c, src/ex_cmds2.c, src/fileio.c, src/memline.c,
  8475.         src/misc1.c, src/misc2.c, src/os_unix.c, src/os_vms.c, src/tag.c
  8476.  
  8477. Patch 6.1.312
  8478. Problem:    When using ":silent" debugging is also done silently.
  8479. Solution:   Disable silence while at the debug prompt.
  8480. Files:        src/ex_cmds2.c
  8481.  
  8482. Patch 6.1.313
  8483. Problem:    When a ":drop fname" command is used and "fname" is open in
  8484.         another window, it is also opened in the current window.
  8485. Solution:   Change to the window with "fname" instead.
  8486.         Don't redefine the argument list when dropping only one file.
  8487. Files:        runtime/doc/windows.txt, src/ex_cmds2.c, src/ex_cmds.c,
  8488.         src/ex_docmd.c, src/proto/ex_cmds2.pro, src/proto/ex_docmd.pro
  8489.  
  8490. Patch 6.1.314 (depends on 6.1.126)
  8491. Problem:    Missing backslash in "Generic Config file" syntax menu.
  8492. Solution:   Insert the backslash. (Zak Beck)
  8493. Files:        runtime/makemenu.vim, runtime/synmenu.vim
  8494.  
  8495. Patch 6.1.315 (extra)
  8496. Problem:    A very long hostname may lead to an unterminated string.  Failing
  8497.         to obtain a hostname may result in garbage.  (Walter Briscoe)
  8498. Solution:   Add a NUL at the end of the hostname buffer.
  8499. Files:        src/os_mac.c, src/os_msdos.c, src/os_unix.c, src/os_win16.c,
  8500.         src/os_win32.c
  8501.  
  8502. Patch 6.1.316
  8503. Problem:    When exiting with "wq" and there is a hidden buffer, after the
  8504.         "file changed" dialog there is a warning for a changed buffer.
  8505.         (Ajit Thakkar)
  8506. Solution:   Do update the buffer timestamps when exiting.
  8507. Files:        src/fileio.c
  8508.  
  8509. Patch 6.1.317
  8510. Problem:    Closing a window may cause some of the remaining windows to be
  8511.         positioned wrong if there is a mix of horizontal and vertial
  8512.         splits. (Stefan Ingi Valdimarsson)
  8513. Solution:   Update the frame sizes before updating the window positions.
  8514. Files:        src/window.c
  8515.  
  8516. Patch 6.1.318
  8517. Problem:    auto/pathdef.c can include wrong quotes when a compiler flag
  8518.         includes quotes.
  8519. Solution:   Put a backslash before the quotes in compiler flags. (Shinra Aida)
  8520. Files:        src/Makefile
  8521.  
  8522. Patch 6.1.319 (depends on 6.1.276)
  8523. Problem:    Using "--remote +cmd file" does not execute "cmd".
  8524. Solution:   Call inputrestore() in the same command line as inputsave(),
  8525.         otherwise it will never get executed.
  8526. Files:        src/main.c
  8527.  
  8528. Patch 6.1.320 (depends on 6.1.313)
  8529. Problem:    When a ":drop one\ file" command is used the file "one\ file" is
  8530.         opened, the backslash is not removed. (Taro Muraoka)
  8531. Solution:   Handle backslashes correctly.  Always set the argument list to
  8532.         keep it simple.
  8533. Files:        runtime/doc/windows.txt, src/ex_cmds.c
  8534.  
  8535. Patch 6.1.321
  8536. Problem:    When 'mouse' includes 'n' but not 'v', don't allow starting Visual
  8537.         mode with the mouse.
  8538. Solution:   Don't use MOUSE_MAY_VIS when there is no 'v' in 'mouse'. (Flemming
  8539.         Madsen)
  8540. Files:        src/normal.c
  8541.  
  8542. Patch 6.1.322 (extra, depends on 6.1.315)
  8543. Problem:    Win32: The host name is always "PC " plus the real host name.
  8544. Solution:   Don't insert "PC " before the host name.
  8545. Files:        src/os_win32.c
  8546.  
  8547. Patch 6.1.323
  8548. Problem:    ":registers" doesn't stop listing for a "q" at the more prompt.
  8549.         (Hari Krishna Dara)
  8550. Solution:   Check for interrupt and got_int.
  8551. Files:        src/ops.c, src/proto/ops.pro
  8552.  
  8553. Patch 6.1.324
  8554. Problem:    Crash when dragging a vertical separator when <LeftMouse> is
  8555.         remapped to jump to another window.
  8556. Solution:   Pass the window pointer to the function doing the dragging instead
  8557.         of always using the current window. (Daniel Elstner)
  8558.         Also fix that starting a drag changes window focus.
  8559. Files:        src/normal.c, src/proto/window.pro, src/ui.c, src/vim.h,
  8560.         src/window.c
  8561.  
  8562. Patch 6.1.325
  8563. Problem:    Shift-Tab is not automatically recognized in an xterm.
  8564. Solution:   Add <Esc>[Z as the termcap code. (Andrew Pimlott)
  8565. Files:        src/term.c
  8566.  
  8567. Patch 6.1.326
  8568. Problem:    Using a search pattern may read from uninitialized data (Yasuhiro
  8569.         Matsumoto)
  8570. Solution:   Initialize pointers to NULL.
  8571. Files:        src/regexp.c
  8572.  
  8573. Patch 6.1.327
  8574. Problem:    When opening the "mbyte.txt" help file the utf-8 characters are
  8575.         unreadable, because the fileencoding is forced to be latin1.
  8576. Solution:   Check for utf-8 encoding first in help files. (Daniel Elstner)
  8577. Files:        runtime/doc/mbyte.txt, src/fileio.c
  8578.  
  8579. Patch 6.1.328
  8580. Problem:    Prototype for enc_canon_search() is missing.
  8581. Solution:   Add the prototype. (Walter Briscoe)
  8582. Files:        src/mbyte.c
  8583.  
  8584. Patch 6.1.329
  8585. Problem:    When editing a file "a b c" replacing "%" in ":Cmd %" or ":next %"
  8586.         does not work properly.  (Hari Krishna Dara)
  8587. Solution:   Always escape spaces when expanding "%".  Don't split argument for
  8588.         <f-args> in a user command when only one argument is used.
  8589. Files:        src/ex_docmd.c
  8590.  
  8591. Patch 6.1.330
  8592. Problem:    GTK, Motif and Athena: Keypad keys produce the same code as
  8593.         non-keypad keys, making it impossible to map them separately.
  8594. Solution:   Use different termcap codes for the keypad keys. (Neil Bird)
  8595. Files:        src/gui_gtk_x11.c, src/gui_x11.c
  8596.  
  8597. Patch 6.1.331
  8598. Problem:    When translating the help files, "LOCAL ADDITIONS" no longer marks
  8599.         the spot where help files from plugins are to be listed.
  8600. Solution:   Add a "local-additions" tag and use that to find the right spot.
  8601. Files:        runtime/doc/help.txt, src/ex_cmds.c
  8602.  
  8603. Patch 6.1.332 (extra)
  8604. Problem:    Win32: Loading Perl dynamically doesn't work with Perl 5.8.
  8605.         Perl 5.8 also does not work with Cygwin and Ming.
  8606. Solution:   Adjust the function calls. (Taro Muraoka)
  8607.         Adjust the cyg and ming makefiles. (Dan Sharp)
  8608. Files:        src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak,
  8609.         src/if_perl.xs
  8610.  
  8611. Patch 6.1.333 (extra)
  8612. Problem:    Win32: Can't handle Unicode text on the clipboard.
  8613.         Can't pass NUL byte, it becomes a line break.  (Bruce DeVisser)
  8614. Solution:   Support Unicode for the clipboard (Ron Aaron and Glenn Maynard)
  8615.         Also support copy/paste of NUL bytes.
  8616. Files:        src/os_mswin.c, src/os_win16.c src/os_win32.c
  8617.  
  8618. Patch 6.1.334 (extra, depends on 6.1.303)
  8619. Problem:    Problem with drawing Hebrew characters.
  8620. Solution:   Only use ETO_PDY for Windows NT and the like. (Yasuhiro Matsumoto)
  8621. Files:        src/gui_w32.c
  8622.  
  8623. Patch 6.1.335 (extra)
  8624. Problem:    Failure of obtaining the cursor position and window size is
  8625.         ignored.
  8626. Solution:   Remove a semicolon after an "if". (Walter Briscoe)
  8627. Files:        src/gui_w32.c
  8628.  
  8629. Patch 6.1.336 (extra)
  8630. Problem:    Warning for use of function prototypes of smsg().
  8631. Solution:   Define HAVE_STDARG_H. (Walter Briscoe)
  8632. Files:        src/os_win32.h
  8633.  
  8634. Patch 6.1.337
  8635. Problem:    When using "finish" in debug mode in function B() for ":call
  8636.         A(B())" does not stop after B() is finished.
  8637. Solution:   Increase debug_level while evaluating a function.
  8638. Files:        src/ex_docmd.c
  8639.  
  8640. Patch 6.1.338
  8641. Problem:    When using a menu that checks out the current file from Insert
  8642.         mode, there is no warning for the changed file until exiting
  8643.         Insert mode.  (Srikanth Sankaran)
  8644. Solution:   Add a check for need_check_timestamps in the Insert mode loop.
  8645. Files:        src/edit.c
  8646.  
  8647. Patch 6.1.339
  8648. Problem:    Completion doesn't allow "g:" in ":let g:did_<Tab>". (Benji
  8649.         Fisher)
  8650. Solution:   Return "g:var" for global variables when that is what is being
  8651.         expanded. (Flemming Madsen)
  8652. Files:        src/eval.c
  8653.  
  8654. Patch 6.1.340 (extra, depends on 6.1.332)
  8655. Problem:    Win32: Can't compile the Perl interface with nmake.
  8656. Solution:   Don't compare the version number as a string but as a number.
  8657.         (Juergen Kraemer)
  8658. Files:        src/Make_mvc.mak
  8659.  
  8660. Patch 6.1.341
  8661. Problem:    In Insert mode with 'rightleft' set the cursor is drawn halfway a
  8662.         double-wide character.  For CTRL-R and CTRL-K in Insert mode the "
  8663.         or ? is not displayed.
  8664. Solution:   Draw the cursor in the next character cell.  Display the " or ?
  8665.         over the right half of the double-wide character. (Yasuhiro
  8666.         Matsumoto)  Also fix that cancelling a digraph doesn't redraw
  8667.         a double-byte character correctly.
  8668. Files:        src/edit.c, src/gui.c, src/mbyte.c
  8669.  
  8670. Patch 6.1.342 (depends on 6.1.341)
  8671. Problem:    With 'rightleft' set typing "c" on a double-wide character causes
  8672.         the cursor to be displayed one cell to the left.
  8673. Solution:   Draw the cursor in the next character cell.  (Yasuhiro Matsumoto)
  8674. Files:        src/gui.c
  8675.  
  8676. Patch 6.1.343 (depends on 6.1.342)
  8677. Problem:    Cannot compile with the +multi_byte feature but without +rightleft.
  8678.         Cannot compile without the GUI.
  8679. Solution:   Fix the #ifdefs.  (partly by Nam SungHyun)
  8680. Files:        src/gui.c, src/mbyte.c, src/ui.c
  8681.  
  8682. Patch 6.1.344
  8683. Problem:    When using ":silent filetype" the output is still put in the
  8684.         message history. (Hari Krishna Dara)
  8685. Solution:   Don't add messages in the history when ":silent" is used.
  8686. Files:        src/message.c
  8687.  
  8688. Patch 6.1.345 (extra)
  8689. Problem:    Win32: 'imdisable' doesn't work.
  8690. Solution:   Make 'imdisable' work. (Yasuhiro Matsumoto)
  8691. Files:        src/gui_w32.c
  8692.  
  8693. Patch 6.1.346
  8694. Problem:    The scroll wheel can only scroll the current window.
  8695. Solution:   Make the scroll wheel scroll the window that the mouse points to.
  8696.         (Daniel Elstner)
  8697. Files:        src/edit.c, src/gui.c, src/normal.c, src/term.c
  8698.  
  8699. Patch 6.1.347
  8700. Problem:    When using cscope to list matching tags, the listed number is
  8701.         sometimes not equal to what cscope uses. (Vihren Milev)
  8702. Solution:   For cscope tags use only one table, don't give tags in the current
  8703.         file a higher priority.
  8704. Files:        src/tag.c
  8705.  
  8706. Patch 6.1.348
  8707. Problem:    Wildmode with wildmenu: ":set wildmode=list,full", ":colorscheme
  8708.         <tab>" results in "zellner" instead of the first entry. (Anand
  8709.         Hariharan)
  8710. Solution:   Don't call ExpandOne() from globpath(). (Flemming Madsen)
  8711. Files:        src/ex_getln.c
  8712.  
  8713. Patch 6.1.349
  8714. Problem:    "vim --serverlist" when no server was ever started gives an error
  8715.         message without "\n".
  8716.         "vim --serverlist" doesn't exit when the X server can't be
  8717.         contacted, it starts Vim unexpectedly. (Ricardo Signes)
  8718. Solution:   Don't give an error when no Vim server was ever started.
  8719.         Treat failing of opening the display equal to errors inside the
  8720.         remote*() functions. (Flemming Madsen)
  8721. Files:        src/if_xcmdsrv.c, src/main.c
  8722.  
  8723. Patch 6.1.350
  8724. Problem:    When entering a buffer with ":bnext" for the first time, using an
  8725.         autocommand to restore the last used cursor position doesn't work.
  8726.         (Paolo Giarusso)
  8727. Solution:   Don't use the last known cursor position of the current Vim
  8728.         invocation if an autocommand changed the position.
  8729. Files:        src/buffer.c
  8730.  
  8731. Patch 6.1.351 (depends on 6.1.349)
  8732. Problem:    Crash when starting Vim the first time in an X server. (John
  8733.         McGowan)
  8734. Solution:   Don't call xFree() with a fixed string.
  8735. Files:        src/if_xcmdsrv.c
  8736.  
  8737. Patch 6.1.352 (extra, depends on 6.1.345)
  8738. Problem:    Win32: Crash when setting "imdisable" in _vimrc.
  8739. Solution:   Don't call IME functions when imm32.dll was not loaded (yet).
  8740.         Also add typecasts to avoid Compiler warnings for
  8741.         ImmAssociateContext() argument.
  8742. Files:        src/gui_w32.c
  8743.  
  8744. Patch 6.1.353 (extra, depends on 6.1.334)
  8745. Problem:    Problem with drawing Arabic characters.
  8746. Solution:   Don't use ETO_PDY, do use padding.
  8747. Files:        src/gui_w32.c
  8748.  
  8749. Patch 6.1.354 (extra, depends on 6.1.333)
  8750. Problem:    MS-Windows 98: Notepad can't paste text copied from Vim when
  8751.         'encoding' is "utf-8".
  8752. Solution:   Also make CF_TEXT available on the clipboard. (Ron Aaron)
  8753. Files:        src/os_mswin.c
  8754.  
  8755. Patch 6.1.355
  8756. Problem:    In a regexp '\n' will never match anything in a string.
  8757. Solution:   Make '\n' match a newline character.
  8758. Files:        src/buffer.c, src/edit.c, src/eval.c, src/ex_cmds2.c,
  8759.         src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/misc1.c,
  8760.         src/option.c, src/os_mac.c, src/os_unix.c, src/quickfix.c,
  8761.         src/regexp.c, src/search.c, src/syntax.c, src/tag.c, src/vim.h
  8762.  
  8763. Patch 6.1.356 (extra, depends on, well, eh, several others)
  8764. Problem:    Compiler warnings for using convert_setup() and a few other
  8765.         things.
  8766. Solution:   Add typecasts.
  8767. Files:        src/mbyte.c, src/os_mswin.c, src/proto/os_win32.pro, src/os_win32.c
  8768.  
  8769. Patch 6.1.357
  8770. Problem:    CR in the quickfix window jumps to the error under the cursor, but
  8771.         this doesn't work in Insert mode. (Srikanth Sankaran)
  8772. Solution:   Handle CR in Insert mode in the quickfix window.
  8773. Files:        src/edit.c
  8774.  
  8775. Patch 6.1.358
  8776. Problem:    The tutor doesn't select another locale version properly.
  8777. Solution:   Insert the "let" command. (Yasuhiro Matsumoto)
  8778. Files:        runtime/tutor/tutor.vim
  8779.  
  8780. Patch 6.1.359 (extra)
  8781. Problem:    Mac Carbon: Vim doesn't get focus when started from the command
  8782.         line.  Crash when using horizontal scroll bar.
  8783. Solution:   Set Vim as the frontprocess.  Fix scrolling.  (Peter Cucka)
  8784. Files:        src/gui_mac.c
  8785.  
  8786. Patch 6.1.360 (depends on 6.1.341)
  8787. Problem:    In Insert mode CTRL-K ESC messes up a multi-byte character.
  8788.         (Anders Helmersson)
  8789. Solution:   Save all bytes of a character when displaying a character
  8790.         temporarily.
  8791. Files:        src/edit.c, src/proto/screen.pro, src/screen.c
  8792.  
  8793. Patch 6.1.361
  8794. Problem:    Cannot jump to a file mark with ":'M".
  8795. Solution:   Allow jumping to another file for a mark in an Ex address when it
  8796.         is the only thing in the command line.
  8797. Files:        src/ex_docmd.c
  8798.  
  8799. Patch 6.1.362
  8800. Problem:    tgetent() may return zero for success. tgetflag() may return -1
  8801.         for an error.
  8802. Solution:   Check tgetflag() for returning a positive value.  Add an autoconf
  8803.         check for the value that tgetent() returns.
  8804. Files:        src/auto/configure, src/config.h.in, src/configure.in, src/term.c
  8805.  
  8806. Patch 6.1.363
  8807. Problem:    byte2line() can return one more than the number of lines.
  8808. Solution:   Return -1 if the offset is one byte past the end.
  8809. Files:        src/memline.c
  8810.  
  8811. Patch 6.1.364
  8812. Problem:    That the FileChangedShell autocommand event never nests makes it
  8813.         difficult to reload a file in a normal way.
  8814. Solution:   Allow nesting for the FileChangedShell event but do not allow
  8815.         triggering itself again.
  8816.         Also avoid autocommands for the cmdline window in rare cases.
  8817. Files:        src/ex_getln.c, src/fileio.c, src/window.c
  8818.  
  8819. Patch 6.1.365 (depends on 6.1.217)
  8820. Problem:    Setting a breakpoint in a sourced file with a relative path name
  8821.         doesn't work. (Servatius Brandt)
  8822. Solution:   Expand the file name to a full path.
  8823. Files:        src/ex_cmds2.c
  8824.  
  8825. Patch 6.1.366
  8826. Problem:    Can't use Vim with Netbeans.
  8827. Solution:   Add the Netbeans interface.  Includes support for sign icons and
  8828.         "-fg" and "-bg" arguments for GTK.  Add the 'autochdir'
  8829.         option.  (Gordon Prieur, George Hernandez, Dave Weatherford)
  8830.         Make it possible to display both a sign with a text and one with
  8831.         line highlighting in the same line.
  8832.         Add support for Agide, interface version 2.1.
  8833.         Also fix that when 'iskeyword' includes '?' the "*" command
  8834.         doesn't work properly on a word that includes "?" (Bill McCarthy):
  8835.         Don't escape "?" to "\?" when searching forward.
  8836. Files:        runtime/doc/Makefile, runtime/doc/netbeans.txt,
  8837.         runtime/doc/options.txt, runtime/doc/various.txt,
  8838.         src/Makefile, src/auto/configure, src/buffer.c, src/config.h.in,
  8839.         src/config.mk.in, src/configure.in, src/edit.c, src/ex_cmds.c,
  8840.         src/ex_docmd.c, src/feature.h, src/fileio.c, src/globals.h,
  8841.         src/gui.c, src/gui_beval.c, src/gui_gtk_x11.c, src/gui_x11.c,
  8842.         src/main.c, src/memline.c, src/misc1.c, src/misc2.c, src/move.c,
  8843.         src/nbdebug.c, src/nbdebug.h, src/netbeans.c, src/normal.c,
  8844.         src/ops.c, src/option.c, src/option.h, src/proto/buffer.pro,
  8845.         src/proto/gui_beval.pro, src/proto/gui_gtk_x11.pro,
  8846.         src/proto/gui_x11.pro, src/proto/misc2.pro,
  8847.         src/proto/netbeans.pro, src/proto/normal.pro, src/proto/ui.pro,
  8848.         src/proto.h, src/screen.c, src/structs.h, src/ui.c, src/undo.c,
  8849.         src/vim.h, src/window.c, src/workshop.c
  8850.  
  8851. Patch 6.1.367 (depends on 6.1.365)
  8852. Problem:    Setting a breakpoint in a function doesn't work.  For a sourced
  8853.         file it doesn't work when symbolic links are involved.  (Servatius
  8854.         Brandt)
  8855. Solution:   Expand the file name in the same way as do_source() does.  Don't
  8856.         prepend the path to a function name.
  8857. Files:        src/ex_cmds2.c
  8858.  
  8859. Patch 6.1.368
  8860. Problem:    Completion for ":map" does not include <silent> and <script>.
  8861.         ":mkexrc" do not save the <silent> attribute of mappings.
  8862. Solution:   Add "<silent>" to the generated map commands when appropriate.
  8863.         (David Elstner)
  8864.         Add <silent> and <script> to command line completion.
  8865. Files:        src/getchar.c
  8866.  
  8867. Patch 6.1.369 (extra)
  8868. Problem:    VMS: Vim hangs when attempting to edit a read-only file in the
  8869.         terminal.  Problem with VMS filenames for quickfix.
  8870. Solution:   Rewrite low level input.  Remove version number from file name in
  8871.         a couple more places.  Fix crash after patch 6.1.362.  Correct
  8872.         return code for system().  (Zoltan Arpadffy, Tomas Stehlik)
  8873. Files:        src/misc1.c, src/os_unix.c, src/os_vms.c, src/proto/os_vms.pro,
  8874.         src/os_vms_conf.h, src/quickfix.c, src/ui.c
  8875.  
  8876. Patch 6.1.370
  8877. Problem:    #ifdef nesting is unclear.
  8878. Solution:   Insert spaces to indicate the nesting.
  8879. Files:        src/os_unix.c
  8880.  
  8881. Patch 6.1.371
  8882. Problem:    "%V" in 'statusline' doesn't show "0-1" in an empty line.
  8883. Solution:   Add one to the column when comparing with virtual column (Andrew
  8884.         Pimlott)
  8885. Files:        src/buffer.c
  8886.  
  8887. Patch 6.1.372
  8888. Problem:    With 16 bit ints there are compiler warnings. (Walter Briscoe)
  8889. Solution:   Change int into long.
  8890. Files:        src/structs.h, src/syntax.c
  8891.  
  8892. Patch 6.1.373
  8893. Problem:    The default page header for printing is not translated.
  8894. Solution:   Add _() around the two places where "Page" is used. (Mike
  8895.         Williams)  Translate the default value of the 'titleold' and
  8896.         'printheader' options.
  8897. Files:        src/ex_cmds2.c, src/option.c
  8898.  
  8899. Patch 6.1.374 (extra)
  8900. Problem:    MS-Windows: Cannot build GvimExt with MingW or Cygwin.
  8901. Solution:   Add makefile and modified resource files. (Rene de Zwart)
  8902.         Also support Cygwin. (Alejandro Lopez_Valencia)
  8903. Files:        GvimExt/Make_cyg.mak, GvimExt/Make_ming.mak, GvimExt/Makefile,
  8904.         GvimExt/gvimext_ming.def, GvimExt/gvimext_ming.rc
  8905.  
  8906. Patch 6.1.375
  8907. Problem:    MS-Windows: ':!dir "%"' does not work for a file name with spaces.
  8908.         (Xiangjiang Ma)
  8909. Solution:   Don't insert backslashes for spaces in a shell command.
  8910. Files:        src/ex_docmd.c
  8911.  
  8912. Patch 6.1.376
  8913. Problem:    "vim --version" and "vim --help" have a non-zero exit code.
  8914.         That is unusual. (Petesea)
  8915. Solution:   Use a zero exit code.
  8916. Files:        src/main.c
  8917.  
  8918. Patch 6.1.377
  8919. Problem:    Can't add words to 'lispwords' option.
  8920. Solution:   Add P_COMMA and P_NODUP flags. (Haakon Riiser)
  8921. Files:        src/option.c
  8922.  
  8923. Patch 6.1.378
  8924. Problem:    When two buffer-local user commands are ambiguous, a full match
  8925.         with a global user command isn't found. (Hari Krishna Dara)
  8926. Solution:   Detect this situation and accept the global command.
  8927. Files:        src/ex_docmd.c
  8928.  
  8929. Patch 6.1.379
  8930. Problem:    Linux with kernel 2.2 can't use the alternate stack in combination
  8931.         with threading, causes an infinite loop.
  8932. Solution:   Don't use the alternate stack in this situation.
  8933. Files:        src/os_unix.c
  8934.  
  8935. Patch 6.1.380
  8936. Problem:    When 'winminheight' is zero and the quickfix window is zero lines,
  8937.         entering the window doesn't make it highter. (Christian J.
  8938.         Robinson)
  8939. Solution:   Make sure the current window is at least one line high.
  8940. Files:        src/window.c
  8941.  
  8942. Patch 6.1.381
  8943. Problem:    When a BufWriteCmd is used and it leaves the buffer modified, the
  8944.         window may still be closed. (Hari Krishna Dara)
  8945. Solution:   Return FAIL from buf_write() when the buffer is still modified
  8946.         after a BufWriteCmd autocommand was used.
  8947. Files:        src/fileio.c
  8948.  
  8949. Patch 6.1.382 (extra)
  8950. Problem:    Win32 GUI: When using two monitors, the code that checks/fixes the
  8951.         window size and position (e.g. when a font changes) doesn't work
  8952.         properly.  (George Reilly)
  8953. Solution:   Handle a double monitor situation. (Helmut Stiegler)
  8954. Files:        src/gui_w32.c
  8955.  
  8956. Patch 6.1.383
  8957. Problem:    The filling of the status line doesn't work properly for
  8958.         multi-byte characters. (Nam SungHyun)
  8959.         There is no check for going past the end of the buffer.
  8960. Solution:   Properly distinguish characters and bytes.  Properly check for
  8961.         running out of buffer space.
  8962. Files:        src/buffer.c, src/ex_cmds2.c, src/proto/buffer.pro, src/screen.c
  8963.  
  8964. Patch 6.1.384
  8965. Problem:    It is not possible to find if a certain patch has been included.
  8966.         (Lubomir Host)
  8967. Solution:   Support using has() to check if a patch was included.
  8968. Files:        runtime/doc/eval.txt, src/eval.c, src/proto/version.pro,
  8969.         src/version.c
  8970.  
  8971. Patch 6.1.385 (depends on 6.1.383)
  8972. Problem:    Can't compile without the multi-byte feature.
  8973. Solution:   Move an #ifdef.  (Christian J. Robinson)
  8974. Files:        src/buffer.c
  8975.  
  8976. Patch 6.1.386
  8977. Problem:    Get duplicate tags when running ":helptags".
  8978. Solution:   Do the other halve of moving a section to another help file.
  8979. Files:        runtime/tagsrch.txt
  8980.  
  8981. Patch 6.1.387 (depends on 6.1.373)
  8982. Problem:    Compiler warning for pointer cast.
  8983. Solution:   Add (char_u *).
  8984. Files:        src/option.c
  8985.  
  8986. Patch 6.1.388 (depends on 6.1.384)
  8987. Problem:    Compiler warning for pointer cast.
  8988. Solution:   Add (char *).  Only include has_patch() when used.
  8989. Files:        src/eval.c, src/version.c
  8990.  
  8991. Patch 6.1.389 (depends on 6.1.366)
  8992. Problem:    Balloon evaluation doesn't work for GTK.
  8993.         has("balloon_eval") doesn't work.
  8994. Solution:   Add balloon evaluation for GTK.  Also improve displaying of signs.
  8995.         (Daniel Elstner)
  8996.         Also make ":gui" start the netbeans connection and avoid using
  8997.         netbeans functions when the connection is not open.
  8998. Files:        src/Makefile, src/feature.h, src/gui.c, src/gui.h,
  8999.         src/gui_beval.c, src/gui_beval.h, src/gui_gtk.c,
  9000.         src/gui_gtk_x11.c, src/eval.c, src/memline.c, src/menu.c,
  9001.         src/netbeans.c, src/proto/gui_beval.pro, src/proto/gui_gtk.pro,
  9002.         src/structs.h, src/syntax.c, src/ui.c, src/workshop.c
  9003.  
  9004. Patch 6.1.390 (depends on 6.1.389)
  9005. Problem:    It's not possible to tell Vim to save and exit through the
  9006.         Netbeans interface.  Would still try to send balloon eval text
  9007.         after the connection is closed.
  9008.         Can't use Unicode characters for sign text.
  9009. Solution:   Add functions "saveAndExit" and "getModified".  Check for a
  9010.         working connection before sending a balloonText event.
  9011.         various other cleanups.
  9012.         Support any character for sign text. (Daniel Elstner)
  9013. Files:        runtime/doc/netbeans.txt, runtime/doc/sign.txt, src/ex_cmds.c,
  9014.         src/netbeans.c, src/screen.c
  9015.  
  9016. Patch 6.1.391
  9017. Problem:    ml_get() error when using virtualedit. (Charles Campbell)
  9018. Solution:   Get a line from a specific window, not the current one.
  9019. Files:        src/charset.c
  9020.  
  9021. Patch 6.1.392 (depends on 6.1.383)
  9022. Problem:    Highlighting in the 'statusline' is in the wrong position when an
  9023.         item is tructated. (Zak Beck)
  9024. Solution:   Correct the start of 'statusline' items properly for a truncated
  9025.         item.
  9026. Files:        src/buffer.c
  9027.  
  9028. Patch 6.1.393
  9029. Problem:    When compiled with Python and threads, detaching the terminal may
  9030.         cause Vim to loop forever.
  9031. Solution:   Add -pthread to $CFLAGS when using Python and gcc. (Daniel
  9032.         Elstner)
  9033. Files:        src/auto/configure,, src/configure.in
  9034.  
  9035. Patch 6.1.394 (depends on 6.1.390)
  9036. Problem:    The netbeans interface doesn't recognize multibyte glyph names.
  9037. Solution:   Check the number of cells rather than bytes to decide
  9038.         whether a glyph name is not a filename. (Daniel Elstner)
  9039. Files:        src/netbeans.c
  9040.  
  9041. Patch 6.1.395 (extra, depends on 6.1.369)
  9042. Problem:    VMS: OLD_VMS is never defined.  Missing function prototype.
  9043. Solution:   Define OLD_VMS in Make_vms.mms.  Add vms_sys_status() to
  9044.         os_vms.pro. (Zoltan Arpadffy)
  9045. Files:        src/Make_vms.mms, src/proto/os_vms.pro
  9046.  
  9047. Patch 6.1.396 (depends on 6.1.330)
  9048. Problem:    Compiler warnings for using enum.
  9049. Solution:   Add typecast to char_u.
  9050. Files:        src/gui_gtk_x11.c, src/gui_x11.c
  9051.  
  9052. Patch 6.1.397 (extra)
  9053. Problem:    The install program may use a wrong path for the diff command if
  9054.         there is a space in the install directory path.
  9055. Solution:   Use double quotes around the path if necessary. (Alejandro
  9056.         Lopez-Valencia)  Also use double quotes around the file name
  9057.         arguments.
  9058. Files:        src/dosinst.c
  9059.  
  9060. Patch 6.1.398
  9061. Problem:    Saving the typeahead for debug mode causes trouble for a test
  9062.         script. (Servatius Brandt)
  9063. Solution:   Add the ":debuggreedy" command to avoid saving the typeahead.
  9064. Files:        runtime/doc/repeat.txt, src/ex_cmds.h, src/ex_cmds2.c,
  9065.         src/ex_docmd.c, src/proto/ex_cmds2.pro
  9066.  
  9067. Patch 6.1.399
  9068. Problem:    Warning for unused variable.
  9069. Solution:   Remove the variable two_or_more.
  9070. Files:        src/ex_cmds.c
  9071.  
  9072. Patch 6.1.400 (depends on 6.1.381)
  9073. Problem:    When a BufWriteCmd wipes out the buffer it may still be accessed.
  9074. Solution:   Don't try accessing a buffer that has been wiped out.
  9075. Files:        src/fileio.c
  9076.  
  9077. Patch 6.1.401 (extra)
  9078. Problem:    Building the Win16 version with Borland 5.01 doesn't work.
  9079.         "make test" doesn't work with Make_dos.mak. (Walter Briscoe)
  9080. Solution:   Various fixes to the w16 makefile. (Walter Briscoe)
  9081.         Don't use deltree.  Use "mkdir \tmp" instead of "mkdir /tmp".
  9082. Files:        src/Make_w16.mak, src/testdir/Make_dos.mak
  9083.  
  9084. Patch 6.1.402
  9085. Problem:    When evaluating a function name with curly braces, an error
  9086.         is not handled consistently.
  9087. Solution:   Accept the result of an curly braces expression when an
  9088.         error was encountered.  Skip evaluating an expression in curly
  9089.         braces when skipping.  (Servatius Brandt)
  9090. Files:        src/eval.c
  9091.  
  9092. Patch 6.1.403 (extra)
  9093. Problem:    MS-Windows 16 bit: compiler warnings.
  9094. Solution:   Add typecasts. (Walter Briscoe)
  9095. Files:        src/ex_cmds2.c, src/gui_w48.c, src/os_mswin.c, src/os_win16.c,
  9096.         src/syntax.c
  9097.  
  9098. Patch 6.1.404 (extra)
  9099. Problem:    Various small problems.
  9100. Solution:   Fix comments.  Various small additions, changes in indent, removal
  9101.         of unused items and fixes.
  9102. Files:        Makefile, README.txt, runtime/menu.vim, runtime/vimrc_example.vim,
  9103.         src/INSTALL, src/INSTALLole.txt, src/Make_bc5.mak,
  9104.         src/Make_cyg.mak, src/Make_ming.mak, src/Makefile,
  9105.         src/config.h.in, src/edit.c, src/eval.c, src/ex_cmds2.c,
  9106.         src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c,
  9107.         src/gui.c, src/gui_gtk.c, src/gui_photon.c, src/if_cscope.c,
  9108.         src/if_python.c, src/keymap.h, src/mark.c, src/mbyte.c,
  9109.         src/message.c, src/misc1.c, src/misc2.c, src/normal.c,
  9110.         src/option.c, src/os_os2_cfg.h, src/os_win32.c,
  9111.         src/proto/getchar.pro, src/proto/message.pro,
  9112.         src/proto/regexp.pro, src/screen.c, src/structs.h, src/syntax.c,
  9113.         src/term.c, src/testdir/test15.in, src/testdir/test15.ok,
  9114.         src/vim.rc, src/xxd/Make_cyg.mak, src/xxd/Makefile
  9115.  
  9116. Patch 6.1.405
  9117. Problem:    A few files are missing from the toplevel Makefile.
  9118. Solution:   Add the missing files.
  9119. Files:        Makefile
  9120.  
  9121. Patch 6.1.406 (depends on 6.1.392)
  9122. Problem:    When a statusline item doesn't fit arbitrary text appears.
  9123.         (Christian J. Robinson)
  9124. Solution:   When there is just enough room but not for the "<" truncate the
  9125.         statusline item like there is no room.
  9126. Files:        src/buffer.c
  9127.  
  9128. Patch 6.1.407
  9129. Problem:    ":set scrollbind | help" scrollbinds the help window. (Andrew
  9130.         Pimlott)
  9131. Solution:   Reset 'scrollbind' when opening a help window.
  9132. Files:        src/ex_cmds.c
  9133.  
  9134. Patch 6.1.408
  9135. Problem:    When 'rightleft' is set unprintable character 0x0c is displayed as
  9136.         ">c0<".
  9137. Solution:   Reverse the text of the hex character.
  9138. Files:        src/screen.c
  9139.  
  9140. Patch 6.1.409
  9141. Problem:    Generating tags for the help doesn't work for some locales.
  9142. Solution:   Set LANG=C LC_ALL=C in the environment for "sort". (Daniel
  9143.         Elstner)
  9144. Files:        runtime/doc/Makefile
  9145.  
  9146. Patch 6.1.410 (depends on 6.1.390)
  9147. Problem:    Linking error when compiling with Netbeans but without sign icons.
  9148.         (Malte Neumann)
  9149. Solution:   Don't define buf_signcount() when sign icons are unavailable.
  9150. Files:        src/buffer.c
  9151.  
  9152. Patch 6.1.411
  9153. Problem:    When 'virtualedit' is set, highlighting a Visual block beyond the
  9154.         end of a line may be wrong.
  9155. Solution:   Correct the virtual column when the end of the line is before the
  9156.         displayed part of the line. (Muraoka Taro)
  9157. Files:        src/screen.c
  9158.  
  9159. Patch 6.1.412
  9160. Problem:    When swapping terminal screens and using ":gui" to start the GUI,
  9161.         the shell prompt may be after a hit-enter prompt.
  9162. Solution:   Output a newline in the terminal when starting the GUI and there
  9163.         was a hit-enter prompt..
  9164. Files:        src/gui.c
  9165.  
  9166. Patch 6.1.413
  9167. Problem:    When 'clipboard' contains "unnamed", "p" in Visual mode doesn't
  9168.         work correctly.
  9169. Solution:   Save the register before overwriting it and put the resulting text
  9170.         on the clipboard afterwards.  (Muraoka Taro)
  9171. Files:        src/normal.c, src/ops.c
  9172.  
  9173. Patch 6.1.414 (extra, depends on 6.1.369)
  9174. Problem:    VMS: Vim busy waits when waiting for input.
  9175. Solution:   Delay for a short while before getting another character.  (Zoltan
  9176.         Arpadffy)
  9177. Files:        src/os_vms.c
  9178.  
  9179. Patch 6.1.415
  9180. Problem:    When there is a vertical split and a quickfix window, reducing the
  9181.         size of the Vim window may result in a wrong window layout and a
  9182.         crash.
  9183. Solution:   When reducing the window size and there is not enough space for
  9184.         'winfixheight' set the frame height to the larger height, so that
  9185.         there is a retry while ignoring 'winfixheight'. (Yasuhiro
  9186.         Matsumoto)
  9187. Files:        src/window.c
  9188.  
  9189. Patch 6.1.416 (depends on 6.1.366)
  9190. Problem:    When using the Netbeans interface, a line with a sign cannot be
  9191.         changed.
  9192. Solution:   Respect the GUARDEDOFFSET for sign IDs when checking for a guarded
  9193.         area.
  9194. Files:        src/netbeans.c
  9195.  
  9196. Patch 6.1.417
  9197. Problem:    Unprintable multi-byte characters are not handled correctly.
  9198.         Multi-byte characters above 0xffff are displayed as another
  9199.         character.
  9200. Solution:   Handle unprintable multi-byte characters.  Display multi-byte
  9201.         characters above 0xffff with a marker.  Recognize UTF-16 words and
  9202.         BOM words as unprintable.  (Daniel Elstner)
  9203. Files:        src/charset.c, src/mbyte.c, src/screen.c
  9204.  
  9205. Patch 6.1.418
  9206. Problem:    The result of strftime() is in the current locals.  Need to
  9207.         convert it to 'encoding'.
  9208. Solution:   Obtain the current locale and convert the argument for strftime()
  9209.         to it and the result back to 'encoding'.  (Daniel Elstner)
  9210. Files:        src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/mbyte.c,
  9211.         src/proto/mbyte.pro, src/option.c, src/os_mswin.c
  9212.  
  9213. Patch 6.1.419
  9214. Problem:    Vim doesn't compile on AIX 5.1.
  9215. Solution:   Don't define _NO_PROTO on this system. (Uribarri)
  9216. Files:        src/auto/configure, src/configure.in
  9217.  
  9218. Patch 6.1.420 (extra)
  9219. Problem:    convert_input() has an unnecessary STRLEN().
  9220.         Conversion from UCS-2 to a codepage uses word count instead of
  9221.         byte count.
  9222. Solution:   Remove the STRLEN() call. (Daniel Elstner)
  9223.         Always use byte count for string_convert().
  9224. Files:        src/gui_w32.c, src/mbyte.c
  9225.  
  9226. Patch 6.1.421 (extra, depends on 6.1.354)
  9227. Problem:    MS-Windows 9x: When putting text on the clipboard it can be in
  9228.         the wrong encoding.
  9229. Solution:   Convert text to the active codepage for CF_TEXT. (Glenn Maynard)
  9230. Files:        src/os_mswin.c
  9231.  
  9232. Patch 6.1.422
  9233. Problem:    Error in .vimrc doesn't cause hit-enter prompt when swapping
  9234.         screens. (Neil Bird)
  9235. Solution:   Set msg_didany also when sending a message to the terminal
  9236.         directly.
  9237. Files:        src/message.c
  9238.  
  9239. Patch 6.1.423
  9240. Problem:    Can't find arbitrary text in help files.
  9241. Solution:   Added the ":helpgrep" command.
  9242. Files:        runtime/doc/various.txt, src/ex_cmds.h, src/ex_docmd.c,
  9243.         src/proto/quickfix.pro, src/quickfix.c
  9244.  
  9245. Patch 6.1.424 (extra)
  9246. Problem:    Win32: Gvim compiled with VC++ 7.0 run on Windows 95 does not show
  9247.         menu items.
  9248. Solution:   Define $WINVER to avoid an extra item is added to MENUITEMINFO.
  9249.         (Muraoka Taro)
  9250. Files:        src/Make_mvc.mak
  9251.  
  9252. Patch 6.1.425
  9253. Problem:    ":helptags $VIMRUNTIME/doc" does not add the "help-tags" tag.
  9254. Solution:   Do add the "help-tags" tag for that specific directory.
  9255. Files:        src/ex_cmds.c
  9256.  
  9257. Patch 6.1.426
  9258. Problem:    "--remote-wait +cmd file" waits forever. (Valery Kondakoff)
  9259. Solution:   Don't wait for the "+cmd" argument to have been edited.
  9260. Files:        src/main.c
  9261.  
  9262. Patch 6.1.427
  9263. Problem:    Several error messages for regexp patterns are not translated.
  9264. Solution:   Use _() properly. (Muraoka Taro)
  9265. Files:        src/regexp.c
  9266.  
  9267. Patch 6.1.428
  9268. Problem:    FreeBSD: wait() may hang when compiled with Python support and
  9269.         doing a system() call in a startup script.
  9270. Solution:   Use waitpid() instead of wait() and poll every 10 msec, just like
  9271.         what is done in the GUI.
  9272. Files:        src/os_unix.c
  9273.  
  9274. Patch 6.1.429 (depends on 6.1.390)
  9275. Problem:    Crash when using showmarks.vim plugin. (Charles Campbell)
  9276. Solution:   Check for sign_get_text() returning a NULL pointer.
  9277. Files:        src/screen.c
  9278.  
  9279. Patch 6.1.430
  9280. Problem:    In Lisp code backslashed parens should be ignored for "%". (Dorai)
  9281. Solution:   Skip over backslashed parens.
  9282. Files:        src/search.c
  9283.  
  9284. Patch 6.1.431
  9285. Problem:    Debug commands end up in redirected text.
  9286. Solution:   Disable redirection while handling debug commands.
  9287. Files:        src/ex_cmds2.c
  9288.  
  9289. Patch 6.1.432 (depends on 6.1.375)
  9290. Problem:    MS-Windows: ":make %:p" inserts extra backslashes. (David Rennalls)
  9291. Solution:   Don't add backslashes, handle it like ":!cmd".
  9292. Files:        src/ex_docmd.c
  9293.  
  9294. Patch 6.1.433
  9295. Problem:    ":popup" only works for Win32.
  9296. Solution:   Add ":popup" support for GTK.  (Daniel Elstner)
  9297. Files:        runtime/doc/gui.txt, src/ex_docmd.c, src/gui_gtk.c, src/menu.c,
  9298.         src/proto/gui_gtk.pro
  9299.  
  9300. Patch 6.1.434 (extra)
  9301. Problem:    Win32: When there are more than 32767 lines, the scrollbar has a
  9302.         roundoff error.
  9303. Solution:   Make a click on an arrow move one line.  Also move the code to
  9304.         gui_w48.c, there is hardly any difference between the 16 bit and
  9305.         32 bit versions. (Walter Briscoe)
  9306. Files:        src/gui_w16.c, src/gui_w32.c, src/gui_w48.c
  9307.  
  9308. Patch 6.1.435
  9309. Problem:    ":winsize x" resizes the Vim window to the minimal size. (Andrew
  9310.         Pimlott)
  9311. Solution:   Give an error message for wrong arguments of ":winsize" and
  9312.         ":winpos".
  9313. Files:        src/ex_docmd.c
  9314.  
  9315. Patch 6.1.436
  9316. Problem:    When a long UTF-8 file contains an illegal byte it's hard to find
  9317.         out where it is. (Ron Aaron)
  9318. Solution:   Add the line number to the error message.
  9319. Files:        src/fileio.c
  9320.  
  9321. Patch 6.1.437 (extra, depends on 6.1.421)
  9322. Problem:    Using multi-byte functions when they are not available.
  9323. Solution:   Put the clipboard conversion inside an #ifdef. (Vince Negri)
  9324.         Also fix a pointer type mistake. (Walter Briscoe)
  9325. Files:        src/os_mswin.c
  9326.  
  9327. Patch 6.1.438
  9328. Problem:    When Perl has thread support Vim cannot use the Perl interface.
  9329. Solution:   Add a configure check and disable Perl when it will not work.
  9330.         (Aron Griffis)
  9331. Files:        src/auto/configure, src/configure.in
  9332.  
  9333. Patch 6.1.439
  9334. Problem:    Netbeans: A "create" function doesn't actually create a buffer,
  9335.         following functions may fail.
  9336. Solution:   Create a Vim buffer without a name when "create" is called.
  9337.         (Gordon Prieur)
  9338. Files:        runtime/doc/netbeans.txt, src/netbeans.c
  9339.  
  9340. Patch 6.1.440
  9341. Problem:    The "@*" command doesn't obtain the actual contents of the
  9342.         clipboard. (Hari Krishna Dara)
  9343. Solution:   Obtain the clipboard text before executing the command.
  9344. Files:        src/ops.c
  9345.  
  9346. Patch 6.1.441
  9347. Problem:    "zj" and "zk" cannot be used as a motion command after an
  9348.         operator. (Ralf Hetzel)
  9349. Solution:   Accept these commands as motion commands.
  9350. Files:        src/normal.c
  9351.  
  9352. Patch 6.1.442
  9353. Problem:    Unicode 3.2 defines more space and punctuation characters.
  9354. Solution:   Add the new characters to the Unicode tables. (Raphael Finkel)
  9355. Files:        src/mbyte.c
  9356.  
  9357. Patch 6.1.443 (extra)
  9358. Problem:    Win32: The gvimext.dll build with Borland 5.5 requires another
  9359.         DLL.
  9360. Solution:   Build a statically linked version by default. (Dan Sharp)
  9361. Files:        GvimExt/Make_bc5.mak
  9362.  
  9363. Patch 6.1.444 (extra)
  9364. Problem:    Win32: Enabling a build with gettext support is not consistant.
  9365. Solution:   Use "GETTEXT" for Borland and msvc makefiles. (Dan Sharp)
  9366. Files:        src/Make_bc5.mak, src/Make_mvc.mak
  9367.  
  9368. Patch 6.1.445 (extra)
  9369. Problem:    DJGPP: get warning for argument of putenv()
  9370. Solution:   Define HAVE_PUTENV to use DJGPP's putenv(). (Walter Briscoe)
  9371. Files:        src/os_msdos.h
  9372.  
  9373. Patch 6.1.446 (extra)
  9374. Problem:    Win32: The MingW makefile uses a different style of arguments than
  9375.         other makefiles.
  9376.         Dynamic IME is not supported for Cygwin.
  9377. Solution:   Use "no" and "yes" style arguments.  Remove the use of the
  9378.         dyn-ming.h include file. (Dan Sharp)
  9379.         Do not include the ime.h file and adjust the makefile. (Alejandro
  9380.         Lopez-Valencia)
  9381. Files:        src/Make_cyg.mak, src/Make_ming.mak, src/gui_w32.c,
  9382.         src/if_perl.xs, src/if_python.c, src/if_ruby.c, src/os_win32.c
  9383.  
  9384. Patch 6.1.447
  9385. Problem:    "make install" uses "make" directly for generating help tags.
  9386. Solution:   Use $(MAKE) instead of "make". (Tim Mooney)
  9387. Files:        src/Makefile
  9388.  
  9389. Patch 6.1.448
  9390. Problem:    'titlestring' has a default maximum width of 50 chars per item.
  9391. Solution:   Remove the default maximum (also for 'statusline').
  9392. Files:        src/buffer.c
  9393.  
  9394. Patch 6.1.449
  9395. Problem:    When "1" and "a" are in 'formatoptions', auto-formatting always
  9396.         moves a newly added character to the next line. (Servatius Brandt)
  9397. Solution:   Don't move a single character to the next line when it was just
  9398.         typed.
  9399. Files:        src/edit.c
  9400.  
  9401. Patch 6.1.450
  9402. Problem:    Termcap entry "kB" for back-tab is not recognized.
  9403. Solution:   Use back-tab as the shift-tab code.
  9404. Files:        src/keymap.h, src/misc2.c, src/term.c
  9405.  
  9406. Patch 6.1.451
  9407. Problem:    GUI: When text in the find dialog contains a slash, a backslash is
  9408.         inserted the next time it is opened. (Mezz)
  9409. Solution:   Remove escaped backslashes and question marks. (Daniel Elstner)
  9410. Files:        src/gui.c
  9411.  
  9412. Patch 6.1.452 (extra, after 6.1.446)
  9413. Problem:    Win32: IME support doesn't work for MSVC.
  9414. Solution:   Use _MSC_VER instead of __MSVC. (Alejandro Lopez-Valencia)
  9415. Files:        src/gui_w32.c
  9416.  
  9417. Patch 6.1.453 (after 6.1.429)
  9418. Problem:    When compiled without sign icons but with sign support, adding a
  9419.         sign may cause a crash.
  9420. Solution:   Check for the text sign to exist before using it. (Kamil
  9421.         Burzynski)
  9422. Files:        src/screen.c
  9423.  
  9424. Patch 6.1.454 (extra)
  9425. Problem:    Win32: pasting Russian text in Vim with 'enc' set to cp1251
  9426.         results in utf-8 bytes.  (Perelyubskiy)
  9427.         Conversion from DBCS to UCS2 does not work when 'encoding' is not
  9428.         the active codepage.
  9429. Solution:   Introduce enc_codepage and use it for conversion to 'encoding'
  9430.         (Glenn Maynard)
  9431.         Use MultiByteToWideChar() and WideCharToMultiByte() instead of
  9432.         iconv().  Should do most needed conversions without iconv.dll.
  9433. Files:        src/globals.h, src/gui_w32.c, src/mbyte.c, src/os_mswin.c,
  9434.         src/proto/mbyte.pro, src/proto/os_mswin.pro, src/structs.h
  9435.  
  9436. Patch 6.1.455
  9437. Problem:    Some Unicode characters can be one or two character cells wide.
  9438. Solution:   Add the 'ambiwidth' option to tell Vim how to display these
  9439.         characters. (Jungshik Shin)
  9440.         Also reset the script ID when setting an option to its default
  9441.         value, so that ":verbose set" won't give wrong info.
  9442. Files:        runtime/doc/options.txt, src/mbyte.c, src/option.c, src/option.h
  9443.  
  9444. Patch 6.1.456 (extra, after 6.1.454)
  9445. Problem:    Win32: IME doesn't work.
  9446. Solution:   ImmGetCompositionStringW() returns the size in bytes, not words.
  9447.         (Yasuhiro Matsumoto)  Also fix typecast problem.
  9448. Files:        src/gui_w32.c, src/os_mswin.c
  9449.  
  9450. Patch 6.1.457
  9451. Problem:    An empty register in viminfo causes conversion to fail.
  9452. Solution:   Don't convert an empty string. (Yasuhiro Matsumoto)
  9453. Files:        src/ex_cmds.c, src/mbyte.c
  9454.  
  9455. Patch 6.1.458
  9456. Problem:    Compiler warning for pointer.
  9457. Solution:   Add a typecast.
  9458. Files:        src/ex_cmds.c
  9459.  
  9460. Patch 6.1.459 (extra)
  9461. Problem:    Win32: libcall() may return an invalid pointer and cause Vim to
  9462.         crash.
  9463. Solution:   Add a strict check for the returned pointer. (Bruce Mellows)
  9464. Files:        src/os_mswin.c
  9465.  
  9466. Patch 6.1.460
  9467. Problem:    GTK: after scrolling the text one line with a key, clicking the
  9468.         arrow of the scrollbar does not always work. (Nam SungHyun)
  9469. Solution:   Always update the scrollbar thumb when the value changed, even
  9470.         when it would not move, like for RISCOS.  (Daniel Elstner)
  9471. Files:        src/gui.c, src/gui.h
  9472.  
  9473. Patch 6.1.461
  9474. Problem:    When a keymap is active, typing a character in Select mode does
  9475.         not use it. (Benji Fisher)
  9476. Solution:   Apply Insert mode mapping to the character typed in Select mode.
  9477. Files:        src/normal.c
  9478.  
  9479. Patch 6.1.462
  9480. Problem:    When autocommands wipe out a buffer, a crash may happen. (Hari
  9481.         Krishna Dara)
  9482. Solution:   Don't decrement the window count of a buffer before calling the
  9483.         autocommands for it.  When re-using the current buffer, watch out
  9484.         for autocommands changing the current buffer.
  9485. Files:        src/buffer.c, src/ex_cmds.c, src/proto/buffer.pro
  9486.  
  9487. Patch 6.1.463
  9488. Problem:    When writing a compressed file, the file name that gzip stores in
  9489.         the file is the weird temporary file name. (David Rennalls)
  9490. Solution:   Use the real file name when possible.
  9491. Files:        runtime/plugin/gzip.vim
  9492.  
  9493. Patch 6.1.464
  9494. Problem:    Crash when using C++ syntax highlighting. (Gerhard Hochholzer)
  9495. Solution:   Check for a negative index.
  9496. Files:        src/syntax.c
  9497.  
  9498. Patch 6.1.465 (after 6.1.454)
  9499. Problem:    Compile error when using cygwin.
  9500. Solution:   Change #ifdef WIN32 to #ifdef WIN3264. (Alejandro Lopez-Valencia)
  9501.         Undefine WIN32 after including windows.h
  9502. Files:        src/mbyte.c
  9503.  
  9504. Patch 6.1.466
  9505. Problem:    The "-f" argument is a bit obscure.
  9506. Solution:   Add the "--nofork" argument.  Improve the help text a bit.
  9507. Files:        runtime/doc/starting.txt, src/main.c
  9508.  
  9509. Patch 6.1.467
  9510. Problem:    Setting the window title doesn't work for Chinese.
  9511. Solution:   Use an X11 function to convert text to a text property. (Kentaro
  9512.         Nakazawa)
  9513. Files:        src/os_unix.c
  9514.  
  9515. Patch 6.1.468
  9516. Problem:    ":mksession" also stores folds for buffers which will not be
  9517.         restored.
  9518. Solution:   Only store folds for a buffer with 'buftype' empty and help files.
  9519. Files:        src/ex_docmd.c
  9520.  
  9521. Patch 6.1.469
  9522. Problem:    'listchars' cannot contain multi-byte characters.
  9523. Solution:   Handle multi-byte UTF-8 list characters. (Matthew Samsonoff)
  9524. Files:        src/message.c, src/option.c, src/screen.c
  9525.  
  9526. Patch 6.1.470 (lang)
  9527. Problem:    Polish messages don't show up correctly on MS-Windows.
  9528. Solution:   Convert messages to cp1250. (Mikolaj Machowski)
  9529.         Also add English message translations, because it got in the way
  9530.         of the patch.
  9531. Files:        Makefile, src/po/Makefile, src/po/en_gb.po, src/po/pl.po
  9532.  
  9533. Patch 6.1.471
  9534. Problem:    ":jumps" output continues after pressing "q" at the more-prompt.
  9535.         (Hari Krishna Dara)
  9536. Solution:   Check for "got_int" being set.
  9537. Files:        src/mark.c
  9538.  
  9539. Patch 6.1.472
  9540. Problem:    When there is an authentication error when connecting to the X
  9541.         server Vim exits.
  9542. Solution:   Use XSetIOErrorHandler() to catch the error and longjmp() to avoid
  9543.         the exit.  Also do this in the main loop, so that when the X
  9544.         server exits a Vim running in a console isn't killed.
  9545. Files:        src/globals.h, src/main.c, src/os_unix.c
  9546.  
  9547. Patch 6.1.473
  9548. Problem:    Referring to $curwin or $curbuf in Perl 5.6 causes a crash.
  9549. Solution:   Add "pTHX_" to cur_val(). (Yasuhiro Matsumoto)
  9550. Files:        src/if_perl.xs
  9551.  
  9552. Patch 6.1.474
  9553. Problem:    When opening the command-line window in Ex mode it's impossible to
  9554.         go back. (Pavol Juhas)
  9555. Solution:   Reset "exmode_active" and restore it when the command-line window
  9556.         is closed.
  9557. Files:        src/ex_getln.c
  9558.  
  9559.  
  9560. Patch 6.2f.001
  9561. Problem:    The configure check for Ruby didn't work properly for Ruby 1.8.0.
  9562. Solution:   Change the way the Ruby check is done. (Aron Griffis)
  9563. Files:        src/auto/configure, src/configure.in
  9564.  
  9565. Patch 6.2f.002
  9566. Problem:    The output of ":ls" doesn't show whether a buffer had read errors.
  9567. Solution:   Add the "x" flag in the ":ls" output.
  9568. Files:        runtime/doc/windows.txt, src/buffer.c
  9569.  
  9570. Patch 6.2f.003
  9571. Problem:    Test49 doesn't properly test the behavior of ":catch" without an
  9572.         argument.
  9573. Solution:   Update test49. (Servatius Brandt)
  9574. Files:        src/testdir/test49.ok, src/testdir/test49.vim
  9575.  
  9576. Patch 6.2f.004
  9577. Problem:    "vim --version" always uses CR/LF in the output.
  9578. Solution:   Omit the CR.
  9579. Files:        src/message.c, src/os_unix.c
  9580.  
  9581. Patch 6.2f.005
  9582. Problem:    Two error messages without a colon after the number.
  9583. Solution:   Add the colon. (Taro Muraoka)
  9584. Files:        src/if_cscope.c
  9585.  
  9586. Patch 6.2f.006
  9587. Problem:    When saving a file takes a while and Vim regains focus this can
  9588.         result in a "file changed outside of Vim" warning and ml_get()
  9589.         errors. (Mike Williams)
  9590. Solution:   Add the "b_saving" flag to avoid checking the timestamp while the
  9591.         buffer is being saved. (Michael Schaap)
  9592. Files:        src/fileio.c, src/structs.h
  9593.  
  9594. Patch 6.2f.007
  9595. Problem:    Irix compiler complains about multiple defined symbols.
  9596.         vsnprintf() is not available.  (Charles Campbell)
  9597. Solution:   Insert EXTERN for variables in globals.h.  Change the configure
  9598.         check for vsnprintf() from compiling to linking.
  9599. Files:        src/auto/configure, src/configure.in, src/globals.h
  9600.  
  9601. Patch 6.2f.008
  9602. Problem:    The Aap recipe doesn't work with Aap 0.149.
  9603. Solution:   Change targetarg to TARGETARG.  Update the mysign file.
  9604. Files:        src/main.aap, src/mysign
  9605.  
  9606. Patch 6.2f.009 (extra)
  9607. Problem:    Small problem when building with Borland 5.01.
  9608. Solution:   Use mkdir() instead of _mkdir(). (Walter Briscoe)
  9609. Files:        src/dosinst.h
  9610.  
  9611. Patch 6.2f.010
  9612. Problem:    Warning for missing prototypes.
  9613. Solution:   Add missing prototypes. (Walter Briscoe)
  9614. Files:        src/if_cscope.c
  9615.  
  9616. Patch 6.2f.011
  9617. Problem:    The configure script doesn't work with autoconf 2.5x.
  9618. Solution:   Add square brackets around a header check. (Aron Griffis)
  9619.         Note: touch src/auto/configure after applying this patch.
  9620. Files:        src/configure.in
  9621.  
  9622. Patch 6.2f.012
  9623. Problem:    ":echoerr" doesn't work correctly inside try/endtry.
  9624. Solution:   Don't reset did_emsg inside a try/endtry. (Servatius Brandt)
  9625. Files:        src/eval.c
  9626.  
  9627. Patch 6.2f.013 (extra)
  9628. Problem:    Macintosh: Compiler warning for a trigraph.
  9629. Solution:   Insert a backslash before each question mark. (Peter Cucka)
  9630. Files:        src/os_mac.h
  9631.  
  9632. Patch 6.2f.014 (extra)
  9633. Problem:    Macintosh: ex_eval is not included in the project file.
  9634. Solution:   Add ex_eval. (Dany St-Amant)
  9635. Files:        src/os_mac.pbproj/project.pbxproj
  9636.  
  9637. Patch 6.2f.015 (extra)
  9638. Problem:    Win32: When changing header files not all source files involved
  9639.         are recompiled.
  9640. Solution:   Improve the dependency rules. (Dan Sharp)
  9641. Files:        src/Make_cyg.mak, src/Make_ming.mak
  9642.  
  9643. Patch 6.2f.016
  9644. Problem:    "vim --version > ff" on non-Unix systems results in a file with a
  9645.         missing line break at the end. (Bill McCArthy)
  9646. Solution:   Add a line break.
  9647. Files:        src/main.c
  9648.  
  9649. Patch 6.2f.017
  9650. Problem:    Unix: starting Vim in the background and then bringing it to the
  9651.         foreground may cause the termainal settings to be wrong.
  9652. Solution:   Check for tcsetattr() to return an error, retry when it does.
  9653.         (Paul Tapper)
  9654. Files:        src/os_unix.c
  9655.  
  9656. Patch 6.2f.018
  9657. Problem:    Mac OS X 10.2: OK is defined to zero in cursus.h while Vim uses
  9658.         one.  Redefining it causes a warning message.
  9659. Solution:   Undefine OK before defining it to one. (Taro Muraoka)
  9660. Files:        src/vim.h
  9661.  
  9662. Patch 6.2f.019
  9663. Problem:    Mac OS X 10.2: COLOR_BLACK and COLOR_WHITE are defined in
  9664.         curses.h.
  9665. Solution:   Rename them to PRCOLOR_BLACK and PRCOLOR_WHITE.
  9666. Files:        src/ex_cmds2.c
  9667.  
  9668. Patch 6.2f.020
  9669. Problem:    Win32: test50 produces beeps and fails with some versions of diff.
  9670. Solution:   Remove empty lines and convert the output to dos fileformat.
  9671. Files:        src/testdir/test50.in
  9672.  
  9673. Patch 6.2f.021
  9674. Problem:    Running configure with "--enable-netbeans" disables Netbeans.
  9675.         (Gordon Prieur)
  9676. Solution:   Fix the tests in configure.in where the default is to enable a
  9677.         feature.  Fix that "--enable-acl" reported "yes" confusingly.
  9678. Files:        src/auto/configure, src/configure.in, src/mysign
  9679.  
  9680. Patch 6.2f.022
  9681. Problem:    A bogus value for 'foldmarker' is not rejected, possibly causing a
  9682.         hang. (Derek Wyatt)
  9683. Solution:   Check for a non-empty string before and after the comma.
  9684. Files:        src/option.c
  9685.  
  9686. Patch 6.2f.023
  9687. Problem:    When the help files are not in $VIMRUNTIME but 'helpfile' is
  9688.         correct Vim still can't find the help files.
  9689. Solution:   Also look for a tags file in the directory of 'helpfile'.
  9690. Files:        src/tag.c
  9691.  
  9692. Patch 6.2f.024
  9693. Problem:    When 'delcombine' is set and a character has more than two
  9694.         composing characters "x" deletes them all.
  9695. Solution:   Always delete only the last composing character.
  9696. Files:        src/misc1.c
  9697.  
  9698. Patch 6.2f.025
  9699. Problem:    When reading a file from stdin that has DOS line endings but a
  9700.         missing end-of-line for the last line 'fileformat' becomes "unix".
  9701.         (Bill McCarthy)
  9702. Solution:   Don't add the missing line break when re-reading the text from the
  9703.         buffer.
  9704. Files:        src/fileio.c
  9705.  
  9706. Patch 6.2f.026
  9707. Problem:    When typing new text at the command line, old composing characters
  9708.         may be displayed.
  9709. Solution:   Don't read composing characters from after the end of the
  9710.         text to be displayed.
  9711. Files:        src/ex_getln.c, src/mbyte.c, src/message.c, src/proto/mbyte.pro,
  9712.         src/screen.c
  9713.  
  9714. Patch 6.2f.027
  9715. Problem:    Compiler warnings for unsigned char pointers. (Tony Leneis)
  9716. Solution:   Add typecasts to char pointer.
  9717. Files:        src/quickfix.c
  9718.  
  9719. Patch 6.2f.028
  9720. Problem:    GTK: When 'imactivatekey' is empty and XIM is inactive it can't be
  9721.         made active again.  Cursor isn't updated immediately when changing
  9722.         XIM activation.  Japanese XIM may hang when using 'imactivatekey'.
  9723.         Can't activate XIM after typing fFtT command or ":sh".
  9724. Solution:   Properly set the flag that indicates the IM is active.  Update the
  9725.         cursor right away.  Do not send a key-release event.  Handle
  9726.         Normal mode and running an external command differently.
  9727.         (Yasuhiro Matsumoto)
  9728. Files:        src/mbyte.c
  9729.  
  9730. Patch 6.2f.029
  9731. Problem:    Mixing use of int and enum.
  9732. Solution:   Adjust argument type of cs_usage_msg().  Fix wrong typedef.
  9733. Files:        src/if_cscope.c, src/if_cscope.h
  9734.  
  9735. Patch 6.2f.030 (after 6.2f.028)
  9736. Problem:    Cursor moves up when using XIM.
  9737. Solution:   Reset im_preedit_cursor.  (Yasuhiro Matsumoto)
  9738. Files:        src/mbyte.c
  9739.  
  9740. Patch 6.2f.031
  9741. Problem:    Crash when listing a function argument in the debugger. (Ron Aaron)
  9742. Solution:   Init the name field of an argument to NULL.
  9743. Files:        src/eval.c
  9744.  
  9745. Patch 6.2f.032
  9746. Problem:    When a write fails for a ":silent!" while inside try/endtry the
  9747.         BufWritePost autocommands are not triggered.
  9748. Solution:   Check the emsg_silent flag in should_abort(). (Servatius Brandt)
  9749. Files:        src/ex_eval.c, src/testdir/test49.ok, src/testdir/test49.vim
  9750.  
  9751. Patch 6.2f.033
  9752. Problem:    Cscope: re-entrance problem for ":cscope" command.  Checking for
  9753.         duplicate database didn't work well for Win95.  Didn't check for
  9754.         duplicate databases after an empty entry.
  9755. Solution:   Don't set postponed_split too early.  Remember first empty
  9756.         database entry. (Sergey Khorev)
  9757. Files:        src/if_cscope.c
  9758.  
  9759. Patch 6.2f.034
  9760. Problem:    The netbeans interface cannot be used on systems without
  9761.         vsnprintf(). (Tony Leneis)
  9762. Solution:   Use EMSG(), EMSGN() and EMSG2() instead.
  9763. Files:        src/auto/configure, src/configure.in, src/netbeans.c
  9764.  
  9765. Patch 6.2f.035
  9766. Problem:    The configure check for the netbeans interface doesn't work if the
  9767.         socket and nsl libraries are required.
  9768. Solution:   Check for the socket and nsl libraries before the netbeans check.
  9769. Files:        src/auto/configure, src/configure.in
  9770.  
  9771. Patch 6.2f.036
  9772. Problem:    Moving leftwards over text with an illegal UTF-8 byte moves one
  9773.         byte instead of one character.
  9774. Solution:   Ignore an illegal byte after the cursor position.
  9775. Files:        src/mbyte.c
  9776.  
  9777. Patch 6.2f.037
  9778. Problem:    When receiving a Netbeans command at the hit-enter or more prompt
  9779.         the screen is redrawn but Vim is still waiting at the prompt.
  9780. Solution:   Quit the prompt like a CTRL-C was typed.
  9781. Files:        src/netbeans.c
  9782.  
  9783. Patch 6.2f.038
  9784. Problem:    The dependency to run autoconf causes a patch for configure.in
  9785.         to run autoconf, even though the configure script was updated as
  9786.         well.
  9787. Solution:   Only run autoconf with "make autoconf".
  9788. Files:        src/Makefile
  9789.  
  9790. Patch 6.2f.039
  9791. Problem:    CTRL-W K makes the new top window very high.
  9792. Solution:   When 'equalalways' is set equalize the window heights.
  9793. Files:        src/window.c
  9794.  
  9795.  
  9796.  vim:tw=78:ts=8:ft=help:norl:
  9797.