To: vim-dev@vim.org Subject: Patch 5.6a.010 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6a.010 Problem: In a function, ":startinsert!" does not append to the end of the line if a ":normal" command was used to move the cursor. (Fisher) Solution: Reset "w_set_curswant" to avoid that w_curswant is changed again. Files: src/ex_docmd.c *** ../vim-5.6a.9/src/ex_docmd.c Tue Dec 21 21:48:28 1999 --- src/ex_docmd.c Thu Dec 23 10:58:06 1999 *************** *** 2392,2397 **** --- 2392,2398 ---- { coladvance(MAXCOL); curwin->w_curswant = MAXCOL; + curwin->w_set_curswant = FALSE; } restart_edit = 'i'; break; *** ../vim-5.6a.9/src/version.c Thu Dec 23 11:13:43 1999 --- src/version.c Thu Dec 23 11:14:07 1999 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 10, /**/ -- System administrators are just like women: You can't live with them and you can't live without them. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /