To: vim-dev@vim.org Subject: Patch 6.1.101 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.101 Problem: After using ":options" the tabstop of a new window is 15. Entry in ":options" window for 'autowriteall' is wrong. (Antoine J Mechelynck) Can't insert a space in an option value. Solution: Use ":setlocal" instead of ":set". Change "aw" to "awa". Don't map space in Insert mode. Files: runtime/optwin.vim *** ../vim61.100/runtime/optwin.vim Thu Dec 13 14:38:45 2001 --- runtime/optwin.vim Sat Jun 22 12:09:51 2002 *************** *** 1,7 **** " These commands create the option window. " " Maintainer: Bram Moolenaar ! " Last Change: 2001 Dec 13 " If there already is an option window, jump to that one. if bufwinnr("option-window") > 0 --- 1,7 ---- " These commands create the option window. " " Maintainer: Bram Moolenaar ! " Last Change: 2002 Jun 22 " If there already is an option window, jump to that one. if bufwinnr("option-window") > 0 *************** *** 147,153 **** " Open the window new option-window ! set ts=15 tw=0 " Insert help and a "set" command for each option. call append(0, '" Each "set" line shows the current value of an option (on the left).') --- 147,153 ---- " Open the window new option-window ! setlocal ts=15 tw=0 " Insert help and a "set" command for each option. call append(0, '" Each "set" line shows the current value of an option (on the left).') *************** *** 832,838 **** call append("$", "autowrite\tautomatically write a file when leaving a modified buffer") call BinOptionG("aw", &aw) call append("$", "autowriteall\tas 'autowrite', but works with more commands") ! call BinOptionG("aw", &aw) call append("$", "writeany\talways write without asking for confirmation") call BinOptionG("wa", &wa) call append("$", "autoread\tautomatically read a file when it was modified outside of Vim") --- 835,841 ---- call append("$", "autowrite\tautomatically write a file when leaving a modified buffer") call BinOptionG("aw", &aw) call append("$", "autowriteall\tas 'autowrite', but works with more commands") ! call BinOptionG("awa", &awa) call append("$", "writeany\talways write without asking for confirmation") call BinOptionG("wa", &wa) call append("$", "autoread\tautomatically read a file when it was modified outside of Vim") *************** *** 1117,1123 **** noremap :call CR() inoremap :call CR() noremap :call Space() - inoremap :call Space() " Make the buffer be deleted when the window is closed. set buftype=nofile bufhidden=delete noswapfile --- 1120,1125 ---- *** ../vim61.100/src/version.c Tue Jun 18 21:36:39 2002 --- src/version.c Sun Jun 23 12:44:42 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 101, /**/ -- FIRST HEAD: All right! All right! We'll kill him first and then have tea and biscuits. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///