The main changes expected for version 5.0:
- The last few big things for Vi compatibility (Ex mode, "Q", ":append")
- Syntax coloring/highlighting, configurable for different languages.
- Add scripting language support (probably Perl).
- Add ":if" command.
- GUI version for Windows (3.1/95/NT).
- VINE (Vim Is Not Emacs): Keep it small!

Known problems and priority improvements:

Unix:
- When the value of $MAKE contains a path, configure can't handle this.  It's
  an autoconf bug.  Remove the path from $MAKE to work around it.

Small problems:
- CTRL-F at the end of the file, when 'so' is set, redraws twice.  When the
  window is small (< 2 * 'so') it behaves differently.
- CTRL-E and CTRL-Y in a small windows, with 'so' set, sometimes doesn't
  scroll, because getting the context scrolls the screen back.
- tilde_replace() can only handle "~/", should also do "~user/".
- "1000ii<Esc>" takes an awful long time.
- If writing to the swap file fails, should try to open one in another
  directory from 'dir'.  Useful in case the file system is full.
- ":wall|make", when writing something, ":!make" echo does not have a CRLF
  before it.
- There are often a few <CR> on a row sent to the screen, should not be
  necessary.
- Text is scrolled up and down: (Acevedo)
   - set scrolloff to something >1 (i always use "set so=4")
   - set the win. hegiht to scrolloff + 1  (i'd do ^W5_)
   - load a file with scrolloff + 2 lines
   - put the cursor in line scrolloff +1  (5G)
   - if you move the cursor along the line (h, l, insert text, etc)
     the text is crolled with each keystroke (once up, once down,...)
     sometimes with <Esc> the text is scrolled up and down whitout stop!!!!

Vi incompatibility:
- "yw" on the last char in the file doesn't work (Trapp).
- CTRL-T in insert mode inserts 'shiftwidth' of spaces at the cursor.
- CTRL-L is not the end of a section?  It is for Posix!  Make it an option.
- "0;/pat" starts searching in line 2 instead of line 1.
- "z3<CR>" should still use the whole window, but only redisplay 3 lines.
- text is put in register 1 when using "c" and "d" with a motion character:
      <control-A>   %   (   ) `<character>   /   ?   N n   {   }
- After ":cd", meaning of file names for existing buffers changes.
- Always catch SIGINT, don't let it kill us?
- ":n" and ":rew" keep the old cursor position of the file.

GUI:
- Motif: Scrollbar for cmdline disappears with ":set go=", ":set go=lbrm".
- Motif: Tear-off menu item "----------" crashes Vim on some machines.
  (Netherton)  It works fine for me, maybe it's a Motif problem.
- When font shape changes, but not the size, doing ":set font=" does not
  redraw the screen with the new font.
- Horizontal scrollbar doesn't work in rightleft mode.
- Pasting in Replace mode insert the text, instead of overwriting.

MSDOS:
- Hitting CTRL-P twice quickly (e.g. in keyword completion) on a 8088 machine,
  starts printer echo! (John Mullin).
- Completion on ":source $VIM/_vim<Tab>" doesn't work (Webb).

Windows 95:
- When 'lines' is set in _vimrc or columns is not 80, executing external
  commands sometimes hangs or crashes Vim or the PC.  This is a Windows 95
  problem.
- There is an occasional lockup when repeating a key while scrolling.  Vim
  unlocks when resizing the window.  Might be a Windows 95 problem.
- Dead keys don't work properly with Windows 95.  Not really a Vim problem,
  but it should work.  It's difficult to fix...
- Screen updating is slow with Windows 95 (compared to 16 bit version, DJGPP
  version is in between).  It becomes fast when 'lines' or 'columns' is set to
  a non-standard value!!!
- Editing a file by it's short file name and writing it, makes the long file
  name disappear.

AIX 4:
- After running Vim tty setting "cs8" is not restored, it becomes "cs5".  This
  causes 8 bit characters to loose their 8th bit.  Only with AIX 4, AIX 3 is
  fine. (Albayrak)  Maybe caused by invalid combination of tty settings?

hpterm: Highlighting isn't always correct.  Could use 'weirdinvert', but that
	slows down screen updating too much.

I can't reproduce these:

With backupdir=~/tmp,/tmp nowritebackup nobackup patchmode=.smr 
	and the patchmode file exists, backup files in the tmp directory are left
	lying around - they should be deleted! (Riehm)

[These have been reported for version 3.0, they may not appear in this version]
Some terminals start inverting at the position where the invert code is put.
	This is not handled correctly. Remove 'weirdinvert' hack.
On Diamond Viper 132x43 mode crash on exit (John Lange)
MSDOS: After writing on a network the 'w' bit for others is set.


Documentation:

Give names to some messages, e.g. hit-return, file (buffer?) message, etc. Use
	the same name everywhere.
Autocommand example: use ":retab! 4" when reading, ":retab! 8" when writing.
Replace "toggle" with "boolean" for options?
Make a few sample menu sets (.gvimrc files) for novice vi users, novice Vim
	users, C programmers, ...


Problems that will probably not be solved:

Problem with HPterm under X: old contents of window is lost (Cosentino).
Amiga: When using quickfix with the Manx compiler we only get the first 25
	errors. How do we get the rest?
Amiga: The ":cq" command does not always abort the Manx compiler. Why?
Linux: A file with protection r--rw-rw- is seen readonly for others. The
	access() function in GNU libc is probably wrong.
MSDOS: When using smardrive with write-back buffering, writing to a readonly
	floppy will cause problems. How to test for writable floppy first?
When doing a CTRL-Z and typing a command for the shell, while Vim is busy
	(e.g. writing a file), the command for the shell is sometimes eaten by
	Vim, because the terminal mode is changed from RAW to CBREAK.


Further extentions and improvements:

GUI stuff (see ":help gui_todo").

POSIX compatible mode?
Make "5dd" on last-but-one-line not delete anything (vi compatible).
	Change cursor_down()???  Many other commands will change too: "5j", "c5j",
	etc.  Add flag in 'cpoptions'?
CTRL-I and CTRL-O should work in Visual mode, but only jump to marks in the
	current buffer.
Include variation on text objects, without the white space (e.g. "vp" only
	selects the paragraph, not the following empty lines).
Searching: "/this//that/" should find "that" after "this".
	":/this//that/" should find "that" after "this", this being one address.
incsearch is incorrect for "/that/<Return>/this/;//" (last search pattern
	isn't updated).
Disallow setting the 'shell', 'makeprg', 'formatprg' or 'keywordprg' options
	in a modeline???  Also 'secure' and 'exrc' should be forbidden.
Multiple tags: CTRL-] again jumps to next tag?
Add flag in 'cpoptions' that makes <BS> after a count work like <Del> (Sayre).
Add flag in 'cpoptions' that makes operator (yank, filter) not move the
	cursor, at least when canceled. (default vi compatible).
MSDOS: Support the use of "~" for $HOME.  Expand $VAR in file names.
Search commands in a tags file: Allow optional "e", "b" and "s" flags to
	position the cursor in the right column.
findmatchlimit() should be able to skip comments.
Add redirecting of Ex commands.  Add a command to dump all the settings,
	mappings, autocommands, etc. in a file, to be included in a bug report.
Using a tags file relative to the current file, and 'tags' contains
	"./../tags", the file name becomes "/path/dir/a/../b/file.c".  Should
	remove the ".." from the name of the tags file.  Should not always use
	absolute path. (Hiebert)
Detect textmode after executing the autocommands, otherwise the .gz
	autocommands don't work for MS-DOS.  Needs to be able to remove the ^Ms at
	the end of each line.  Alternative: don't use a filter command, write the
	file, gunzip, set nobin, delete the lines, read the file.
When hitting <Esc> or CTRL-C in Normal mode, give a message to help novice
	users to get out: "Type  :q!  to quit Vim".
"6x" at end of line should not break a mapping (vi compatible).
	"6X" at start of line should beep, but not break a mapping (vi compatible).
	But "6hll" at start of line does break!
Add :delcr command:
							*:delcr*
    :[range]delcr[!]	Check [range] lines (default: whole buffer) for lines
			ending in <CR>.  If all lines end in <CR>, or [!] is
			used, remove the <CR> at the end of lines in [range].
			A CTRL-Z at the end of the file is removed.
			If [range] is omitted, or it is the whole file, and
			all lines end in <CR> 'textmode' is set.  {not in Vi}
Should integrate addstar() and file_pat_to_reg_pat().
Make it possible to enter a digraph after "r" (with CTRL-K).
Autoconf: Use @datadir@ for the system independent files.  Make sure the
	system dependend and system independed files are separated. (Leitner).
When working over a serial line with 7 bit characters, remove meta characters
	from 'isprint'.
Change 'smarttab' into an option to make <Tab> always insert 'shiftwidth'
	characters?  Better: behave like 'ts' is 'shiftwidth', but write files
	like 'ts' is 8.
	Alternative: Add 'softtab': Possibility to keep 'ts' at 8 and insert
	'softtab' characters when <Tab> is hit.
MSDOS: look for .vimrc, helpfile and .viminfo in argv0 dir. (Ferenc)
Add autoconf check for waitpid()/wait4().
Add autoconf check for library path "/usr/lib" and remove it (like for
	/usr/include).
Always output <CR><NL> to the screen, never just <NL>. (Olaf Seibert)
Option to make all swap file names start with ".", to make them hidden
	(Grundman).
Use fchdir() in init_homedir(), like in FullName().
In win_update(), when the GUI is active, always use the scrolling area.  Avoid
	that the last status line is deleted and needs to be redrawn.
Vi compatibility (optional): make "ia<CR><ESC>10." do the same strange thing.
	(only repeat insert for the first line).
Make marks present in .viminfo usable as file marks: Display a list of "last
	visited files" and select one to jump to.
Add ":echo" command, display a message.
Include turbo_loader patches, speeding up reading a file.
Include regexp {n,m} patches/webb.regexp.
Change request: "/^$\|the" finds both empty lines and "the", but "/the\|^$"
	doesn't.  Make '^' after "\|" also a special character?
Call maketitle() whenever curbuf->b_changed is set or reset, and include
	"Vim +" in the title for changed buffers.  How about the icon?
Add events to autocommands:?
	normalenter  - Entering normal mode.
	insertenter  - Entering insert mode.
	replaceenter - Entering replace mode.
	cmdenter     - Entering cmdline mode.
	visualenter  - Entering visual mode.
Give better error messages by using errno (strerror()).
Add 'sidescrolloff' option, like 'scrolloff' for sideways scrolling.
Make 'restorescreen' option also work for xterm (and others), replaces the
	SAVE_XTERM_SCREEN define.
When 'wrap' is off, add commands to scroll screen left/right by half the
	screen width: "zH" and "zL"?
Include an option (or flag to 'cpoptions') that makes errors in mappings not
	flush the rest of the mapping (like nvi does).
Implement a "sticky" help window, some help text lines that are always
	displayed in a window with fixed height. (Guckes)  Use "~/.vimhelp" file,
	user can edit it to insert his favorite commands, new account can contain
	a default contents.
'path' can become very long, don't use NameBuff for expansion.
Avoid calls to plines() for cursor line, use w_cline_height.
Give warning message when using ":set t_xx=asdf" for a termcap code that Vim
	doesn't know about.  Add flag in 'shortmess'?
Remove fcntl() from autoconf, all systems have it?
Add command to reset ALL options to their default value: ":set all&".
Make it possible to redo all the commands from a mapping with "."!!!
Make it possible to undo all the commands from a mapping, including a trailing
	unfinished command, e.g. for ":map K iX^[r".
Add ":che <file>", list all the include paths which lead to this file.
"-V" command line argument: Verbose, show which .vimrc, .exrc, .viminfo files
	etc. are used for initializing.
For a commandline that has several commands (:s, :d, etc.) summarize the
	changes all together instead of for each command (e.g. for the rot13 macro).
Add command like "[I" that also shows the tree of included files.
"[p" and "]p" should use 'cindent' code if it's on (only for the first line).
":set sm^L" results in ":set s", because short names of options are also
	expanded.  Is there a better way to do this?
Set default for 'dictionary', add search for dictionary to autoconf.
Add 'wildlongest' option: Key to use to find longest common match for command
	line completion (default CTRL-L), like 'wildchar'. (Cregut)
	Also: when there are several matches, show them line a CTRL-D.
Add command line completion for '%' and '#'.
Add ":@!" command, to ":@" like what ":source!" is to ":source".
Should be possible to write to a device, e.g. ":w! /                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              