To: vim-dev@vim.org Subject: Patch 6.0.253 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.0.253 Problem: When 'insertmode' is set, after ":edit file" the next doesn't work. (Benji Fisher) has the same problem. Solution: Reset need_start_insertmode once in edit(). Files: src/edit.c *** ../vim60.252/src/edit.c Mon Feb 18 10:26:39 2002 --- src/edit.c Thu Feb 21 20:03:42 2002 *************** *** 411,416 **** --- 411,419 ---- o_eol = FALSE; } + /* we are in insert mode now, don't need to start it anymore */ + need_start_insertmode = FALSE; + /* Need to save the line for undo before inserting the first char. */ ins_need_undo = TRUE; *** ../vim60.252/src/version.c Thu Feb 21 19:35:20 2002 --- src/version.c Thu Feb 21 20:08:02 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 253, /**/ -- Female engineers become irresistible at the age of consent and remain that way until about thirty minutes after their clinical death. Longer if it's a warm day. (Scott Adams - The Dilbert principle) /// 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 ///