To: vim-dev@babayaga.math.fu-berlin.de Subject: Vim version 5.0n ALPHA available! Date: Wed, 17 Sep 97 14:24:30 +0200 From: Bram Moolenaar Hello all, Yet another ALPHA version. Lots of changes done, still a few left before a beta release... Topic of the day: Some option names have changed since version 4.6. Have a look if you like the new names. If not, please discuss alternatives on vim-dev. This is the last chance to change these names! |'altkeymap'| |'akm'| for default second laguage (Farsi/Hebrew) |'background'| |'bg'| "dark" or "light", used for highlight colors |'fileformat'| |'ff'| file format used for file I/O |'fileformats'| |'ffs'| automatically detected values for 'fileformat' |'fkmap'| |'fk'| Farsi keyboard mapping (FKMAP) |'guicursor'| |'gcr'| GUI: settings for cursor shape and blinking |'hlsearch'| |'hls'| highlight matches with last search pattern |'iconstring'| string to use for the Vim icon |'lazyredraw'| |'lz'| don't redraw while executing macros |'nrformats'| |'nf'| number formats recognized for CTRL-A command |'softtabstop'| |'sts'| number of spaces that uses while editing |'titlestring'| title to use for the Vim window |'verbose'| |'vbs'| give informative messages I have tried to include most "incompatible" changes. Please note: - The order in which syntax items are tried has reversed. Now the LAST one found that matches is used. This is good for when you want to override an existing item, whithout having to delete all the syntax items. Some syntax files may need to be changed. - 'textmode' and 'textauto' have been replaced by 'fileformat' and 'fileformats'. Please verify that these work properly, when reading DOS/unix/mac files. Yes, Mac end-of-line ( only) is now supported. Not tested much though... Hopefully this is a step in the direction of a full Mac port... Changes: - Changed: When more than one syntax match or region matches, the LAST one that has been define is used (used to be the FIRST one). Makes it possible to overrule previously defined syntax items. - Changed: "WinEnd" in "NonText". Makes more sense. - Changed: The '< and '> marks are now remembered for each buffer. This fixes a problem that a line-delete in one buffer invalidated the '< and '> marks in another buffer. - Included ctags version 1.69 (Darren Hiebert). - Only allow TABs to separate fields in a tags file. This allows for spaces in a file name and is still Vi compatible. - Search patterns are restored after executing auto-commands. This avoids that the 'hlsearch' highlighting is messed up by auto-commands. - Renamed "Vim_vc4.mak" to "W32GUIvc4.mak", so it's more clear what it's for. - Replaced __PARMS() with __ARGS() everywhere. - In configure, termlib is now checked before termcap. - When quitting Visual mode with , the cursor is put at start of the Visual area (like after executing an operator). - Added 'fileformat' and 'fileformats' options, as a replacement for 'textmode' and 'textauto'. Will also support Macintosh format: Single separates lines. - Changed: VimLeave autocommands are executed AFTER writing the viminfo file, instead of BEFORE. Added: - Included patches for Python under Unix (David Leonard). - Included patches for binary searching in tags file (David O'Neill). - Added "-U" command line argument, to set the gvimrc file to be used. - Added 'background' option. Used for selecting highlight color defaults. Also used in "syntax.vim" for selecting the syntax colors. - Added: Made ":highlight Normal font=xxx" override the font setting from 'guifont'. Use the last one set. - Added for GUI: highlighting groups "Menu" and "Scrollbar". Now you can change the menu and scrollbar colors from inside Vim. - Added command line completion for ":syntax". First argument only. - Added [group] argument to ":autocmd". Overrides the currently set group. Also adjusted command line completion for this. - Re-inserted special trick to make copy/paste of wrapped lines work with xterm/screen. - Allow changing auto-commands while executing them. This allows for self-modifying auto-commands. (idea from Goldberg) - Added 'y' flag to 'cpoptions': Disallow yanking empty text area. Default is to allow empty yanks. When 'y' is included, "y$" in an empty line now is handled as an error (Vi compatible). - Added 'j' flag for 'cpoptions': Only add two spaces for a join after a '.', not after a '?' or '!'. - For Unix and OS/2: When $VIM not set, use path from the executable. - When using the executable path for $VIM, remove "src/" when present. Should make Vim find the docs and syntax files when it is run directly after compiling. Fixed: - Fixed in X11 GUI: Selecting text could cause a crash. - Fixed (potential) crash for X11 GUI, when using an X selection. Was giving a pointer on the stack to a callback function, now it's static. - Win32 GUI: - Finally solved the problems with the scrollbar! The scrolling is now applied immediately. It doesn't lag behind anymore too. - Fixed: Underlining ate GDI resources. - Fixed: Window does no longer move when chaning its size. Unless the window goes off of the right or bottom of the screen. - For "make test", always use "sh", because other shells may have aliases. - Fixed: tag search didn't work when using a line number < 10. - Fixed for 32 bit DOS version: CTRL-C in external command killed Vim. When SHELL is set to "sh.exe", external commands didn't work. Removed using of command.com, no longer need to set 'shellquote'. - When expanding file names, set or unset "nonomatch" to try telling the shell how to handle not matching patterns. - Fixed: ":syn" listing added the "contained" flag to every keyword, instead of once per line. - Fixed: crash when using ":g/pat/i". - Amiga Fixed: '$' was missing from character recognized as wildcards, causing $VIM sometimes not to be expanded. - Fixed: Setting 'weirdinvert' caused highlighting to be wrong in the GUI. - Fixed: ":e +4 #" didn't work, because the "4" was in unallocated memory (could cause a crash). - Fixed: When doing ":buf N", going to a buffer that was edited with ":view", the readonly flag was reset. Now make a difference between ":e file" and ":buf file": Only set/reset 'ro' for the first one. - Win32 GUI: made builtin "light" colors really use a lighter color. - Moved lines from osdef2.h.in to osdef1.h.in, sed was complaining about the number of commands (is 50 commands the limit?). 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.0n in the usual place. Including a diff, for those who want to save on bandwidth (should work fine this time). ftp://ftp.oce.nl/pub/misc/vim/beta-test/unix/vim-5.0n.tar.gz ftp://ftp.oce.nl/pub/misc/vim/beta-test/unix/vim-50m-50n.diff.gz And on the mirrors (within in a couple of days). There is also this file, which now contains all the Farsi files: ftp://ftp.oce.nl/pub/misc/vim/beta-test/extra/vime-5.0n.tar.gz Later this will contain things that don't go in the normal distribution, when it becomes too large. The src/W32GUIvc4.mak file is another candidate. Another NOTE: Please don't discuss this in the "vim" mailing list. This is for developers only! At least for now. Have fun!