To: vim-dev@vim.org Subject: Vim version 5.0r ALPHA available! Date: Mon, 24 Nov 97 09:56:32 +0100 From: Bram Moolenaar Hello all, This should be the last ALPHA version. All the source code changes are done. I still have to work on the documentation, and generating executables. This gives you an opportunity to hunt for bugs caused by last-minute changes. I will definitely cut down on source code changes now! To syntax file maintainers: Please update your files! Tips: - Remove unecessary white space. The distribution is getting too big. - Use "\w" instead of "[ \t]". Not only is it shorter, it's also a lot faster. Changes: - When doing ":bdel", try going to the next loaded buffer. Don't rewind to the start of the buffer list. - When using search commands in a mapping, only the last one is kept in the history. Avoids that the history is trashed by long mappings. - Win32 GUI now uses a Messagebox() for error messages, instead of opening a console for this (Paul Moore). - Scrollbars now end at the bottom of a status line (Patel). - Win32 GUI: made console window for external commands always 25x80 characters, to avoid problems on Windows 95. - "errors.vim" is not a Vim script. Made it "errors.err". Added: - 'complete' option: specify how Insert mode completion works (Acevedo). - Win32 GUI menu priorities work now. - Sped up Win32 version a bit more, by not using the thread-safe runtime library, and using a table for toupper() and tolower(). - "\w" in regexp, for whitespace. Should be much faster than "[ \t]". - Made Sniff interface work under GUI (Boehme). - ":update" command, write when buffer has changed. - CTRL-] in Insert mode triggers abbreviation, without inserting this character (Moore). - setlocale() with codepage support for DJGPP version (Slobin). - Added the VMS files in the source tree. (Elbers) They are in the extra archive. - Changes for OLE interface. (Moore) Mostly in extra archive. - Default for 'fileformats' for MS-DOS, Win32 and OS/2 is now "dos,unix", also when 'compatible' set. Unix type files didn't work anyway when 'fileformats' was empty. - Warning for Win32 version running on Windows 95, in the intro screen. - Option 'makeef'. Use different errorfile for ":make", because it would otherwise delete the 'errorfile'. The default for 'errorfile' is now "errors.err", to avoid confusion with a vim script for "errors.vim". - Make swap file 'hidden', if possible. - tempname() function in expressions. - Setting default colors for a color-terminal can now be done with the highlight group "Normal". Fixed: - The console window that the Win32 GUI opens for error messages was not closed properly. - Removed CTRL-O in Visual mode, it should be a movement command. - A couple of undefined symbols when AUTOCMD not used. (Lottem) - GUI Win32 Clipboard was made empty sometimes, instead of putting the selection on it (Seibert). - "gv" didn't work correctly when the previously highlighted area is off-screen. - "vim -o file1 file2" showed a bogus status line. - Syntax highlighting now always uses regexp like 'l' flag in 'cpo' is not included. Makes it work when 'compatible' is set. - ":so \\sys\file" (UNC file name) didn't work for MS-DOS. Don't reduce "\\" to "\" inside file names. - Win32: 'shell' set to "mksnt/sh.exe" breaks ":!" commands. Surround the command in "" and don't use backslashes in the temp file names. Is triggered by the 'shellcmdflag' starting with '-'. - Crash in GUI, when selecting a word (double click) and then extend until an empty line. (Ruellan) - Athena GUI, when there are no menus at all, caused a completely grey window. - When using autocommands with two or more patterns, could not split ":if/:endif" over two lines. Now all matching autocommands are executed in one do_cmdline(). - For systems where isdigit() can't handle characters > 255, get_number() caused a crash when moving the mouse during the prompt for recovery. - In Insert mode, "CTRL-O P" left the cursor on the last putted character. Now it the cursor is left after the last putted character. - When using "matchgroup" and "me=e-2", so that the match ends before the start of the match, the match didn't end at the right position. - Order of initialisations adjusted to separate getting the window size from mch_windinit(). Could use term_console before it was set. - When quickfix found an error type other than 'e' or 'w', it was never printed. - A setting for 'errorfile' in a .vimrc overruled the "-q errorfile" argument. - Some systems create a file when generating a temp file name. Filtering would then create a backup file for this, which was never deleted. Now no backup file is made when filtering. - simplify_filename() could remove a ".." after a link, resulting in the wrong file name. Made simplify_filename also work for MSDOS. Don't use it for Amiga, since it doesn't have "../". - Pasting with mouse in Replace mode didn't replace anything. NOTE: To save me time and worries, this is a source-code only release. Binary versions will be made for later versions. You can compile it yourself, if you can, all the required stuff is included. You can find Vim 5.0r in the usual place. Including a diff, for those who want to save on bandwidth. ftp://ftp.oce.nl/pub/vim/beta-test/unix/vim-5.0r.tar.gz ftp://ftp.oce.nl/pub/vim/beta-test/unix/vim-50q-50r.diff.gz And on the mirrors (within in a couple of days). There is also this file, which contains files that not many people need: ftp://ftp.oce.nl/pub/vim/beta-test/extra/vime-5.0r.tar.gz Have fun!