To: vim-dev@vim.org Subject: Vim version 5.23 ALPHA available Date: Mon, 15 Jun 98 16:52:04 +0200 From: Bram Moolenaar Message-Id: <9806151445.AA19631@smtp02.oce.nl> Hello Vimmers, Another alpha release. With quite a few new things, and fixes for the items added in the previous release. Select mode has been polished. The options have been changed, Visual mappings are used, etc. Hopefully this will please more people. The Select mode on the command line still isn't there yet. Note that there are quite a few new and changed options and functions in this release. Have a look at the list below! There is a new port: RISC OS, by Thomas Leonard. It replaces the Archie port, which wasn't updated since Vim 2.0. The result is still an UNSTABLE version, ready for more changes. It is supposed to be used to make new patches against. You can use it for normal work (like me) but it's a more risky than a normal release. The files are in the "unreleased" directory, just like version 5.2d. This is a source-only release! WHERE TO GET IT --------------- You can find Vim 5.2e here: ftp://ftp.nl.vim.org/pub/vim/unreleased/ See this file for Mirrors: ftp://ftp.nl.vim.org/pub/vim/MIRRORS unix/vim-5.2e-src.tar.gz source files for Unix unix/vim-5.2d-5.2e-src.diff.gz diff with version 5.2d unix/vim-5.2e-rt.tar.gz runtime files for Unix unix/vim-5.2d-5.2e-rt.diff.gz diff with version 5.2d extra/vim-5.2e-extra.tar.gz extra files extra/vim-5.2d-5.2e-extra.diff.gz diff with version 5.2d pc/vim52esrc.zip source files for PC pc/vim52ert.zip runtime files for PC WHAT IS NEW ----------- This is the complete list of changes since version 5.2d. For a list of changes since version 5.1, see ":help version-5.2". The intro message now includes three lines of space that can contain an advertisement. I intend to use this to generate funds for the project in Uganda that I've been working with. See ":help intro-advert". Feel free to comment on this. Changed: 'wildmode' is now list of parts, each of which specify what to do at each next hit of 'wildchar'. 'matchpairs' now uses "(:),{:},[:]" instead of "(,);{,};[,]". This makes it more consistant with other options, like 'comment'. When 'insertmode' is set, using CTRL-O to execute a mapping will work like 'insertmode' was not set. This allows "normal" mappings to be used even when 'insertmode' is set. When 'mouse' was set already (e.g., in the .vimrc file), don't automatically set 'mouse' when the GUI starts. ":browse" remembers the last used directory, which is used when there is no specific directory to use. ":browse w" uses the directory of current buffer. Replaced all "dialogue" by "dialog". It means the same and it's shorter. Renamed "toggle option" to "boolean option". Some people thought that ":set xyz" would toggle 'xyz' on/off each time. 'winaltkeys' is now a string option. Besides "no" and "yes", "menu" can be specified, which means that an ALT keys use used by the windowing system only when it is used for a menu. Doesn't work yet for Win32 GUI. Change options for Select mode from: 'select', 'A' in 'mouse' and 'mousemodel' to 'selectmode', 'mousemodel' and 'keymodel'. This allows for more combinations, and should be more straightforward to use. When executing a mapping or menu in Select mode, automatically switch to Visual mode first. Afterwards, reselect the area, unless it was deleted. The "gV" command can be used in a mapping to skip the reselection. Added 'v' flag to 'guioptions'. When included, a vertical button layout is always used for the Win32 GUI dialog. Otherwise, a horizontal layout is preferred. "shell_error" contains the error code from the shell, instead of just 0 or 1. Added: When using whole-line completion in Insert mode, and 'cindent' is set, indent the line properly. First RiscOS port. (Leonard) Deleted the "os_archie" files, they were not working anyway. ":grep" command, with 'grepprog' and 'grepformat' options. Works similar to ":make". (Negri) No docs yet! ":cnewer" and ":colder" commands, to access a stack of quickfix error lists. Win32 GUI: ":promptfind" and ":promptrepl" pop up a dialog to find/replace. To be used from a menu entry. (Negri) MSDOS: 'guicursor' sets cursor thickness. (Negri) Included new set of Farsi fonts. (Shiran) Accelerator text now also works in Motif. All menus can be defined with & for mnemonic and TAB for accelerator text. They are ignored on systems that don't support them. New command ":behave". Can be used to quickly set 'selectmode', 'mousemodel' and'keymodel' for MS-Windows and xterm behaviour. When 'keymodel' contains "startsel", shifted special keys in Insert mode start selection. "gt", "gT" and "g^T" commands: start Select mode. ":snomagic" command: Like ":substitute", but alwyas use 'nomagic'. ":smagic" command: Like ":substitute", but alwyas use 'magic'. 'i' and 'I' flags after ":substitute": ignore case or not. "make install" complains if the runtime files are missing. Fixed: Structure "lcstab" in option.c needs to be static. (Green) Cscope: Added better error handling and fix a bug where the file descriptors were closed before the call to fdopen(). (Kahn) Included patches for cscope interface. (Sekera) The input() function was executed even when in an ":if 0". Now executing all functions is skipped in a conditional that is false. Setting 'mouse' to "A" didn't enable the mouse in Normal mode in an xterm. Hitting "Cancel" for ":browse split" didn't cancel the splitting. Same for ":browse new". (Negri) When using 'p' flag in 'guioptions', still had to update the cursor shape. (Terhaar). The commands ":syn include", ":syn cluster" and ":syn sync" were executed after a ":if 0". When using ":syn include", using ALLBUT in a "contains" argument didn't work correctly, it could include groups from another include level. (Bigham) A few fixes for the Sniff interface. (Leherbauer) When 'showfulltag' is set, it would work in command-line completion too. When asking to hit 'y' or 'n' (e.g. for ":3,1d"), using the mouse caused trouble. Same for ":s/x/y/c" prompt. With 'nowrap' and 'list', a Tab halfway on the screen was displayed as blanks, instead of the characters specified with 'listchars'. Also for other characters that take more than one screen character. Current window could become zero lines high, when dragging the status line. ":menu Fi" didn't complete the "&File" menu. When setting 'guifont' to an unknown font name, the previous font was lost and a default font would be used. (Steed) Fixed: ":set allowrevins" listed all options, it was interpreted as ":set all". (Aaron) In Dos32 version, old Hercules graphic card didn't work. Was using wrong base address. (Macewicz) Also, when the background is other than black it didn't work right. (Negri) Win32 GUI: Tearing off an already torn-off menu doesn't create another copy of the menu anymore. Deleting a menu now also deletes the tearoff. (Negri) DOS: Filenames in the root directory didn't get shortened properly. (Negri) DJGPP: making a full path name out of a file name didn't work properly when there is no _fullpath() function. (Negri) Win32 console: ":sh" caused a crash. (Negri) Win32 console: Setting 'lines' and/or 'columns' in the _vimrc failed miserably (could hang Windows 95). (Negri) Win32: The change-drive function was not correct, went to the wrong drive. (Tsindlekht) ":confirm w" in a readonly file. Hitting "Y" didn't overwrite the file. - Bram [announcement slightly edited - missing info added]